x86
stringlengths 335
88.6k
| arm
stringlengths 349
86.1k
|
---|---|
.file "extr_gen.c_pop_float_args.c"
.intel_syntax noprefix
.text
.p2align 4
.type pop_float_args, @function
pop_float_args:
.LFB0:
.cfi_startproc
endbr64
sub edi, 1
js .L6
push rbx
.cfi_def_cfa_offset 16
.cfi_offset 3, -16
mov ebx, edi
.p2align 4,,10
.p2align 3
.L3:
mov edi, ebx
call pop_xmm@PLT
sub ebx, 1
jnb .L3
pop rbx
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L6:
.cfi_restore 3
ret
.cfi_endproc
.LFE0:
.size pop_float_args, .-pop_float_args
.globl SAVE
.bss
.align 4
.type SAVE, @object
.size SAVE, 4
SAVE:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_gen.c_pop_float_args.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type pop_float_args, %function
pop_float_args:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
subs r4, r0, #1
popmi {r4, pc}
.L3:
mov r0, r4
sub r4, r4, #1
bl pop_xmm
cmn r4, #1
bne .L3
pop {r4, pc}
.size pop_float_args, .-pop_float_args
.comm SAVE,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_gen.c_pop_function.c"
.intel_syntax noprefix
.text
.p2align 4
.type pop_function, @function
pop_function:
.LFB0:
.cfi_startproc
endbr64
cmp QWORD PTR dumpstack[rip], 0
jne .L4
ret
.p2align 4,,10
.p2align 3
.L4:
mov edi, DWORD PTR functions[rip]
jmp vec_pop@PLT
.cfi_endproc
.LFE0:
.size pop_function, .-pop_function
.globl functions
.bss
.align 4
.type functions, @object
.size functions, 4
functions:
.zero 4
.globl dumpstack
.align 8
.type dumpstack, @object
.size dumpstack, 8
dumpstack:
.zero 8
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_gen.c_pop_function.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type pop_function, %function
pop_function:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
ldr r3, .L4
ldr r3, [r3]
cmp r3, #0
bxeq lr
ldr r3, .L4+4
ldr r0, [r3]
b vec_pop
.L5:
.align 2
.L4:
.word dumpstack
.word functions
.size pop_function, .-pop_function
.comm functions,4,4
.comm dumpstack,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_gen.c_pop_int_args.c"
.intel_syntax noprefix
.text
.p2align 4
.type pop_int_args, @function
pop_int_args:
.LFB0:
.cfi_startproc
endbr64
mov eax, edi
sub eax, 1
js .L6
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
movsx rdi, edi
push rbx
.cfi_def_cfa_offset 24
.cfi_offset 3, -24
movsx rbx, eax
mov eax, eax
sub rdi, rax
sal rbx, 2
lea rbp, -8[0+rdi*4]
sub rsp, 8
.cfi_def_cfa_offset 32
.p2align 4,,10
.p2align 3
.L3:
mov rax, QWORD PTR REGS[rip]
mov edi, DWORD PTR [rax+rbx]
sub rbx, 4
call pop@PLT
cmp rbx, rbp
jne .L3
add rsp, 8
.cfi_def_cfa_offset 24
pop rbx
.cfi_def_cfa_offset 16
pop rbp
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L6:
.cfi_restore 3
.cfi_restore 6
ret
.cfi_endproc
.LFE0:
.size pop_int_args, .-pop_int_args
.globl SAVE
.bss
.align 4
.type SAVE, @object
.size SAVE, 4
SAVE:
.zero 4
.globl REGS
.align 8
.type REGS, @object
.size REGS, 8
REGS:
.zero 8
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_gen.c_pop_int_args.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type pop_int_args, %function
pop_int_args:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
subs r4, r0, #1
popmi {r4, r5, r6, pc}
ldr r5, .L7
.L3:
ldr r3, [r5]
ldr r0, [r3, r4, lsl #2]
sub r4, r4, #1
bl pop
cmn r4, #1
bne .L3
pop {r4, r5, r6, pc}
.L8:
.align 2
.L7:
.word REGS
.size pop_int_args, .-pop_int_args
.comm SAVE,4,4
.comm REGS,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_gen.c_pop_xmm.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "movsd (#rsp), #xmm%d"
.LC1:
.string "add $8, #rsp"
.text
.p2align 4
.type pop_xmm, @function
pop_xmm:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 8
.cfi_def_cfa_offset 16
mov esi, edi
lea rdi, .LC0[rip]
xor eax, eax
call emit@PLT
lea rdi, .LC1[rip]
xor eax, eax
call emit@PLT
mov rax, QWORD PTR stackpos[rip]
lea rdi, -8[rax]
mov QWORD PTR stackpos[rip], rdi
not rdi
add rsp, 8
.cfi_def_cfa_offset 8
shr rdi, 63
jmp assert@PLT
.cfi_endproc
.LFE0:
.size pop_xmm, .-pop_xmm
.globl stackpos
.bss
.align 8
.type stackpos, @object
.size stackpos, 8
stackpos:
.zero 8
.globl SAVE
.align 4
.type SAVE, @object
.size SAVE, 4
SAVE:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_gen.c_pop_xmm.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "movsd (#rsp), #xmm%d\000"
.align 2
.LC1:
.ascii "add $8, #rsp\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type pop_xmm, %function
pop_xmm:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
mov r1, r0
push {r4, lr}
ldr r0, .L4
bl emit
ldr r0, .L4+4
bl emit
pop {r4, lr}
ldr r2, .L4+8
ldr r3, [r2]
sub r3, r3, #8
mvn r0, r3
lsr r0, r0, #31
str r3, [r2]
b assert
.L5:
.align 2
.L4:
.word .LC0
.word .LC1
.word stackpos
.size pop_xmm, .-pop_xmm
.comm stackpos,4,4
.comm SAVE,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_gen.c_push.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "push #%s"
.text
.p2align 4
.type push, @function
push:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 8
.cfi_def_cfa_offset 16
mov rsi, rdi
lea rdi, .LC0[rip]
call emit@PLT
add DWORD PTR stackpos[rip], 8
add rsp, 8
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size push, .-push
.globl stackpos
.bss
.align 4
.type stackpos, @object
.size stackpos, 4
stackpos:
.zero 4
.globl SAVE
.align 4
.type SAVE, @object
.size SAVE, 4
SAVE:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_gen.c_push.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "push #%s\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type push, %function
push:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
mov r1, r0
push {r4, lr}
ldr r0, .L4
bl emit
ldr r2, .L4+4
ldr r3, [r2]
add r3, r3, #8
str r3, [r2]
pop {r4, pc}
.L5:
.align 2
.L4:
.word .LC0
.word stackpos
.size push, .-push
.comm stackpos,4,4
.comm SAVE,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_gen.c_push_struct.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "sub $%d, #rsp"
.LC1:
.string "mov #rcx, -8(#rsp)"
.LC2:
.string "mov #r11, -16(#rsp)"
.LC3:
.string "mov #rax, #rcx"
.LC4:
.string "movq %d(#rcx), #r11"
.LC5:
.string "mov #r11, %d(#rsp)"
.LC6:
.string "mov -8(#rsp), #rcx"
.LC7:
.string "mov -16(#rsp), #r11"
.text
.p2align 4
.type push_struct, @function
push_struct:
.LFB0:
.cfi_startproc
endbr64
push r13
.cfi_def_cfa_offset 16
.cfi_offset 13, -16
mov esi, 8
push r12
.cfi_def_cfa_offset 24
.cfi_offset 12, -24
push rbp
.cfi_def_cfa_offset 32
.cfi_offset 6, -32
mov ebp, edi
push rbx
.cfi_def_cfa_offset 40
.cfi_offset 3, -40
sub rsp, 8
.cfi_def_cfa_offset 48
call align@PLT
lea rdi, .LC0[rip]
mov esi, eax
mov r12d, eax
xor eax, eax
call emit@PLT
lea rdi, .LC1[rip]
xor eax, eax
call emit@PLT
lea rdi, .LC2[rip]
xor eax, eax
call emit@PLT
xor eax, eax
lea rdi, .LC3[rip]
call emit@PLT
test ebp, ebp
jle .L2
sub ebp, 1
xor ebx, ebx
lea r13, .LC4[rip]
and ebp, -8
add ebp, 8
.p2align 4,,10
.p2align 3
.L3:
mov esi, ebx
mov rdi, r13
xor eax, eax
call emit@PLT
mov esi, ebx
lea rdi, .LC5[rip]
xor eax, eax
call emit@PLT
add ebx, 8
cmp ebx, ebp
jne .L3
.L2:
lea rdi, .LC6[rip]
xor eax, eax
call emit@PLT
lea rdi, .LC7[rip]
xor eax, eax
call emit@PLT
add DWORD PTR stackpos[rip], r12d
add rsp, 8
.cfi_def_cfa_offset 40
mov eax, r12d
pop rbx
.cfi_def_cfa_offset 32
pop rbp
.cfi_def_cfa_offset 24
pop r12
.cfi_def_cfa_offset 16
pop r13
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size push_struct, .-push_struct
.globl stackpos
.bss
.align 4
.type stackpos, @object
.size stackpos, 4
stackpos:
.zero 4
.globl SAVE
.align 4
.type SAVE, @object
.size SAVE, 4
SAVE:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_gen.c_push_struct.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "sub $%d, #rsp\000"
.align 2
.LC1:
.ascii "mov #rcx, -8(#rsp)\000"
.align 2
.LC2:
.ascii "mov #r11, -16(#rsp)\000"
.align 2
.LC3:
.ascii "mov #rax, #rcx\000"
.align 2
.LC4:
.ascii "movq %d(#rcx), #r11\000"
.align 2
.LC5:
.ascii "mov #r11, %d(#rsp)\000"
.align 2
.LC6:
.ascii "mov -8(#rsp), #rcx\000"
.align 2
.LC7:
.ascii "mov -16(#rsp), #r11\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type push_struct, %function
push_struct:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, lr}
mov r1, #8
mov r5, r0
bl align
mov r8, r0
ldr r0, .L7
mov r1, r8
bl emit
ldr r0, .L7+4
bl emit
ldr r0, .L7+8
bl emit
ldr r0, .L7+12
bl emit
cmp r5, #0
ble .L2
mov r4, #0
sub r5, r5, #1
bic r5, r5, #7
ldr r7, .L7+16
ldr r6, .L7+20
add r5, r5, #8
.L3:
mov r1, r4
mov r0, r7
bl emit
mov r1, r4
mov r0, r6
add r4, r4, #8
bl emit
cmp r4, r5
bne .L3
.L2:
ldr r0, .L7+24
bl emit
ldr r0, .L7+28
bl emit
ldr r2, .L7+32
mov r0, r8
ldr r3, [r2]
add r8, r3, r8
str r8, [r2]
pop {r4, r5, r6, r7, r8, pc}
.L8:
.align 2
.L7:
.word .LC0
.word .LC1
.word .LC2
.word .LC3
.word .LC4
.word .LC5
.word .LC6
.word .LC7
.word stackpos
.size push_struct, .-push_struct
.comm stackpos,4,4
.comm SAVE,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_gen.c_push_xmm.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "sub $8, #rsp"
.LC1:
.string "movsd #xmm%d, (#rsp)"
.text
.p2align 4
.type push_xmm, @function
push_xmm:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
xor eax, eax
mov ebp, edi
lea rdi, .LC0[rip]
call emit@PLT
mov esi, ebp
lea rdi, .LC1[rip]
xor eax, eax
call emit@PLT
add DWORD PTR stackpos[rip], 8
pop rbp
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size push_xmm, .-push_xmm
.globl stackpos
.bss
.align 4
.type stackpos, @object
.size stackpos, 4
stackpos:
.zero 4
.globl SAVE
.align 4
.type SAVE, @object
.size SAVE, 4
SAVE:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_gen.c_push_xmm.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "sub $8, #rsp\000"
.align 2
.LC1:
.ascii "movsd #xmm%d, (#rsp)\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type push_xmm, %function
push_xmm:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
mov r4, r0
ldr r0, .L4
bl emit
mov r1, r4
ldr r0, .L4+4
bl emit
ldr r2, .L4+8
ldr r3, [r2]
add r3, r3, #8
str r3, [r2]
pop {r4, pc}
.L5:
.align 2
.L4:
.word .LC0
.word .LC1
.word stackpos
.size push_xmm, .-push_xmm
.comm stackpos,4,4
.comm SAVE,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_gen.c_read_source_file.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "r"
.text
.p2align 4
.type read_source_file, @function
read_source_file:
.LFB0:
.cfi_startproc
endbr64
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
lea rsi, .LC0[rip]
push rbp
.cfi_def_cfa_offset 24
.cfi_offset 6, -24
sub rsp, 24
.cfi_def_cfa_offset 48
mov rax, QWORD PTR fs:40
mov QWORD PTR 8[rsp], rax
xor eax, eax
call fopen@PLT
mov r12, rax
test rax, rax
je .L1
mov rdi, rax
call fileno@PLT
lea rsi, 4[rsp]
mov edi, eax
call fstat@PLT
mov eax, DWORD PTR 4[rsp]
lea edi, 1[rax]
call malloc@PLT
mov edx, DWORD PTR 4[rsp]
mov rcx, r12
mov esi, 1
mov rdi, rax
mov rbp, rax
call fread@PLT
mov rdi, r12
cmp eax, DWORD PTR 4[rsp]
jne .L10
call fclose@PLT
movsx rax, DWORD PTR 4[rsp]
mov rdi, rbp
mov BYTE PTR 0[rbp+rax], 0
call split@PLT
mov r12, rax
.L1:
mov rax, QWORD PTR 8[rsp]
sub rax, QWORD PTR fs:40
jne .L11
add rsp, 24
.cfi_remember_state
.cfi_def_cfa_offset 24
mov rax, r12
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L10:
.cfi_restore_state
call fclose@PLT
xor r12d, r12d
jmp .L1
.L11:
call __stack_chk_fail@PLT
.cfi_endproc
.LFE0:
.size read_source_file, .-read_source_file
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_gen.c_read_source_file.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "r\000"
.section .rodata.cst4,"aM",%progbits,4
.align 2
.LC1:
.word __stack_chk_guard
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type read_source_file, %function
read_source_file:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, lr}
ldr r3, .L12
sub sp, sp, #12
ldr r1, .L12+4
ldr r3, [r3]
str r3, [sp, #4]
mov r3,#0
bl fopen
subs r4, r0, #0
beq .L1
bl fileno
mov r1, sp
bl fstat
ldr r0, [sp]
add r0, r0, #1
bl malloc
mov r3, r4
mov r1, #1
ldr r2, [sp]
mov r5, r0
bl fread
ldr r3, [sp]
cmp r0, r3
mov r0, r4
bne .L10
bl fclose
mov r2, #0
ldr r3, [sp]
mov r0, r5
strb r2, [r5, r3]
bl split
mov r4, r0
.L1:
ldr r3, .L12
ldr r2, [r3]
ldr r3, [sp, #4]
eors r2, r3, r2
mov r3, #0
bne .L11
mov r0, r4
add sp, sp, #12
@ sp needed
pop {r4, r5, pc}
.L10:
bl fclose
mov r4, #0
b .L1
.L11:
bl __stack_chk_fail
.L13:
.align 2
.L12:
.word .LC1
.word .LC0
.size read_source_file, .-read_source_file
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_gen.c_restore_arg_regs.c"
.intel_syntax noprefix
.text
.p2align 4
.type restore_arg_regs, @function
restore_arg_regs:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
movsx rbp, edi
push rbx
.cfi_def_cfa_offset 24
.cfi_offset 3, -24
lea ebx, -1[rsi]
sub rsp, 8
.cfi_def_cfa_offset 32
test ebx, ebx
jle .L2
.p2align 4,,10
.p2align 3
.L3:
mov edi, ebx
call pop_xmm@PLT
sub ebx, 1
jne .L3
.L2:
mov eax, ebp
sub eax, 1
js .L1
movsx rbx, eax
mov eax, eax
sub rbp, rax
sal rbx, 2
lea rbp, -8[0+rbp*4]
.p2align 4,,10
.p2align 3
.L5:
mov rax, QWORD PTR REGS[rip]
mov edi, DWORD PTR [rax+rbx]
sub rbx, 4
call pop@PLT
cmp rbx, rbp
jne .L5
.L1:
add rsp, 8
.cfi_def_cfa_offset 24
pop rbx
.cfi_def_cfa_offset 16
pop rbp
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size restore_arg_regs, .-restore_arg_regs
.globl SAVE
.bss
.align 4
.type SAVE, @object
.size SAVE, 4
SAVE:
.zero 4
.globl REGS
.align 8
.type REGS, @object
.size REGS, 8
REGS:
.zero 8
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_gen.c_restore_arg_regs.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type restore_arg_regs, %function
restore_arg_regs:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
sub r5, r1, #1
cmp r5, #0
mov r4, r0
ble .L2
.L3:
mov r0, r5
bl pop_xmm
subs r5, r5, #1
bne .L3
.L2:
subs r4, r4, #1
popmi {r4, r5, r6, pc}
ldr r5, .L10
.L5:
ldr r3, [r5]
ldr r0, [r3, r4, lsl #2]
sub r4, r4, #1
bl pop
cmn r4, #1
bne .L5
pop {r4, r5, r6, pc}
.L11:
.align 2
.L10:
.word REGS
.size restore_arg_regs, .-restore_arg_regs
.comm SAVE,4,4
.comm REGS,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_gen.c_save_arg_regs.c"
.intel_syntax noprefix
.text
.p2align 4
.type save_arg_regs, @function
save_arg_regs:
.LFB0:
.cfi_startproc
endbr64
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
mov r12d, esi
push rbp
.cfi_def_cfa_offset 24
.cfi_offset 6, -24
movsx rbp, edi
xor edi, edi
push rbx
.cfi_def_cfa_offset 32
.cfi_offset 3, -32
cmp ebp, 6
setle dil
call assert@PLT
xor edi, edi
cmp r12d, 8
setle dil
call assert@PLT
test ebp, ebp
jle .L2
sal rbp, 2
xor ebx, ebx
.p2align 4,,10
.p2align 3
.L3:
mov rax, QWORD PTR REGS[rip]
mov edi, DWORD PTR [rax+rbx]
add rbx, 4
call push@PLT
cmp rbp, rbx
jne .L3
.L2:
cmp r12d, 1
jle .L1
mov ebx, 1
.p2align 4,,10
.p2align 3
.L5:
mov edi, ebx
add ebx, 1
call push_xmm@PLT
cmp r12d, ebx
jne .L5
.L1:
pop rbx
.cfi_def_cfa_offset 24
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size save_arg_regs, .-save_arg_regs
.globl SAVE
.bss
.align 4
.type SAVE, @object
.size SAVE, 4
SAVE:
.zero 4
.globl REGS
.align 8
.type REGS, @object
.size REGS, 8
REGS:
.zero 8
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_gen.c_save_arg_regs.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type save_arg_regs, %function
save_arg_regs:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, lr}
mov r5, r1
mov r6, r0
cmp r0, #6
movgt r0, #0
movle r0, #1
bl assert
cmp r5, #8
movgt r0, #0
movle r0, #1
bl assert
cmp r6, #0
ble .L2
mov r4, #0
ldr r7, .L10
.L3:
ldr r3, [r7]
ldr r0, [r3, r4, lsl #2]
add r4, r4, #1
bl push
cmp r6, r4
bne .L3
.L2:
cmp r5, #1
pople {r4, r5, r6, r7, r8, pc}
mov r4, #1
.L5:
mov r0, r4
add r4, r4, #1
bl push_xmm
cmp r5, r4
bne .L5
pop {r4, r5, r6, r7, r8, pc}
.L11:
.align 2
.L10:
.word REGS
.size save_arg_regs, .-save_arg_regs
.comm SAVE,4,4
.comm REGS,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_gen.c_set_output_file.c"
.intel_syntax noprefix
.text
.p2align 4
.globl set_output_file
.type set_output_file, @function
set_output_file:
.LFB0:
.cfi_startproc
endbr64
mov QWORD PTR outputfp[rip], rdi
ret
.cfi_endproc
.LFE0:
.size set_output_file, .-set_output_file
.globl outputfp
.bss
.align 8
.type outputfp, @object
.size outputfp, 8
outputfp:
.zero 8
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_gen.c_set_output_file.c"
.text
.align 2
.global set_output_file
.syntax unified
.arm
.fpu softvfp
.type set_output_file, %function
set_output_file:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
ldr r3, .L3
str r0, [r3]
bx lr
.L4:
.align 2
.L3:
.word outputfp
.size set_output_file, .-set_output_file
.comm outputfp,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_gen.c_set_reg_nums.c"
.intel_syntax noprefix
.text
.p2align 4
.type set_reg_nums, @function
set_reg_nums:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rdi
push rbx
.cfi_def_cfa_offset 24
.cfi_offset 3, -24
xor ebx, ebx
sub rsp, 8
.cfi_def_cfa_offset 32
mov QWORD PTR numfp[rip], 0
mov QWORD PTR numgp[rip], 0
jmp .L2
.p2align 4,,10
.p2align 3
.L9:
add QWORD PTR numfp[rip], 1
.L4:
add ebx, 1
.L2:
mov rdi, rbp
call vec_len@PLT
cmp eax, ebx
jle .L8
mov rdi, rbp
mov esi, ebx
call vec_get@PLT
mov edi, DWORD PTR [rax]
call is_flotype@PLT
test rax, rax
jne .L9
add QWORD PTR numgp[rip], 1
jmp .L4
.p2align 4,,10
.p2align 3
.L8:
add rsp, 8
.cfi_def_cfa_offset 24
pop rbx
.cfi_def_cfa_offset 16
pop rbp
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size set_reg_nums, .-set_reg_nums
.globl numgp
.bss
.align 8
.type numgp, @object
.size numgp, 8
numgp:
.zero 8
.globl numfp
.align 8
.type numfp, @object
.size numfp, 8
numfp:
.zero 8
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_gen.c_set_reg_nums.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type set_reg_nums, %function
set_reg_nums:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, lr}
mov r4, #0
mov r5, r0
ldr r7, .L9
ldr r6, .L9+4
str r4, [r7]
str r4, [r6]
.L2:
mov r0, r5
bl vec_len
cmp r0, r4
pople {r4, r5, r6, r7, r8, pc}
mov r1, r4
mov r0, r5
bl vec_get
ldr r0, [r0]
bl is_flotype
cmp r0, #0
ldrne r3, [r7]
ldreq r3, [r6]
addne r3, r3, #1
addeq r3, r3, #1
strne r3, [r7]
streq r3, [r6]
add r4, r4, #1
b .L2
.L10:
.align 2
.L9:
.word numfp
.word numgp
.size set_reg_nums, .-set_reg_nums
.comm numgp,4,4
.comm numfp,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_gen.c_split.c"
.intel_syntax noprefix
.text
.p2align 4
.type split, @function
split:
.LFB0:
.cfi_startproc
endbr64
push rbx
.cfi_def_cfa_offset 16
.cfi_offset 3, -16
movzx eax, BYTE PTR [rdi]
mov rbx, rdi
test al, al
je .L14
mov rdx, rdi
mov esi, 1
jmp .L7
.p2align 4,,10
.p2align 3
.L3:
cmp al, 10
je .L4
.L6:
add rdx, 1
mov eax, ecx
.L5:
test al, al
je .L23
.L7:
movzx ecx, BYTE PTR 1[rdx]
cmp al, 13
jne .L3
cmp cl, 10
je .L24
.L4:
add esi, 1
jmp .L6
.p2align 4,,10
.p2align 3
.L23:
lea edi, 1[0+rsi*8]
call malloc@PLT
mov r8, rax
movzx eax, BYTE PTR [rbx]
test al, al
je .L15
.L27:
xor ecx, ecx
xor edx, edx
jmp .L13
.p2align 4,,10
.p2align 3
.L9:
cmp al, 10
je .L10
add rbx, 1
.L11:
movzx eax, BYTE PTR [rbx]
test al, al
je .L25
.L13:
lea rsi, [r8+rdx*8]
cmp al, 13
jne .L9
cmp BYTE PTR 1[rbx], 10
je .L26
.L10:
mov BYTE PTR [rbx], 0
add rbx, 1
add ecx, 1
mov QWORD PTR [rsi], rbx
movzx eax, BYTE PTR [rbx]
movsx rdx, ecx
test al, al
jne .L13
.L25:
lea rax, [r8+rdx*8]
mov QWORD PTR [rax], 0
mov rax, r8
pop rbx
.cfi_remember_state
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L24:
.cfi_restore_state
movzx eax, BYTE PTR 2[rdx]
add esi, 1
add rdx, 2
jmp .L5
.p2align 4,,10
.p2align 3
.L26:
mov BYTE PTR [rbx], 0
add ecx, 1
add rbx, 2
mov QWORD PTR [rsi], rbx
movsx rdx, ecx
jmp .L11
.p2align 4,,10
.p2align 3
.L14:
mov edi, 9
call malloc@PLT
mov r8, rax
movzx eax, BYTE PTR [rbx]
test al, al
jne .L27
.L15:
mov rax, r8
mov QWORD PTR [rax], 0
mov rax, r8
pop rbx
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size split, .-split
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_gen.c_split.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type split, %function
split:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
ldrb r6, [r0] @ zero_extendqisi2
cmp r6, #0
beq .L2
mov r5, r0
mov r3, r0
mov r4, r6
mov r0, #1
b .L7
.L3:
cmp r4, #10
addeq r0, r0, #1
.L6:
mov r4, r2
cmp r4, #0
add r3, r3, #1
beq .L23
.L7:
cmp r4, #13
ldrb r2, [r3, #1] @ zero_extendqisi2
bne .L3
cmp r2, #10
add r0, r0, #1
bne .L6
ldrb r4, [r3, #2] @ zero_extendqisi2
add r3, r3, #2
cmp r4, #0
bne .L7
.L23:
lsl r0, r0, #2
add r0, r0, #1
bl malloc
mov lr, r4
b .L14
.L9:
cmp r6, #10
add r2, r5, #1
movne r5, r2
beq .L24
.L13:
mov r6, r1
.L12:
cmp r6, #0
beq .L15
.L14:
cmp r6, #13
ldrb r1, [r5, #1] @ zero_extendqisi2
lsl r3, r4, #2
add ip, r0, r4, lsl #2
bne .L9
add r3, r3, #4
cmp r1, #10
add r3, r0, r3
add r4, r4, #1
addne r2, r5, #1
beq .L25
.L11:
strb lr, [r5]
str r2, [ip]
mov r5, r2
mov ip, r3
b .L13
.L24:
add r3, r3, #4
add r3, r0, r3
add r4, r4, #1
b .L11
.L2:
mov r0, #5
bl malloc
mov ip, r0
.L15:
mov r3, #0
str r3, [ip]
pop {r4, r5, r6, pc}
.L25:
mov r2, r5
strb lr, [r2], #2
ldrb r6, [r5, #2] @ zero_extendqisi2
str r2, [ip]
mov r5, r2
mov ip, r3
b .L12
.size split, .-split
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_lex.c_buffer_empty.c"
.intel_syntax noprefix
.text
.p2align 4
.type buffer_empty, @function
buffer_empty:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 8
.cfi_def_cfa_offset 16
mov edi, DWORD PTR buffers[rip]
call vec_len@PLT
mov r8d, eax
xor eax, eax
cmp r8d, 1
je .L7
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L7:
.cfi_restore_state
mov edi, DWORD PTR buffers[rip]
call vec_head@PLT
mov edi, eax
call vec_len@PLT
test eax, eax
sete al
add rsp, 8
.cfi_def_cfa_offset 8
movzx eax, al
ret
.cfi_endproc
.LFE0:
.size buffer_empty, .-buffer_empty
.globl buffers
.bss
.align 4
.type buffers, @object
.size buffers, 4
buffers:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_lex.c_buffer_empty.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type buffer_empty, %function
buffer_empty:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
ldr r4, .L7
ldr r0, [r4]
bl vec_len
cmp r0, #1
beq .L6
mov r0, #0
pop {r4, pc}
.L6:
ldr r0, [r4]
bl vec_head
bl vec_len
clz r0, r0
lsr r0, r0, #5
pop {r4, pc}
.L8:
.align 2
.L7:
.word buffers
.size buffer_empty, .-buffer_empty
.comm buffers,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_lex.c_do_skip_space.c"
.intel_syntax noprefix
.text
.p2align 4
.type do_skip_space, @function
do_skip_space:
.LFB0:
.cfi_startproc
endbr64
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
xor eax, eax
xor r12d, r12d
push rbp
.cfi_def_cfa_offset 24
.cfi_offset 6, -24
sub rsp, 8
.cfi_def_cfa_offset 32
call readc@PLT
cmp DWORD PTR EOF[rip], eax
je .L1
mov edi, eax
mov ebp, eax
mov r12d, 1
call iswhitespace@PLT
test rax, rax
jne .L1
cmp ebp, 47
je .L12
.L3:
mov edi, ebp
xor r12d, r12d
call unreadc@PLT
.L1:
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 24
mov eax, r12d
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L12:
.cfi_restore_state
mov edi, 42
call next@PLT
test rax, rax
jne .L13
mov edi, 47
call next@PLT
test rax, rax
je .L3
xor eax, eax
call skip_line@PLT
jmp .L1
.p2align 4,,10
.p2align 3
.L13:
xor eax, eax
call skip_block_comment@PLT
jmp .L1
.cfi_endproc
.LFE0:
.size do_skip_space, .-do_skip_space
.globl EOF
.bss
.align 4
.type EOF, @object
.size EOF, 4
EOF:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_lex.c_do_skip_space.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type do_skip_space, %function
do_skip_space:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
bl readc
ldr r3, .L14
ldr r3, [r3]
cmp r3, r0
moveq r5, #0
beq .L1
mov r4, r0
bl iswhitespace
subs r5, r0, #0
movne r5, #1
bne .L1
cmp r4, #47
beq .L12
.L3:
mov r0, r4
bl unreadc
.L1:
mov r0, r5
pop {r4, r5, r6, pc}
.L12:
mov r0, #42
bl next
cmp r0, #0
bne .L13
mov r0, r4
bl next
cmp r0, #0
beq .L3
bl skip_line
mov r5, #1
b .L1
.L13:
bl skip_block_comment
mov r5, #1
b .L1
.L15:
.align 2
.L14:
.word EOF
.size do_skip_space, .-do_skip_space
.comm EOF,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_lex.c_is_valid_ucn.c"
.intel_syntax noprefix
.text
.p2align 4
.type is_valid_ucn, @function
is_valid_ucn:
.LFB0:
.cfi_startproc
endbr64
lea edx, -55296[rdi]
xor eax, eax
cmp edx, 2047
jbe .L1
cmp edi, 159
ja .L4
cmp edi, 36
je .L4
and edi, -33
xor eax, eax
cmp edi, 64
sete al
ret
.p2align 4,,10
.p2align 3
.L4:
mov eax, 1
.L1:
ret
.cfi_endproc
.LFE0:
.size is_valid_ucn, .-is_valid_ucn
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_lex.c_is_valid_ucn.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type is_valid_ucn, %function
is_valid_ucn:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
sub r3, r0, #55296
cmp r3, #2048
bcc .L3
sub r3, r0, #36
clz r3, r3
lsr r3, r3, #5
cmp r0, #159
orrhi r3, r3, #1
cmp r3, #0
beq .L6
mov r0, #1
bx lr
.L6:
bic r0, r0, #32
sub r0, r0, #64
clz r0, r0
lsr r0, r0, #5
bx lr
.L3:
mov r0, #0
bx lr
.size is_valid_ucn, .-is_valid_ucn
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_lex.c_iswhitespace.c"
.intel_syntax noprefix
.text
.p2align 4
.type iswhitespace, @function
iswhitespace:
.LFB0:
.cfi_startproc
endbr64
xor eax, eax
cmp edi, 32
ja .L1
movabs rax, 4294973952
mov ecx, edi
shr rax, cl
and eax, 1
.L1:
ret
.cfi_endproc
.LFE0:
.size iswhitespace, .-iswhitespace
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_lex.c_iswhitespace.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type iswhitespace, %function
iswhitespace:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
cmp r0, #9
cmpne r0, #32
beq .L3
sub r0, r0, #11
cmp r0, #1
movhi r0, #0
movls r0, #1
bx lr
.L3:
mov r0, #1
bx lr
.size iswhitespace, .-iswhitespace
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_lex.c_lex.c"
.intel_syntax noprefix
.text
.p2align 4
.globl lex
.type lex, @function
lex:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rdi, QWORD PTR buffers[rip]
call vec_tail@PLT
mov rdi, rax
mov rbp, rax
call vec_len@PLT
test eax, eax
jg .L10
mov rdi, QWORD PTR buffers[rip]
call vec_len@PLT
cmp eax, 1
jle .L3
mov rax, QWORD PTR eof_token[rip]
pop rbp
.cfi_remember_state
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L3:
.cfi_restore_state
xor eax, eax
xor ebp, ebp
call current_file@PLT
cmp DWORD PTR [rax], 1
sete bpl
xor eax, eax
call do_read_token@PLT
mov rcx, QWORD PTR TSPACE[rip]
cmp QWORD PTR [rax], rcx
jne .L5
.p2align 4,,10
.p2align 3
.L6:
xor eax, eax
call do_read_token@PLT
mov rdx, QWORD PTR TSPACE[rip]
mov DWORD PTR 8[rax], 1
cmp QWORD PTR [rax], rdx
je .L6
.L5:
mov DWORD PTR 12[rax], ebp
pop rbp
.cfi_remember_state
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L10:
.cfi_restore_state
mov rdi, rbp
pop rbp
.cfi_def_cfa_offset 8
jmp vec_pop@PLT
.cfi_endproc
.LFE0:
.size lex, .-lex
.globl eof_token
.bss
.align 8
.type eof_token, @object
.size eof_token, 8
eof_token:
.zero 8
.globl buffers
.align 8
.type buffers, @object
.size buffers, 8
buffers:
.zero 8
.globl TSPACE
.align 8
.type TSPACE, @object
.size TSPACE, 8
TSPACE:
.zero 8
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_lex.c_lex.c"
.text
.align 2
.global lex
.syntax unified
.arm
.fpu softvfp
.type lex, %function
lex:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
ldr r5, .L11
ldr r0, [r5]
bl vec_tail
mov r4, r0
bl vec_len
cmp r0, #0
bgt .L10
ldr r0, [r5]
bl vec_len
cmp r0, #1
ble .L3
ldr r3, .L11+4
ldr r0, [r3]
pop {r4, r5, r6, pc}
.L3:
bl current_file
ldr r6, [r0]
bl do_read_token
sub r6, r6, #1
clz r6, r6
ldr r4, .L11+8
ldr r2, [r0]
ldr r3, [r4]
lsr r6, r6, #5
cmp r2, r3
bne .L5
mov r5, #1
.L6:
bl do_read_token
ldr r3, [r4]
ldr r2, [r0]
str r5, [r0, #4]
cmp r2, r3
beq .L6
.L5:
str r6, [r0, #8]
pop {r4, r5, r6, pc}
.L10:
mov r0, r4
pop {r4, r5, r6, lr}
b vec_pop
.L12:
.align 2
.L11:
.word buffers
.word eof_token
.word TSPACE
.size lex, .-lex
.comm eof_token,4,4
.comm buffers,4,4
.comm TSPACE,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_lex.c_lex_init.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "-"
.LC1:
.string "r"
.LC2:
.string "Cannot open %s: %s"
.text
.p2align 4
.globl lex_init
.type lex_init, @function
lex_init:
.LFB0:
.cfi_startproc
endbr64
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
xor eax, eax
push rbp
.cfi_def_cfa_offset 24
.cfi_offset 6, -24
mov rbp, rdi
sub rsp, 8
.cfi_def_cfa_offset 32
call make_vector@PLT
mov edi, DWORD PTR buffers[rip]
mov esi, eax
call vec_push@PLT
cmp BYTE PTR 0[rbp], 45
jne .L3
cmp BYTE PTR 1[rbp], 0
jne .L3
mov rdi, QWORD PTR stdin[rip]
lea rsi, .LC0[rip]
jmp .L6
.p2align 4,,10
.p2align 3
.L3:
lea rsi, .LC1[rip]
mov rdi, rbp
call fopen@PLT
mov r12, rax
test rax, rax
je .L8
.L4:
mov rsi, rbp
mov rdi, r12
.L6:
call make_file@PLT
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 24
pop rbp
.cfi_def_cfa_offset 16
mov edi, eax
pop r12
.cfi_def_cfa_offset 8
jmp stream_push@PLT
.p2align 4,,10
.p2align 3
.L8:
.cfi_restore_state
mov edi, DWORD PTR errno[rip]
call strerror@PLT
mov rsi, rbp
lea rdi, .LC2[rip]
mov rdx, rax
call error@PLT
jmp .L4
.cfi_endproc
.LFE0:
.size lex_init, .-lex_init
.globl stdin
.bss
.align 8
.type stdin, @object
.size stdin, 8
stdin:
.zero 8
.globl errno
.align 4
.type errno, @object
.size errno, 4
errno:
.zero 4
.globl buffers
.align 4
.type buffers, @object
.size buffers, 4
buffers:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_lex.c_lex_init.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "-\000"
.align 2
.LC1:
.ascii "r\000"
.align 2
.LC2:
.ascii "Cannot open %s: %s\000"
.text
.align 2
.global lex_init
.syntax unified
.arm
.fpu softvfp
.type lex_init, %function
lex_init:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
ldr r3, .L8
push {r4, r5, r6, lr}
ldr r5, [r3]
mov r4, r0
bl make_vector
mov r1, r0
mov r0, r5
bl vec_push
ldrb r3, [r4] @ zero_extendqisi2
cmp r3, #45
bne .L3
ldrb r3, [r4, #1] @ zero_extendqisi2
cmp r3, #0
bne .L3
ldr r3, .L8+4
ldr r1, .L8+8
ldr r0, [r3]
bl make_file
pop {r4, r5, r6, lr}
b stream_push
.L3:
mov r0, r4
ldr r1, .L8+12
bl fopen
subs r5, r0, #0
beq .L7
.L4:
mov r1, r4
mov r0, r5
bl make_file
pop {r4, r5, r6, lr}
b stream_push
.L7:
ldr r3, .L8+16
ldr r0, [r3]
bl strerror
mov r1, r4
mov r2, r0
ldr r0, .L8+20
bl error
b .L4
.L9:
.align 2
.L8:
.word buffers
.word stdin
.word .LC0
.word .LC1
.word errno
.word .LC2
.size lex_init, .-lex_init
.comm stdin,4,4
.comm errno,4,4
.comm buffers,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_lex.c_lex_string.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "unconsumed input: %s"
.text
.p2align 4
.globl lex_string
.type lex_string, @function
lex_string:
.LFB0:
.cfi_startproc
endbr64
push r13
.cfi_def_cfa_offset 16
.cfi_offset 13, -16
push r12
.cfi_def_cfa_offset 24
.cfi_offset 12, -24
mov r12, rdi
push rbp
.cfi_def_cfa_offset 32
.cfi_offset 6, -32
call make_file_string@PLT
mov edi, eax
call stream_stash@PLT
xor eax, eax
call do_read_token@PLT
mov edi, 10
mov r13, rax
call next@PLT
xor edi, edi
call get_pos@PLT
mov ebp, eax
xor eax, eax
call peek@PLT
cmp rax, QWORD PTR EOF[rip]
je .L2
mov rdx, r12
lea rsi, .LC0[rip]
mov edi, ebp
call errorp@PLT
.L2:
xor eax, eax
call stream_unstash@PLT
mov rax, r13
pop rbp
.cfi_def_cfa_offset 24
pop r12
.cfi_def_cfa_offset 16
pop r13
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size lex_string, .-lex_string
.globl EOF
.bss
.align 8
.type EOF, @object
.size EOF, 8
EOF:
.zero 8
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_lex.c_lex_string.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "unconsumed input: %s\000"
.text
.align 2
.global lex_string
.syntax unified
.arm
.fpu softvfp
.type lex_string, %function
lex_string:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
mov r6, r0
bl make_file_string
bl stream_stash
bl do_read_token
mov r4, r0
mov r0, #10
bl next
mov r0, #0
bl get_pos
mov r5, r0
bl peek
ldr r3, .L5
ldr r3, [r3]
cmp r0, r3
beq .L2
mov r2, r6
mov r0, r5
ldr r1, .L5+4
bl errorp
.L2:
bl stream_unstash
mov r0, r4
pop {r4, r5, r6, pc}
.L6:
.align 2
.L5:
.word EOF
.word .LC0
.size lex_string, .-lex_string
.comm EOF,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_lex.c_make_token.c"
.intel_syntax noprefix
.text
.p2align 4
.type make_token, @function
make_token:
.LFB0:
.cfi_startproc
endbr64
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
push rbx
.cfi_def_cfa_offset 24
.cfi_offset 3, -24
mov rbx, rdi
mov edi, 32
sub rsp, 8
.cfi_def_cfa_offset 32
call malloc@PLT
movdqu xmm0, XMMWORD PTR [rbx]
mov r12, rax
movups XMMWORD PTR [rax], xmm0
movdqu xmm1, XMMWORD PTR 16[rbx]
movups XMMWORD PTR 16[rax], xmm1
mov QWORD PTR 24[rax], 0
xor eax, eax
call current_file@PLT
mov rdx, QWORD PTR pos[rip]
mov QWORD PTR 16[r12], rax
mov QWORD PTR 8[r12], rdx
movsx rdx, DWORD PTR [rax]
lea ecx, 1[rdx]
mov DWORD PTR [rax], ecx
mov rax, r12
mov QWORD PTR [r12], rdx
add rsp, 8
.cfi_def_cfa_offset 24
pop rbx
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size make_token, .-make_token
.globl pos
.bss
.align 8
.type pos, @object
.size pos, 8
pos:
.zero 8
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_lex.c_make_token.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type make_token, %function
make_token:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
mov r4, r0
mov r0, #20
bl malloc
mov ip, r4
mov lr, r0
mov r5, r0
ldmia ip!, {r0, r1, r2, r3}
mov ip, #0
stmia lr!, {r0, r1, r2, r3}
str ip, [r5, #16]
bl current_file
mov r3, r0
ldr r2, [r0]
ldr r1, .L4
str r3, [r5, #12]
ldm r1, {r0, ip}
add r1, r2, #1
stmib r5, {r0, ip}
str r1, [r3]
mov r0, r5
str r2, [r5]
pop {r4, r5, r6, pc}
.L5:
.align 2
.L4:
.word pos
.size make_token, .-make_token
.comm pos,8,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_lex.c_mark.c"
.intel_syntax noprefix
.text
.p2align 4
.type mark, @function
mark:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 8
.cfi_def_cfa_offset 16
xor edi, edi
call get_pos@PLT
mov DWORD PTR pos[rip], eax
add rsp, 8
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size mark, .-mark
.globl pos
.bss
.align 4
.type pos, @object
.size pos, 4
pos:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_lex.c_mark.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type mark, %function
mark:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
mov r0, #0
push {r4, lr}
bl get_pos
ldr r3, .L4
str r0, [r3]
pop {r4, pc}
.L5:
.align 2
.L4:
.word pos
.size mark, .-mark
.comm pos,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_lex.c_next.c"
.intel_syntax noprefix
.text
.p2align 4
.type next, @function
next:
.LFB0:
.cfi_startproc
endbr64
push rbx
.cfi_def_cfa_offset 16
.cfi_offset 3, -16
xor eax, eax
mov ebx, edi
call readc@PLT
mov edi, eax
mov eax, 1
cmp edi, ebx
je .L1
call unreadc@PLT
xor eax, eax
.L1:
pop rbx
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size next, .-next
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_lex.c_next.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type next, %function
next:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
mov r4, r0
bl readc
cmp r0, r4
beq .L3
bl unreadc
mov r0, #0
pop {r4, pc}
.L3:
mov r0, #1
pop {r4, pc}
.size next, .-next
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_lex.c_nextoct.c"
.intel_syntax noprefix
.text
.p2align 4
.type nextoct, @function
nextoct:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 8
.cfi_def_cfa_offset 16
xor eax, eax
call peek@PLT
sub eax, 48
cmp eax, 7
setbe al
add rsp, 8
.cfi_def_cfa_offset 8
movzx eax, al
ret
.cfi_endproc
.LFE0:
.size nextoct, .-nextoct
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_lex.c_nextoct.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type nextoct, %function
nextoct:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
bl peek
sub r0, r0, #48
cmp r0, #7
movhi r0, #0
movls r0, #1
pop {r4, pc}
.size nextoct, .-nextoct
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_lex.c_peek.c"
.intel_syntax noprefix
.text
.p2align 4
.type peek, @function
peek:
.LFB0:
.cfi_startproc
endbr64
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
xor eax, eax
call readc@PLT
mov r12d, eax
mov edi, eax
call unreadc@PLT
mov eax, r12d
pop r12
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size peek, .-peek
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_lex.c_peek.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type peek, %function
peek:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
bl readc
mov r4, r0
bl unreadc
mov r0, r4
pop {r4, pc}
.size peek, .-peek
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_lex.c_pos_string.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "(unknown)"
.LC1:
.string "%s:%d:%d"
.text
.p2align 4
.type pos_string, @function
pos_string:
.LFB0:
.cfi_startproc
endbr64
push rbx
.cfi_def_cfa_offset 16
.cfi_offset 3, -16
xor eax, eax
mov rbx, rdi
call current_file@PLT
mov ecx, DWORD PTR [rbx]
mov edx, DWORD PTR 4[rbx]
lea rsi, .LC0[rip]
test rax, rax
je .L2
mov rsi, QWORD PTR [rax]
.L2:
lea rdi, .LC1[rip]
pop rbx
.cfi_def_cfa_offset 8
jmp format@PLT
.cfi_endproc
.LFE0:
.size pos_string, .-pos_string
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_lex.c_pos_string.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "(unknown)\000"
.align 2
.LC1:
.ascii "%s:%d:%d\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type pos_string, %function
pos_string:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
mov r4, r0
bl current_file
cmp r0, #0
ldrne r1, [r0]
ldr r3, [r4]
ldr r2, [r4, #4]
ldreq r1, .L6
ldr r0, .L6+4
pop {r4, lr}
b format
.L7:
.align 2
.L6:
.word .LC0
.word .LC1
.size pos_string, .-pos_string
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_lex.c_read_char.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "unterminated char"
.text
.p2align 4
.type read_char, @function
read_char:
.LFB0:
.cfi_startproc
endbr64
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
xor eax, eax
mov r12d, edi
push rbp
.cfi_def_cfa_offset 24
.cfi_offset 6, -24
sub rsp, 8
.cfi_def_cfa_offset 32
call readc@PLT
mov ebp, eax
cmp eax, 92
je .L11
.L2:
xor eax, eax
call readc@PLT
cmp eax, 39
je .L3
mov edi, DWORD PTR pos[rip]
lea rsi, .LC0[rip]
call errorp@PLT
.L3:
cmp DWORD PTR ENC_NONE[rip], r12d
je .L12
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 24
mov esi, r12d
mov edi, ebp
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
jmp make_char@PLT
.p2align 4,,10
.p2align 3
.L12:
.cfi_restore_state
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 24
movsx edi, bpl
mov esi, r12d
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
jmp make_char@PLT
.p2align 4,,10
.p2align 3
.L11:
.cfi_restore_state
xor eax, eax
call read_escaped_char@PLT
mov ebp, eax
jmp .L2
.cfi_endproc
.LFE0:
.size read_char, .-read_char
.globl pos
.bss
.align 4
.type pos, @object
.size pos, 4
pos:
.zero 4
.globl ENC_NONE
.align 4
.type ENC_NONE, @object
.size ENC_NONE, 4
ENC_NONE:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_lex.c_read_char.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "unterminated char\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type read_char, %function
read_char:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
mov r5, r0
bl readc
cmp r0, #92
movne r4, r0
beq .L11
.L2:
bl readc
cmp r0, #39
beq .L3
ldr r3, .L13
ldr r1, .L13+4
ldr r0, [r3]
bl errorp
.L3:
ldr r3, .L13+8
mov r1, r5
ldr r3, [r3]
cmp r3, r5
beq .L12
mov r0, r4
pop {r4, r5, r6, lr}
b make_char
.L12:
and r0, r4, #255
pop {r4, r5, r6, lr}
b make_char
.L11:
bl read_escaped_char
mov r4, r0
b .L2
.L14:
.align 2
.L13:
.word pos
.word .LC0
.word ENC_NONE
.size read_char, .-read_char
.comm pos,4,4
.comm ENC_NONE,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_lex.c_read_hash_digraph.c"
.intel_syntax noprefix
.text
.p2align 4
.type read_hash_digraph, @function
read_hash_digraph:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 8
.cfi_def_cfa_offset 16
mov edi, 62
call next@PLT
test rax, rax
jne .L11
mov edi, 58
call next@PLT
test rax, rax
je .L3
mov edi, 37
call next@PLT
test rax, rax
je .L4
mov edi, 58
call next@PLT
test rax, rax
je .L5
movsx edi, BYTE PTR KHASHHASH[rip]
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 8
jmp make_keyword@PLT
.p2align 4,,10
.p2align 3
.L3:
.cfi_restore_state
xor eax, eax
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L11:
.cfi_restore_state
mov edi, 125
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 8
jmp make_keyword@PLT
.p2align 4,,10
.p2align 3
.L5:
.cfi_restore_state
mov edi, 37
call unreadc@PLT
.L4:
mov edi, 35
add rsp, 8
.cfi_def_cfa_offset 8
jmp make_keyword@PLT
.cfi_endproc
.LFE0:
.size read_hash_digraph, .-read_hash_digraph
.globl KHASHHASH
.bss
.type KHASHHASH, @object
.size KHASHHASH, 1
KHASHHASH:
.zero 1
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_lex.c_read_hash_digraph.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type read_hash_digraph, %function
read_hash_digraph:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
mov r0, #62
push {r4, lr}
bl next
cmp r0, #0
bne .L11
mov r0, #58
bl next
cmp r0, #0
popeq {r4, pc}
mov r0, #37
bl next
cmp r0, #0
beq .L4
mov r0, #58
bl next
cmp r0, #0
beq .L5
pop {r4, lr}
ldr r3, .L12
ldrb r0, [r3] @ zero_extendqisi2
b make_keyword
.L11:
mov r0, #125
pop {r4, lr}
b make_keyword
.L5:
mov r0, #37
bl unreadc
.L4:
pop {r4, lr}
mov r0, #35
b make_keyword
.L13:
.align 2
.L12:
.word KHASHHASH
.size read_hash_digraph, .-read_hash_digraph
.comm KHASHHASH,1,1
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_lex.c_read_header_file_name.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "premature end of header name"
.section .rodata.str1.8,"aMS",@progbits,1
.align 8
.LC1:
.string "header name should not be empty"
.text
.p2align 4
.globl read_header_file_name
.type read_header_file_name, @function
read_header_file_name:
.LFB0:
.cfi_startproc
endbr64
push r14
.cfi_def_cfa_offset 16
.cfi_offset 14, -16
xor eax, eax
push r13
.cfi_def_cfa_offset 24
.cfi_offset 13, -24
push r12
.cfi_def_cfa_offset 32
.cfi_offset 12, -32
push rbp
.cfi_def_cfa_offset 40
.cfi_offset 6, -40
push rbx
.cfi_def_cfa_offset 48
.cfi_offset 3, -48
mov rbx, rdi
call buffer_empty@PLT
test eax, eax
je .L3
xor eax, eax
call skip_space@PLT
xor edi, edi
call get_pos@PLT
mov edi, 34
mov r13d, eax
call next@PLT
test rax, rax
je .L4
mov DWORD PTR [rbx], 0
mov r12d, 34
.L5:
xor eax, eax
lea r14, .LC0[rip]
call make_buffer@PLT
mov rbp, rax
jmp .L7
.p2align 4,,10
.p2align 3
.L22:
cmp eax, 10
je .L12
.L8:
movsx esi, bl
mov rdi, rbp
call buf_write@PLT
.L7:
mov edi, r12d
call next@PLT
test rax, rax
jne .L21
xor eax, eax
call readc@PLT
cmp DWORD PTR EOF[rip], eax
mov ebx, eax
jne .L22
.L12:
mov rsi, r14
mov edi, r13d
call errorp@PLT
jmp .L8
.p2align 4,,10
.p2align 3
.L4:
mov edi, 60
call next@PLT
test rax, rax
je .L3
mov DWORD PTR [rbx], 1
mov r12d, 62
jmp .L5
.p2align 4,,10
.p2align 3
.L3:
pop rbx
.cfi_remember_state
.cfi_def_cfa_offset 40
xor eax, eax
pop rbp
.cfi_def_cfa_offset 32
pop r12
.cfi_def_cfa_offset 24
pop r13
.cfi_def_cfa_offset 16
pop r14
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L21:
.cfi_restore_state
mov rdi, rbp
call buf_len@PLT
test rax, rax
je .L23
.L11:
mov rdi, rbp
xor esi, esi
call buf_write@PLT
pop rbx
.cfi_remember_state
.cfi_def_cfa_offset 40
mov rdi, rbp
pop rbp
.cfi_def_cfa_offset 32
pop r12
.cfi_def_cfa_offset 24
pop r13
.cfi_def_cfa_offset 16
pop r14
.cfi_def_cfa_offset 8
jmp buf_body@PLT
.p2align 4,,10
.p2align 3
.L23:
.cfi_restore_state
lea rsi, .LC1[rip]
mov edi, r13d
call errorp@PLT
jmp .L11
.cfi_endproc
.LFE0:
.size read_header_file_name, .-read_header_file_name
.globl EOF
.bss
.align 4
.type EOF, @object
.size EOF, 4
EOF:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_lex.c_read_header_file_name.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "premature end of header name\000"
.align 2
.LC1:
.ascii "header name should not be empty\000"
.text
.align 2
.global read_header_file_name
.syntax unified
.arm
.fpu softvfp
.type read_header_file_name, %function
read_header_file_name:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, r9, r10, lr}
mov r4, r0
bl buffer_empty
cmp r0, #0
beq .L3
bl skip_space
mov r0, #0
bl get_pos
mov r8, r0
mov r0, #34
bl next
cmp r0, #0
beq .L4
mov r3, #0
mov r6, #34
str r3, [r4]
.L5:
bl make_buffer
ldr r7, .L20
mov r5, r0
ldr r9, .L20+4
b .L7
.L9:
bl readc
ldr r3, [r7]
mov r4, r0
cmp r0, #10
cmpne r3, r0
bne .L8
mov r1, r9
mov r0, r8
bl errorp
.L8:
mov r0, r5
and r1, r4, #255
bl buf_write
.L7:
mov r0, r6
bl next
cmp r0, #0
beq .L9
mov r0, r5
bl buf_len
cmp r0, #0
beq .L19
.L10:
mov r0, r5
mov r1, #0
bl buf_write
mov r0, r5
pop {r4, r5, r6, r7, r8, r9, r10, lr}
b buf_body
.L4:
mov r0, #60
bl next
cmp r0, #0
movne r3, #1
movne r6, #62
strne r3, [r4]
bne .L5
.L3:
mov r0, #0
pop {r4, r5, r6, r7, r8, r9, r10, pc}
.L19:
mov r0, r8
ldr r1, .L20+8
bl errorp
b .L10
.L21:
.align 2
.L20:
.word EOF
.word .LC0
.word .LC1
.size read_header_file_name, .-read_header_file_name
.comm EOF,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_lex.c_read_ident.c"
.intel_syntax noprefix
.text
.p2align 4
.type read_ident, @function
read_ident:
.LFB0:
.cfi_startproc
endbr64
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
xor eax, eax
push rbp
.cfi_def_cfa_offset 24
.cfi_offset 6, -24
push rbx
.cfi_def_cfa_offset 32
.cfi_offset 3, -32
mov ebx, edi
call make_buffer@PLT
movsx esi, bl
mov rdi, rax
mov r12, rax
call buf_write@PLT
.L2:
xor eax, eax
call readc@PLT
movsx ebp, al
mov edi, ebp
call isalnum@PLT
test rax, rax
jne .L3
mov edx, ebp
shr dl, 7
cmp bpl, 95
sete al
or dl, al
jne .L3
cmp bpl, 36
je .L3
cmp bpl, 92
jne .L7
xor eax, eax
call peek@PLT
cmp al, 117
je .L9
xor eax, eax
call peek@PLT
cmp al, 85
je .L9
mov ebp, 92
.L7:
mov edi, ebp
call unreadc@PLT
mov rdi, r12
xor esi, esi
call buf_write@PLT
mov rdi, r12
call buf_body@PLT
pop rbx
.cfi_remember_state
.cfi_def_cfa_offset 24
pop rbp
.cfi_def_cfa_offset 16
mov edi, eax
pop r12
.cfi_def_cfa_offset 8
jmp make_ident@PLT
.p2align 4,,10
.p2align 3
.L3:
.cfi_restore_state
mov esi, ebp
mov rdi, r12
call buf_write@PLT
jmp .L2
.p2align 4,,10
.p2align 3
.L9:
xor eax, eax
call read_escaped_char@PLT
mov rdi, r12
mov esi, eax
call write_utf8@PLT
jmp .L2
.cfi_endproc
.LFE0:
.size read_ident, .-read_ident
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_lex.c_read_ident.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type read_ident, %function
read_ident:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
mov r4, r0
bl make_buffer
mov r1, r4
mov r5, r0
bl buf_write
.L2:
bl readc
mov r4, r0
bl isalnum
cmp r0, #0
and r2, r4, #255
bne .L3
sub r3, r4, #95
clz r3, r3
lsr r3, r3, #5
orr r3, r3, r2, lsr #7
cmp r4, #36
orreq r3, r3, #1
cmp r3, #0
bne .L3
cmp r4, #92
bne .L6
bl peek
cmp r0, #117
beq .L8
bl peek
cmp r0, #85
beq .L8
.L6:
mov r0, r4
bl unreadc
mov r1, #0
mov r0, r5
bl buf_write
mov r0, r5
bl buf_body
pop {r4, r5, r6, lr}
b make_ident
.L3:
mov r1, r4
mov r0, r5
bl buf_write
b .L2
.L8:
bl read_escaped_char
mov r1, r0
mov r0, r5
bl write_utf8
b .L2
.size read_ident, .-read_ident
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_lex.c_read_number.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "eEpP"
.LC1:
.string "+-"
.text
.p2align 4
.type read_number, @function
read_number:
.LFB0:
.cfi_startproc
endbr64
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
xor eax, eax
push rbp
.cfi_def_cfa_offset 24
.cfi_offset 6, -24
mov ebp, edi
push rbx
.cfi_def_cfa_offset 32
.cfi_offset 3, -32
mov ebx, edi
call make_buffer@PLT
movsx esi, bpl
mov rdi, rax
mov r12, rax
call buf_write@PLT
jmp .L4
.p2align 4,,10
.p2align 3
.L2:
lea eax, -48[rbp]
cmp eax, 9
jbe .L3
mov edi, ebp
call isalpha@PLT
test eax, eax
jne .L3
cmp ebp, 46
je .L3
test ebx, ebx
je .L15
.p2align 4,,10
.p2align 3
.L3:
mov esi, ebp
mov rdi, r12
mov ebx, ebp
call buf_write@PLT
.L4:
xor eax, eax
call readc@PLT
movsx esi, bl
lea rdi, .LC0[rip]
xor ebx, ebx
mov ebp, eax
call strchr@PLT
test rax, rax
je .L2
mov esi, ebp
lea rdi, .LC1[rip]
xor ebx, ebx
call strchr@PLT
test rax, rax
setne bl
jmp .L2
.p2align 4,,10
.p2align 3
.L15:
mov edi, ebp
call unreadc@PLT
mov rdi, r12
xor esi, esi
call buf_write@PLT
mov rdi, r12
call buf_body@PLT
pop rbx
.cfi_def_cfa_offset 24
pop rbp
.cfi_def_cfa_offset 16
mov edi, eax
pop r12
.cfi_def_cfa_offset 8
jmp make_number@PLT
.cfi_endproc
.LFE0:
.size read_number, .-read_number
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_lex.c_read_number.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "eEpP\000"
.align 2
.LC1:
.ascii "+-\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type read_number, %function
read_number:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, r9, r10, lr}
mov r4, r0
bl make_buffer
mov r1, r4
mov r5, r0
ldr r6, .L13
bl buf_write
ldr r7, .L13+4
b .L4
.L3:
mov r1, r8
mov r0, r5
and r4, r8, #255
bl buf_write
.L4:
bl readc
mov r1, r4
mov r8, r0
mov r0, r6
bl strchr
subs r4, r0, #0
beq .L2
mov r1, r8
mov r0, r7
bl strchr
subs r4, r0, #0
movne r4, #1
.L2:
sub r3, r8, #48
cmp r3, #9
bls .L3
mov r0, r8
bl isalpha
subs r9, r0, #0
eor r4, r4, #1
bne .L3
cmp r8, #46
moveq r4, #0
andne r4, r4, #1
cmp r4, #0
beq .L3
mov r0, r8
bl unreadc
mov r1, r9
mov r0, r5
bl buf_write
mov r0, r5
bl buf_body
pop {r4, r5, r6, r7, r8, r9, r10, lr}
b make_number
.L14:
.align 2
.L13:
.word .LC0
.word .LC1
.size read_number, .-read_number
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_lex.c_read_octal_char.c"
.intel_syntax noprefix
.text
.p2align 4
.type read_octal_char, @function
read_octal_char:
.LFB0:
.cfi_startproc
endbr64
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
xor eax, eax
lea r12d, -48[rdi]
call nextoct@PLT
test eax, eax
jne .L11
.L1:
mov eax, r12d
pop r12
.cfi_remember_state
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L11:
.cfi_restore_state
xor eax, eax
sal r12d, 3
call readc@PLT
lea edi, -48[rax]
xor eax, eax
or r12d, edi
call nextoct@PLT
test eax, eax
je .L1
xor eax, eax
sal r12d, 3
call readc@PLT
lea edi, -48[rax]
or r12d, edi
mov eax, r12d
pop r12
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size read_octal_char, .-read_octal_char
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_lex.c_read_octal_char.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type read_octal_char, %function
read_octal_char:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
sub r4, r0, #48
bl nextoct
cmp r0, #0
bne .L11
.L1:
mov r0, r4
pop {r4, pc}
.L11:
bl readc
lsl r4, r4, #3
sub r0, r0, #48
orr r4, r0, r4
bl nextoct
cmp r0, #0
beq .L1
bl readc
sub r0, r0, #48
orr r4, r0, r4, lsl #3
mov r0, r4
pop {r4, pc}
.size read_octal_char, .-read_octal_char
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_lex.c_read_rep.c"
.intel_syntax noprefix
.text
.p2align 4
.type read_rep, @function
read_rep:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
movsx edi, dil
mov ebp, esi
push rbx
.cfi_def_cfa_offset 24
.cfi_offset 3, -24
mov ebx, edx
sub rsp, 8
.cfi_def_cfa_offset 32
call next@PLT
test rax, rax
cmove ebp, ebx
add rsp, 8
.cfi_def_cfa_offset 24
pop rbx
.cfi_def_cfa_offset 16
mov edi, ebp
pop rbp
.cfi_def_cfa_offset 8
jmp make_keyword@PLT
.cfi_endproc
.LFE0:
.size read_rep, .-read_rep
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_lex.c_read_rep.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type read_rep, %function
read_rep:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
mov r5, r1
mov r4, r2
bl next
cmp r0, #0
movne r0, r5
moveq r0, r4
pop {r4, r5, r6, lr}
b make_keyword
.size read_rep, .-read_rep
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_lex.c_read_rep2.c"
.intel_syntax noprefix
.text
.p2align 4
.type read_rep2, @function
read_rep2:
.LFB0:
.cfi_startproc
endbr64
push r13
.cfi_def_cfa_offset 16
.cfi_offset 13, -16
movsx edi, dil
mov r13d, esi
push r12
.cfi_def_cfa_offset 24
.cfi_offset 12, -24
mov r12d, edx
push rbp
.cfi_def_cfa_offset 32
.cfi_offset 6, -32
mov ebp, ecx
push rbx
.cfi_def_cfa_offset 40
.cfi_offset 3, -40
mov ebx, r8d
sub rsp, 8
.cfi_def_cfa_offset 48
call next@PLT
mov edi, r13d
test rax, rax
jne .L5
movsx edi, r12b
movsx ebx, bl
call next@PLT
test rax, rax
cmove ebp, ebx
mov edi, ebp
.L5:
add rsp, 8
.cfi_def_cfa_offset 40
pop rbx
.cfi_def_cfa_offset 32
pop rbp
.cfi_def_cfa_offset 24
pop r12
.cfi_def_cfa_offset 16
pop r13
.cfi_def_cfa_offset 8
jmp make_keyword@PLT
.cfi_endproc
.LFE0:
.size read_rep2, .-read_rep2
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_lex.c_read_rep2.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type read_rep2, %function
read_rep2:
@ args = 4, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, lr}
mov r6, r1
mov r5, r2
mov r4, r3
ldrb r7, [sp, #24] @ zero_extendqisi2
bl next
cmp r0, #0
bne .L6
mov r0, r5
bl next
cmp r0, #0
movne r0, r4
moveq r0, r7
pop {r4, r5, r6, r7, r8, lr}
b make_keyword
.L6:
mov r0, r6
pop {r4, r5, r6, r7, r8, lr}
b make_keyword
.size read_rep2, .-read_rep2
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_lex.c_read_string.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "unterminated string"
.text
.p2align 4
.type read_string, @function
read_string:
.LFB0:
.cfi_startproc
endbr64
push r13
.cfi_def_cfa_offset 16
.cfi_offset 13, -16
xor eax, eax
lea r13, .LC0[rip]
push r12
.cfi_def_cfa_offset 24
.cfi_offset 12, -24
mov r12d, edi
push rbp
.cfi_def_cfa_offset 32
.cfi_offset 6, -32
push rbx
.cfi_def_cfa_offset 40
.cfi_offset 3, -40
sub rsp, 8
.cfi_def_cfa_offset 48
call make_buffer@PLT
mov rbp, rax
.p2align 4,,10
.p2align 3
.L2:
xor eax, eax
call readc@PLT
cmp DWORD PTR EOF[rip], eax
mov ebx, eax
je .L12
cmp ebx, 34
je .L4
.L13:
cmp ebx, 92
je .L5
movsx esi, bl
mov rdi, rbp
call buf_write@PLT
jmp .L2
.p2align 4,,10
.p2align 3
.L5:
xor eax, eax
call peek@PLT
cmp al, 117
mov eax, 0
je .L7
call peek@PLT
cmp al, 85
mov eax, 0
je .L7
call read_escaped_char@PLT
mov rdi, rbp
movsx esi, al
call buf_write@PLT
jmp .L2
.p2align 4,,10
.p2align 3
.L7:
call read_escaped_char@PLT
mov rdi, rbp
mov esi, eax
call write_utf8@PLT
jmp .L2
.p2align 4,,10
.p2align 3
.L12:
mov edi, DWORD PTR pos[rip]
mov rsi, r13
call errorp@PLT
cmp ebx, 34
jne .L13
.L4:
xor esi, esi
mov rdi, rbp
call buf_write@PLT
mov rdi, rbp
call buf_len@PLT
mov rdi, rbp
mov r13d, eax
call buf_body@PLT
add rsp, 8
.cfi_def_cfa_offset 40
mov edx, r12d
mov esi, r13d
pop rbx
.cfi_def_cfa_offset 32
mov edi, eax
pop rbp
.cfi_def_cfa_offset 24
pop r12
.cfi_def_cfa_offset 16
pop r13
.cfi_def_cfa_offset 8
jmp make_strtok@PLT
.cfi_endproc
.LFE0:
.size read_string, .-read_string
.globl pos
.bss
.align 4
.type pos, @object
.size pos, 4
pos:
.zero 4
.globl EOF
.align 4
.type EOF, @object
.size EOF, 4
EOF:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_lex.c_read_string.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "unterminated string\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type read_string, %function
read_string:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, r9, r10, lr}
mov r7, r0
bl make_buffer
mov r5, r0
ldr r6, .L14
ldr r9, .L14+4
ldr r8, .L14+8
.L2:
bl readc
ldr r3, [r6]
mov r4, r0
cmp r3, r0
beq .L12
cmp r4, #34
beq .L4
.L13:
cmp r4, #92
beq .L5
mov r0, r5
and r1, r4, #255
bl buf_write
b .L2
.L5:
bl peek
cmp r0, #117
beq .L7
bl peek
cmp r0, #85
beq .L7
bl read_escaped_char
mov r1, r0
mov r0, r5
and r1, r1, #255
bl buf_write
b .L2
.L7:
bl read_escaped_char
mov r1, r0
mov r0, r5
bl write_utf8
b .L2
.L12:
mov r1, r8
ldr r0, [r9]
bl errorp
cmp r4, #34
bne .L13
.L4:
mov r1, #0
mov r0, r5
bl buf_write
mov r0, r5
bl buf_body
mov r4, r0
mov r0, r5
bl buf_len
mov r2, r7
mov r1, r0
mov r0, r4
pop {r4, r5, r6, r7, r8, r9, r10, lr}
b make_strtok
.L15:
.align 2
.L14:
.word EOF
.word pos
.word .LC0
.size read_string, .-read_string
.comm pos,4,4
.comm EOF,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_lex.c_skip_block_comment.c"
.intel_syntax noprefix
.text
.section .rodata.str1.8,"aMS",@progbits,1
.align 8
.LC0:
.string "premature end of block comment"
.text
.p2align 4
.type skip_block_comment, @function
skip_block_comment:
.LFB0:
.cfi_startproc
endbr64
push r13
.cfi_def_cfa_offset 16
.cfi_offset 13, -16
mov edi, -2
lea r13, .LC0[rip]
push r12
.cfi_def_cfa_offset 24
.cfi_offset 12, -24
push rbp
.cfi_def_cfa_offset 32
.cfi_offset 6, -32
xor ebp, ebp
push rbx
.cfi_def_cfa_offset 40
.cfi_offset 3, -40
sub rsp, 8
.cfi_def_cfa_offset 48
call get_pos@PLT
mov r12d, eax
jmp .L4
.p2align 4,,10
.p2align 3
.L2:
cmp ebx, 47
jne .L3
test ebp, ebp
jne .L11
.L3:
xor ebp, ebp
cmp ebx, 42
sete bpl
.L4:
xor eax, eax
call readc@PLT
cmp DWORD PTR EOF[rip], eax
mov ebx, eax
jne .L2
mov rsi, r13
mov edi, r12d
call errorp@PLT
jmp .L2
.p2align 4,,10
.p2align 3
.L11:
add rsp, 8
.cfi_def_cfa_offset 40
pop rbx
.cfi_def_cfa_offset 32
pop rbp
.cfi_def_cfa_offset 24
pop r12
.cfi_def_cfa_offset 16
pop r13
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size skip_block_comment, .-skip_block_comment
.globl EOF
.bss
.align 4
.type EOF, @object
.size EOF, 4
EOF:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_lex.c_skip_block_comment.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "premature end of block comment\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type skip_block_comment, %function
skip_block_comment:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, lr}
mvn r0, #1
bl get_pos
mov r5, #0
mov r7, r0
ldr r6, .L8
ldr r8, .L8+4
b .L4
.L2:
cmp r4, #47
movne r5, #0
andeq r5, r5, #1
cmp r5, #0
popne {r4, r5, r6, r7, r8, pc}
sub r5, r4, #42
clz r5, r5
lsr r5, r5, #5
.L4:
bl readc
ldr r3, [r6]
mov r4, r0
cmp r3, r0
bne .L2
mov r1, r8
mov r0, r7
bl errorp
b .L2
.L9:
.align 2
.L8:
.word EOF
.word .LC0
.size skip_block_comment, .-skip_block_comment
.comm EOF,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_lex.c_skip_char.c"
.intel_syntax noprefix
.text
.p2align 4
.type skip_char, @function
skip_char:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 8
.cfi_def_cfa_offset 16
xor eax, eax
call readc@PLT
cmp al, 92
jne .L18
jmp .L20
.p2align 4,,10
.p2align 3
.L21:
cmp eax, 39
je .L1
.L18:
xor eax, eax
call readc@PLT
movsx eax, al
cmp DWORD PTR EOF[rip], eax
jne .L21
.L1:
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L20:
.cfi_restore_state
xor eax, eax
call readc@PLT
jmp .L18
.cfi_endproc
.LFE0:
.size skip_char, .-skip_char
.globl EOF
.bss
.align 4
.type EOF, @object
.size EOF, 4
EOF:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_lex.c_skip_char.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type skip_char, %function
skip_char:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
bl readc
cmp r0, #92
beq .L11
.L2:
bl readc
ldr r4, .L12
ldr r3, [r4]
cmp r3, r0
cmpne r0, #39
popeq {r4, pc}
.L4:
bl readc
ldr r3, [r4]
cmp r3, r0
cmpne r0, #39
bne .L4
pop {r4, pc}
.L11:
bl readc
b .L2
.L13:
.align 2
.L12:
.word EOF
.size skip_char, .-skip_char
.comm EOF,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_lex.c_skip_cond_incl.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "else"
.LC1:
.string "elif"
.LC2:
.string "endif"
.LC3:
.string "if"
.LC4:
.string "ifdef"
.LC5:
.string "ifndef"
.text
.p2align 4
.globl skip_cond_incl
.type skip_cond_incl, @function
skip_cond_incl:
.LFB0:
.cfi_startproc
endbr64
push r13
.cfi_def_cfa_offset 16
.cfi_offset 13, -16
push r12
.cfi_def_cfa_offset 24
.cfi_offset 12, -24
lea r12, .LC3[rip]
push rbp
.cfi_def_cfa_offset 32
.cfi_offset 6, -32
push rbx
.cfi_def_cfa_offset 40
.cfi_offset 3, -40
xor ebx, ebx
sub rsp, 8
.cfi_def_cfa_offset 48
.p2align 4,,10
.p2align 3
.L2:
xor eax, eax
call current_file@PLT
mov ebp, DWORD PTR [rax]
xor eax, eax
call skip_space@PLT
xor eax, eax
call readc@PLT
cmp DWORD PTR EOF[rip], eax
je .L1
cmp eax, 39
je .L20
cmp eax, 34
je .L21
cmp eax, 35
jne .L2
cmp ebp, 1
jne .L2
xor eax, eax
call current_file@PLT
mov r13d, DWORD PTR [rax]
xor eax, eax
call lex@PLT
mov rbp, rax
mov rax, QWORD PTR TIDENT[rip]
cmp QWORD PTR 0[rbp], rax
jne .L2
test ebx, ebx
jne .L7
lea rsi, .LC0[rip]
mov rdi, rbp
call is_ident@PLT
test rax, rax
jne .L9
lea rsi, .LC1[rip]
mov rdi, rbp
call is_ident@PLT
test rax, rax
jne .L9
lea rsi, .LC2[rip]
mov rdi, rbp
call is_ident@PLT
test rax, rax
jne .L9
.L7:
mov rsi, r12
mov rdi, rbp
call is_ident@PLT
test rax, rax
je .L10
.L12:
add ebx, 1
.L11:
xor eax, eax
call skip_line@PLT
jmp .L2
.p2align 4,,10
.p2align 3
.L20:
xor eax, eax
call skip_char@PLT
jmp .L2
.p2align 4,,10
.p2align 3
.L21:
xor eax, eax
call skip_string@PLT
jmp .L2
.p2align 4,,10
.p2align 3
.L10:
lea rsi, .LC4[rip]
mov rdi, rbp
call is_ident@PLT
test rax, rax
jne .L12
lea rsi, .LC5[rip]
mov rdi, rbp
call is_ident@PLT
test rax, rax
jne .L12
test ebx, ebx
je .L11
lea rsi, .LC2[rip]
mov rdi, rbp
call is_ident@PLT
cmp rax, 1
adc ebx, -1
jmp .L11
.p2align 4,,10
.p2align 3
.L1:
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 40
pop rbx
.cfi_def_cfa_offset 32
pop rbp
.cfi_def_cfa_offset 24
pop r12
.cfi_def_cfa_offset 16
pop r13
.cfi_def_cfa_offset 8
ret
.L9:
.cfi_restore_state
mov rdi, rbp
sub r13d, 1
call unget_token@PLT
mov edi, 35
call make_keyword@PLT
mov DWORD PTR 8[rax], 1
mov rdi, rax
mov DWORD PTR 12[rax], r13d
add rsp, 8
.cfi_def_cfa_offset 40
pop rbx
.cfi_def_cfa_offset 32
pop rbp
.cfi_def_cfa_offset 24
pop r12
.cfi_def_cfa_offset 16
pop r13
.cfi_def_cfa_offset 8
jmp unget_token@PLT
.cfi_endproc
.LFE0:
.size skip_cond_incl, .-skip_cond_incl
.globl TIDENT
.bss
.align 8
.type TIDENT, @object
.size TIDENT, 8
TIDENT:
.zero 8
.globl EOF
.align 4
.type EOF, @object
.size EOF, 4
EOF:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_lex.c_skip_cond_incl.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "else\000"
.align 2
.LC1:
.ascii "elif\000"
.align 2
.LC2:
.ascii "endif\000"
.align 2
.LC3:
.ascii "if\000"
.align 2
.LC4:
.ascii "ifdef\000"
.align 2
.LC5:
.ascii "ifndef\000"
.text
.align 2
.global skip_cond_incl
.syntax unified
.arm
.fpu softvfp
.type skip_cond_incl, %function
skip_cond_incl:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
mov r6, #0
ldr r5, .L23
ldr r7, .L23+4
ldr r8, .L23+8
ldr r10, .L23+12
ldr r9, .L23+16
.L2:
bl current_file
ldr r4, [r0]
bl skip_space
bl readc
ldr r3, [r5]
cmp r3, r0
popeq {r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
cmp r0, #39
beq .L21
cmp r0, #34
beq .L22
cmp r4, #1
cmpeq r0, #35
bne .L2
bl current_file
ldr r4, [r0]
bl lex
ldr r2, [r7]
ldr r1, [r0]
mov fp, r0
cmp r1, r2
bne .L2
cmp r6, #0
bne .L7
mov r1, r9
bl is_ident
cmp r0, #0
bne .L9
mov r0, fp
ldr r1, .L23+20
bl is_ident
cmp r0, #0
bne .L9
mov r1, r10
mov r0, fp
bl is_ident
cmp r0, #0
bne .L9
.L7:
mov r1, r8
mov r0, fp
bl is_ident
cmp r0, #0
beq .L10
.L12:
add r6, r6, #1
.L11:
bl skip_line
b .L2
.L21:
bl skip_char
b .L2
.L22:
bl skip_string
b .L2
.L10:
mov r0, fp
ldr r1, .L23+24
bl is_ident
cmp r0, #0
bne .L12
mov r0, fp
ldr r1, .L23+28
bl is_ident
cmp r0, #0
bne .L12
cmp r6, #0
beq .L11
mov r0, fp
mov r1, r10
bl is_ident
cmp r0, #0
subne r6, r6, #1
b .L11
.L9:
mov r0, fp
bl unget_token
mov r0, #35
bl make_keyword
mov r2, #1
sub r4, r4, #1
stmib r0, {r2, r4}
pop {r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
b unget_token
.L24:
.align 2
.L23:
.word EOF
.word TIDENT
.word .LC3
.word .LC2
.word .LC0
.word .LC1
.word .LC4
.word .LC5
.size skip_cond_incl, .-skip_cond_incl
.comm TIDENT,4,4
.comm EOF,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_lex.c_skip_line.c"
.intel_syntax noprefix
.text
.p2align 4
.type skip_line, @function
skip_line:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 8
.cfi_def_cfa_offset 16
jmp .L3
.p2align 4,,10
.p2align 3
.L8:
cmp eax, 10
je .L7
.L3:
xor eax, eax
call readc@PLT
cmp DWORD PTR EOF[rip], eax
jne .L8
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L7:
.cfi_restore_state
mov edi, 10
add rsp, 8
.cfi_def_cfa_offset 8
jmp unreadc@PLT
.cfi_endproc
.LFE0:
.size skip_line, .-skip_line
.globl EOF
.bss
.align 4
.type EOF, @object
.size EOF, 4
EOF:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_lex.c_skip_line.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type skip_line, %function
skip_line:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
ldr r4, .L7
.L3:
bl readc
ldr r2, [r4]
cmp r2, r0
popeq {r4, pc}
cmp r0, #10
bne .L3
pop {r4, lr}
b unreadc
.L8:
.align 2
.L7:
.word EOF
.size skip_line, .-skip_line
.comm EOF,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_lex.c_skip_space.c"
.intel_syntax noprefix
.text
.p2align 4
.type skip_space, @function
skip_space:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 8
.cfi_def_cfa_offset 16
xor eax, eax
call do_skip_space@PLT
mov r8, rax
xor eax, eax
test r8, r8
je .L1
.p2align 4,,10
.p2align 3
.L3:
xor eax, eax
call do_skip_space@PLT
test rax, rax
jne .L3
mov eax, 1
.L1:
add rsp, 8
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size skip_space, .-skip_space
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_lex.c_skip_space.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type skip_space, %function
skip_space:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
bl do_skip_space
cmp r0, #0
popeq {r4, pc}
.L3:
bl do_skip_space
cmp r0, #0
bne .L3
mov r0, #1
pop {r4, pc}
.size skip_space, .-skip_space
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_lex.c_skip_string.c"
.intel_syntax noprefix
.text
.p2align 4
.type skip_string, @function
skip_string:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 8
.cfi_def_cfa_offset 16
.p2align 4,,10
.p2align 3
.L19:
xor eax, eax
call readc@PLT
cmp DWORD PTR EOF[rip], eax
je .L1
.L21:
cmp eax, 34
je .L1
cmp eax, 92
jne .L19
xor eax, eax
call readc@PLT
xor eax, eax
call readc@PLT
cmp DWORD PTR EOF[rip], eax
jne .L21
.L1:
add rsp, 8
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size skip_string, .-skip_string
.globl EOF
.bss
.align 4
.type EOF, @object
.size EOF, 4
EOF:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_lex.c_skip_string.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type skip_string, %function
skip_string:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
bl readc
ldr r4, .L11
ldr r3, [r4]
cmp r3, r0
cmpne r0, #34
bne .L4
pop {r4, pc}
.L3:
bl readc
ldr r3, [r4]
cmp r3, r0
cmpne r0, #34
popeq {r4, pc}
.L4:
cmp r0, #92
bne .L3
bl readc
b .L3
.L12:
.align 2
.L11:
.word EOF
.size skip_string, .-skip_string
.comm EOF,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_lex.c_token_buffer_stash.c"
.intel_syntax noprefix
.text
.p2align 4
.globl token_buffer_stash
.type token_buffer_stash, @function
token_buffer_stash:
.LFB0:
.cfi_startproc
endbr64
mov rsi, rdi
mov edi, DWORD PTR buffers[rip]
jmp vec_push@PLT
.cfi_endproc
.LFE0:
.size token_buffer_stash, .-token_buffer_stash
.globl buffers
.bss
.align 4
.type buffers, @object
.size buffers, 4
buffers:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_lex.c_token_buffer_stash.c"
.text
.align 2
.global token_buffer_stash
.syntax unified
.arm
.fpu softvfp
.type token_buffer_stash, %function
token_buffer_stash:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
ldr r3, .L3
mov r1, r0
ldr r0, [r3]
b vec_push
.L4:
.align 2
.L3:
.word buffers
.size token_buffer_stash, .-token_buffer_stash
.comm buffers,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_lex.c_token_buffer_unstash.c"
.intel_syntax noprefix
.text
.p2align 4
.globl token_buffer_unstash
.type token_buffer_unstash, @function
token_buffer_unstash:
.LFB0:
.cfi_startproc
endbr64
mov edi, DWORD PTR buffers[rip]
jmp vec_pop@PLT
.cfi_endproc
.LFE0:
.size token_buffer_unstash, .-token_buffer_unstash
.globl buffers
.bss
.align 4
.type buffers, @object
.size buffers, 4
buffers:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_lex.c_token_buffer_unstash.c"
.text
.align 2
.global token_buffer_unstash
.syntax unified
.arm
.fpu softvfp
.type token_buffer_unstash, %function
token_buffer_unstash:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
ldr r3, .L3
ldr r0, [r3]
b vec_pop
.L4:
.align 2
.L3:
.word buffers
.size token_buffer_unstash, .-token_buffer_unstash
.comm buffers,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_lex.c_unget_token.c"
.intel_syntax noprefix
.text
.p2align 4
.globl unget_token
.type unget_token, @function
unget_token:
.LFB0:
.cfi_startproc
endbr64
mov rax, QWORD PTR TEOF[rip]
cmp QWORD PTR [rdi], rax
je .L1
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rdi
mov edi, DWORD PTR buffers[rip]
call vec_tail@PLT
mov rsi, rbp
pop rbp
.cfi_restore 6
.cfi_def_cfa_offset 8
mov rdi, rax
jmp vec_push@PLT
.p2align 4,,10
.p2align 3
.L1:
ret
.cfi_endproc
.LFE0:
.size unget_token, .-unget_token
.globl buffers
.bss
.align 4
.type buffers, @object
.size buffers, 4
buffers:
.zero 4
.globl TEOF
.align 8
.type TEOF, @object
.size TEOF, 8
TEOF:
.zero 8
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_lex.c_unget_token.c"
.text
.align 2
.global unget_token
.syntax unified
.arm
.fpu softvfp
.type unget_token, %function
unget_token:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
ldr r3, .L7
ldr r2, [r0]
ldr r3, [r3]
cmp r2, r3
bxeq lr
push {r4, lr}
mov r4, r0
ldr r3, .L7+4
ldr r0, [r3]
bl vec_tail
mov r1, r4
pop {r4, lr}
b vec_push
.L8:
.align 2
.L7:
.word TEOF
.word buffers
.size unget_token, .-unget_token
.comm buffers,4,4
.comm TEOF,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_main.c_base.c"
.intel_syntax noprefix
.text
.p2align 4
.type base, @function
base:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 8
.cfi_def_cfa_offset 16
call strdup@PLT
add rsp, 8
.cfi_def_cfa_offset 8
mov edi, eax
jmp basename@PLT
.cfi_endproc
.LFE0:
.size base, .-base
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_main.c_base.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type base, %function
base:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
bl strdup
pop {r4, lr}
b basename
.size base, .-base
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_main.c_delete_temp_files.c"
.intel_syntax noprefix
.text
.p2align 4
.type delete_temp_files, @function
delete_temp_files:
.LFB0:
.cfi_startproc
endbr64
push rbx
.cfi_def_cfa_offset 16
.cfi_offset 3, -16
xor ebx, ebx
jmp .L2
.p2align 4,,10
.p2align 3
.L3:
mov edi, DWORD PTR tmpfiles[rip]
mov esi, ebx
add ebx, 1
call vec_get@PLT
mov edi, eax
call unlink@PLT
.L2:
mov edi, DWORD PTR tmpfiles[rip]
call vec_len@PLT
cmp eax, ebx
jg .L3
pop rbx
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size delete_temp_files, .-delete_temp_files
.globl tmpfiles
.bss
.align 4
.type tmpfiles, @object
.size tmpfiles, 4
tmpfiles:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_main.c_delete_temp_files.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type delete_temp_files, %function
delete_temp_files:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
mov r4, #0
ldr r5, .L7
.L2:
ldr r0, [r5]
bl vec_len
cmp r0, r4
pople {r4, r5, r6, pc}
mov r1, r4
ldr r0, [r5]
bl vec_get
bl unlink
add r4, r4, #1
b .L2
.L8:
.align 2
.L7:
.word tmpfiles
.size delete_temp_files, .-delete_temp_files
.comm tmpfiles,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_main.c_get_base_file.c"
.intel_syntax noprefix
.text
.p2align 4
.globl get_base_file
.type get_base_file, @function
get_base_file:
.LFB0:
.cfi_startproc
endbr64
mov rax, QWORD PTR infile[rip]
ret
.cfi_endproc
.LFE0:
.size get_base_file, .-get_base_file
.globl infile
.bss
.align 8
.type infile, @object
.size infile, 8
infile:
.zero 8
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_main.c_get_base_file.c"
.text
.align 2
.global get_base_file
.syntax unified
.arm
.fpu softvfp
.type get_base_file, %function
get_base_file:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
ldr r3, .L3
ldr r0, [r3]
bx lr
.L4:
.align 2
.L3:
.word infile
.size get_base_file, .-get_base_file
.comm infile,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_main.c_main.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "atexit"
.LC1:
.string "%s"
.LC2:
.string "fork"
.LC3:
.string "-c"
.LC4:
.string "-o"
.LC5:
.string "as"
.LC6:
.string "execl failed"
.LC7:
.string "as failed"
.section .text.startup,"ax",@progbits
.p2align 4
.globl main
.type main, @function
main:
.LFB0:
.cfi_startproc
endbr64
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
mov r12, rsi
xor esi, esi
push rbp
.cfi_def_cfa_offset 24
.cfi_offset 6, -24
mov ebp, edi
push rbx
.cfi_def_cfa_offset 32
.cfi_offset 3, -32
sub rsp, 16
.cfi_def_cfa_offset 48
mov edi, DWORD PTR stdout[rip]
mov rax, QWORD PTR fs:40
mov QWORD PTR 8[rsp], rax
xor eax, eax
call setbuf@PLT
mov edi, DWORD PTR delete_temp_files[rip]
call atexit@PLT
test rax, rax
jne .L20
.L2:
mov rsi, r12
mov edi, ebp
call parseopt@PLT
mov edi, DWORD PTR infile[rip]
call lex_init@PLT
xor eax, eax
call cpp_init@PLT
xor eax, eax
call parse_init@PLT
xor eax, eax
call open_asmfile@PLT
mov edi, eax
call set_output_file@PLT
mov edi, DWORD PTR cppdefs[rip]
call buf_len@PLT
test rax, rax
jle .L3
mov edi, DWORD PTR cppdefs[rip]
call buf_body@PLT
mov edi, eax
call read_from_string@PLT
.L3:
cmp QWORD PTR cpponly[rip], 0
jne .L21
.L4:
xor eax, eax
xor ebx, ebx
lea r12, .LC1[rip]
call read_toplevels@PLT
mov rbp, rax
jmp .L5
.p2align 4,,10
.p2align 3
.L23:
call node2s@PLT
mov rdi, r12
mov rsi, rax
call printf@PLT
.L7:
add ebx, 1
.L5:
mov rdi, rbp
call vec_len@PLT
cmp eax, ebx
jle .L22
mov rdi, rbp
mov esi, ebx
call vec_get@PLT
cmp QWORD PTR dumpast[rip], 0
mov rdi, rax
jne .L23
call emit_toplevel@PLT
jmp .L7
.p2align 4,,10
.p2align 3
.L22:
xor eax, eax
call close_output_file@PLT
cmp QWORD PTR dumpast[rip], 0
jne .L9
cmp DWORD PTR dumpasm[rip], 0
je .L24
.L9:
mov rax, QWORD PTR 8[rsp]
sub rax, QWORD PTR fs:40
jne .L25
add rsp, 16
.cfi_remember_state
.cfi_def_cfa_offset 32
xor eax, eax
pop rbx
.cfi_def_cfa_offset 24
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
ret
.L24:
.cfi_restore_state
cmp QWORD PTR outfile[rip], 0
je .L26
.L10:
xor eax, eax
call fork@PLT
mov rbp, rax
test rax, rax
js .L27
jne .L12
push rax
.cfi_def_cfa_offset 56
mov rcx, QWORD PTR outfile[rip]
lea rsi, .LC5[rip]
lea rdx, .LC4[rip]
push 0
.cfi_def_cfa_offset 64
mov r9d, DWORD PTR asmfile[rip]
mov rdi, rsi
lea r8, .LC3[rip]
call execlp@PLT
lea rdi, .LC6[rip]
call perror@PLT
pop rdx
.cfi_def_cfa_offset 56
pop rcx
.cfi_def_cfa_offset 48
.L12:
xor edx, edx
lea rsi, 4[rsp]
mov rdi, rbp
call waitpid@PLT
cmp DWORD PTR 4[rsp], 0
jns .L9
lea rdi, .LC7[rip]
call error@PLT
jmp .L9
.L21:
xor eax, eax
call preprocess@PLT
jmp .L4
.L20:
lea rdi, .LC0[rip]
call perror@PLT
jmp .L2
.L26:
mov edi, DWORD PTR infile[rip]
call base@PLT
mov esi, 111
mov edi, eax
call replace_suffix@PLT
mov QWORD PTR outfile[rip], rax
jmp .L10
.L27:
lea rdi, .LC2[rip]
call perror@PLT
jmp .L12
.L25:
call __stack_chk_fail@PLT
.cfi_endproc
.LFE0:
.size main, .-main
.globl stdout
.bss
.align 4
.type stdout, @object
.size stdout, 4
stdout:
.zero 4
.globl outfile
.align 8
.type outfile, @object
.size outfile, 8
outfile:
.zero 8
.globl infile
.align 4
.type infile, @object
.size infile, 4
infile:
.zero 4
.globl dumpast
.align 8
.type dumpast, @object
.size dumpast, 8
dumpast:
.zero 8
.globl dumpasm
.align 4
.type dumpasm, @object
.size dumpasm, 4
dumpasm:
.zero 4
.globl delete_temp_files
.align 4
.type delete_temp_files, @object
.size delete_temp_files, 4
delete_temp_files:
.zero 4
.globl cpponly
.align 8
.type cpponly, @object
.size cpponly, 8
cpponly:
.zero 8
.globl cppdefs
.align 4
.type cppdefs, @object
.size cppdefs, 4
cppdefs:
.zero 4
.globl asmfile
.align 4
.type asmfile, @object
.size asmfile, 4
asmfile:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_main.c_main.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "atexit\000"
.align 2
.LC1:
.ascii "%s\000"
.align 2
.LC2:
.ascii "fork\000"
.align 2
.LC3:
.ascii "-o\000"
.align 2
.LC4:
.ascii "as\000"
.align 2
.LC5:
.ascii "-c\000"
.align 2
.LC6:
.ascii "execl failed\000"
.align 2
.LC7:
.ascii "as failed\000"
.section .rodata.cst4,"aM",%progbits,4
.align 2
.LC8:
.word __stack_chk_guard
.section .text.startup,"ax",%progbits
.align 2
.global main
.syntax unified
.arm
.fpu softvfp
.type main, %function
main:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, lr}
ldr r3, .L30
mov r4, r0
ldr r0, [r3]
ldr r3, .L30+4
sub sp, sp, #24
mov r5, r1
mov r1, #0
ldr r3, [r3]
str r3, [sp, #20]
mov r3,#0
bl setbuf
ldr r3, .L30+8
ldr r0, [r3]
bl atexit
cmp r0, #0
bne .L23
.L2:
ldr r7, .L30+12
mov r1, r5
mov r0, r4
bl parseopt
ldr r4, .L30+16
ldr r0, [r7]
bl lex_init
bl cpp_init
bl parse_init
bl open_asmfile
bl set_output_file
ldr r0, [r4]
bl buf_len
cmp r0, #0
ble .L3
ldr r0, [r4]
bl buf_body
bl read_from_string
.L3:
ldr r3, .L30+20
ldr r3, [r3]
cmp r3, #0
bne .L24
.L4:
bl read_toplevels
mov r4, #0
mov r5, r0
ldr r6, .L30+24
ldr r8, .L30+28
b .L5
.L26:
bl node2s
mov r1, r0
mov r0, r8
bl printf
.L7:
add r4, r4, #1
.L5:
mov r0, r5
bl vec_len
cmp r0, r4
ble .L25
mov r1, r4
mov r0, r5
bl vec_get
ldr r3, [r6]
cmp r3, #0
bne .L26
bl emit_toplevel
b .L7
.L25:
bl close_output_file
ldr r3, .L30+32
ldr r2, [r6]
ldr r3, [r3]
orrs r3, r2, r3
bne .L9
ldr r5, .L30+36
ldr r3, [r5]
cmp r3, #0
beq .L27
.L10:
bl fork
subs r4, r0, #0
blt .L28
bne .L12
ldr r3, .L30+40
ldr r2, .L30+44
ldr r0, [r3]
ldr r1, .L30+48
str r4, [sp, #8]
ldr r3, [r5]
str r0, [sp, #4]
str r2, [sp]
mov r0, r1
ldr r2, .L30+52
bl execlp
ldr r0, .L30+56
bl perror
.L12:
mov r0, r4
mov r2, #0
add r1, sp, #16
bl waitpid
ldr r3, [sp, #16]
cmp r3, #0
bge .L9
ldr r0, .L30+60
bl error
.L9:
ldr r3, .L30+4
ldr r2, [r3]
ldr r3, [sp, #20]
eors r2, r3, r2
mov r3, #0
bne .L29
mov r0, #0
add sp, sp, #24
@ sp needed
pop {r4, r5, r6, r7, r8, pc}
.L24:
bl preprocess
b .L4
.L23:
ldr r0, .L30+64
bl perror
b .L2
.L27:
ldr r0, [r7]
bl base
mov r1, #111
bl replace_suffix
str r0, [r5]
b .L10
.L28:
ldr r0, .L30+68
bl perror
b .L12
.L29:
bl __stack_chk_fail
.L31:
.align 2
.L30:
.word stdout
.word .LC8
.word delete_temp_files
.word infile
.word cppdefs
.word cpponly
.word dumpast
.word .LC1
.word dumpasm
.word outfile
.word asmfile
.word .LC5
.word .LC4
.word .LC3
.word .LC6
.word .LC7
.word .LC0
.word .LC2
.size main, .-main
.comm stdout,4,4
.comm outfile,4,4
.comm infile,4,4
.comm dumpast,4,4
.comm dumpasm,4,4
.comm delete_temp_files,4,4
.comm cpponly,4,4
.comm cppdefs,4,4
.comm asmfile,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_main.c_open_asmfile.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "/tmp/8ccXXXXXX.s"
.LC1:
.string "mkstemps"
.LC2:
.string "-"
.LC3:
.string "w"
.LC4:
.string "fopen"
.text
.p2align 4
.type open_asmfile, @function
open_asmfile:
.LFB0:
.cfi_startproc
endbr64
cmp QWORD PTR dumpasm[rip], 0
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
je .L2
mov rdi, QWORD PTR outfile[rip]
test rdi, rdi
je .L10
.L3:
mov QWORD PTR asmfile[rip], rdi
.L4:
lea rsi, .LC2[rip]
call strcmp@PLT
mov r12, QWORD PTR stdout[rip]
test eax, eax
jne .L11
.L1:
mov rax, r12
pop r12
.cfi_remember_state
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L10:
.cfi_restore_state
mov edi, DWORD PTR infile[rip]
call base@PLT
mov esi, 115
mov edi, eax
call replace_suffix@PLT
mov rdi, rax
jmp .L3
.p2align 4,,10
.p2align 3
.L11:
mov rdi, QWORD PTR asmfile[rip]
lea rsi, .LC3[rip]
call fopen@PLT
mov r12, rax
test rax, rax
jne .L1
lea rdi, .LC4[rip]
call perror@PLT
jmp .L1
.p2align 4,,10
.p2align 3
.L2:
lea rdi, .LC0[rip]
call format@PLT
mov esi, 2
mov rdi, rax
mov QWORD PTR asmfile[rip], rax
call mkstemps@PLT
test eax, eax
je .L12
.L5:
mov edi, DWORD PTR tmpfiles[rip]
mov rsi, QWORD PTR asmfile[rip]
call vec_push@PLT
mov rdi, QWORD PTR asmfile[rip]
jmp .L4
.p2align 4,,10
.p2align 3
.L12:
lea rdi, .LC1[rip]
call perror@PLT
jmp .L5
.cfi_endproc
.LFE0:
.size open_asmfile, .-open_asmfile
.globl tmpfiles
.bss
.align 4
.type tmpfiles, @object
.size tmpfiles, 4
tmpfiles:
.zero 4
.globl stdout
.align 8
.type stdout, @object
.size stdout, 8
stdout:
.zero 8
.globl outfile
.align 8
.type outfile, @object
.size outfile, 8
outfile:
.zero 8
.globl infile
.align 4
.type infile, @object
.size infile, 4
infile:
.zero 4
.globl dumpasm
.align 8
.type dumpasm, @object
.size dumpasm, 8
dumpasm:
.zero 8
.globl asmfile
.align 8
.type asmfile, @object
.size asmfile, 8
asmfile:
.zero 8
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_main.c_open_asmfile.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "/tmp/8ccXXXXXX.s\000"
.align 2
.LC1:
.ascii "mkstemps\000"
.align 2
.LC2:
.ascii "-\000"
.align 2
.LC3:
.ascii "w\000"
.align 2
.LC4:
.ascii "fopen\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type open_asmfile, %function
open_asmfile:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
ldr r3, .L12
push {r4, lr}
ldr r3, [r3]
cmp r3, #0
beq .L2
ldr r3, .L12+4
ldr r0, [r3]
cmp r0, #0
beq .L10
.L3:
ldr r4, .L12+8
str r0, [r4]
.L4:
ldr r1, .L12+12
bl strcmp
cmp r0, #0
bne .L6
ldr r3, .L12+16
ldr r4, [r3]
.L1:
mov r0, r4
pop {r4, pc}
.L10:
ldr r3, .L12+20
ldr r0, [r3]
bl base
mov r1, #115
bl replace_suffix
b .L3
.L6:
ldr r0, [r4]
ldr r1, .L12+24
bl fopen
subs r4, r0, #0
bne .L1
ldr r0, .L12+28
bl perror
b .L1
.L2:
ldr r0, .L12+32
bl format
ldr r4, .L12+8
mov r1, #2
str r0, [r4]
bl mkstemps
cmp r0, #0
beq .L11
.L5:
ldr r3, .L12+36
ldr r1, [r4]
ldr r0, [r3]
bl vec_push
ldr r0, [r4]
b .L4
.L11:
ldr r0, .L12+40
bl perror
b .L5
.L13:
.align 2
.L12:
.word dumpasm
.word outfile
.word asmfile
.word .LC2
.word stdout
.word infile
.word .LC3
.word .LC4
.word .LC0
.word tmpfiles
.word .LC1
.size open_asmfile, .-open_asmfile
.comm tmpfiles,4,4
.comm stdout,4,4
.comm outfile,4,4
.comm infile,4,4
.comm dumpasm,4,4
.comm asmfile,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_main.c_parse_f_arg.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "dump-ast"
.LC1:
.string "dump-stack"
.LC2:
.string "no-dump-source"
.text
.p2align 4
.type parse_f_arg, @function
parse_f_arg:
.LFB0:
.cfi_startproc
endbr64
mov rax, rdi
mov ecx, 9
lea rdi, .LC0[rip]
mov rsi, rax
repz cmpsb
seta dl
sbb dl, 0
test dl, dl
jne .L2
mov DWORD PTR dumpast[rip], 1
ret
.p2align 4,,10
.p2align 3
.L2:
mov ecx, 11
lea rdi, .LC1[rip]
mov rsi, rax
repz cmpsb
seta dl
sbb dl, 0
test dl, dl
jne .L4
mov DWORD PTR dumpstack[rip], 1
ret
.p2align 4,,10
.p2align 3
.L4:
mov rsi, rax
mov ecx, 15
lea rdi, .LC2[rip]
repz cmpsb
seta al
sbb al, 0
test al, al
jne .L5
mov DWORD PTR dumpsource[rip], 0
ret
.p2align 4,,10
.p2align 3
.L5:
mov edi, 1
jmp usage@PLT
.cfi_endproc
.LFE0:
.size parse_f_arg, .-parse_f_arg
.globl dumpstack
.bss
.align 4
.type dumpstack, @object
.size dumpstack, 4
dumpstack:
.zero 4
.globl dumpsource
.align 4
.type dumpsource, @object
.size dumpsource, 4
dumpsource:
.zero 4
.globl dumpast
.align 4
.type dumpast, @object
.size dumpast, 4
dumpast:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_main.c_parse_f_arg.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "dump-ast\000"
.align 2
.LC1:
.ascii "dump-stack\000"
.align 2
.LC2:
.ascii "no-dump-source\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type parse_f_arg, %function
parse_f_arg:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
ldr r1, .L8
mov r4, r0
bl strcmp
cmp r0, #0
bne .L2
mov r2, #1
ldr r3, .L8+4
str r2, [r3]
pop {r4, pc}
.L2:
mov r0, r4
ldr r1, .L8+8
bl strcmp
cmp r0, #0
bne .L4
mov r2, #1
ldr r3, .L8+12
str r2, [r3]
pop {r4, pc}
.L4:
mov r0, r4
ldr r1, .L8+16
bl strcmp
cmp r0, #0
bne .L5
ldr r3, .L8+20
str r0, [r3]
pop {r4, pc}
.L5:
mov r0, #1
pop {r4, lr}
b usage
.L9:
.align 2
.L8:
.word .LC0
.word dumpast
.word .LC1
.word dumpstack
.word .LC2
.word dumpsource
.size parse_f_arg, .-parse_f_arg
.comm dumpstack,4,4
.comm dumpsource,4,4
.comm dumpast,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_main.c_parse_m_arg.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "64"
.section .rodata.str1.8,"aMS",@progbits,1
.align 8
.LC1:
.string "Only 64 is allowed for -m, but got %s"
.text
.p2align 4
.type parse_m_arg, @function
parse_m_arg:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
lea rsi, .LC0[rip]
mov rbp, rdi
call strcmp@PLT
test rax, rax
jne .L5
pop rbp
.cfi_remember_state
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L5:
.cfi_restore_state
mov rsi, rbp
lea rdi, .LC1[rip]
pop rbp
.cfi_def_cfa_offset 8
jmp error@PLT
.cfi_endproc
.LFE0:
.size parse_m_arg, .-parse_m_arg
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_main.c_parse_m_arg.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "Only 64 is allowed for -m, but got %s\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type parse_m_arg, %function
parse_m_arg:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
ldrb r3, [r0] @ zero_extendqisi2
cmp r3, #54
beq .L6
.L4:
mov r1, r0
ldr r0, .L7
b error
.L6:
ldrb r3, [r0, #1] @ zero_extendqisi2
cmp r3, #52
bne .L4
ldrb r3, [r0, #2] @ zero_extendqisi2
cmp r3, #0
bxeq lr
b .L4
.L8:
.align 2
.L7:
.word .LC0
.size parse_m_arg, .-parse_m_arg
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_main.c_parse_warnings_arg.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "error"
.LC1:
.string "all"
.LC2:
.string "unknown -W option: %s"
.text
.p2align 4
.type parse_warnings_arg, @function
parse_warnings_arg:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
lea rsi, .LC0[rip]
mov rbp, rdi
call strcmp@PLT
test rax, rax
jne .L2
mov DWORD PTR warning_is_error[rip], 1
.L1:
pop rbp
.cfi_remember_state
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L2:
.cfi_restore_state
lea rsi, .LC1[rip]
mov rdi, rbp
call strcmp@PLT
test rax, rax
je .L1
mov rsi, rbp
lea rdi, .LC2[rip]
pop rbp
.cfi_def_cfa_offset 8
jmp error@PLT
.cfi_endproc
.LFE0:
.size parse_warnings_arg, .-parse_warnings_arg
.globl warning_is_error
.bss
.align 4
.type warning_is_error, @object
.size warning_is_error, 4
warning_is_error:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_main.c_parse_warnings_arg.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "error\000"
.align 2
.LC1:
.ascii "all\000"
.align 2
.LC2:
.ascii "unknown -W option: %s\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type parse_warnings_arg, %function
parse_warnings_arg:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
ldr r1, .L9
mov r4, r0
bl strcmp
cmp r0, #0
bne .L2
mov r2, #1
ldr r3, .L9+4
str r2, [r3]
pop {r4, pc}
.L2:
mov r0, r4
ldr r1, .L9+8
bl strcmp
cmp r0, #0
popeq {r4, pc}
mov r1, r4
pop {r4, lr}
ldr r0, .L9+12
b error
.L10:
.align 2
.L9:
.word .LC0
.word warning_is_error
.word .LC1
.word .LC2
.size parse_warnings_arg, .-parse_warnings_arg
.comm warning_is_error,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_main.c_parseopt.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "I:ED:O:SU:W:acd:f:gm:o:hw"
.LC1:
.string "#define %s\n"
.LC2:
.string "#undef %s\n"
.section .rodata.str1.8,"aMS",@progbits,1
.align 8
.LC3:
.string "One of -a, -c, -E or -S must be specified"
.text
.p2align 4
.type parseopt, @function
parseopt:
.LFB0:
.cfi_startproc
endbr64
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
xor eax, eax
mov r12, rsi
push rbp
.cfi_def_cfa_offset 24
.cfi_offset 6, -24
mov ebp, edi
push rbx
.cfi_def_cfa_offset 32
.cfi_offset 3, -32
lea rbx, .L7[rip]
call make_buffer@PLT
mov DWORD PTR cppdefs[rip], eax
.p2align 4,,10
.p2align 3
.L3:
lea rdx, .LC0[rip]
mov rsi, r12
mov edi, ebp
call getopt@PLT
cmp eax, -1
je .L4
sub eax, 68
cmp eax, 51
ja .L5
movsx rax, DWORD PTR [rbx+rax*4]
add rax, rbx
notrack jmp rax
.section .rodata
.align 4
.align 4
.L7:
.long .L18-.L7
.long .L17-.L7
.long .L5-.L7
.long .L5-.L7
.long .L5-.L7
.long .L16-.L7
.long .L5-.L7
.long .L5-.L7
.long .L5-.L7
.long .L5-.L7
.long .L5-.L7
.long .L3-.L7
.long .L5-.L7
.long .L5-.L7
.long .L5-.L7
.long .L15-.L7
.long .L5-.L7
.long .L14-.L7
.long .L5-.L7
.long .L13-.L7
.long .L5-.L7
.long .L5-.L7
.long .L5-.L7
.long .L5-.L7
.long .L5-.L7
.long .L5-.L7
.long .L5-.L7
.long .L5-.L7
.long .L5-.L7
.long .L5-.L7
.long .L5-.L7
.long .L12-.L7
.long .L5-.L7
.long .L5-.L7
.long .L11-.L7
.long .L3-.L7
.long .L10-.L7
.long .L5-.L7
.long .L5-.L7
.long .L5-.L7
.long .L5-.L7
.long .L9-.L7
.long .L5-.L7
.long .L8-.L7
.long .L5-.L7
.long .L5-.L7
.long .L5-.L7
.long .L5-.L7
.long .L5-.L7
.long .L5-.L7
.long .L5-.L7
.long .L6-.L7
.text
.p2align 4,,10
.p2align 3
.L10:
xor edi, edi
call usage@PLT
.p2align 4,,10
.p2align 3
.L5:
mov edi, 1
call usage@PLT
jmp .L3
.p2align 4,,10
.p2align 3
.L6:
mov DWORD PTR enable_warning[rip], 0
jmp .L3
.p2align 4,,10
.p2align 3
.L8:
mov eax, DWORD PTR optarg[rip]
mov DWORD PTR outfile[rip], eax
jmp .L3
.p2align 4,,10
.p2align 3
.L9:
mov edi, DWORD PTR optarg[rip]
call parse_m_arg@PLT
jmp .L3
.p2align 4,,10
.p2align 3
.L11:
mov edi, DWORD PTR optarg[rip]
call parse_f_arg@PLT
jmp .L3
.p2align 4,,10
.p2align 3
.L12:
mov DWORD PTR dontlink[rip], 1
jmp .L3
.p2align 4,,10
.p2align 3
.L13:
mov edi, DWORD PTR optarg[rip]
call parse_warnings_arg@PLT
jmp .L3
.p2align 4,,10
.p2align 3
.L14:
mov edx, DWORD PTR optarg[rip]
mov edi, DWORD PTR cppdefs[rip]
lea rsi, .LC2[rip]
call buf_printf@PLT
jmp .L3
.p2align 4,,10
.p2align 3
.L15:
mov DWORD PTR dumpasm[rip], 1
jmp .L3
.p2align 4,,10
.p2align 3
.L16:
mov edi, DWORD PTR optarg[rip]
call add_include_path@PLT
jmp .L3
.p2align 4,,10
.p2align 3
.L17:
mov DWORD PTR cpponly[rip], 1
jmp .L3
.p2align 4,,10
.p2align 3
.L18:
mov edi, DWORD PTR optarg[rip]
mov esi, 61
call strchr@PLT
test rax, rax
je .L20
mov BYTE PTR [rax], 32
.L20:
mov edx, DWORD PTR optarg[rip]
mov edi, DWORD PTR cppdefs[rip]
lea rsi, .LC1[rip]
call buf_printf@PLT
jmp .L3
.p2align 4,,10
.p2align 3
.L4:
sub ebp, 1
cmp ebp, DWORD PTR optind[rip]
je .L21
mov edi, 1
call usage@PLT
.L21:
mov eax, DWORD PTR dumpast[rip]
or eax, DWORD PTR cpponly[rip]
or eax, DWORD PTR dumpasm[rip]
or eax, DWORD PTR dontlink[rip]
je .L29
.L22:
movsx rax, DWORD PTR optind[rip]
pop rbx
.cfi_remember_state
.cfi_def_cfa_offset 24
pop rbp
.cfi_def_cfa_offset 16
mov rax, QWORD PTR [r12+rax*8]
pop r12
.cfi_def_cfa_offset 8
mov QWORD PTR infile[rip], rax
ret
.L29:
.cfi_restore_state
lea rdi, .LC3[rip]
call error@PLT
jmp .L22
.cfi_endproc
.LFE0:
.size parseopt, .-parseopt
.globl outfile
.bss
.align 4
.type outfile, @object
.size outfile, 4
outfile:
.zero 4
.globl optind
.align 4
.type optind, @object
.size optind, 4
optind:
.zero 4
.globl optarg
.align 4
.type optarg, @object
.size optarg, 4
optarg:
.zero 4
.globl infile
.align 8
.type infile, @object
.size infile, 8
infile:
.zero 8
.globl enable_warning
.align 4
.type enable_warning, @object
.size enable_warning, 4
enable_warning:
.zero 4
.globl dumpast
.align 4
.type dumpast, @object
.size dumpast, 4
dumpast:
.zero 4
.globl dumpasm
.align 4
.type dumpasm, @object
.size dumpasm, 4
dumpasm:
.zero 4
.globl dontlink
.align 4
.type dontlink, @object
.size dontlink, 4
dontlink:
.zero 4
.globl cpponly
.align 4
.type cpponly, @object
.size cpponly, 4
cpponly:
.zero 4
.globl cppdefs
.align 4
.type cppdefs, @object
.size cppdefs, 4
cppdefs:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_main.c_parseopt.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "I:ED:O:SU:W:acd:f:gm:o:hw\000"
.align 2
.LC1:
.ascii "#define %s\012\000"
.align 2
.LC2:
.ascii "#undef %s\012\000"
.align 2
.LC3:
.ascii "One of -a, -c, -E or -S must be specified\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type parseopt, %function
parseopt:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
mov r4, r0
mov r5, r1
bl make_buffer
ldr r8, .L30
ldr r9, .L30+4
ldr r6, .L30+8
ldr r7, .L30+12
ldr fp, .L30+16
ldr r10, .L30+20
str r0, [r8]
.L3:
mov r2, r6
mov r1, r5
mov r0, r4
bl getopt
cmn r0, #1
beq .L4
sub r0, r0, #68
cmp r0, #51
ldrls pc, [pc, r0, asl #2]
b .L5
.L7:
.word .L18
.word .L17
.word .L5
.word .L5
.word .L5
.word .L16
.word .L5
.word .L5
.word .L5
.word .L5
.word .L5
.word .L3
.word .L5
.word .L5
.word .L5
.word .L15
.word .L5
.word .L14
.word .L5
.word .L13
.word .L5
.word .L5
.word .L5
.word .L5
.word .L5
.word .L5
.word .L5
.word .L5
.word .L5
.word .L5
.word .L5
.word .L12
.word .L5
.word .L5
.word .L11
.word .L3
.word .L10
.word .L5
.word .L5
.word .L5
.word .L5
.word .L9
.word .L5
.word .L8
.word .L5
.word .L5
.word .L5
.word .L5
.word .L5
.word .L5
.word .L5
.word .L6
.L10:
mov r0, #0
bl usage
.L5:
mov r0, #1
bl usage
b .L3
.L6:
mov r3, #0
ldr r2, .L30+24
str r3, [r2]
b .L3
.L8:
ldr r3, [r7]
ldr r2, .L30+28
str r3, [r2]
b .L3
.L9:
ldr r0, [r7]
bl parse_m_arg
b .L3
.L11:
ldr r0, [r7]
bl parse_f_arg
b .L3
.L12:
mov r3, #1
ldr r2, .L30+32
str r3, [r2]
b .L3
.L13:
ldr r0, [r7]
bl parse_warnings_arg
b .L3
.L14:
mov r1, fp
ldr r2, [r7]
ldr r0, [r8]
bl buf_printf
b .L3
.L15:
mov r3, #1
ldr r2, .L30+36
str r3, [r2]
b .L3
.L16:
ldr r0, [r7]
bl add_include_path
b .L3
.L17:
mov r3, #1
str r3, [r9]
b .L3
.L18:
mov r1, #61
ldr r0, [r7]
bl strchr
cmp r0, #0
movne r3, #32
strbne r3, [r0]
mov r1, r10
ldr r2, [r7]
ldr r0, [r8]
bl buf_printf
b .L3
.L4:
ldr r6, .L30+40
sub r4, r4, #1
ldr r3, [r6]
cmp r4, r3
beq .L21
mov r0, #1
bl usage
.L21:
ldr r2, .L30+36
ldr r3, .L30+44
ldr r1, [r2]
ldr r0, [r9]
ldr r3, [r3]
ldr r2, .L30+32
orr r3, r3, r0
ldr r2, [r2]
orr r3, r3, r1
orrs r3, r3, r2
beq .L29
.L22:
ldr r2, [r6]
ldr r3, .L30+48
ldr r2, [r5, r2, lsl #2]
str r2, [r3]
pop {r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L29:
ldr r0, .L30+52
bl error
b .L22
.L31:
.align 2
.L30:
.word cppdefs
.word cpponly
.word .LC0
.word optarg
.word .LC2
.word .LC1
.word enable_warning
.word outfile
.word dontlink
.word dumpasm
.word optind
.word dumpast
.word infile
.word .LC3
.size parseopt, .-parseopt
.comm outfile,4,4
.comm optind,4,4
.comm optarg,4,4
.comm infile,4,4
.comm enable_warning,4,4
.comm dumpast,4,4
.comm dumpasm,4,4
.comm dontlink,4,4
.comm cpponly,4,4
.comm cppdefs,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_main.c_preprocess.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "%s"
.text
.p2align 4
.type preprocess, @function
preprocess:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
push rbx
.cfi_def_cfa_offset 24
.cfi_offset 3, -24
lea rbx, .LC0[rip]
sub rsp, 8
.cfi_def_cfa_offset 32
jmp .L5
.p2align 4,,10
.p2align 3
.L3:
cmp QWORD PTR 8[rbp], 0
jne .L8
.L4:
mov rdi, rbp
call tok2s@PLT
mov rdi, rbx
mov rsi, rax
xor eax, eax
call printf@PLT
.L5:
xor eax, eax
call read_token@PLT
mov rbp, rax
mov rax, QWORD PTR TEOF[rip]
cmp QWORD PTR 0[rbp], rax
je .L2
cmp QWORD PTR 16[rbp], 0
je .L3
mov edi, 10
call putchar@PLT
cmp QWORD PTR 8[rbp], 0
je .L4
.L8:
mov edi, 32
call putchar@PLT
jmp .L4
.p2align 4,,10
.p2align 3
.L2:
mov edi, 10
call putchar@PLT
add rsp, 8
.cfi_def_cfa_offset 24
xor edi, edi
pop rbx
.cfi_def_cfa_offset 16
pop rbp
.cfi_def_cfa_offset 8
jmp exit@PLT
.cfi_endproc
.LFE0:
.size preprocess, .-preprocess
.globl TEOF
.bss
.align 8
.type TEOF, @object
.size TEOF, 8
TEOF:
.zero 8
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_main.c_preprocess.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "%s\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type preprocess, %function
preprocess:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
ldr r5, .L15
ldr r6, .L15+4
b .L5
.L3:
ldr r3, [r4, #4]
cmp r3, #0
bne .L14
.L4:
mov r0, r4
bl tok2s
mov r1, r0
mov r0, r6
bl printf
.L5:
bl read_token
ldr r3, [r5]
ldr r2, [r0]
mov r4, r0
cmp r2, r3
beq .L2
ldr r3, [r0, #8]
cmp r3, #0
beq .L3
mov r0, #10
bl putchar
ldr r3, [r4, #4]
cmp r3, #0
beq .L4
.L14:
mov r0, #32
bl putchar
b .L4
.L2:
mov r0, #10
bl putchar
pop {r4, r5, r6, lr}
mov r0, #0
b exit
.L16:
.align 2
.L15:
.word TEOF
.word .LC0
.size preprocess, .-preprocess
.comm TEOF,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_main.c_replace_suffix.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "%s"
.LC1:
.string "filename suffix is not .c"
.text
.p2align 4
.type replace_suffix, @function
replace_suffix:
.LFB0:
.cfi_startproc
endbr64
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
push rbp
.cfi_def_cfa_offset 24
.cfi_offset 6, -24
push rbx
.cfi_def_cfa_offset 32
.cfi_offset 3, -32
mov ebx, esi
mov rsi, rdi
lea rdi, .LC0[rip]
call format@PLT
mov rdi, rax
mov r12, rax
call strlen@PLT
cdqe
lea rbp, -1[r12+rax]
cmp BYTE PTR 0[rbp], 99
je .L2
lea rdi, .LC1[rip]
call error@PLT
.L2:
mov BYTE PTR 0[rbp], bl
mov rax, r12
pop rbx
.cfi_def_cfa_offset 24
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size replace_suffix, .-replace_suffix
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_main.c_replace_suffix.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "%s\000"
.align 2
.LC1:
.ascii "filename suffix is not .c\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type replace_suffix, %function
replace_suffix:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
mov r3, r0
push {r4, r5, r6, lr}
ldr r0, .L8
mov r6, r1
mov r1, r3
bl format
mov r4, r0
bl strlen
sub r5, r0, #1
ldrb r3, [r4, r5] @ zero_extendqisi2
cmp r3, #99
beq .L2
ldr r0, .L8+4
bl error
.L2:
mov r0, r4
strb r6, [r4, r5]
pop {r4, r5, r6, pc}
.L9:
.align 2
.L8:
.word .LC0
.word .LC1
.size replace_suffix, .-replace_suffix
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_main.c_usage.c"
.intel_syntax noprefix
.text
.section .rodata.str1.8,"aMS",@progbits,1
.align 8
.LC0:
.ascii "Usage: 8cc [ -E ][ -a ] [ -h ] <file>\n\n\n -I<path> "
.ascii " add to include path\n -E print preprocess"
.ascii "ed source code\n -D name Predefine name as a macr"
.ascii "o\n -D name=def\n -S Stop before assembly ("
.ascii "default)\n -c Do not run linker (default)\n "
.ascii " -U name Undefine name\n -fdump-ast print "
.ascii "AST\n -fdump-stack Print stacktrace\n -fno-dump-sourc"
.ascii "e Do not emit source code as assembly comment\n -o filenam"
.ascii "e Output to the specified file\n -g Do"
.ascii " nothing at this moment\n -Wall Enable all warn"
.ascii "ings\n -Werror "
.string " Make all warnings into errors\n -O<number> Does nothing at this moment\n -m64 Output 64-bit code (default)\n -w Disable all warnings\n -h print this help\n\nOne of -a, -c, -E or -S must be specified.\n\n"
.text
.p2align 4
.type usage, @function
usage:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
test edi, edi
mov ebp, edi
mov edi, DWORD PTR stderr[rip]
cmove edi, DWORD PTR stdout[rip]
lea rsi, .LC0[rip]
call fprintf@PLT
mov edi, ebp
pop rbp
.cfi_def_cfa_offset 8
jmp exit@PLT
.cfi_endproc
.LFE0:
.size usage, .-usage
.globl stdout
.bss
.align 4
.type stdout, @object
.size stdout, 4
stdout:
.zero 4
.globl stderr
.align 4
.type stderr, @object
.size stderr, 4
stderr:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_main.c_usage.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "Usage: 8cc [ -E ][ -a ] [ -h ] <file>\012\012\012 "
.ascii "-I<path> add to include path\012 -E "
.ascii " print preprocessed source code\012 -D na"
.ascii "me Predefine name as a macro\012 -D name"
.ascii "=def\012 -S Stop before assembly (d"
.ascii "efault)\012 -c Do not run linker (d"
.ascii "efault)\012 -U name Undefine name\012 -"
.ascii "fdump-ast print AST\012 -fdump-stack P"
.ascii "rint stacktrace\012 -fno-dump-source Do not emit "
.ascii "source code as assembly comment\012 -o filename "
.ascii " Output to the specified file\012 -g "
.ascii " Do nothing at this moment\012 -Wall "
.ascii " Enable all warnings\012 -Werror Make "
.ascii "all warnings into errors\012 -O<number> Doe"
.ascii "s nothing at this moment\012 -m64 Out"
.ascii "put 64-bit code (default)\012 -w Di"
.ascii "sable all warnings\012 -h print thi"
.ascii "s help\012\012One of -a, -c, -E or -S must be speci"
.ascii "fied.\012\012\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type usage, %function
usage:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
subs r4, r0, #0
ldrne r3, .L6
ldreq r3, .L6+4
ldr r1, .L6+8
ldr r0, [r3]
bl fprintf
mov r0, r4
pop {r4, lr}
b exit
.L7:
.align 2
.L6:
.word stderr
.word stdout
.word .LC0
.size usage, .-usage
.comm stdout,4,4
.comm stderr,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_map.c_do_make_map.c"
.intel_syntax noprefix
.text
.p2align 4
.type do_make_map, @function
do_make_map:
.LFB0:
.cfi_startproc
endbr64
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
push rbp
.cfi_def_cfa_offset 24
.cfi_offset 6, -24
mov rbp, rdi
mov edi, 48
push rbx
.cfi_def_cfa_offset 32
.cfi_offset 3, -32
mov ebx, esi
call malloc@PLT
mov edi, ebx
mov esi, 8
mov QWORD PTR 40[rax], rbp
mov r12, rax
call calloc@PLT
mov edi, ebx
mov esi, 8
mov QWORD PTR 32[r12], rax
call calloc@PLT
mov DWORD PTR [r12], ebx
mov QWORD PTR 24[r12], rax
mov rax, r12
mov QWORD PTR 16[r12], 0
mov QWORD PTR 8[r12], 0
pop rbx
.cfi_def_cfa_offset 24
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size do_make_map, .-do_make_map
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_map.c_do_make_map.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type do_make_map, %function
do_make_map:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
mov r6, r0
mov r0, #24
mov r5, r1
bl malloc
mov r4, r0
mov r1, #4
mov r0, r5
str r6, [r4, #20]
bl calloc
mov r3, r0
mov r1, #4
mov r0, r5
str r3, [r4, #16]
bl calloc
mov r3, #0
str r0, [r4, #12]
str r5, [r4]
mov r0, r4
str r3, [r4, #8]
str r3, [r4, #4]
pop {r4, r5, r6, pc}
.size do_make_map, .-do_make_map
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_map.c_hash.c"
.intel_syntax noprefix
.text
.p2align 4
.type hash, @function
hash:
.LFB0:
.cfi_startproc
endbr64
movzx edx, BYTE PTR [rdi]
mov eax, -59
test dl, dl
je .L4
mov ecx, -109
.p2align 4,,10
.p2align 3
.L3:
add rdi, 1
xor eax, edx
movzx edx, BYTE PTR [rdi]
imul eax, ecx
test dl, dl
jne .L3
ret
.p2align 4,,10
.p2align 3
.L4:
ret
.cfi_endproc
.LFE0:
.size hash, .-hash
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_map.c_hash.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type hash, %function
hash:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
ldrb r2, [r0] @ zero_extendqisi2
mov r3, #197
cmp r2, #0
beq .L2
.L3:
eor r3, r3, r2
add r3, r3, r3, lsl #1
ldrb r2, [r0, #1]! @ zero_extendqisi2
rsb r3, r3, r3, lsl #3
rsb r3, r3, r3, lsl #3
cmp r2, #0
and r3, r3, #255
bne .L3
.L2:
mov r0, r3
bx lr
.size hash, .-hash
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_map.c_make_map.c"
.intel_syntax noprefix
.text
.p2align 4
.globl make_map
.type make_map, @function
make_map:
.LFB0:
.cfi_startproc
endbr64
mov esi, DWORD PTR INIT_SIZE[rip]
xor edi, edi
jmp do_make_map@PLT
.cfi_endproc
.LFE0:
.size make_map, .-make_map
.globl INIT_SIZE
.bss
.align 4
.type INIT_SIZE, @object
.size INIT_SIZE, 4
INIT_SIZE:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_map.c_make_map.c"
.text
.align 2
.global make_map
.syntax unified
.arm
.fpu softvfp
.type make_map, %function
make_map:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
ldr r3, .L3
mov r0, #0
ldr r1, [r3]
b do_make_map
.L4:
.align 2
.L3:
.word INIT_SIZE
.size make_map, .-make_map
.comm INIT_SIZE,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_map.c_make_map_parent.c"
.intel_syntax noprefix
.text
.p2align 4
.globl make_map_parent
.type make_map_parent, @function
make_map_parent:
.LFB0:
.cfi_startproc
endbr64
mov esi, DWORD PTR INIT_SIZE[rip]
jmp do_make_map@PLT
.cfi_endproc
.LFE0:
.size make_map_parent, .-make_map_parent
.globl INIT_SIZE
.bss
.align 4
.type INIT_SIZE, @object
.size INIT_SIZE, 4
INIT_SIZE:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_map.c_make_map_parent.c"
.text
.align 2
.global make_map_parent
.syntax unified
.arm
.fpu softvfp
.type make_map_parent, %function
make_map_parent:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
ldr r3, .L3
ldr r1, [r3]
b do_make_map
.L4:
.align 2
.L3:
.word INIT_SIZE
.size make_map_parent, .-make_map_parent
.comm INIT_SIZE,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_map.c_map_get.c"
.intel_syntax noprefix
.text
.p2align 4
.globl map_get
.type map_get, @function
map_get:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsi
push rbx
.cfi_def_cfa_offset 24
.cfi_offset 3, -24
mov rbx, rdi
sub rsp, 8
.cfi_def_cfa_offset 32
jmp .L3
.p2align 4,,10
.p2align 3
.L7:
mov rbx, QWORD PTR [rbx]
test rbx, rbx
je .L1
.L3:
mov rsi, rbp
mov rdi, rbx
call map_get_nostack@PLT
test rax, rax
je .L7
.L1:
add rsp, 8
.cfi_def_cfa_offset 24
pop rbx
.cfi_def_cfa_offset 16
pop rbp
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size map_get, .-map_get
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_map.c_map_get.c"
.text
.align 2
.global map_get
.syntax unified
.arm
.fpu softvfp
.type map_get, %function
map_get:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
mov r4, r0
mov r5, r1
.L3:
mov r1, r5
mov r0, r4
bl map_get_nostack
cmp r0, #0
popne {r4, r5, r6, pc}
ldr r4, [r4]
cmp r4, #0
bne .L3
pop {r4, r5, r6, pc}
.size map_get, .-map_get
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_map.c_map_get_nostack.c"
.intel_syntax noprefix
.text
.p2align 4
.type map_get_nostack, @function
map_get_nostack:
.LFB0:
.cfi_startproc
endbr64
cmp QWORD PTR 16[rdi], 0
je .L13
push r14
.cfi_def_cfa_offset 16
.cfi_offset 14, -16
push r13
.cfi_def_cfa_offset 24
.cfi_offset 13, -24
mov r13, rsi
push r12
.cfi_def_cfa_offset 32
.cfi_offset 12, -32
mov r12, rdi
push rbp
.cfi_def_cfa_offset 40
.cfi_offset 6, -40
push rbx
.cfi_def_cfa_offset 48
.cfi_offset 3, -48
mov eax, DWORD PTR [rdi]
mov rdi, rsi
lea ebp, -1[rax]
call hash@PLT
mov rdx, QWORD PTR 16[r12]
and eax, ebp
mov ebx, eax
cdqe
mov rdi, QWORD PTR [rdx+rax*8]
lea r14, 0[0+rax*8]
test rdi, rdi
je .L2
.p2align 4,,10
.p2align 3
.L5:
cmp QWORD PTR TOMBSTONE[rip], rdi
je .L3
mov rsi, r13
call strcmp@PLT
test eax, eax
je .L11
mov rdx, QWORD PTR 16[r12]
.L3:
add ebx, 1
and ebx, ebp
movsx rax, ebx
mov rdi, QWORD PTR [rdx+rax*8]
lea r14, 0[0+rax*8]
test rdi, rdi
jne .L5
.L2:
pop rbx
.cfi_remember_state
.cfi_def_cfa_offset 40
xor eax, eax
pop rbp
.cfi_def_cfa_offset 32
pop r12
.cfi_def_cfa_offset 24
pop r13
.cfi_def_cfa_offset 16
pop r14
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L11:
.cfi_restore_state
mov rax, QWORD PTR 8[r12]
pop rbx
.cfi_def_cfa_offset 40
pop rbp
.cfi_def_cfa_offset 32
pop r12
.cfi_def_cfa_offset 24
mov rax, QWORD PTR [rax+r14]
pop r13
.cfi_def_cfa_offset 16
pop r14
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L13:
.cfi_restore 3
.cfi_restore 6
.cfi_restore 12
.cfi_restore 13
.cfi_restore 14
xor eax, eax
ret
.cfi_endproc
.LFE0:
.size map_get_nostack, .-map_get_nostack
.globl TOMBSTONE
.bss
.align 8
.type TOMBSTONE, @object
.size TOMBSTONE, 8
TOMBSTONE:
.zero 8
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_map.c_map_get_nostack.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type map_get_nostack, %function
map_get_nostack:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
ldr r3, [r0, #8]
cmp r3, #0
beq .L14
push {r4, r5, r6, r7, r8, r9, r10, lr}
ldr r5, [r0]
mov r8, r0
mov r0, r1
mov r7, r1
bl hash
sub r5, r5, #1
ldr r6, [r8, #8]
and r4, r0, r5
ldr r0, [r6, r4, lsl #2]
lsl r10, r4, #2
cmp r0, #0
beq .L2
ldr r3, .L20
ldr r9, [r3]
.L5:
cmp r9, r0
beq .L3
mov r1, r7
bl strcmp
cmp r0, #0
beq .L19
.L3:
add r4, r4, #1
and r4, r4, r5
ldr r0, [r6, r4, lsl #2]
lsl r10, r4, #2
cmp r0, #0
bne .L5
.L2:
mov r0, #0
pop {r4, r5, r6, r7, r8, r9, r10, pc}
.L19:
ldr r3, [r8, #4]
ldr r0, [r3, r10]
pop {r4, r5, r6, r7, r8, r9, r10, pc}
.L14:
mov r0, #0
bx lr
.L21:
.align 2
.L20:
.word TOMBSTONE
.size map_get_nostack, .-map_get_nostack
.comm TOMBSTONE,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_map.c_map_len.c"
.intel_syntax noprefix
.text
.p2align 4
.globl map_len
.type map_len, @function
map_len:
.LFB0:
.cfi_startproc
endbr64
mov rax, QWORD PTR [rdi]
ret
.cfi_endproc
.LFE0:
.size map_len, .-map_len
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_map.c_map_len.c"
.text
.align 2
.global map_len
.syntax unified
.arm
.fpu softvfp
.type map_len, %function
map_len:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
ldr r0, [r0]
bx lr
.size map_len, .-map_len
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_map.c_map_put.c"
.intel_syntax noprefix
.text
.p2align 4
.globl map_put
.type map_put, @function
map_put:
.LFB0:
.cfi_startproc
endbr64
push r15
.cfi_def_cfa_offset 16
.cfi_offset 15, -16
mov r15, rdi
push r14
.cfi_def_cfa_offset 24
.cfi_offset 14, -24
push r13
.cfi_def_cfa_offset 32
.cfi_offset 13, -32
push r12
.cfi_def_cfa_offset 40
.cfi_offset 12, -40
push rbp
.cfi_def_cfa_offset 48
.cfi_offset 6, -48
push rbx
.cfi_def_cfa_offset 56
.cfi_offset 3, -56
mov rbx, rsi
sub rsp, 40
.cfi_def_cfa_offset 96
mov QWORD PTR 16[rsp], rdi
mov QWORD PTR 24[rsp], rdx
call maybe_rehash@PLT
mov eax, DWORD PTR [r15]
mov rdi, rbx
lea ebp, -1[rax]
mov DWORD PTR 12[rsp], eax
call hash@PLT
mov r12, QWORD PTR 8[r15]
and eax, ebp
movsx rcx, eax
lea r15, 0[0+rcx*8]
lea rax, [r12+r15]
mov rdi, QWORD PTR [rax]
test rdi, rdi
je .L2
mov r13, QWORD PTR TOMBSTONE[rip]
mov r14, rcx
jmp .L6
.p2align 4,,10
.p2align 3
.L16:
mov rsi, rbx
call strcmp@PLT
test eax, eax
je .L15
lea edx, 1[r14]
and edx, ebp
movsx rcx, edx
lea r15, 0[0+rcx*8]
mov r14, rcx
lea rax, [r12+r15]
mov rdi, QWORD PTR [rax]
test rdi, rdi
je .L2
.L6:
cmp r13, rdi
jne .L16
mov QWORD PTR [rax], rbx
mov rbx, QWORD PTR 16[rsp]
mov rsi, QWORD PTR 24[rsp]
mov rax, QWORD PTR 16[rbx]
mov QWORD PTR [rax+r15], rsi
add DWORD PTR 28[rbx], 1
add rsp, 40
.cfi_remember_state
.cfi_def_cfa_offset 56
pop rbx
.cfi_def_cfa_offset 48
pop rbp
.cfi_def_cfa_offset 40
pop r12
.cfi_def_cfa_offset 32
pop r13
.cfi_def_cfa_offset 24
pop r14
.cfi_def_cfa_offset 16
pop r15
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L15:
.cfi_restore_state
mov rax, QWORD PTR 16[rsp]
mov rbx, QWORD PTR 24[rsp]
mov rax, QWORD PTR 16[rax]
mov QWORD PTR [rax+r15], rbx
add rsp, 40
.cfi_remember_state
.cfi_def_cfa_offset 56
pop rbx
.cfi_def_cfa_offset 48
pop rbp
.cfi_def_cfa_offset 40
pop r12
.cfi_def_cfa_offset 32
pop r13
.cfi_def_cfa_offset 24
pop r14
.cfi_def_cfa_offset 16
pop r15
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L2:
.cfi_restore_state
mov rsi, QWORD PTR 16[rsp]
mov QWORD PTR [rax], rbx
mov rbx, QWORD PTR 24[rsp]
mov rax, QWORD PTR 16[rsi]
mov QWORD PTR [rax+r15], rbx
add DWORD PTR 28[rsi], 1
add DWORD PTR 24[rsi], 1
add rsp, 40
.cfi_def_cfa_offset 56
pop rbx
.cfi_def_cfa_offset 48
pop rbp
.cfi_def_cfa_offset 40
pop r12
.cfi_def_cfa_offset 32
pop r13
.cfi_def_cfa_offset 24
pop r14
.cfi_def_cfa_offset 16
pop r15
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size map_put, .-map_put
.globl TOMBSTONE
.bss
.align 8
.type TOMBSTONE, @object
.size TOMBSTONE, 8
TOMBSTONE:
.zero 8
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_map.c_map_put.c"
.text
.align 2
.global map_put
.syntax unified
.arm
.fpu softvfp
.type map_put, %function
map_put:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
mov r5, r1
mov r9, r0
mov r10, r2
bl maybe_rehash
mov r0, r5
ldr r6, [r9]
bl hash
sub r6, r6, #1
ldr fp, [r9, #4]
and r4, r0, r6
ldr r0, [fp, r4, lsl #2]
lsl r7, r4, #2
cmp r0, #0
add r3, fp, r4, lsl #2
beq .L2
ldr r2, .L17
ldr r8, [r2]
b .L6
.L16:
mov r1, r5
bl strcmp
add r4, r4, #1
cmp r0, #0
and r4, r4, r6
beq .L15
ldr r0, [fp, r4, lsl #2]
lsl r7, r4, #2
cmp r0, #0
add r3, fp, r4, lsl #2
beq .L2
.L6:
cmp r8, r0
bne .L16
str r5, [r3]
ldr r3, [r9, #16]
ldr r2, [r9, #8]
add r3, r3, #1
str r10, [r2, r7]
str r3, [r9, #16]
pop {r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L15:
ldr r3, [r9, #8]
str r10, [r3, r7]
pop {r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L2:
str r5, [r3]
ldr r2, [r9, #16]
ldr r3, [r9, #12]
ldr r1, [r9, #8]
add r2, r2, #1
add r3, r3, #1
str r10, [r1, r7]
str r2, [r9, #16]
str r3, [r9, #12]
pop {r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L18:
.align 2
.L17:
.word TOMBSTONE
.size map_put, .-map_put
.comm TOMBSTONE,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_map.c_map_remove.c"
.intel_syntax noprefix
.text
.p2align 4
.globl map_remove
.type map_remove, @function
map_remove:
.LFB0:
.cfi_startproc
endbr64
cmp QWORD PTR 16[rdi], 0
je .L15
push r14
.cfi_def_cfa_offset 16
.cfi_offset 14, -16
push r13
.cfi_def_cfa_offset 24
.cfi_offset 13, -24
mov r13, rsi
push r12
.cfi_def_cfa_offset 32
.cfi_offset 12, -32
push rbp
.cfi_def_cfa_offset 40
.cfi_offset 6, -40
push rbx
.cfi_def_cfa_offset 48
.cfi_offset 3, -48
mov eax, DWORD PTR [rdi]
mov rbx, rdi
mov rdi, rsi
lea r12d, -1[rax]
call hash@PLT
and eax, r12d
movsx rdx, eax
mov rax, QWORD PTR 16[rbx]
mov rbp, rdx
lea r14, 0[0+rdx*8]
mov rdi, QWORD PTR [rax+rdx*8]
test rdi, rdi
je .L1
.L6:
cmp QWORD PTR TOMBSTONE[rip], rdi
je .L7
mov rsi, r13
call strcmp@PLT
test rax, rax
mov rax, QWORD PTR 16[rbx]
jne .L7
mov rdx, QWORD PTR TOMBSTONE[rip]
mov QWORD PTR [rax+r14], rdx
mov rax, QWORD PTR 8[rbx]
mov QWORD PTR [rax+r14], 0
sub DWORD PTR 4[rbx], 1
.L1:
pop rbx
.cfi_remember_state
.cfi_def_cfa_offset 40
pop rbp
.cfi_def_cfa_offset 32
pop r12
.cfi_def_cfa_offset 24
pop r13
.cfi_def_cfa_offset 16
pop r14
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L7:
.cfi_restore_state
add ebp, 1
and ebp, r12d
movsx rdx, ebp
mov rdi, QWORD PTR [rax+rdx*8]
lea r14, 0[0+rdx*8]
test rdi, rdi
jne .L6
jmp .L1
.p2align 4,,10
.p2align 3
.L15:
.cfi_def_cfa_offset 8
.cfi_restore 3
.cfi_restore 6
.cfi_restore 12
.cfi_restore 13
.cfi_restore 14
ret
.cfi_endproc
.LFE0:
.size map_remove, .-map_remove
.globl TOMBSTONE
.bss
.align 8
.type TOMBSTONE, @object
.size TOMBSTONE, 8
TOMBSTONE:
.zero 8
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_map.c_map_remove.c"
.text
.align 2
.global map_remove
.syntax unified
.arm
.fpu softvfp
.type map_remove, %function
map_remove:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
ldr r3, [r0, #12]
cmp r3, #0
popeq {r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
ldr r7, [r0]
mov r5, r0
mov r0, r1
mov r6, r1
bl hash
sub r7, r7, #1
ldr r10, [r5, #12]
and r4, r0, r7
ldr r0, [r10, r4, lsl #2]
lsl r8, r4, #2
cmp r0, #0
add r9, r10, r4, lsl #2
popeq {r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
ldr r3, .L15
ldr fp, [r3]
.L7:
cmp fp, r0
beq .L5
mov r1, r6
bl strcmp
cmp r0, #0
bne .L5
ldr r3, [r5, #4]
ldr r2, [r5, #8]
sub r3, r3, #1
str fp, [r9]
str r0, [r2, r8]
str r3, [r5, #4]
pop {r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L5:
add r4, r4, #1
and r4, r4, r7
ldr r0, [r10, r4, lsl #2]
lsl r8, r4, #2
cmp r0, #0
add r9, r10, r4, lsl #2
bne .L7
pop {r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L16:
.align 2
.L15:
.word TOMBSTONE
.size map_remove, .-map_remove
.comm TOMBSTONE,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_map.c_maybe_rehash.c"
.intel_syntax noprefix
.text
.p2align 4
.type maybe_rehash, @function
maybe_rehash:
.LFB0:
.cfi_startproc
endbr64
push r15
.cfi_def_cfa_offset 16
.cfi_offset 15, -16
push r14
.cfi_def_cfa_offset 24
.cfi_offset 14, -24
push r13
.cfi_def_cfa_offset 32
.cfi_offset 13, -32
push r12
.cfi_def_cfa_offset 40
.cfi_offset 12, -40
push rbp
.cfi_def_cfa_offset 48
.cfi_offset 6, -48
mov rbp, rdi
push rbx
.cfi_def_cfa_offset 56
.cfi_offset 3, -56
sub rsp, 24
.cfi_def_cfa_offset 80
cmp QWORD PTR [rdi], 0
je .L18
mov r12d, DWORD PTR 16[rdi]
pxor xmm0, xmm0
movsd xmm1, QWORD PTR .LC0[rip]
cvtsi2sd xmm0, r12d
mulsd xmm1, xmm0
comisd xmm1, QWORD PTR 24[rdi]
ja .L1
mulsd xmm0, QWORD PTR .LC1[rip]
comisd xmm0, QWORD PTR 32[rdi]
jbe .L19
.L4:
mov esi, 8
mov edi, r12d
lea r13d, -1[r12]
call calloc@PLT
mov esi, 8
mov edi, r12d
mov r15, rax
call calloc@PLT
mov QWORD PTR 8[rsp], rax
mov eax, DWORD PTR 16[rbp]
test eax, eax
jle .L5
xor ebx, ebx
jmp .L9
.p2align 4,,10
.p2align 3
.L6:
add rbx, 1
cmp DWORD PTR 16[rbp], ebx
jle .L5
.L9:
mov rax, QWORD PTR 0[rbp]
lea r14, 0[0+rbx*8]
mov rdi, QWORD PTR [rax+rbx*8]
test rdi, rdi
je .L6
cmp rdi, QWORD PTR TOMBSTONE[rip]
je .L6
call hash@PLT
.L16:
and eax, r13d
movsx rdx, eax
sal rdx, 3
lea rsi, [r15+rdx]
cmp QWORD PTR [rsi], 0
je .L7
add eax, 1
jmp .L16
.p2align 4,,10
.p2align 3
.L7:
mov rax, QWORD PTR 0[rbp]
mov rcx, QWORD PTR 8[rsp]
add rbx, 1
mov rax, QWORD PTR [rax+r14]
mov QWORD PTR [rsi], rax
mov rax, QWORD PTR 8[rbp]
mov rax, QWORD PTR [rax+r14]
mov QWORD PTR [rcx+rdx], rax
cmp DWORD PTR 16[rbp], ebx
jg .L9
.L5:
mov rax, QWORD PTR 8[rsp]
movsd xmm0, QWORD PTR 32[rbp]
mov QWORD PTR 0[rbp], r15
mov DWORD PTR 16[rbp], r12d
mov QWORD PTR 8[rbp], rax
movsd QWORD PTR 24[rbp], xmm0
.L1:
add rsp, 24
.cfi_remember_state
.cfi_def_cfa_offset 56
pop rbx
.cfi_def_cfa_offset 48
pop rbp
.cfi_def_cfa_offset 40
pop r12
.cfi_def_cfa_offset 32
pop r13
.cfi_def_cfa_offset 24
pop r14
.cfi_def_cfa_offset 16
pop r15
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L19:
.cfi_restore_state
add r12d, r12d
jmp .L4
.p2align 4,,10
.p2align 3
.L18:
mov edi, DWORD PTR INIT_SIZE[rip]
mov esi, 8
call calloc@PLT
mov edi, DWORD PTR INIT_SIZE[rip]
mov esi, 8
mov QWORD PTR 0[rbp], rax
call calloc@PLT
mov QWORD PTR 8[rbp], rax
mov eax, DWORD PTR INIT_SIZE[rip]
mov DWORD PTR 16[rbp], eax
jmp .L1
.cfi_endproc
.LFE0:
.size maybe_rehash, .-maybe_rehash
.globl TOMBSTONE
.bss
.align 8
.type TOMBSTONE, @object
.size TOMBSTONE, 8
TOMBSTONE:
.zero 8
.globl INIT_SIZE
.align 4
.type INIT_SIZE, @object
.size INIT_SIZE, 4
INIT_SIZE:
.zero 4
.section .rodata.cst8,"aM",@progbits,8
.align 8
.LC0:
.long 1717986918
.long 1072064102
.align 8
.LC1:
.long 1717986918
.long 1071015526
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_map.c_maybe_rehash.c"
.text
.global __aeabi_i2d
.global __aeabi_dmul
.global __aeabi_dcmplt
.align 2
.syntax unified
.arm
.fpu softvfp
.type maybe_rehash, %function
maybe_rehash:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
ldr r5, [r0]
mov r4, r0
cmp r5, #0
beq .L22
ldr r10, [r0, #8]
mov r0, r10
bl __aeabi_i2d
ldr r2, .L24
ldr r3, .L24+4
mov r6, r0
mov r7, r1
bl __aeabi_dmul
mov r2, r0
mov r3, r1
add r1, r4, #16
ldmia r1, {r0-r1}
bl __aeabi_dcmplt
cmp r0, #0
popne {r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
mov r1, r7
add r9, r4, #24
ldmia r9, {r8-r9}
mov r0, r6
ldr r2, .L24
ldr r3, .L24+8
bl __aeabi_dmul
mov r2, r0
mov r3, r1
mov r0, r8
mov r1, r9
bl __aeabi_dcmplt
cmp r0, #0
movne r7, r10
lsleq r7, r10, #1
mov r1, #4
mov r0, r7
bl calloc
mov r1, #4
mov fp, r0
mov r0, r7
bl calloc
cmp r10, #0
mov r6, r0
sub r10, r7, #1
ble .L5
mov r8, #0
ldr r9, .L24+12
b .L10
.L6:
ldr r3, [r4, #8]
add r8, r8, #1
cmp r3, r8
ble .L23
.L9:
ldr r5, [r4]
.L10:
ldr r0, [r5, r8, lsl #2]
lsl r5, r8, #2
cmp r0, #0
beq .L6
ldr r3, [r9]
cmp r0, r3
beq .L6
bl hash
and r3, r0, r10
.L20:
ldr r1, [fp, r3, lsl #2]
lsl r2, r3, #2
cmp r1, #0
add r1, fp, r3, lsl #2
addne r3, r3, #1
andne r3, r3, r10
bne .L20
.L7:
ldm r4, {r0, r3}
ldr r0, [r0, r5]
add r8, r8, #1
str r0, [r1]
ldr r3, [r3, r5]
str r3, [r6, r2]
ldr r3, [r4, #8]
cmp r3, r8
bgt .L9
.L23:
add r9, r4, #24
ldmia r9, {r8-r9}
.L5:
str r8, [r4, #16]
str r9, [r4, #20]
stmib r4, {r6, r7}
str fp, [r4]
pop {r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L22:
ldr r3, .L24+16
mov r1, #4
ldr r5, [r3]
mov r0, r5
bl calloc
mov r1, #4
str r0, [r4]
mov r0, r5
bl calloc
stmib r4, {r0, r5}
pop {r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L25:
.align 2
.L24:
.word 1717986918
.word 1072064102
.word 1071015526
.word TOMBSTONE
.word INIT_SIZE
.size maybe_rehash, .-maybe_rehash
.comm TOMBSTONE,4,4
.comm INIT_SIZE,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_parse.c_assign_string.c"
.intel_syntax noprefix
.text
.p2align 4
.type assign_string, @function
assign_string:
.LFB0:
.cfi_startproc
endbr64
push r15
.cfi_def_cfa_offset 16
.cfi_offset 15, -16
push r14
.cfi_def_cfa_offset 24
.cfi_offset 14, -24
mov r14, rdx
push r13
.cfi_def_cfa_offset 32
.cfi_offset 13, -32
mov r13d, ecx
push r12
.cfi_def_cfa_offset 40
.cfi_offset 12, -40
mov r12, rdi
push rbp
.cfi_def_cfa_offset 48
.cfi_offset 6, -48
mov rbp, rsi
push rbx
.cfi_def_cfa_offset 56
.cfi_offset 3, -56
sub rsp, 8
.cfi_def_cfa_offset 64
mov eax, DWORD PTR [rsi]
cmp eax, -1
je .L18
.L2:
xor ebx, ebx
test eax, eax
jg .L3
jmp .L1
.p2align 4,,10
.p2align 3
.L7:
mov r15d, DWORD PTR type_char[rip]
mov edi, r15d
call ast_inttype@PLT
lea edx, 0[r13+rbx]
mov esi, r15d
add rbx, 1
mov edi, eax
call ast_init@PLT
mov rdi, r12
mov esi, eax
call vec_push@PLT
cmp DWORD PTR 0[rbp], ebx
jle .L1
.L3:
movsx esi, BYTE PTR [r14+rbx]
mov r15d, ebx
test sil, sil
jne .L7
jmp .L16
.p2align 4,,10
.p2align 3
.L5:
mov r14d, DWORD PTR type_char[rip]
xor esi, esi
mov edi, r14d
call ast_inttype@PLT
lea edx, [r15+r13]
mov esi, r14d
add r15d, 1
mov edi, eax
call ast_init@PLT
mov rdi, r12
mov esi, eax
call vec_push@PLT
.L16:
cmp DWORD PTR 0[rbp], r15d
jg .L5
.L1:
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 56
pop rbx
.cfi_def_cfa_offset 48
pop rbp
.cfi_def_cfa_offset 40
pop r12
.cfi_def_cfa_offset 32
pop r13
.cfi_def_cfa_offset 24
pop r14
.cfi_def_cfa_offset 16
pop r15
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L18:
.cfi_restore_state
mov rdi, rdx
call strlen@PLT
add eax, 1
mov DWORD PTR 4[rbp], eax
mov DWORD PTR 0[rbp], eax
jmp .L2
.cfi_endproc
.LFE0:
.size assign_string, .-assign_string
.globl type_char
.bss
.align 4
.type type_char, @object
.size type_char, 4
type_char:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_parse.c_assign_string.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type assign_string, %function
assign_string:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, r9, r10, lr}
mov r6, r1
ldr r1, [r1]
mov r7, r0
cmn r1, #1
mov r5, r2
mov r8, r3
beq .L18
cmp r1, #0
pople {r4, r5, r6, r7, r8, r9, r10, pc}
.L3:
mov r4, #0
ldr r9, .L19
sub r5, r5, #1
b .L5
.L8:
ldr r0, [r9]
bl ast_inttype
add r2, r8, r4
ldr r1, [r9]
bl ast_init
mov r1, r0
mov r0, r7
bl vec_push
ldr r3, [r6]
add r4, r4, #1
cmp r3, r4
pople {r4, r5, r6, r7, r8, r9, r10, pc}
.L5:
ldrb r1, [r5, #1]! @ zero_extendqisi2
cmp r1, #0
bne .L8
ldr r3, [r6]
cmp r3, r4
pople {r4, r5, r6, r7, r8, r9, r10, pc}
ldr r5, .L19
.L6:
mov r1, #0
ldr r0, [r5]
bl ast_inttype
add r2, r4, r8
ldr r1, [r5]
bl ast_init
mov r1, r0
mov r0, r7
bl vec_push
ldr r3, [r6]
add r4, r4, #1
cmp r3, r4
bgt .L6
pop {r4, r5, r6, r7, r8, r9, r10, pc}
.L18:
mov r0, r2
bl strlen
add r0, r0, #1
str r0, [r6, #4]
str r0, [r6]
b .L3
.L20:
.align 2
.L19:
.word type_char
.size assign_string, .-assign_string
.comm type_char,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_parse.c_backfill_labels.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "goto"
.LC1:
.string "unary &&"
.LC2:
.string "stray %s: %s"
.text
.p2align 4
.type backfill_labels, @function
backfill_labels:
.LFB0:
.cfi_startproc
endbr64
push r15
.cfi_def_cfa_offset 16
.cfi_offset 15, -16
push r14
.cfi_def_cfa_offset 24
.cfi_offset 14, -24
lea r14, .LC0[rip]
push r13
.cfi_def_cfa_offset 32
.cfi_offset 13, -32
lea r13, .LC1[rip]
push r12
.cfi_def_cfa_offset 40
.cfi_offset 12, -40
xor r12d, r12d
push rbp
.cfi_def_cfa_offset 48
.cfi_offset 6, -48
push rbx
.cfi_def_cfa_offset 56
.cfi_offset 3, -56
sub rsp, 8
.cfi_def_cfa_offset 64
jmp .L2
.p2align 4,,10
.p2align 3
.L10:
mov QWORD PTR 16[rbp], rax
add r12d, 1
.L2:
mov edi, DWORD PTR gotos[rip]
call vec_len@PLT
cmp eax, r12d
jle .L12
mov edi, DWORD PTR gotos[rip]
mov esi, r12d
call vec_get@PLT
mov edi, DWORD PTR labels[rip]
mov r15, QWORD PTR [rax]
mov rbp, rax
mov rsi, r15
call map_get@PLT
mov rbx, rax
test rax, rax
je .L13
.L3:
mov rax, QWORD PTR 16[rbx]
test rax, rax
jne .L10
xor eax, eax
call make_label@PLT
mov QWORD PTR 16[rbx], rax
jmp .L10
.p2align 4,,10
.p2align 3
.L13:
mov rsi, r13
mov rax, QWORD PTR AST_GOTO[rip]
cmp QWORD PTR 8[rbp], rax
mov rdx, r15
cmove rsi, r14
lea rdi, .LC2[rip]
call error@PLT
jmp .L3
.p2align 4,,10
.p2align 3
.L12:
add rsp, 8
.cfi_def_cfa_offset 56
pop rbx
.cfi_def_cfa_offset 48
pop rbp
.cfi_def_cfa_offset 40
pop r12
.cfi_def_cfa_offset 32
pop r13
.cfi_def_cfa_offset 24
pop r14
.cfi_def_cfa_offset 16
pop r15
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size backfill_labels, .-backfill_labels
.globl labels
.bss
.align 4
.type labels, @object
.size labels, 4
labels:
.zero 4
.globl gotos
.align 4
.type gotos, @object
.size gotos, 4
gotos:
.zero 4
.globl AST_GOTO
.align 8
.type AST_GOTO, @object
.size AST_GOTO, 8
AST_GOTO:
.zero 8
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_parse.c_backfill_labels.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "goto\000"
.align 2
.LC1:
.ascii "unary &&\000"
.align 2
.LC2:
.ascii "stray %s: %s\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type backfill_labels, %function
backfill_labels:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
mov r4, #0
ldr r5, .L13
ldr r6, .L13+4
ldr r10, .L13+8
ldr r7, .L13+12
b .L2
.L6:
add r4, r4, #1
.L2:
ldr r0, [r5]
bl vec_len
cmp r0, r4
pople {r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
mov r1, r4
ldr r0, [r5]
bl vec_get
ldr r9, [r0]
mov fp, r0
mov r1, r9
ldr r0, [r6]
bl map_get
subs r8, r0, #0
beq .L12
.L3:
ldr r2, [r8, #8]
cmp r2, #0
strne r2, [fp, #8]
bne .L6
bl make_label
str r0, [r8, #8]
str r0, [fp, #8]
b .L6
.L12:
ldr r0, [r10]
ldr ip, [fp, #4]
ldr r3, .L13+16
cmp ip, r0
ldr r1, .L13+20
mov r2, r9
movne r1, r3
mov r0, r7
bl error
b .L3
.L14:
.align 2
.L13:
.word gotos
.word labels
.word AST_GOTO
.word .LC2
.word .LC1
.word .LC0
.size backfill_labels, .-backfill_labels
.comm labels,4,4
.comm gotos,4,4
.comm AST_GOTO,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_parse.c_binop.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "invalid pointer arith"
.text
.p2align 4
.type binop, @function
binop:
.LFB0:
.cfi_startproc
endbr64
push r15
.cfi_def_cfa_offset 16
.cfi_offset 15, -16
mov rax, QWORD PTR KIND_PTR[rip]
push r14
.cfi_def_cfa_offset 24
.cfi_offset 14, -24
push r13
.cfi_def_cfa_offset 32
.cfi_offset 13, -32
mov r13d, edi
push r12
.cfi_def_cfa_offset 40
.cfi_offset 12, -40
mov r12, rsi
push rbp
.cfi_def_cfa_offset 48
.cfi_offset 6, -48
mov r8, QWORD PTR [rdx]
mov rbp, rdx
mov rdi, QWORD PTR [rsi]
mov rdx, QWORD PTR [r8]
cmp QWORD PTR [rdi], rax
je .L10
cmp rax, rdx
je .L11
call is_arithtype@PLT
mov edi, eax
call assert@PLT
mov rdi, QWORD PTR 0[rbp]
call is_arithtype@PLT
mov edi, eax
call assert@PLT
mov rsi, QWORD PTR 0[rbp]
mov rdi, QWORD PTR [r12]
call usual_arith_conv@PLT
mov rsi, rbp
mov r14, rax
mov rdi, rax
call wrap@PLT
mov rsi, r12
mov rdi, r14
mov r15, rax
call wrap@PLT
mov rcx, r15
mov esi, r13d
mov rdi, r14
mov rdx, rax
.L8:
pop rbp
.cfi_remember_state
.cfi_def_cfa_offset 40
pop r12
.cfi_def_cfa_offset 32
pop r13
.cfi_def_cfa_offset 24
pop r14
.cfi_def_cfa_offset 16
pop r15
.cfi_def_cfa_offset 8
jmp ast_binop@PLT
.p2align 4,,10
.p2align 3
.L10:
.cfi_restore_state
cmp rax, rdx
je .L12
mov rcx, rbp
mov rdx, rsi
pop rbp
.cfi_remember_state
.cfi_def_cfa_offset 40
mov esi, r13d
pop r12
.cfi_def_cfa_offset 32
pop r13
.cfi_def_cfa_offset 24
pop r14
.cfi_def_cfa_offset 16
pop r15
.cfi_def_cfa_offset 8
jmp ast_binop@PLT
.p2align 4,,10
.p2align 3
.L11:
.cfi_restore_state
mov rcx, rsi
mov rdx, rbp
mov esi, r13d
pop rbp
.cfi_remember_state
.cfi_def_cfa_offset 40
mov rdi, r8
pop r12
.cfi_def_cfa_offset 32
pop r13
.cfi_def_cfa_offset 24
pop r14
.cfi_def_cfa_offset 16
pop r15
.cfi_def_cfa_offset 8
jmp ast_binop@PLT
.p2align 4,,10
.p2align 3
.L12:
.cfi_restore_state
mov edi, r13d
call valid_pointer_binop@PLT
test eax, eax
je .L13
.L4:
mov rdi, QWORD PTR type_long[rip]
mov rcx, rbp
mov rdx, r12
mov esi, 45
cmp r13d, 45
je .L8
mov rdi, QWORD PTR type_int[rip]
mov esi, r13d
jmp .L8
.p2align 4,,10
.p2align 3
.L13:
lea rdi, .LC0[rip]
call error@PLT
jmp .L4
.cfi_endproc
.LFE0:
.size binop, .-binop
.globl type_long
.bss
.align 8
.type type_long, @object
.size type_long, 8
type_long:
.zero 8
.globl type_int
.align 8
.type type_int, @object
.size type_int, 8
type_int:
.zero 8
.globl KIND_PTR
.align 8
.type KIND_PTR, @object
.size KIND_PTR, 8
KIND_PTR:
.zero 8
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_parse.c_binop.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "invalid pointer arith\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type binop, %function
binop:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
ldr ip, [r1]
ldr r3, .L14
push {r4, r5, r6, r7, r8, lr}
ldr r3, [r3]
mov r5, r1
ldr r1, [ip]
ldr lr, [r2]
cmp r1, r3
mov r4, r2
mov r6, r0
ldr r7, [lr]
beq .L10
cmp r3, r7
beq .L11
mov r0, ip
bl is_arithtype
bl assert
ldr r0, [r4]
bl is_arithtype
bl assert
ldr r1, [r4]
ldr r0, [r5]
bl usual_arith_conv
mov r1, r5
mov r5, r0
bl wrap
mov r1, r4
mov r4, r0
mov r0, r5
bl wrap
mov r2, r4
mov r3, r0
mov r1, r6
mov r0, r5
pop {r4, r5, r6, r7, r8, lr}
b ast_binop
.L10:
cmp r1, r7
beq .L12
mov r3, r2
mov r1, r0
mov r2, r5
pop {r4, r5, r6, r7, r8, lr}
mov r0, ip
b ast_binop
.L11:
mov r3, r5
mov r1, r0
mov r0, lr
pop {r4, r5, r6, r7, r8, lr}
b ast_binop
.L12:
bl valid_pointer_binop
cmp r0, #0
beq .L13
.L4:
cmp r6, #45
ldreq r0, .L14+4
ldrne r0, .L14+8
mov r3, r4
mov r2, r5
mov r1, r6
pop {r4, r5, r6, r7, r8, lr}
ldr r0, [r0]
b ast_binop
.L13:
ldr r0, .L14+12
bl error
b .L4
.L15:
.align 2
.L14:
.word KIND_PTR
.word type_long
.word type_int
.word .LC0
.size binop, .-binop
.comm type_long,4,4
.comm type_int,4,4
.comm KIND_PTR,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_parse.c_char_type.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "internal error"
.text
.p2align 4
.type char_type, @function
char_type:
.LFB0:
.cfi_startproc
endbr64
cmp edi, 130
je .L2
jg .L3
add edi, -128
cmp edi, 1
ja .L4
mov rax, QWORD PTR type_int[rip]
ret
.p2align 4,,10
.p2align 3
.L3:
mov rax, QWORD PTR type_ushort[rip]
cmp edi, 131
jne .L4
ret
.p2align 4,,10
.p2align 3
.L2:
mov rax, QWORD PTR type_uint[rip]
ret
.p2align 4,,10
.p2align 3
.L4:
sub rsp, 8
.cfi_def_cfa_offset 16
lea rdi, .LC0[rip]
call error@PLT
add rsp, 8
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size char_type, .-char_type
.globl type_ushort
.bss
.align 8
.type type_ushort, @object
.size type_ushort, 8
type_ushort:
.zero 8
.globl type_uint
.align 8
.type type_uint, @object
.size type_uint, 8
type_uint:
.zero 8
.globl type_int
.align 8
.type type_int, @object
.size type_int, 8
type_int:
.zero 8
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_parse.c_char_type.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "internal error\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type char_type, %function
char_type:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
cmp r0, #130
beq .L2
bgt .L3
sub r0, r0, #128
cmp r0, #1
bhi .L4
ldr r3, .L10
ldr r0, [r3]
bx lr
.L3:
cmp r0, #131
bne .L4
ldr r3, .L10+4
ldr r0, [r3]
bx lr
.L2:
ldr r3, .L10+8
ldr r0, [r3]
bx lr
.L4:
ldr r0, .L10+12
b error
.L11:
.align 2
.L10:
.word type_int
.word type_ushort
.word type_uint
.word .LC0
.size char_type, .-char_type
.comm type_ushort,4,4
.comm type_uint,4,4
.comm type_int,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_parse.c_check_case_duplicates.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "duplicate case value: %d"
.section .rodata.str1.8,"aMS",@progbits,1
.align 8
.LC1:
.string "duplicate case value: %d ... %d"
.text
.p2align 4
.type check_case_duplicates, @function
check_case_duplicates:
.LFB0:
.cfi_startproc
endbr64
push r14
.cfi_def_cfa_offset 16
.cfi_offset 14, -16
push r13
.cfi_def_cfa_offset 24
.cfi_offset 13, -24
push r12
.cfi_def_cfa_offset 32
.cfi_offset 12, -32
mov r12, rdi
push rbp
.cfi_def_cfa_offset 40
.cfi_offset 6, -40
push rbx
.cfi_def_cfa_offset 48
.cfi_offset 3, -48
call vec_len@PLT
mov rdi, r12
lea ebp, -1[rax]
mov esi, ebp
call vec_get@PLT
test ebp, ebp
jle .L1
mov rbx, rax
xor r14d, r14d
lea r13, .LC1[rip]
.p2align 4,,10
.p2align 3
.L2:
mov esi, r14d
mov rdi, r12
call vec_get@PLT
mov rdx, QWORD PTR [rbx]
cmp rdx, QWORD PTR 8[rax]
jl .L3
mov rsi, QWORD PTR 8[rbx]
cmp QWORD PTR [rax], rsi
jl .L3
cmp rdx, rsi
je .L11
.L4:
mov rdi, r13
xor eax, eax
call error@PLT
.L3:
add r14d, 1
cmp ebp, r14d
jne .L2
.L1:
pop rbx
.cfi_remember_state
.cfi_def_cfa_offset 40
pop rbp
.cfi_def_cfa_offset 32
pop r12
.cfi_def_cfa_offset 24
pop r13
.cfi_def_cfa_offset 16
pop r14
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L11:
.cfi_restore_state
mov rsi, rdx
lea rdi, .LC0[rip]
xor eax, eax
call error@PLT
mov rdx, QWORD PTR [rbx]
mov rsi, QWORD PTR 8[rbx]
jmp .L4
.cfi_endproc
.LFE0:
.size check_case_duplicates, .-check_case_duplicates
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_parse.c_check_case_duplicates.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "duplicate case value: %d\000"
.align 2
.LC1:
.ascii "duplicate case value: %d ... %d\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type check_case_duplicates, %function
check_case_duplicates:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, r9, r10, lr}
mov r7, r0
bl vec_len
sub r6, r0, #1
mov r1, r6
mov r0, r7
bl vec_get
cmp r6, #0
pople {r4, r5, r6, r7, r8, r9, r10, pc}
mov r5, r0
mov r4, #0
ldr r8, .L10
ldr r9, .L10+4
b .L5
.L4:
mov r0, r8
bl error
.L3:
cmp r6, r4
popeq {r4, r5, r6, r7, r8, r9, r10, pc}
.L5:
mov r1, r4
mov r0, r7
bl vec_get
ldr r2, [r5]
ldr r3, [r0, #4]
add r4, r4, #1
cmp r2, r3
blt .L3
ldr r3, [r0]
ldr r1, [r5, #4]
cmp r3, r1
blt .L3
cmp r2, r1
bne .L4
mov r1, r2
mov r0, r9
bl error
ldr r1, [r5, #4]
ldr r2, [r5]
b .L4
.L11:
.align 2
.L10:
.word .LC1
.word .LC0
.size check_case_duplicates, .-check_case_duplicates
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_parse.c_comp_init.c"
.intel_syntax noprefix
.text
.p2align 4
.type comp_init, @function
comp_init:
.LFB0:
.cfi_startproc
endbr64
mov rdx, QWORD PTR [rdi]
mov rax, QWORD PTR [rsi]
mov eax, DWORD PTR [rax]
cmp DWORD PTR [rdx], eax
mov edx, -1
setg al
movzx eax, al
cmovl eax, edx
ret
.cfi_endproc
.LFE0:
.size comp_init, .-comp_init
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_parse.c_comp_init.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type comp_init, %function
comp_init:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
ldr r2, [r0]
ldr r3, [r1]
ldr r2, [r2]
ldr r3, [r3]
cmp r2, r3
blt .L3
movgt r0, #1
movle r0, #0
bx lr
.L3:
mvn r0, #0
bx lr
.size comp_init, .-comp_init
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_parse.c_compute_padding.c"
.intel_syntax noprefix
.text
.p2align 4
.type compute_padding, @function
compute_padding:
.LFB0:
.cfi_startproc
endbr64
mov eax, edi
cdq
idiv esi
sub esi, edx
mov eax, edx
test edx, edx
cmovne eax, esi
ret
.cfi_endproc
.LFE0:
.size compute_padding, .-compute_padding
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_parse.c_compute_padding.c"
.text
.global __aeabi_idivmod
.align 2
.syntax unified
.arm
.fpu softvfp
.type compute_padding, %function
compute_padding:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
mov r4, r1
bl __aeabi_idivmod
subs r0, r1, #0
subne r0, r4, r0
pop {r4, pc}
.size compute_padding, .-compute_padding
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_parse.c_concatenate_string.c"
.intel_syntax noprefix
.text
.section .rodata.str1.8,"aMS",@progbits,1
.align 8
.LC0:
.string "unsupported non-standard concatenation of string literals: %s"
.text
.p2align 4
.type concatenate_string, @function
concatenate_string:
.LFB0:
.cfi_startproc
endbr64
push r15
.cfi_def_cfa_offset 16
.cfi_offset 15, -16
xor eax, eax
lea r15, .LC0[rip]
push r14
.cfi_def_cfa_offset 24
.cfi_offset 14, -24
mov r14, rdi
push r13
.cfi_def_cfa_offset 32
.cfi_offset 13, -32
push r12
.cfi_def_cfa_offset 40
.cfi_offset 12, -40
push rbp
.cfi_def_cfa_offset 48
.cfi_offset 6, -48
push rbx
.cfi_def_cfa_offset 56
.cfi_offset 3, -56
sub rsp, 8
.cfi_def_cfa_offset 64
mov ebx, DWORD PTR [rdi]
call make_buffer@PLT
mov esi, DWORD PTR 16[r14]
mov r13, rax
mov rax, QWORD PTR 8[r14]
mov rdi, r13
lea rdx, -1[rax]
call buf_append@PLT
jmp .L2
.p2align 4,,10
.p2align 3
.L5:
xor eax, eax
call read_token@PLT
mov rdi, r13
mov rbp, rax
mov rax, QWORD PTR 8[rax]
mov esi, DWORD PTR 16[rbp]
lea rdx, -1[rax]
call buf_append@PLT
mov r12d, DWORD PTR 0[rbp]
mov eax, DWORD PTR ENC_NONE[rip]
cmp eax, r12d
setne cl
cmp ebx, r12d
setne dl
test cl, dl
je .L3
cmp eax, ebx
je .L3
mov rdi, rbp
call tok2s@PLT
mov rsi, r15
mov rdi, rbp
mov edx, eax
call errort@PLT
mov eax, DWORD PTR ENC_NONE[rip]
.L3:
cmp ebx, eax
cmove ebx, r12d
.L2:
xor eax, eax
call peek@PLT
mov rcx, QWORD PTR TSTRING[rip]
cmp QWORD PTR [rax], rcx
je .L5
xor esi, esi
mov rdi, r13
call buf_write@PLT
mov rdi, r13
call buf_body@PLT
mov rdi, r13
mov DWORD PTR 16[r14], eax
call buf_len@PLT
mov DWORD PTR [r14], ebx
mov QWORD PTR 8[r14], rax
add rsp, 8
.cfi_def_cfa_offset 56
pop rbx
.cfi_def_cfa_offset 48
pop rbp
.cfi_def_cfa_offset 40
pop r12
.cfi_def_cfa_offset 32
pop r13
.cfi_def_cfa_offset 24
pop r14
.cfi_def_cfa_offset 16
pop r15
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size concatenate_string, .-concatenate_string
.globl TSTRING
.bss
.align 8
.type TSTRING, @object
.size TSTRING, 8
TSTRING:
.zero 8
.globl ENC_NONE
.align 4
.type ENC_NONE, @object
.size ENC_NONE, 4
ENC_NONE:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_parse.c_concatenate_string.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "unsupported non-standard concatenation of string li"
.ascii "terals: %s\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type concatenate_string, %function
concatenate_string:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
mov r9, r0
ldr r5, [r0]
bl make_buffer
ldr r2, [r9, #4]
ldr r1, [r9, #8]
sub r2, r2, #1
mov r6, r0
ldr r8, .L12
bl buf_append
ldr r7, .L12+4
ldr r10, .L12+8
b .L2
.L3:
cmp r5, r3
moveq r5, fp
.L2:
bl peek
ldr r3, [r8]
ldr r2, [r0]
cmp r2, r3
bne .L11
bl read_token
mov r4, r0
ldr r2, [r0, #4]
ldr r1, [r0, #8]
sub r2, r2, #1
mov r0, r6
bl buf_append
ldr r3, [r7]
ldr fp, [r4]
cmp r3, fp
cmpne r5, fp
movne r2, #1
moveq r2, #0
cmp r3, r5
moveq r2, #0
andne r2, r2, #1
cmp r2, #0
beq .L3
mov r0, r4
bl tok2s
mov r1, r10
mov r2, r0
mov r0, r4
bl errort
ldr r3, [r7]
b .L3
.L11:
mov r1, #0
mov r0, r6
bl buf_write
mov r0, r6
bl buf_body
mov r3, r0
mov r0, r6
str r3, [r9, #8]
bl buf_len
str r5, [r9]
str r0, [r9, #4]
pop {r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L13:
.align 2
.L12:
.word TSTRING
.word ENC_NONE
.word .LC0
.size concatenate_string, .-concatenate_string
.comm TSTRING,4,4
.comm ENC_NONE,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_parse.c_conv.c"
.intel_syntax noprefix
.text
.section .text.unlikely,"ax",@progbits
.LCOLDB0:
.text
.LHOTB0:
.p2align 4
.type conv, @function
conv:
.LFB0:
.cfi_startproc
endbr64
test rdi, rdi
je .L8
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
mov r12, rdi
mov rdi, QWORD PTR [rdi]
mov eax, DWORD PTR [rdi]
add eax, -128
cmp eax, 5
ja .L9
lea rdx, .L4[rip]
movsx rax, DWORD PTR [rdx+rax*4]
add rax, rdx
notrack jmp rax
.section .rodata
.align 4
.align 4
.L4:
.long .L15-.L4
.long .L7-.L4
.long .L6-.L4
.long .L15-.L4
.long .L15-.L4
.long .L3-.L4
.text
.p2align 4,,10
.p2align 3
.L15:
mov edi, DWORD PTR type_int[rip]
mov rsi, r12
pop r12
.cfi_remember_state
.cfi_restore 12
.cfi_def_cfa_offset 8
jmp ast_conv@PLT
.p2align 4,,10
.p2align 3
.L3:
.cfi_restore_state
mov rdi, QWORD PTR 8[rdi]
call make_ptr_type@PLT
mov edi, DWORD PTR AST_CONV[rip]
mov rdx, r12
pop r12
.cfi_remember_state
.cfi_restore 12
.cfi_def_cfa_offset 8
mov esi, eax
jmp ast_uop@PLT
.p2align 4,,10
.p2align 3
.L7:
.cfi_restore_state
mov edx, DWORD PTR 4[rdi]
mov rax, r12
test edx, edx
jg .L15
.L1:
pop r12
.cfi_remember_state
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L6:
.cfi_restore_state
call make_ptr_type@PLT
mov edi, DWORD PTR AST_ADDR[rip]
mov rdx, r12
pop r12
.cfi_restore 12
.cfi_def_cfa_offset 8
mov esi, eax
jmp ast_uop@PLT
.p2align 4,,10
.p2align 3
.L8:
xor eax, eax
ret
.cfi_endproc
.section .text.unlikely
.cfi_startproc
.type conv.cold, @function
conv.cold:
.LFSB0:
.L9:
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
mov rax, r12
jmp .L1
.cfi_endproc
.LFE0:
.text
.size conv, .-conv
.section .text.unlikely
.size conv.cold, .-conv.cold
.LCOLDE0:
.text
.LHOTE0:
.globl type_int
.bss
.align 4
.type type_int, @object
.size type_int, 4
type_int:
.zero 4
.globl AST_CONV
.align 4
.type AST_CONV, @object
.size AST_CONV, 4
AST_CONV:
.zero 4
.globl AST_ADDR
.align 4
.type AST_ADDR, @object
.size AST_ADDR, 4
AST_ADDR:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_parse.c_conv.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type conv, %function
conv:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
subs r4, r0, #0
beq .L1
ldr r0, [r4]
ldr r3, [r0]
sub r3, r3, #128
cmp r3, #5
ldrls pc, [pc, r3, asl #2]
b .L1
.L4:
.word .L14
.word .L7
.word .L6
.word .L14
.word .L14
.word .L3
.L7:
ldr r3, [r0, #4]
cmp r3, #0
ble .L1
.L14:
ldr r3, .L16
mov r1, r4
pop {r4, r5, r6, lr}
ldr r0, [r3]
b ast_conv
.L1:
mov r0, r4
pop {r4, r5, r6, pc}
.L3:
ldr r3, .L16+4
ldr r0, [r0, #8]
.L13:
ldr r5, [r3]
bl make_ptr_type
mov r2, r4
mov r1, r0
mov r0, r5
pop {r4, r5, r6, lr}
b ast_uop
.L6:
ldr r3, .L16+8
b .L13
.L17:
.align 2
.L16:
.word type_int
.word AST_CONV
.word AST_ADDR
.size conv, .-conv
.comm type_int,4,4
.comm AST_CONV,4,4
.comm AST_ADDR,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_parse.c_copy_incomplete_type.c"
.intel_syntax noprefix
.text
.p2align 4
.type copy_incomplete_type, @function
copy_incomplete_type:
.LFB0:
.cfi_startproc
endbr64
mov rax, rdi
test rdi, rdi
je .L2
cmp DWORD PTR [rdi], -1
je .L7
.L2:
ret
.p2align 4,,10
.p2align 3
.L7:
jmp copy_type@PLT
.cfi_endproc
.LFE0:
.size copy_incomplete_type, .-copy_incomplete_type
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_parse.c_copy_incomplete_type.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type copy_incomplete_type, %function
copy_incomplete_type:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
subs r3, r0, #0
beq .L2
ldr r2, [r3]
cmn r2, #1
beq .L7
.L2:
mov r0, r3
bx lr
.L7:
b copy_type
.size copy_incomplete_type, .-copy_incomplete_type
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_parse.c_copy_type.c"
.intel_syntax noprefix
.text
.p2align 4
.type copy_type, @function
copy_type:
.LFB0:
.cfi_startproc
endbr64
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
push rbp
.cfi_def_cfa_offset 24
.cfi_offset 6, -24
mov rbp, rdi
mov edi, 4
sub rsp, 8
.cfi_def_cfa_offset 32
call malloc@PLT
mov rsi, rbp
mov edx, 4
mov rdi, rax
mov r12, rax
call memcpy@PLT
add rsp, 8
.cfi_def_cfa_offset 24
mov rax, r12
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size copy_type, .-copy_type
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_parse.c_copy_type.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type copy_type, %function
copy_type:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
mov r4, r0
mov r0, #4
bl malloc
mov r1, r4
mov r4, r0
mov r2, #4
bl memcpy
mov r0, r4
pop {r4, pc}
.size copy_type, .-copy_type
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_parse.c_define_builtin.c"
.intel_syntax noprefix
.text
.p2align 4
.type define_builtin, @function
define_builtin:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
xor ecx, ecx
mov rbp, rdi
mov rdi, rsi
mov rsi, rdx
mov edx, 1
call make_func_type@PLT
mov rsi, rbp
pop rbp
.cfi_def_cfa_offset 8
mov edi, eax
jmp ast_gvar@PLT
.cfi_endproc
.LFE0:
.size define_builtin, .-define_builtin
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_parse.c_define_builtin.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type define_builtin, %function
define_builtin:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
mov r4, r0
mov r3, #0
mov r0, r1
mov r1, r2
mov r2, #1
bl make_func_type
mov r1, r4
pop {r4, lr}
b ast_gvar
.size define_builtin, .-define_builtin
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_parse.c_do_read_conditional_expr.c"
.intel_syntax noprefix
.text
.p2align 4
.type do_read_conditional_expr, @function
do_read_conditional_expr:
.LFB0:
.cfi_startproc
endbr64
push r15
.cfi_def_cfa_offset 16
.cfi_offset 15, -16
xor eax, eax
push r14
.cfi_def_cfa_offset 24
.cfi_offset 14, -24
push r13
.cfi_def_cfa_offset 32
.cfi_offset 13, -32
push r12
.cfi_def_cfa_offset 40
.cfi_offset 12, -40
push rbp
.cfi_def_cfa_offset 48
.cfi_offset 6, -48
mov rbp, rdi
call read_comma_expr@PLT
mov edi, eax
call conv@PLT
mov edi, 58
mov r12, rax
call expect@PLT
xor eax, eax
call read_conditional_expr@PLT
mov edi, eax
call conv@PLT
test r12, r12
mov r13, rax
mov rax, rbp
cmovne rax, r12
mov r14, QWORD PTR 0[r13]
mov r15, QWORD PTR [rax]
mov rdi, r15
call is_arithtype@PLT
test rax, rax
je .L4
mov rdi, r14
call is_arithtype@PLT
test rax, rax
jne .L17
.L4:
mov rcx, r13
mov rdx, r12
mov rsi, rbp
mov rdi, r14
pop rbp
.cfi_remember_state
.cfi_def_cfa_offset 40
pop r12
.cfi_def_cfa_offset 32
pop r13
.cfi_def_cfa_offset 24
pop r14
.cfi_def_cfa_offset 16
pop r15
.cfi_def_cfa_offset 8
jmp ast_ternary@PLT
.p2align 4,,10
.p2align 3
.L17:
.cfi_restore_state
mov rsi, r14
mov rdi, r15
call usual_arith_conv@PLT
mov rsi, r13
mov rdi, rax
mov r14, rax
call wrap@PLT
mov r13, rax
test r12, r12
je .L4
mov rsi, r12
mov rdi, r14
call wrap@PLT
mov r12, rax
jmp .L4
.cfi_endproc
.LFE0:
.size do_read_conditional_expr, .-do_read_conditional_expr
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_parse.c_do_read_conditional_expr.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type do_read_conditional_expr, %function
do_read_conditional_expr:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, lr}
mov r8, r0
bl read_comma_expr
bl conv
mov r4, r0
mov r0, #58
bl expect
bl read_conditional_expr
bl conv
mov r5, r0
cmp r4, #0
ldrne r7, [r4]
ldreq r7, [r8]
ldr r6, [r5]
mov r0, r7
bl is_arithtype
cmp r0, #0
beq .L4
mov r0, r6
bl is_arithtype
cmp r0, #0
bne .L18
.L4:
mov r3, r5
.L16:
mov r2, r4
mov r1, r8
mov r0, r6
pop {r4, r5, r6, r7, r8, lr}
b ast_ternary
.L18:
mov r1, r6
mov r0, r7
bl usual_arith_conv
cmp r4, #0
mov r6, r0
beq .L5
mov r1, r4
bl wrap
mov r4, r0
.L5:
mov r1, r5
mov r0, r6
bl wrap
mov r3, r0
b .L16
.size do_read_conditional_expr, .-do_read_conditional_expr
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_parse.c_ensure_arithtype.c"
.intel_syntax noprefix
.text
.section .rodata.str1.8,"aMS",@progbits,1
.align 8
.LC0:
.string "arithmetic type expected, but got %s"
.text
.p2align 4
.type ensure_arithtype, @function
ensure_arithtype:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rdi
mov edi, DWORD PTR [rdi]
call is_arithtype@PLT
test eax, eax
je .L5
pop rbp
.cfi_remember_state
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L5:
.cfi_restore_state
mov rdi, rbp
call node2s@PLT
lea rdi, .LC0[rip]
pop rbp
.cfi_def_cfa_offset 8
mov esi, eax
jmp error@PLT
.cfi_endproc
.LFE0:
.size ensure_arithtype, .-ensure_arithtype
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_parse.c_ensure_arithtype.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "arithmetic type expected, but got %s\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type ensure_arithtype, %function
ensure_arithtype:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
mov r4, r0
ldr r0, [r0]
bl is_arithtype
cmp r0, #0
popne {r4, pc}
mov r0, r4
bl node2s
pop {r4, lr}
mov r1, r0
ldr r0, .L5
b error
.L6:
.align 2
.L5:
.word .LC0
.size ensure_arithtype, .-ensure_arithtype
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_parse.c_ensure_assignable.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "incompatible kind: <%s> <%s>"
.text
.p2align 4
.type ensure_assignable, @function
ensure_assignable:
.LFB0:
.cfi_startproc
endbr64
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
mov r12, rsi
push rbp
.cfi_def_cfa_offset 24
.cfi_offset 6, -24
mov rbp, rdi
sub rsp, 8
.cfi_def_cfa_offset 32
call is_arithtype@PLT
test rax, rax
jne .L2
mov rax, QWORD PTR KIND_PTR[rip]
cmp QWORD PTR 0[rbp], rax
je .L2
mov rsi, r12
mov rdi, rbp
call is_same_struct@PLT
test rax, rax
je .L12
.L1:
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 24
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L2:
.cfi_restore_state
mov rdi, r12
call is_arithtype@PLT
test rax, rax
jne .L1
mov rax, QWORD PTR KIND_PTR[rip]
cmp QWORD PTR [r12], rax
je .L1
mov rsi, r12
mov rdi, rbp
call is_same_struct@PLT
test rax, rax
jne .L1
.L12:
mov rdi, r12
call ty2s@PLT
mov rdi, rbp
mov r12, rax
call ty2s@PLT
add rsp, 8
.cfi_def_cfa_offset 24
mov rdx, r12
lea rdi, .LC0[rip]
pop rbp
.cfi_def_cfa_offset 16
mov rsi, rax
pop r12
.cfi_def_cfa_offset 8
jmp error@PLT
.cfi_endproc
.LFE0:
.size ensure_assignable, .-ensure_assignable
.globl KIND_PTR
.bss
.align 8
.type KIND_PTR, @object
.size KIND_PTR, 8
KIND_PTR:
.zero 8
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_parse.c_ensure_assignable.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "incompatible kind: <%s> <%s>\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type ensure_assignable, %function
ensure_assignable:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
mov r4, r1
mov r5, r0
bl is_arithtype
cmp r0, #0
bne .L2
ldr r3, .L12
ldr r2, [r5]
ldr r3, [r3]
cmp r2, r3
beq .L2
.L7:
mov r1, r4
mov r0, r5
bl is_same_struct
cmp r0, #0
popne {r4, r5, r6, pc}
mov r0, r5
bl ty2s
mov r1, r0
mov r0, r4
mov r4, r1
bl ty2s
mov r1, r4
pop {r4, r5, r6, lr}
mov r2, r0
ldr r0, .L12+4
b error
.L2:
mov r0, r4
bl is_arithtype
cmp r0, #0
popne {r4, r5, r6, pc}
ldr r3, .L12
ldr r2, [r4]
ldr r3, [r3]
cmp r2, r3
bne .L7
pop {r4, r5, r6, pc}
.L13:
.align 2
.L12:
.word KIND_PTR
.word .LC0
.size ensure_assignable, .-ensure_assignable
.comm KIND_PTR,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_parse.c_ensure_inttype.c"
.intel_syntax noprefix
.text
.section .rodata.str1.8,"aMS",@progbits,1
.align 8
.LC0:
.string "integer type expected, but got %s"
.text
.p2align 4
.type ensure_inttype, @function
ensure_inttype:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rdi
mov edi, DWORD PTR [rdi]
call is_inttype@PLT
test eax, eax
je .L5
pop rbp
.cfi_remember_state
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L5:
.cfi_restore_state
mov rdi, rbp
call node2s@PLT
lea rdi, .LC0[rip]
pop rbp
.cfi_def_cfa_offset 8
mov esi, eax
jmp error@PLT
.cfi_endproc
.LFE0:
.size ensure_inttype, .-ensure_inttype
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_parse.c_ensure_inttype.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "integer type expected, but got %s\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type ensure_inttype, %function
ensure_inttype:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
mov r4, r0
ldr r0, [r0]
bl is_inttype
cmp r0, #0
popne {r4, pc}
mov r0, r4
bl node2s
pop {r4, lr}
mov r1, r0
ldr r0, .L5
b error
.L6:
.align 2
.L5:
.word .LC0
.size ensure_inttype, .-ensure_inttype
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_parse.c_ensure_lvalue.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "lvalue expected, but got %s"
.text
.p2align 4
.type ensure_lvalue, @function
ensure_lvalue:
.LFB0:
.cfi_startproc
endbr64
mov eax, DWORD PTR [rdi]
add eax, -128
cmp eax, 3
ja .L7
ret
.p2align 4,,10
.p2align 3
.L7:
sub rsp, 8
.cfi_def_cfa_offset 16
call node2s@PLT
lea rdi, .LC0[rip]
add rsp, 8
.cfi_def_cfa_offset 8
mov esi, eax
jmp error@PLT
.cfi_endproc
.LFE0:
.size ensure_lvalue, .-ensure_lvalue
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_parse.c_ensure_lvalue.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "lvalue expected, but got %s\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type ensure_lvalue, %function
ensure_lvalue:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
ldr r3, [r0]
sub r3, r3, #128
cmp r3, #3
bxls lr
push {r4, lr}
bl node2s
pop {r4, lr}
mov r1, r0
ldr r0, .L7
b error
.L8:
.align 2
.L7:
.word .LC0
.size ensure_lvalue, .-ensure_lvalue
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_parse.c_ensure_not_void.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "void is not allowed"
.text
.p2align 4
.type ensure_not_void, @function
ensure_not_void:
.LFB0:
.cfi_startproc
endbr64
mov rax, QWORD PTR KIND_VOID[rip]
cmp QWORD PTR [rdi], rax
je .L4
ret
.p2align 4,,10
.p2align 3
.L4:
lea rdi, .LC0[rip]
jmp error@PLT
.cfi_endproc
.LFE0:
.size ensure_not_void, .-ensure_not_void
.globl KIND_VOID
.bss
.align 8
.type KIND_VOID, @object
.size KIND_VOID, 8
KIND_VOID:
.zero 8
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_parse.c_ensure_not_void.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "void is not allowed\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type ensure_not_void, %function
ensure_not_void:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
ldr r3, .L4
ldr r2, [r0]
ldr r3, [r3]
cmp r2, r3
bxne lr
ldr r0, .L4+4
b error
.L5:
.align 2
.L4:
.word KIND_VOID
.word .LC0
.size ensure_not_void, .-ensure_not_void
.comm KIND_VOID,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_parse.c_env.c"
.intel_syntax noprefix
.text
.p2align 4
.type env, @function
env:
.LFB0:
.cfi_startproc
endbr64
mov rax, QWORD PTR localenv[rip]
test rax, rax
cmove rax, QWORD PTR globalenv[rip]
ret
.cfi_endproc
.LFE0:
.size env, .-env
.globl localenv
.bss
.align 8
.type localenv, @object
.size localenv, 8
localenv:
.zero 8
.globl globalenv
.align 8
.type globalenv, @object
.size globalenv, 8
globalenv:
.zero 8
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_parse.c_env.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type env, %function
env:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
ldr r3, .L4
ldr r0, [r3]
cmp r0, #0
ldreq r3, .L4+4
ldreq r0, [r3]
bx lr
.L5:
.align 2
.L4:
.word localenv
.word globalenv
.size env, .-env
.comm localenv,4,4
.comm globalenv,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_parse.c_eval_struct_ref.c"
.intel_syntax noprefix
.text
.p2align 4
.type eval_struct_ref, @function
eval_struct_ref:
.LFB0:
.cfi_startproc
endbr64
push rbx
.cfi_def_cfa_offset 16
.cfi_offset 3, -16
mov rdx, QWORD PTR AST_STRUCT_REF[rip]
mov ebx, esi
cmp QWORD PTR [rdi], rdx
jne .L2
.p2align 4,,10
.p2align 3
.L3:
mov rax, QWORD PTR 8[rdi]
mov rdi, QWORD PTR 16[rdi]
add ebx, DWORD PTR [rax]
cmp QWORD PTR [rdi], rdx
je .L3
.L2:
xor esi, esi
call eval_intexpr@PLT
add eax, ebx
pop rbx
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size eval_struct_ref, .-eval_struct_ref
.globl AST_STRUCT_REF
.bss
.align 8
.type AST_STRUCT_REF, @object
.size AST_STRUCT_REF, 8
AST_STRUCT_REF:
.zero 8
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_parse.c_eval_struct_ref.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type eval_struct_ref, %function
eval_struct_ref:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
ldr r2, .L7
ldr r3, [r0]
ldr ip, [r2]
push {r4, lr}
cmp r3, ip
mov r4, r1
bne .L2
.L3:
mov r3, r0
ldr r0, [r0, #8]
ldr r3, [r3, #4]
ldr r2, [r0]
ldr r3, [r3]
cmp r2, ip
add r4, r4, r3
beq .L3
.L2:
mov r1, #0
bl eval_intexpr
add r0, r0, r4
pop {r4, pc}
.L8:
.align 2
.L7:
.word AST_STRUCT_REF
.size eval_struct_ref, .-eval_struct_ref
.comm AST_STRUCT_REF,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_parse.c_expect.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "'%c' expected, but got %s"
.text
.p2align 4
.type expect, @function
expect:
.LFB0:
.cfi_startproc
endbr64
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
xor eax, eax
mov r12d, edi
push rbp
.cfi_def_cfa_offset 24
.cfi_offset 6, -24
movsx r12d, r12b
sub rsp, 8
.cfi_def_cfa_offset 32
call get@PLT
mov esi, r12d
mov rdi, rax
mov rbp, rax
call is_keyword@PLT
test eax, eax
je .L5
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 24
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L5:
.cfi_restore_state
mov rdi, rbp
call tok2s@PLT
add rsp, 8
.cfi_def_cfa_offset 24
mov edx, r12d
mov rdi, rbp
mov ecx, eax
pop rbp
.cfi_def_cfa_offset 16
lea rsi, .LC0[rip]
pop r12
.cfi_def_cfa_offset 8
jmp errort@PLT
.cfi_endproc
.LFE0:
.size expect, .-expect
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_parse.c_expect.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "'%c' expected, but got %s\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type expect, %function
expect:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
mov r4, r0
bl get
mov r1, r4
mov r5, r0
bl is_keyword
cmp r0, #0
popne {r4, r5, r6, pc}
mov r0, r5
bl tok2s
mov r2, r4
mov r3, r0
ldr r1, .L5
mov r0, r5
pop {r4, r5, r6, lr}
b errort
.L6:
.align 2
.L5:
.word .LC0
.size expect, .-expect
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_parse.c_finish_bitfield.c"
.intel_syntax noprefix
.text
.p2align 4
.type finish_bitfield, @function
finish_bitfield:
.LFB0:
.cfi_startproc
endbr64
mov eax, DWORD PTR [rsi]
lea edx, 14[rax]
add eax, 7
cmovs eax, edx
sar eax, 3
add DWORD PTR [rdi], eax
mov DWORD PTR [rsi], 0
ret
.cfi_endproc
.LFE0:
.size finish_bitfield, .-finish_bitfield
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_parse.c_finish_bitfield.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type finish_bitfield, %function
finish_bitfield:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
ldr r2, [r1]
mov ip, #0
adds r3, r2, #7
addmi r2, r2, #14
movpl r2, r3
ldr r3, [r0]
add r3, r3, r2, asr #3
str r3, [r0]
str ip, [r1]
bx lr
.size finish_bitfield, .-finish_bitfield
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_parse.c_fix_rectype_flexible_member.c"
.intel_syntax noprefix
.text
.section .rodata.str1.8,"aMS",@progbits,1
.align 8
.LC0:
.string "flexible member may only appear as the last member: %s %s"
.align 8
.LC1:
.string "flexible member with no other fields: %s %s"
.text
.p2align 4
.type fix_rectype_flexible_member, @function
fix_rectype_flexible_member:
.LFB0:
.cfi_startproc
endbr64
push r14
.cfi_def_cfa_offset 16
.cfi_offset 14, -16
push r13
.cfi_def_cfa_offset 24
.cfi_offset 13, -24
lea r13, .LC1[rip]
push r12
.cfi_def_cfa_offset 32
.cfi_offset 12, -32
mov r12, rdi
push rbp
.cfi_def_cfa_offset 40
.cfi_offset 6, -40
push rbx
.cfi_def_cfa_offset 48
.cfi_offset 3, -48
xor ebx, ebx
jmp .L2
.p2align 4,,10
.p2align 3
.L6:
mov esi, ebx
mov rdi, r12
call vec_get@PLT
mov rcx, QWORD PTR KIND_ARRAY[rip]
mov rbp, QWORD PTR 8[rax]
cmp QWORD PTR 0[rbp], rcx
jne .L3
cmp DWORD PTR 8[rbp], -1
je .L9
.L3:
add ebx, 1
.L2:
mov rdi, r12
call vec_len@PLT
cmp eax, ebx
jg .L6
pop rbx
.cfi_remember_state
.cfi_def_cfa_offset 40
pop rbp
.cfi_def_cfa_offset 32
pop r12
.cfi_def_cfa_offset 24
pop r13
.cfi_def_cfa_offset 16
pop r14
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L9:
.cfi_restore_state
mov rdi, r12
mov r14, QWORD PTR [rax]
call vec_len@PLT
sub eax, 1
cmp eax, ebx
jne .L10
mov rdi, r12
call vec_len@PLT
cmp eax, 1
je .L11
.L5:
mov DWORD PTR 8[rbp], 0
mov QWORD PTR 16[rbp], 0
jmp .L3
.p2align 4,,10
.p2align 3
.L10:
mov rdi, rbp
call ty2s@PLT
lea rdi, .LC0[rip]
mov rdx, r14
mov esi, eax
call error@PLT
mov rdi, r12
call vec_len@PLT
cmp eax, 1
jne .L5
.L11:
mov rdi, rbp
call ty2s@PLT
mov rdx, r14
mov rdi, r13
mov esi, eax
call error@PLT
jmp .L5
.cfi_endproc
.LFE0:
.size fix_rectype_flexible_member, .-fix_rectype_flexible_member
.globl KIND_ARRAY
.bss
.align 8
.type KIND_ARRAY, @object
.size KIND_ARRAY, 8
KIND_ARRAY:
.zero 8
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_parse.c_fix_rectype_flexible_member.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "flexible member may only appear as the last member:"
.ascii " %s %s\000"
.align 2
.LC1:
.ascii "flexible member with no other fields: %s %s\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type fix_rectype_flexible_member, %function
fix_rectype_flexible_member:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, r9, r10, lr}
mov r4, #0
mov r6, r0
ldr r7, .L12
ldr r9, .L12+4
ldr r8, .L12+8
b .L2
.L3:
add r4, r4, #1
.L2:
mov r0, r6
bl vec_len
cmp r0, r4
pople {r4, r5, r6, r7, r8, r9, r10, pc}
mov r1, r4
mov r0, r6
bl vec_get
ldr r5, [r0, #4]
ldr r2, [r7]
ldr r1, [r5]
mov r3, r0
cmp r1, r2
bne .L3
ldr r2, [r5, #4]
cmn r2, #1
bne .L3
mov r0, r6
ldr r10, [r3]
bl vec_len
sub r0, r0, #1
cmp r0, r4
bne .L10
mov r0, r6
bl vec_len
cmp r0, #1
beq .L11
.L5:
mov r3, #0
str r3, [r5, #4]
str r3, [r5, #8]
b .L3
.L10:
mov r0, r5
bl ty2s
mov r2, r10
mov r1, r0
mov r0, r8
bl error
mov r0, r6
bl vec_len
cmp r0, #1
bne .L5
.L11:
mov r0, r5
bl ty2s
mov r2, r10
mov r1, r0
mov r0, r9
bl error
b .L5
.L13:
.align 2
.L12:
.word KIND_ARRAY
.word .LC1
.word .LC0
.size fix_rectype_flexible_member, .-fix_rectype_flexible_member
.comm KIND_ARRAY,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_parse.c_get.c"
.intel_syntax noprefix
.text
.section .rodata.str1.8,"aMS",@progbits,1
.align 8
.LC0:
.string "stray character in program: '%c'"
.text
.p2align 4
.type get, @function
get:
.LFB0:
.cfi_startproc
endbr64
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
xor eax, eax
call read_token@PLT
mov r12, rax
mov rax, QWORD PTR [rax]
cmp rax, QWORD PTR TINVALID[rip]
je .L8
cmp QWORD PTR TSTRING[rip], rax
je .L9
.L1:
mov rax, r12
pop r12
.cfi_remember_state
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L8:
.cfi_restore_state
mov edx, DWORD PTR 8[r12]
lea rsi, .LC0[rip]
mov rdi, r12
call errort@PLT
mov rax, QWORD PTR [r12]
cmp QWORD PTR TSTRING[rip], rax
jne .L1
.L9:
xor eax, eax
call peek@PLT
mov rcx, QWORD PTR TSTRING[rip]
cmp QWORD PTR [rax], rcx
jne .L1
mov rdi, r12
call concatenate_string@PLT
jmp .L1
.cfi_endproc
.LFE0:
.size get, .-get
.globl TSTRING
.bss
.align 8
.type TSTRING, @object
.size TSTRING, 8
TSTRING:
.zero 8
.globl TINVALID
.align 8
.type TINVALID, @object
.size TINVALID, 8
TINVALID:
.zero 8
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_parse.c_get.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "stray character in program: '%c'\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type get, %function
get:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
bl read_token
ldr r2, .L10
ldr r3, [r0]
ldr r2, [r2]
mov r4, r0
cmp r3, r2
beq .L8
ldr r5, .L10+4
ldr r2, [r5]
cmp r2, r3
beq .L9
.L1:
mov r0, r4
pop {r4, r5, r6, pc}
.L8:
ldr r5, .L10+4
ldr r2, [r0, #4]
ldr r1, .L10+8
bl errort
ldr r3, [r4]
ldr r2, [r5]
cmp r2, r3
bne .L1
.L9:
bl peek
ldr r3, [r5]
ldr r2, [r0]
cmp r2, r3
bne .L1
mov r0, r4
bl concatenate_string
b .L1
.L11:
.align 2
.L10:
.word TINVALID
.word TSTRING
.word .LC0
.size get, .-get
.comm TSTRING,4,4
.comm TINVALID,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_parse.c_get_compound_assign_op.c"
.intel_syntax noprefix
.text
.p2align 4
.type get_compound_assign_op, @function
get_compound_assign_op:
.LFB0:
.cfi_startproc
endbr64
mov rax, QWORD PTR TKEYWORD[rip]
xor r8d, r8d
cmp QWORD PTR [rdi], rax
jne .L1
mov eax, DWORD PTR 8[rdi]
add eax, -128
cmp eax, 10
ja .L1
lea rdx, .L4[rip]
movsx rax, DWORD PTR [rdx+rax*4]
add rax, rdx
notrack jmp rax
.section .rodata
.align 4
.align 4
.L4:
.long .L14-.L4
.long .L13-.L4
.long .L12-.L4
.long .L11-.L4
.long .L10-.L4
.long .L9-.L4
.long .L8-.L4
.long .L7-.L4
.long .L6-.L4
.long .L5-.L4
.long .L16-.L4
.text
.p2align 4,,10
.p2align 3
.L16:
mov r8d, 43
.L1:
mov eax, r8d
ret
.p2align 4,,10
.p2align 3
.L13:
mov r8d, 45
jmp .L1
.p2align 4,,10
.p2align 3
.L14:
mov r8d, 94
jmp .L1
.p2align 4,,10
.p2align 3
.L12:
mov r8d, DWORD PTR OP_SHR[rip]
jmp .L1
.p2align 4,,10
.p2align 3
.L11:
mov r8d, DWORD PTR OP_SAR[rip]
jmp .L1
.p2align 4,,10
.p2align 3
.L6:
mov r8d, 47
jmp .L1
.p2align 4,,10
.p2align 3
.L5:
mov r8d, 38
jmp .L1
.p2align 4,,10
.p2align 3
.L10:
mov r8d, DWORD PTR OP_SAL[rip]
jmp .L1
.p2align 4,,10
.p2align 3
.L9:
mov r8d, 124
jmp .L1
.p2align 4,,10
.p2align 3
.L8:
mov r8d, 42
jmp .L1
.p2align 4,,10
.p2align 3
.L7:
mov r8d, 37
jmp .L1
.cfi_endproc
.LFE0:
.size get_compound_assign_op, .-get_compound_assign_op
.globl TKEYWORD
.bss
.align 8
.type TKEYWORD, @object
.size TKEYWORD, 8
TKEYWORD:
.zero 8
.globl OP_SHR
.align 4
.type OP_SHR, @object
.size OP_SHR, 4
OP_SHR:
.zero 4
.globl OP_SAR
.align 4
.type OP_SAR, @object
.size OP_SAR, 4
OP_SAR:
.zero 4
.globl OP_SAL
.align 4
.type OP_SAL, @object
.size OP_SAL, 4
OP_SAL:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_parse.c_get_compound_assign_op.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type get_compound_assign_op, %function
get_compound_assign_op:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
ldr r3, .L18
ldr r2, [r0]
ldr r3, [r3]
cmp r2, r3
bne .L15
ldr r3, [r0, #4]
sub r3, r3, #128
cmp r3, #10
ldrls pc, [pc, r3, asl #2]
b .L15
.L4:
.word .L14
.word .L13
.word .L12
.word .L11
.word .L10
.word .L9
.word .L8
.word .L7
.word .L6
.word .L5
.word .L16
.L15:
mov r0, #0
bx lr
.L16:
mov r0, #43
bx lr
.L13:
mov r0, #45
bx lr
.L14:
mov r0, #94
bx lr
.L11:
ldr r3, .L18+4
ldr r0, [r3]
bx lr
.L12:
ldr r3, .L18+8
ldr r0, [r3]
bx lr
.L9:
mov r0, #124
bx lr
.L10:
ldr r3, .L18+12
ldr r0, [r3]
bx lr
.L7:
mov r0, #37
bx lr
.L8:
mov r0, #42
bx lr
.L5:
mov r0, #38
bx lr
.L6:
mov r0, #47
bx lr
.L19:
.align 2
.L18:
.word TKEYWORD
.word OP_SAR
.word OP_SHR
.word OP_SAL
.size get_compound_assign_op, .-get_compound_assign_op
.comm TKEYWORD,4,4
.comm OP_SHR,4,4
.comm OP_SAR,4,4
.comm OP_SAL,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_parse.c_get_typedef.c"
.intel_syntax noprefix
.text
.p2align 4
.type get_typedef, @function
get_typedef:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
xor eax, eax
mov rbp, rdi
call env@PLT
mov rsi, rbp
mov edi, eax
call map_get@PLT
test rax, rax
je .L1
mov rdx, QWORD PTR AST_TYPEDEF[rip]
cmp QWORD PTR [rax], rdx
jne .L3
mov rax, QWORD PTR 8[rax]
.L1:
pop rbp
.cfi_remember_state
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L3:
.cfi_restore_state
xor eax, eax
pop rbp
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size get_typedef, .-get_typedef
.globl AST_TYPEDEF
.bss
.align 8
.type AST_TYPEDEF, @object
.size AST_TYPEDEF, 8
AST_TYPEDEF:
.zero 8
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_parse.c_get_typedef.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type get_typedef, %function
get_typedef:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
mov r4, r0
bl env
mov r1, r4
bl map_get
cmp r0, #0
popeq {r4, pc}
ldr r3, .L9
ldr r2, [r0]
ldr r3, [r3]
cmp r2, r3
ldreq r0, [r0, #4]
movne r0, #0
pop {r4, pc}
.L10:
.align 2
.L9:
.word AST_TYPEDEF
.size get_typedef, .-get_typedef
.comm AST_TYPEDEF,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_parse.c_is_arithtype.c"
.intel_syntax noprefix
.text
.p2align 4
.type is_arithtype, @function
is_arithtype:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rdi
call is_inttype@PLT
mov r8, rax
mov eax, 1
test r8, r8
je .L7
pop rbp
.cfi_remember_state
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L7:
.cfi_restore_state
mov rdi, rbp
call is_flotype@PLT
pop rbp
.cfi_def_cfa_offset 8
test rax, rax
setne al
movzx eax, al
ret
.cfi_endproc
.LFE0:
.size is_arithtype, .-is_arithtype
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_parse.c_is_arithtype.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type is_arithtype, %function
is_arithtype:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
mov r4, r0
bl is_inttype
cmp r0, #0
beq .L6
mov r0, #1
pop {r4, pc}
.L6:
mov r0, r4
bl is_flotype
subs r0, r0, #0
movne r0, #1
pop {r4, pc}
.size is_arithtype, .-is_arithtype
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_parse.c_is_funcdef.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "premature end of input"
.text
.p2align 4
.type is_funcdef, @function
is_funcdef:
.LFB0:
.cfi_startproc
endbr64
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
xor eax, eax
lea r12, .LC0[rip]
push rbp
.cfi_def_cfa_offset 24
.cfi_offset 6, -24
push rbx
.cfi_def_cfa_offset 32
.cfi_offset 3, -32
call make_vector@PLT
mov rbp, rax
.p2align 4,,10
.p2align 3
.L5:
xor eax, eax
call get@PLT
mov rdi, rbp
mov rbx, rax
mov rsi, rax
call vec_push@PLT
mov rax, QWORD PTR TEOF[rip]
cmp QWORD PTR [rbx], rax
je .L19
.L3:
mov esi, 59
mov rdi, rbx
call is_keyword@PLT
test rax, rax
jne .L11
mov rdi, rbx
call is_type@PLT
test rax, rax
jne .L5
mov esi, 40
mov rdi, rbx
call is_keyword@PLT
test rax, rax
jne .L20
mov rax, QWORD PTR TIDENT[rip]
cmp QWORD PTR [rbx], rax
jne .L5
xor eax, eax
call peek@PLT
mov esi, 40
mov rdi, rax
call is_keyword@PLT
test rax, rax
je .L5
xor eax, eax
mov r12d, 1
call get@PLT
mov rdi, rbp
mov rsi, rax
call vec_push@PLT
mov rdi, rbp
call skip_parentheses@PLT
xor eax, eax
call peek@PLT
mov esi, 123
mov rdi, rax
call is_keyword@PLT
test rax, rax
jne .L9
call peek@PLT
xor r12d, r12d
mov rdi, rax
call is_type@PLT
mov rdi, rbp
test rax, rax
setne r12b
call vec_len@PLT
test rax, rax
jle .L21
.p2align 4,,10
.p2align 3
.L10:
mov rdi, rbp
call vec_pop@PLT
mov edi, eax
call unget_token@PLT
.L9:
mov rdi, rbp
call vec_len@PLT
test rax, rax
jg .L10
.L21:
mov eax, r12d
pop rbx
.cfi_remember_state
.cfi_def_cfa_offset 24
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L19:
.cfi_restore_state
mov rdi, r12
call error@PLT
jmp .L3
.p2align 4,,10
.p2align 3
.L20:
mov rdi, rbp
call skip_parentheses@PLT
jmp .L5
.p2align 4,,10
.p2align 3
.L11:
xor r12d, r12d
jmp .L9
.cfi_endproc
.LFE0:
.size is_funcdef, .-is_funcdef
.globl TIDENT
.bss
.align 8
.type TIDENT, @object
.size TIDENT, 8
TIDENT:
.zero 8
.globl TEOF
.align 8
.type TEOF, @object
.size TEOF, 8
TEOF:
.zero 8
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_parse.c_is_funcdef.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "premature end of input\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type is_funcdef, %function
is_funcdef:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, lr}
bl make_vector
mov r5, r0
ldr r6, .L22
ldr r8, .L22+4
ldr r7, .L22+8
.L5:
bl get
mov r4, r0
mov r0, r5
mov r1, r4
bl vec_push
ldr r2, [r4]
ldr r3, [r6]
cmp r2, r3
beq .L19
.L3:
mov r1, #59
mov r0, r4
bl is_keyword
cmp r0, #0
bne .L11
mov r0, r4
bl is_type
cmp r0, #0
bne .L5
mov r1, #40
mov r0, r4
bl is_keyword
cmp r0, #0
bne .L20
ldr r2, [r4]
ldr r3, [r7]
cmp r2, r3
bne .L5
bl peek
mov r1, #40
bl is_keyword
cmp r0, #0
beq .L5
bl get
mov r1, r0
mov r0, r5
bl vec_push
mov r0, r5
bl skip_parentheses
bl peek
mov r1, #123
bl is_keyword
cmp r0, #0
movne r4, #1
bne .L9
bl peek
bl is_type
subs r4, r0, #0
mov r0, r5
movne r4, #1
bl vec_len
cmp r0, #0
ble .L21
.L10:
mov r0, r5
bl vec_pop
bl unget_token
.L9:
mov r0, r5
bl vec_len
cmp r0, #0
bgt .L10
.L21:
mov r0, r4
pop {r4, r5, r6, r7, r8, pc}
.L19:
mov r0, r8
bl error
b .L3
.L20:
mov r0, r5
bl skip_parentheses
b .L5
.L11:
mov r4, #0
b .L9
.L23:
.align 2
.L22:
.word TEOF
.word .LC0
.word TIDENT
.size is_funcdef, .-is_funcdef
.comm TIDENT,4,4
.comm TEOF,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_parse.c_is_poweroftwo.c"
.intel_syntax noprefix
.text
.p2align 4
.type is_poweroftwo, @function
is_poweroftwo:
.LFB0:
.cfi_startproc
endbr64
xor eax, eax
test edi, edi
jle .L1
lea eax, -1[rdi]
test eax, edi
sete al
movzx eax, al
.L1:
ret
.cfi_endproc
.LFE0:
.size is_poweroftwo, .-is_poweroftwo
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_parse.c_is_poweroftwo.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type is_poweroftwo, %function
is_poweroftwo:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
cmp r0, #0
ble .L3
sub r3, r0, #1
tst r3, r0
moveq r0, #1
movne r0, #0
bx lr
.L3:
mov r0, #0
bx lr
.size is_poweroftwo, .-is_poweroftwo
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_parse.c_is_same_struct.c"
.intel_syntax noprefix
.text
.p2align 4
.type is_same_struct, @function
is_same_struct:
.LFB0:
.cfi_startproc
endbr64
.L20:
mov eax, DWORD PTR [rdi]
cmp eax, DWORD PTR [rsi]
jne .L22
cmp eax, 129
je .L4
push r13
.cfi_def_cfa_offset 16
.cfi_offset 13, -16
push r12
.cfi_def_cfa_offset 24
.cfi_offset 12, -24
push rbp
.cfi_def_cfa_offset 32
.cfi_offset 6, -32
push rbx
.cfi_def_cfa_offset 40
.cfi_offset 3, -40
sub rsp, 24
.cfi_def_cfa_offset 64
cmp eax, 130
je .L5
cmp eax, 128
je .L6
.L18:
mov eax, 1
.L1:
add rsp, 24
.cfi_def_cfa_offset 40
pop rbx
.cfi_def_cfa_offset 32
pop rbp
.cfi_def_cfa_offset 24
pop r12
.cfi_def_cfa_offset 16
pop r13
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L4:
.cfi_restore 3
.cfi_restore 6
.cfi_restore 12
.cfi_restore 13
mov rsi, QWORD PTR 16[rsi]
mov rdi, QWORD PTR 16[rdi]
jmp .L20
.p2align 4,,10
.p2align 3
.L6:
.cfi_def_cfa_offset 64
.cfi_offset 3, -40
.cfi_offset 6, -32
.cfi_offset 12, -24
.cfi_offset 13, -16
mov eax, DWORD PTR 8[rsi]
cmp DWORD PTR 8[rdi], eax
je .L23
.L7:
add rsp, 24
.cfi_remember_state
.cfi_def_cfa_offset 40
xor eax, eax
pop rbx
.cfi_def_cfa_offset 32
pop rbp
.cfi_def_cfa_offset 24
pop r12
.cfi_def_cfa_offset 16
pop r13
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L5:
.cfi_restore_state
mov eax, DWORD PTR 24[rsi]
cmp DWORD PTR 24[rdi], eax
jne .L7
mov rsi, QWORD PTR 16[rsi]
mov rdi, QWORD PTR 16[rdi]
call is_same_struct
test eax, eax
setne al
movzx eax, al
jmp .L1
.p2align 4,,10
.p2align 3
.L23:
mov edi, DWORD PTR 4[rdi]
mov QWORD PTR 8[rsp], rsi
call dict_keys@PLT
mov rsi, QWORD PTR 8[rsp]
mov rbp, rax
mov edi, DWORD PTR 4[rsi]
call dict_keys@PLT
mov rdi, rbp
mov r13, rax
call vec_len@PLT
mov rdi, r13
mov ebx, eax
call vec_len@PLT
cmp ebx, eax
jne .L7
mov rdi, rbp
xor ebx, ebx
call vec_len@PLT
cmp eax, ebx
jle .L18
.L9:
mov esi, ebx
mov rdi, r13
call vec_get@PLT
mov esi, ebx
mov rdi, rbp
mov r12, rax
call vec_get@PLT
mov rsi, r12
mov rdi, rax
call is_same_struct
test eax, eax
je .L7
mov rdi, rbp
add ebx, 1
call vec_len@PLT
cmp eax, ebx
jg .L9
jmp .L18
.p2align 4,,10
.p2align 3
.L22:
.cfi_def_cfa_offset 8
.cfi_restore 3
.cfi_restore 6
.cfi_restore 12
.cfi_restore 13
xor eax, eax
ret
.cfi_endproc
.LFE0:
.size is_same_struct, .-is_same_struct
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_parse.c_is_same_struct.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type is_same_struct, %function
is_same_struct:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
ldr r3, [r0]
ldr r2, [r1]
cmp r3, r2
bne .L20
push {r4, r5, r6, r7, r8, lr}
mov r4, r1
.L2:
cmp r3, #129
beq .L4
cmp r3, #130
beq .L5
cmp r3, #128
beq .L6
.L18:
mov r0, #1
pop {r4, r5, r6, r7, r8, pc}
.L4:
ldr r0, [r0, #12]
ldr r4, [r4, #12]
ldr r3, [r0]
ldr r2, [r4]
cmp r3, r2
beq .L2
.L7:
mov r0, #0
pop {r4, r5, r6, r7, r8, pc}
.L6:
ldr r2, [r0, #8]
ldr r3, [r4, #8]
cmp r2, r3
bne .L7
ldr r0, [r0, #4]
bl dict_keys
mov r5, r0
ldr r0, [r4, #4]
bl dict_keys
mov r7, r0
mov r0, r5
bl vec_len
mov r4, r0
mov r0, r7
bl vec_len
cmp r4, r0
moveq r4, #0
bne .L7
mov r0, r5
bl vec_len
cmp r0, r4
ble .L18
.L9:
mov r1, r4
mov r0, r5
bl vec_get
mov r1, r4
mov r6, r0
mov r0, r7
bl vec_get
mov r1, r0
mov r0, r6
bl is_same_struct
cmp r0, #0
beq .L7
mov r0, r5
bl vec_len
add r4, r4, #1
cmp r0, r4
bgt .L9
b .L18
.L5:
ldr r2, [r0, #16]
ldr r3, [r4, #16]
cmp r2, r3
bne .L7
ldr r1, [r4, #12]
ldr r0, [r0, #12]
bl is_same_struct
subs r0, r0, #0
movne r0, #1
pop {r4, r5, r6, r7, r8, pc}
.L20:
mov r0, #0
bx lr
.size is_same_struct, .-is_same_struct
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_parse.c_is_string.c"
.intel_syntax noprefix
.text
.p2align 4
.type is_string, @function
is_string:
.LFB0:
.cfi_startproc
endbr64
mov rdx, QWORD PTR KIND_ARRAY[rip]
xor eax, eax
cmp QWORD PTR [rdi], rdx
je .L5
ret
.p2align 4,,10
.p2align 3
.L5:
mov rax, QWORD PTR 8[rdi]
mov rcx, QWORD PTR KIND_CHAR[rip]
cmp QWORD PTR [rax], rcx
sete al
movzx eax, al
ret
.cfi_endproc
.LFE0:
.size is_string, .-is_string
.globl KIND_CHAR
.bss
.align 8
.type KIND_CHAR, @object
.size KIND_CHAR, 8
KIND_CHAR:
.zero 8
.globl KIND_ARRAY
.align 8
.type KIND_ARRAY, @object
.size KIND_ARRAY, 8
KIND_ARRAY:
.zero 8
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_parse.c_is_string.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type is_string, %function
is_string:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
ldr r3, .L5
ldr r2, [r0]
ldr r3, [r3]
cmp r2, r3
ldreq r2, [r0, #4]
ldreq r3, .L5+4
ldreq r0, [r2]
ldreq r3, [r3]
subeq r0, r0, r3
clzeq r0, r0
lsreq r0, r0, #5
movne r0, #0
bx lr
.L6:
.align 2
.L5:
.word KIND_ARRAY
.word KIND_CHAR
.size is_string, .-is_string
.comm KIND_CHAR,4,4
.comm KIND_ARRAY,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_parse.c_make_ast.c"
.intel_syntax noprefix
.text
.p2align 4
.type make_ast, @function
make_ast:
.LFB0:
.cfi_startproc
endbr64
push rbx
.cfi_def_cfa_offset 16
.cfi_offset 3, -16
mov rbx, rdi
mov edi, 4
call malloc@PLT
mov edx, DWORD PTR [rbx]
mov DWORD PTR [rax], edx
mov edx, DWORD PTR source_loc[rip]
mov DWORD PTR [rax], edx
pop rbx
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size make_ast, .-make_ast
.globl source_loc
.bss
.align 4
.type source_loc, @object
.size source_loc, 4
source_loc:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_parse.c_make_ast.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type make_ast, %function
make_ast:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
mov r0, #4
bl malloc
ldr r3, .L4
ldr r3, [r3]
str r3, [r0]
pop {r4, pc}
.L5:
.align 2
.L4:
.word source_loc
.size make_ast, .-make_ast
.comm source_loc,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_parse.c_make_case.c"
.intel_syntax noprefix
.text
.p2align 4
.type make_case, @function
make_case:
.LFB0:
.cfi_startproc
endbr64
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
mov r12d, edi
mov edi, 16
push rbp
.cfi_def_cfa_offset 24
.cfi_offset 6, -24
mov ebp, esi
push rbx
.cfi_def_cfa_offset 32
.cfi_offset 3, -32
mov rbx, rdx
call malloc@PLT
mov DWORD PTR [rax], r12d
mov DWORD PTR 4[rax], ebp
mov QWORD PTR 8[rax], rbx
pop rbx
.cfi_def_cfa_offset 24
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size make_case, .-make_case
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_parse.c_make_case.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type make_case, %function
make_case:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
mov r6, r0
mov r0, #12
mov r5, r1
mov r4, r2
bl malloc
str r6, [r0]
str r5, [r0, #4]
str r4, [r0, #8]
pop {r4, r5, r6, pc}
.size make_case, .-make_case
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_parse.c_make_label.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string ".L%d"
.text
.p2align 4
.globl make_label
.type make_label, @function
make_label:
.LFB0:
.cfi_startproc
endbr64
mov esi, DWORD PTR c.0[rip]
lea rdi, .LC0[rip]
lea eax, 1[rsi]
mov DWORD PTR c.0[rip], eax
jmp format@PLT
.cfi_endproc
.LFE0:
.size make_label, .-make_label
.local c.0
.comm c.0,4,4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_parse.c_make_label.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii ".L%d\000"
.text
.align 2
.global make_label
.syntax unified
.arm
.fpu softvfp
.type make_label, %function
make_label:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
ldr r3, .L3
ldr r0, .L3+4
ldr r1, [r3]
add r2, r1, #1
str r2, [r3]
b format
.L4:
.align 2
.L3:
.word .LANCHOR0
.word .LC0
.size make_label, .-make_label
.bss
.align 2
.set .LANCHOR0,. + 0
.type c.4204, %object
.size c.4204, 4
c.4204:
.space 4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
Subsets and Splits