ASM Long
Collection
Neural Long Context Assembly Transpilation
•
22 items
•
Updated
x86
stringlengths 335
88.6k
| arm
stringlengths 349
86.1k
|
---|---|
.file "extr_buffer.c_buf_append.c"
.intel_syntax noprefix
.text
.p2align 4
.globl buf_append
.type buf_append, @function
buf_append:
.LFB0:
.cfi_startproc
endbr64
test edx, edx
jle .L6
lea eax, -1[rdx]
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
lea r12, 1[rsi+rax]
push rbp
.cfi_def_cfa_offset 24
.cfi_offset 6, -24
mov rbp, rdi
push rbx
.cfi_def_cfa_offset 32
.cfi_offset 3, -32
mov rbx, rsi
.p2align 4,,10
.p2align 3
.L3:
movsx esi, BYTE PTR [rbx]
mov rdi, rbp
add rbx, 1
call buf_write@PLT
cmp rbx, r12
jne .L3
pop rbx
.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
.L6:
.cfi_restore 3
.cfi_restore 6
.cfi_restore 12
ret
.cfi_endproc
.LFE0:
.size buf_append, .-buf_append
.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_buffer.c_buf_append.c"
.text
.align 2
.global buf_append
.syntax unified
.arm
.fpu softvfp
.type buf_append, %function
buf_append:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
cmp r2, #0
bxle lr
push {r4, r5, r6, lr}
mov r6, r0
sub r4, r1, #1
add r5, r4, r2
.L3:
ldrb r1, [r4, #1]! @ zero_extendqisi2
mov r0, r6
bl buf_write
cmp r4, r5
bne .L3
pop {r4, r5, r6, pc}
.size buf_append, .-buf_append
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_buffer.c_buf_body.c"
.intel_syntax noprefix
.text
.p2align 4
.globl buf_body
.type buf_body, @function
buf_body:
.LFB0:
.cfi_startproc
endbr64
mov rax, QWORD PTR [rdi]
ret
.cfi_endproc
.LFE0:
.size buf_body, .-buf_body
.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_buffer.c_buf_body.c"
.text
.align 2
.global buf_body
.syntax unified
.arm
.fpu softvfp
.type buf_body, %function
buf_body:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
ldr r0, [r0]
bx lr
.size buf_body, .-buf_body
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_buffer.c_buf_len.c"
.intel_syntax noprefix
.text
.p2align 4
.globl buf_len
.type buf_len, @function
buf_len:
.LFB0:
.cfi_startproc
endbr64
mov eax, DWORD PTR [rdi]
ret
.cfi_endproc
.LFE0:
.size buf_len, .-buf_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_buffer.c_buf_len.c"
.text
.align 2
.global buf_len
.syntax unified
.arm
.fpu softvfp
.type buf_len, %function
buf_len:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
ldr r0, [r0]
bx lr
.size buf_len, .-buf_len
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_buffer.c_buf_write.c"
.intel_syntax noprefix
.text
.p2align 4
.globl buf_write
.type buf_write, @function
buf_write:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov ebp, esi
push rbx
.cfi_def_cfa_offset 24
.cfi_offset 3, -24
mov rbx, rdi
sub rsp, 8
.cfi_def_cfa_offset 32
mov rax, QWORD PTR 8[rdi]
lea rdx, 1[rax]
cmp QWORD PTR [rdi], rdx
je .L5
.L2:
mov rcx, QWORD PTR 16[rbx]
mov QWORD PTR 8[rbx], rdx
mov BYTE PTR [rcx+rax], bpl
add rsp, 8
.cfi_remember_state
.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
.L5:
.cfi_restore_state
call realloc_body@PLT
mov rax, QWORD PTR 8[rbx]
lea rdx, 1[rax]
jmp .L2
.cfi_endproc
.LFE0:
.size buf_write, .-buf_write
.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_buffer.c_buf_write.c"
.text
.align 2
.global buf_write
.syntax unified
.arm
.fpu softvfp
.type buf_write, %function
buf_write:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
ldr r3, [r0, #4]
ldr ip, [r0]
add r2, r3, #1
cmp ip, r2
push {r4, r5, r6, lr}
mov r4, r0
mov r5, r1
beq .L5
.L2:
ldr r1, [r4, #8]
str r2, [r4, #4]
strb r5, [r1, r3]
pop {r4, r5, r6, pc}
.L5:
bl realloc_body
ldr r3, [r4, #4]
add r2, r3, #1
b .L2
.size buf_write, .-buf_write
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_buffer.c_make_buffer.c"
.intel_syntax noprefix
.text
.p2align 4
.globl make_buffer
.type make_buffer, @function
make_buffer:
.LFB0:
.cfi_startproc
endbr64
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
mov edi, 24
call malloc@PLT
mov edi, DWORD PTR INIT_SIZE[rip]
mov r12, rax
call malloc@PLT
mov QWORD PTR 8[r12], 0
mov QWORD PTR 16[r12], rax
mov eax, DWORD PTR INIT_SIZE[rip]
mov DWORD PTR [r12], eax
mov rax, r12
pop r12
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size make_buffer, .-make_buffer
.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_buffer.c_make_buffer.c"
.text
.align 2
.global make_buffer
.syntax unified
.arm
.fpu softvfp
.type make_buffer, %function
make_buffer:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
mov r0, #12
bl malloc
ldr r3, .L4
mov r4, r0
ldr r5, [r3]
mov r0, r5
bl malloc
mov r3, #0
str r0, [r4, #8]
str r5, [r4]
mov r0, r4
str r3, [r4, #4]
pop {r4, r5, r6, pc}
.L5:
.align 2
.L4:
.word INIT_SIZE
.size make_buffer, .-make_buffer
.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_buffer.c_print.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "%s"
.LC1:
.string "%c"
.LC2:
.string "\\x%02x"
.text
.p2align 4
.type print, @function
print:
.LFB0:
.cfi_startproc
endbr64
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
movsx r12d, sil
push rbp
.cfi_def_cfa_offset 24
.cfi_offset 6, -24
mov rbp, rdi
mov edi, r12d
sub rsp, 8
.cfi_def_cfa_offset 32
call quote@PLT
test rax, rax
je .L2
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 24
mov rdx, rax
xor eax, eax
mov rdi, rbp
lea rsi, .LC0[rip]
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
jmp buf_printf@PLT
.p2align 4,,10
.p2align 3
.L2:
.cfi_restore_state
mov edi, r12d
call isprint@PLT
mov edx, r12d
lea rsi, .LC1[rip]
test rax, rax
jne .L5
lea rsi, .LC2[rip]
.L5:
add rsp, 8
.cfi_def_cfa_offset 24
mov rdi, rbp
xor eax, eax
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
jmp buf_printf@PLT
.cfi_endproc
.LFE0:
.size print, .-print
.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_buffer.c_print.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "%s\000"
.align 2
.LC1:
.ascii "%c\000"
.align 2
.LC2:
.ascii "\\x%02x\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type print, %function
print:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
mov r5, r0
mov r0, r1
mov r4, r1
bl quote
subs r2, r0, #0
beq .L2
mov r0, r5
pop {r4, r5, r6, lr}
ldr r1, .L6
b buf_printf
.L2:
mov r0, r4
bl isprint
cmp r0, #0
mov r2, r4
mov r0, r5
beq .L3
pop {r4, r5, r6, lr}
ldr r1, .L6+4
b buf_printf
.L3:
ldr r1, .L6+8
pop {r4, r5, r6, lr}
b buf_printf
.L7:
.align 2
.L6:
.word .LC0
.word .LC1
.word .LC2
.size print, .-print
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_buffer.c_quote.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "\\\""
.LC1:
.string "\\b"
.LC2:
.string "\\f"
.LC3:
.string "\\n"
.LC4:
.string "\\r"
.LC5:
.string "\\t"
.LC6:
.string "\\\\"
.text
.p2align 4
.type quote, @function
quote:
.LFB0:
.cfi_startproc
endbr64
cmp dil, 34
jg .L2
cmp dil, 7
jle .L11
sub edi, 8
cmp dil, 26
ja .L11
lea rdx, .L6[rip]
movzx edi, dil
movsx rax, DWORD PTR [rdx+rdi*4]
add rax, rdx
notrack jmp rax
.section .rodata
.align 4
.align 4
.L6:
.long .L12-.L6
.long .L10-.L6
.long .L9-.L6
.long .L11-.L6
.long .L8-.L6
.long .L7-.L6
.long .L11-.L6
.long .L11-.L6
.long .L11-.L6
.long .L11-.L6
.long .L11-.L6
.long .L11-.L6
.long .L11-.L6
.long .L11-.L6
.long .L11-.L6
.long .L11-.L6
.long .L11-.L6
.long .L11-.L6
.long .L11-.L6
.long .L11-.L6
.long .L11-.L6
.long .L11-.L6
.long .L11-.L6
.long .L11-.L6
.long .L11-.L6
.long .L11-.L6
.long .L5-.L6
.text
.p2align 4,,10
.p2align 3
.L11:
xor eax, eax
ret
.p2align 4,,10
.p2align 3
.L2:
cmp dil, 92
mov edx, 0
lea rax, .LC6[rip]
cmovne rax, rdx
ret
.p2align 4,,10
.p2align 3
.L7:
lea rax, .LC4[rip]
ret
.p2align 4,,10
.p2align 3
.L10:
lea rax, .LC5[rip]
ret
.p2align 4,,10
.p2align 3
.L9:
lea rax, .LC3[rip]
ret
.p2align 4,,10
.p2align 3
.L8:
lea rax, .LC2[rip]
ret
.p2align 4,,10
.p2align 3
.L12:
lea rax, .LC1[rip]
ret
.p2align 4,,10
.p2align 3
.L5:
lea rax, .LC0[rip]
ret
.cfi_endproc
.LFE0:
.size quote, .-quote
.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_buffer.c_quote.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "\\\"\000"
.align 2
.LC1:
.ascii "\\b\000"
.align 2
.LC2:
.ascii "\\f\000"
.align 2
.LC3:
.ascii "\\n\000"
.align 2
.LC4:
.ascii "\\r\000"
.align 2
.LC5:
.ascii "\\t\000"
.align 2
.LC6:
.ascii "\\\\\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type quote, %function
quote:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
cmp r0, #34
bhi .L2
cmp r0, #7
bls .L11
sub r0, r0, #8
cmp r0, #26
ldrls pc, [pc, r0, asl #2]
b .L11
.L6:
.word .L12
.word .L10
.word .L9
.word .L11
.word .L8
.word .L7
.word .L11
.word .L11
.word .L11
.word .L11
.word .L11
.word .L11
.word .L11
.word .L11
.word .L11
.word .L11
.word .L11
.word .L11
.word .L11
.word .L11
.word .L11
.word .L11
.word .L11
.word .L11
.word .L11
.word .L11
.word .L5
.L5:
ldr r0, .L15
bx lr
.L12:
ldr r0, .L15+4
bx lr
.L11:
mov r0, #0
bx lr
.L2:
ldr r3, .L15+8
cmp r0, #92
moveq r0, r3
movne r0, #0
bx lr
.L7:
ldr r0, .L15+12
bx lr
.L10:
ldr r0, .L15+16
bx lr
.L9:
ldr r0, .L15+20
bx lr
.L8:
ldr r0, .L15+24
bx lr
.L16:
.align 2
.L15:
.word .LC0
.word .LC1
.word .LC6
.word .LC4
.word .LC5
.word .LC3
.word .LC2
.size quote, .-quote
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_buffer.c_quote_char.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "\\\\"
.LC1:
.string "\\'"
.LC2:
.string "%c"
.text
.p2align 4
.globl quote_char
.type quote_char, @function
quote_char:
.LFB0:
.cfi_startproc
endbr64
cmp dil, 92
je .L3
cmp dil, 39
je .L4
movsx esi, dil
lea rdi, .LC2[rip]
jmp format@PLT
.p2align 4,,10
.p2align 3
.L4:
lea rax, .LC1[rip]
ret
.p2align 4,,10
.p2align 3
.L3:
lea rax, .LC0[rip]
ret
.cfi_endproc
.LFE0:
.size quote_char, .-quote_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_buffer.c_quote_char.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "\\\\\000"
.align 2
.LC1:
.ascii "\\'\000"
.align 2
.LC2:
.ascii "%c\000"
.text
.align 2
.global quote_char
.syntax unified
.arm
.fpu softvfp
.type quote_char, %function
quote_char:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
cmp r0, #92
mov r1, r0
beq .L3
cmp r0, #39
beq .L4
ldr r0, .L6
b format
.L4:
ldr r0, .L6+4
bx lr
.L3:
ldr r0, .L6+8
bx lr
.L7:
.align 2
.L6:
.word .LC2
.word .LC1
.word .LC0
.size quote_char, .-quote_char
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_buffer.c_quote_cstring.c"
.intel_syntax noprefix
.text
.p2align 4
.globl quote_cstring
.type quote_cstring, @function
quote_cstring:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
xor eax, eax
push rbx
.cfi_def_cfa_offset 24
.cfi_offset 3, -24
mov rbx, rdi
sub rsp, 8
.cfi_def_cfa_offset 32
call make_buffer@PLT
movsx esi, BYTE PTR [rbx]
mov rbp, rax
test sil, sil
je .L2
.p2align 4,,10
.p2align 3
.L3:
add rbx, 1
mov rdi, rbp
call print@PLT
movsx esi, BYTE PTR [rbx]
test sil, sil
jne .L3
.L2:
add rsp, 8
.cfi_def_cfa_offset 24
mov rdi, rbp
pop rbx
.cfi_def_cfa_offset 16
pop rbp
.cfi_def_cfa_offset 8
jmp buf_body@PLT
.cfi_endproc
.LFE0:
.size quote_cstring, .-quote_cstring
.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_buffer.c_quote_cstring.c"
.text
.align 2
.global quote_cstring
.syntax unified
.arm
.fpu softvfp
.type quote_cstring, %function
quote_cstring:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
mov r4, r0
bl make_buffer
ldrb r1, [r4] @ zero_extendqisi2
mov r5, r0
cmp r1, #0
beq .L2
.L3:
mov r0, r5
bl print
ldrb r1, [r4, #1]! @ zero_extendqisi2
cmp r1, #0
bne .L3
.L2:
mov r0, r5
pop {r4, r5, r6, lr}
b buf_body
.size quote_cstring, .-quote_cstring
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_buffer.c_quote_cstring_len.c"
.intel_syntax noprefix
.text
.p2align 4
.globl quote_cstring_len
.type quote_cstring_len, @function
quote_cstring_len:
.LFB0:
.cfi_startproc
endbr64
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
xor eax, eax
mov r12d, esi
push rbp
.cfi_def_cfa_offset 24
.cfi_offset 6, -24
push rbx
.cfi_def_cfa_offset 32
.cfi_offset 3, -32
mov rbx, rdi
call make_buffer@PLT
mov rbp, rax
test r12d, r12d
jle .L2
lea eax, -1[r12]
lea r12, 1[rbx+rax]
.p2align 4,,10
.p2align 3
.L3:
movsx esi, BYTE PTR [rbx]
mov rdi, rbp
add rbx, 1
call print@PLT
cmp rbx, r12
jne .L3
.L2:
pop rbx
.cfi_def_cfa_offset 24
mov rdi, rbp
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
jmp buf_body@PLT
.cfi_endproc
.LFE0:
.size quote_cstring_len, .-quote_cstring_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_buffer.c_quote_cstring_len.c"
.text
.align 2
.global quote_cstring_len
.syntax unified
.arm
.fpu softvfp
.type quote_cstring_len, %function
quote_cstring_len:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
mov r5, r1
mov r4, r0
bl make_buffer
cmp r5, #0
mov r6, r0
ble .L2
sub r4, r4, #1
add r5, r4, r5
.L3:
ldrb r1, [r4, #1]! @ zero_extendqisi2
mov r0, r6
bl print
cmp r4, r5
bne .L3
.L2:
mov r0, r6
pop {r4, r5, r6, lr}
b buf_body
.size quote_cstring_len, .-quote_cstring_len
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_buffer.c_realloc_body.c"
.intel_syntax noprefix
.text
.p2align 4
.type realloc_body, @function
realloc_body:
.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 eax, DWORD PTR [rdi]
mov rbx, rdi
lea ebp, [rax+rax]
mov edi, ebp
call malloc@PLT
mov edx, DWORD PTR 16[rbx]
mov rsi, QWORD PTR 8[rbx]
mov r12, rax
mov rdi, rax
call memcpy@PLT
mov QWORD PTR 8[rbx], r12
mov DWORD PTR [rbx], ebp
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 realloc_body, .-realloc_body
.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_buffer.c_realloc_body.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type realloc_body, %function
realloc_body:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
ldr r5, [r0]
mov r4, r0
lsl r5, r5, #1
mov r0, r5
bl malloc
ldmib r4, {r1, r2}
mov r6, r0
bl memcpy
stm r4, {r5, r6}
pop {r4, r5, r6, pc}
.size realloc_body, .-realloc_body
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_cpp.c_add_hide_set.c"
.intel_syntax noprefix
.text
.p2align 4
.type add_hide_set, @function
add_hide_set:
.LFB0:
.cfi_startproc
endbr64
push r14
.cfi_def_cfa_offset 16
.cfi_offset 14, -16
xor eax, eax
mov r14, rsi
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
xor ebx, ebx
call make_vector@PLT
mov r13, rax
jmp .L2
.p2align 4,,10
.p2align 3
.L3:
mov esi, ebx
mov rdi, r12
add ebx, 1
call vec_get@PLT
mov edi, eax
call copy_token@PLT
mov rsi, r14
mov edi, DWORD PTR [rax]
mov rbp, rax
call set_union@PLT
mov rsi, rbp
mov rdi, r13
mov DWORD PTR 0[rbp], eax
call vec_push@PLT
.L2:
mov rdi, r12
call vec_len@PLT
cmp eax, ebx
jg .L3
pop rbx
.cfi_def_cfa_offset 40
mov rax, r13
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
.cfi_endproc
.LFE0:
.size add_hide_set, .-add_hide_set
.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_cpp.c_add_hide_set.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type add_hide_set, %function
add_hide_set:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, lr}
mov r6, r0
mov r8, r1
bl make_vector
mov r5, #0
mov r7, r0
b .L2
.L3:
mov r1, r5
mov r0, r6
bl vec_get
bl copy_token
mov r1, r8
mov r4, r0
ldr r0, [r0]
bl set_union
mov r1, r4
str r0, [r4]
mov r0, r7
bl vec_push
add r5, r5, #1
.L2:
mov r0, r6
bl vec_len
cmp r0, r5
bgt .L3
mov r0, r7
pop {r4, r5, r6, r7, r8, pc}
.size add_hide_set, .-add_hide_set
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_cpp.c_add_include_path.c"
.intel_syntax noprefix
.text
.p2align 4
.globl add_include_path
.type add_include_path, @function
add_include_path:
.LFB0:
.cfi_startproc
endbr64
mov rsi, rdi
mov edi, DWORD PTR std_include_path[rip]
jmp vec_push@PLT
.cfi_endproc
.LFE0:
.size add_include_path, .-add_include_path
.globl std_include_path
.bss
.align 4
.type std_include_path, @object
.size std_include_path, 4
std_include_path:
.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_cpp.c_add_include_path.c"
.text
.align 2
.global add_include_path
.syntax unified
.arm
.fpu softvfp
.type add_include_path, %function
add_include_path:
@ 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 std_include_path
.size add_include_path, .-add_include_path
.comm std_include_path,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_cpp.c_copy_token.c"
.intel_syntax noprefix
.text
.p2align 4
.type copy_token, @function
copy_token:
.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
pop rbx
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size copy_token, .-copy_token
.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_cpp.c_copy_token.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type copy_token, %function
copy_token:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
mov r4, r0
mov r0, #4
bl malloc
ldr r3, [r4]
str r3, [r0]
pop {r4, pc}
.size copy_token, .-copy_token
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_cpp.c_cpp_init.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "C"
.text
.p2align 4
.globl cpp_init
.type cpp_init, @function
cpp_init:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 8
.cfi_def_cfa_offset 16
mov edi, DWORD PTR LC_ALL[rip]
lea rsi, .LC0[rip]
call setlocale@PLT
xor eax, eax
call init_keywords@PLT
xor eax, eax
call init_now@PLT
xor eax, eax
add rsp, 8
.cfi_def_cfa_offset 8
jmp init_predefined_macros@PLT
.cfi_endproc
.LFE0:
.size cpp_init, .-cpp_init
.globl LC_ALL
.bss
.align 4
.type LC_ALL, @object
.size LC_ALL, 4
LC_ALL:
.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_cpp.c_cpp_init.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "C\000"
.text
.align 2
.global cpp_init
.syntax unified
.arm
.fpu softvfp
.type cpp_init, %function
cpp_init:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
ldr r3, .L4
ldr r1, .L4+4
ldr r0, [r3]
bl setlocale
bl init_keywords
bl init_now
pop {r4, lr}
b init_predefined_macros
.L5:
.align 2
.L4:
.word LC_ALL
.word .LC0
.size cpp_init, .-cpp_init
.comm LC_ALL,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_cpp.c_define_obj_macro.c"
.intel_syntax noprefix
.text
.p2align 4
.type define_obj_macro, @function
define_obj_macro:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rdi
mov rdi, rsi
call make_vector1@PLT
mov edi, eax
call make_obj_macro@PLT
mov edi, DWORD PTR macros[rip]
mov rsi, rbp
pop rbp
.cfi_def_cfa_offset 8
mov edx, eax
jmp map_put@PLT
.cfi_endproc
.LFE0:
.size define_obj_macro, .-define_obj_macro
.globl macros
.bss
.align 4
.type macros, @object
.size macros, 4
macros:
.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_cpp.c_define_obj_macro.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type define_obj_macro, %function
define_obj_macro:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
ldr r3, .L4
push {r4, r5, r6, lr}
mov r4, r0
mov r0, r1
ldr r5, [r3]
bl make_vector1
bl make_obj_macro
mov r1, r4
mov r2, r0
mov r0, r5
pop {r4, r5, r6, lr}
b map_put
.L5:
.align 2
.L4:
.word macros
.size define_obj_macro, .-define_obj_macro
.comm macros,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_cpp.c_define_special_macro.c"
.intel_syntax noprefix
.text
.p2align 4
.type define_special_macro, @function
define_special_macro:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rdi
mov rdi, rsi
call make_special_macro@PLT
mov edi, DWORD PTR macros[rip]
mov rsi, rbp
pop rbp
.cfi_def_cfa_offset 8
mov edx, eax
jmp map_put@PLT
.cfi_endproc
.LFE0:
.size define_special_macro, .-define_special_macro
.globl macros
.bss
.align 4
.type macros, @object
.size macros, 4
macros:
.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_cpp.c_define_special_macro.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type define_special_macro, %function
define_special_macro:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
ldr r3, .L4
push {r4, r5, r6, lr}
mov r4, r0
mov r0, r1
ldr r5, [r3]
bl make_special_macro
mov r1, r4
mov r2, r0
mov r0, r5
pop {r4, r5, r6, lr}
b map_put
.L5:
.align 2
.L4:
.word macros
.size define_special_macro, .-define_special_macro
.comm macros,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_cpp.c_do_read_args.c"
.intel_syntax noprefix
.text
.p2align 4
.type do_read_args, @function
do_read_args:
.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
push rbp
.cfi_def_cfa_offset 32
.cfi_offset 6, -32
mov rbp, rdi
push rbx
.cfi_def_cfa_offset 40
.cfi_offset 3, -40
mov rbx, rsi
sub rsp, 24
.cfi_def_cfa_offset 64
mov rax, QWORD PTR fs:40
mov QWORD PTR 8[rsp], rax
xor eax, eax
lea r13, 4[rsp]
call make_vector@PLT
mov DWORD PTR 4[rsp], 0
mov r12, rax
jmp .L3
.p2align 4,,10
.p2align 3
.L2:
mov rsi, r13
mov rdi, rbp
call read_one_arg@PLT
mov rdi, r12
mov rsi, rax
call vec_push@PLT
mov eax, DWORD PTR 4[rsp]
test eax, eax
jne .L12
.L3:
xor edx, edx
cmp QWORD PTR 8[rbx], 0
je .L2
mov rdi, r12
call vec_len@PLT
xor edx, edx
add eax, 1
cmp eax, DWORD PTR [rbx]
sete dl
jmp .L2
.p2align 4,,10
.p2align 3
.L12:
cmp QWORD PTR 8[rbx], 0
jne .L13
.L1:
mov rax, QWORD PTR 8[rsp]
sub rax, QWORD PTR fs:40
jne .L14
add rsp, 24
.cfi_remember_state
.cfi_def_cfa_offset 40
mov rax, r12
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
.L13:
.cfi_restore_state
mov rdi, r12
call vec_len@PLT
mov r8d, eax
mov eax, DWORD PTR [rbx]
sub eax, 1
cmp r8d, eax
jne .L1
xor eax, eax
call make_vector@PLT
mov rdi, r12
mov rsi, rax
call vec_push@PLT
jmp .L1
.L14:
call __stack_chk_fail@PLT
.cfi_endproc
.LFE0:
.size do_read_args, .-do_read_args
.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_cpp.c_do_read_args.c"
.text
.section .rodata.cst4,"aM",%progbits,4
.align 2
.LC0:
.word __stack_chk_guard
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type do_read_args, %function
do_read_args:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
ldr r3, .L18
sub sp, sp, #8
ldr r3, [r3]
str r3, [sp, #4]
mov r3,#0
mov r6, r0
mov r5, r1
bl make_vector
mov r3, #0
mov r4, r0
str r3, [sp]
b .L3
.L2:
mov r1, sp
mov r0, r6
bl read_one_arg
mov r1, r0
mov r0, r4
bl vec_push
ldr r3, [sp]
cmp r3, #0
bne .L15
.L3:
ldr r2, [r5, #4]
cmp r2, #0
beq .L2
mov r0, r4
bl vec_len
ldr r3, [r5]
add r2, r0, #1
sub r2, r2, r3
clz r2, r2
lsr r2, r2, #5
b .L2
.L15:
ldr r3, [r5, #4]
cmp r3, #0
bne .L16
.L1:
ldr r3, .L18
ldr r2, [r3]
ldr r3, [sp, #4]
eors r2, r3, r2
mov r3, #0
bne .L17
mov r0, r4
add sp, sp, #8
@ sp needed
pop {r4, r5, r6, pc}
.L16:
mov r0, r4
bl vec_len
ldr r3, [r5]
sub r3, r3, #1
cmp r0, r3
bne .L1
bl make_vector
mov r1, r0
mov r0, r4
bl vec_push
b .L1
.L17:
bl __stack_chk_fail
.L19:
.align 2
.L18:
.word .LC0
.size do_read_args, .-do_read_args
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_cpp.c_do_read_if.c"
.intel_syntax noprefix
.text
.p2align 4
.type do_read_if, @function
do_read_if:
.LFB0:
.cfi_startproc
endbr64
push rbx
.cfi_def_cfa_offset 16
.cfi_offset 3, -16
mov ebx, edi
call make_cond_incl@PLT
mov edi, DWORD PTR cond_incl_stack[rip]
mov esi, eax
call vec_push@PLT
test ebx, ebx
je .L5
pop rbx
.cfi_remember_state
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L5:
.cfi_restore_state
xor eax, eax
pop rbx
.cfi_def_cfa_offset 8
jmp skip_cond_incl@PLT
.cfi_endproc
.LFE0:
.size do_read_if, .-do_read_if
.globl cond_incl_stack
.bss
.align 4
.type cond_incl_stack, @object
.size cond_incl_stack, 4
cond_incl_stack:
.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_cpp.c_do_read_if.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type do_read_if, %function
do_read_if:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
ldr r3, .L5
push {r4, r5, r6, lr}
ldr r5, [r3]
mov r4, r0
bl make_cond_incl
mov r1, r0
mov r0, r5
bl vec_push
cmp r4, #0
popne {r4, r5, r6, pc}
pop {r4, r5, r6, lr}
b skip_cond_incl
.L6:
.align 2
.L5:
.word cond_incl_stack
.size do_read_if, .-do_read_if
.comm cond_incl_stack,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_cpp.c_expand_all.c"
.intel_syntax noprefix
.text
.p2align 4
.type expand_all, @function
expand_all:
.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, rsi
sub rsp, 8
.cfi_def_cfa_offset 32
call vec_reverse@PLT
mov edi, eax
call token_buffer_stash@PLT
xor eax, eax
call make_vector@PLT
mov r12, rax
jmp .L3
.p2align 4,,10
.p2align 3
.L6:
mov rdi, r12
call vec_push@PLT
.L3:
xor eax, eax
call read_expand@PLT
mov rsi, rax
mov rax, QWORD PTR TEOF[rip]
cmp QWORD PTR [rsi], rax
jne .L6
mov rsi, rbp
mov rdi, r12
call propagate_space@PLT
xor eax, eax
call token_buffer_unstash@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 expand_all, .-expand_all
.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_cpp.c_expand_all.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type expand_all, %function
expand_all:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
mov r6, r1
bl vec_reverse
bl token_buffer_stash
bl make_vector
ldr r5, .L7
mov r4, r0
b .L3
.L6:
mov r0, r4
bl vec_push
.L3:
bl read_expand
ldr r3, [r5]
ldr r2, [r0]
mov r1, r0
cmp r2, r3
bne .L6
mov r1, r6
mov r0, r4
bl propagate_space
bl token_buffer_unstash
mov r0, r4
pop {r4, r5, r6, pc}
.L8:
.align 2
.L7:
.word TEOF
.size expand_all, .-expand_all
.comm TEOF,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_cpp.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 lex@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_cpp.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 lex
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_cpp.c_expect_newline.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "newline expected, but got %s"
.text
.p2align 4
.globl expect_newline
.type expect_newline, @function
expect_newline:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
xor eax, eax
call lex@PLT
mov rbp, rax
mov rax, QWORD PTR TNEWLINE[rip]
cmp QWORD PTR 0[rbp], rax
jne .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 tok2s@PLT
mov rdi, rbp
lea rsi, .LC0[rip]
pop rbp
.cfi_def_cfa_offset 8
mov edx, eax
jmp errort@PLT
.cfi_endproc
.LFE0:
.size expect_newline, .-expect_newline
.globl TNEWLINE
.bss
.align 8
.type TNEWLINE, @object
.size TNEWLINE, 8
TNEWLINE:
.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_cpp.c_expect_newline.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "newline expected, but got %s\000"
.text
.align 2
.global expect_newline
.syntax unified
.arm
.fpu softvfp
.type expect_newline, %function
expect_newline:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
bl lex
ldr r3, .L5
ldr r2, [r0]
ldr r3, [r3]
cmp r2, r3
popeq {r4, pc}
mov r4, r0
bl tok2s
ldr r1, .L5+4
mov r2, r0
mov r0, r4
pop {r4, lr}
b errort
.L6:
.align 2
.L5:
.word TNEWLINE
.word .LC0
.size expect_newline, .-expect_newline
.comm TNEWLINE,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_cpp.c_glue_push.c"
.intel_syntax noprefix
.text
.p2align 4
.type glue_push, @function
glue_push:
.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 vec_pop@PLT
mov rsi, r12
mov rdi, rax
call glue_tokens@PLT
add rsp, 8
.cfi_def_cfa_offset 24
mov rdi, rbp
mov esi, eax
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
jmp vec_push@PLT
.cfi_endproc
.LFE0:
.size glue_push, .-glue_push
.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_cpp.c_glue_push.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type glue_push, %function
glue_push:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
mov r5, r1
mov r4, r0
bl vec_pop
mov r1, r5
bl glue_tokens
mov r1, r0
mov r0, r4
pop {r4, r5, r6, lr}
b vec_push
.size glue_push, .-glue_push
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_cpp.c_glue_tokens.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "%s"
.text
.p2align 4
.type glue_tokens, @function
glue_tokens:
.LFB0:
.cfi_startproc
endbr64
push r13
.cfi_def_cfa_offset 16
.cfi_offset 13, -16
xor eax, eax
mov r13, rdi
push r12
.cfi_def_cfa_offset 24
.cfi_offset 12, -24
mov r12, rsi
push rbp
.cfi_def_cfa_offset 32
.cfi_offset 6, -32
call make_buffer@PLT
mov rdi, r13
mov rbp, rax
call tok2s@PLT
lea rsi, .LC0[rip]
mov rdi, rbp
mov edx, eax
call buf_printf@PLT
mov rdi, r12
call tok2s@PLT
mov rdi, rbp
lea rsi, .LC0[rip]
mov edx, eax
call buf_printf@PLT
mov rdi, rbp
call buf_body@PLT
pop rbp
.cfi_def_cfa_offset 24
pop r12
.cfi_def_cfa_offset 16
mov edi, eax
pop r13
.cfi_def_cfa_offset 8
jmp lex_string@PLT
.cfi_endproc
.LFE0:
.size glue_tokens, .-glue_tokens
.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_cpp.c_glue_tokens.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "%s\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type glue_tokens, %function
glue_tokens:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
mov r5, r1
mov r6, r0
bl make_buffer
mov r4, r0
mov r0, r6
bl tok2s
ldr r6, .L4
mov r2, r0
mov r1, r6
mov r0, r4
bl buf_printf
mov r0, r5
bl tok2s
mov r1, r6
mov r2, r0
mov r0, r4
bl buf_printf
mov r0, r4
bl buf_body
pop {r4, r5, r6, lr}
b lex_string
.L5:
.align 2
.L4:
.word .LC0
.size glue_tokens, .-glue_tokens
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_cpp.c_guarded.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "__8cc_include_guard"
.text
.p2align 4
.type guarded, @function
guarded:
.LFB0:
.cfi_startproc
endbr64
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
mov rsi, rdi
mov edi, DWORD PTR include_guard[rip]
call map_get@PLT
test rax, rax
je .L2
mov edi, DWORD PTR macros[rip]
mov rsi, rax
call map_get@PLT
test rax, rax
je .L2
mov esi, DWORD PTR cpp_token_one[rip]
mov r12d, 1
jmp .L3
.p2align 4,,10
.p2align 3
.L2:
mov esi, DWORD PTR cpp_token_zero[rip]
xor r12d, r12d
.L3:
lea rdi, .LC0[rip]
call define_obj_macro@PLT
mov eax, r12d
pop r12
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size guarded, .-guarded
.globl macros
.bss
.align 4
.type macros, @object
.size macros, 4
macros:
.zero 4
.globl include_guard
.align 4
.type include_guard, @object
.size include_guard, 4
include_guard:
.zero 4
.globl cpp_token_zero
.align 4
.type cpp_token_zero, @object
.size cpp_token_zero, 4
cpp_token_zero:
.zero 4
.globl cpp_token_one
.align 4
.type cpp_token_one, @object
.size cpp_token_one, 4
cpp_token_one:
.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_cpp.c_guarded.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "__8cc_include_guard\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type guarded, %function
guarded:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
ldr r3, .L12
mov r1, r0
push {r4, lr}
ldr r0, [r3]
bl map_get
subs r1, r0, #0
beq .L2
ldr r3, .L12+4
ldr r0, [r3]
bl map_get
cmp r0, #0
ldrne r3, .L12+8
movne r4, #1
ldrne r1, [r3]
bne .L3
.L2:
mov r4, #0
ldr r3, .L12+12
ldr r1, [r3]
.L3:
ldr r0, .L12+16
bl define_obj_macro
mov r0, r4
pop {r4, pc}
.L13:
.align 2
.L12:
.word include_guard
.word macros
.word cpp_token_one
.word cpp_token_zero
.word .LC0
.size guarded, .-guarded
.comm macros,4,4
.comm include_guard,4,4
.comm cpp_token_zero,4,4
.comm cpp_token_one,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_cpp.c_handle_base_file_macro.c"
.intel_syntax noprefix
.text
.p2align 4
.type handle_base_file_macro, @function
handle_base_file_macro:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
xor eax, eax
mov rbp, rdi
call get_base_file@PLT
mov esi, DWORD PTR TSTRING[rip]
mov rdi, rbp
pop rbp
.cfi_def_cfa_offset 8
mov edx, eax
jmp make_token_pushback@PLT
.cfi_endproc
.LFE0:
.size handle_base_file_macro, .-handle_base_file_macro
.globl TSTRING
.bss
.align 4
.type TSTRING, @object
.size TSTRING, 4
TSTRING:
.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_cpp.c_handle_base_file_macro.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type handle_base_file_macro, %function
handle_base_file_macro:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
ldr r3, .L4
push {r4, r5, r6, lr}
mov r4, r0
ldr r5, [r3]
bl get_base_file
mov r1, r5
mov r2, r0
mov r0, r4
pop {r4, r5, r6, lr}
b make_token_pushback
.L5:
.align 2
.L4:
.word TSTRING
.size handle_base_file_macro, .-handle_base_file_macro
.comm TSTRING,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_cpp.c_handle_counter_macro.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "%d"
.text
.p2align 4
.type handle_counter_macro, @function
handle_counter_macro:
.LFB0:
.cfi_startproc
endbr64
mov esi, DWORD PTR counter.0[rip]
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rdi
lea rdi, .LC0[rip]
lea eax, 1[rsi]
mov DWORD PTR counter.0[rip], eax
call format@PLT
mov esi, DWORD PTR TNUMBER[rip]
mov rdi, rbp
pop rbp
.cfi_def_cfa_offset 8
mov edx, eax
jmp make_token_pushback@PLT
.cfi_endproc
.LFE0:
.size handle_counter_macro, .-handle_counter_macro
.local counter.0
.comm counter.0,4,4
.globl TNUMBER
.bss
.align 4
.type TNUMBER, @object
.size TNUMBER, 4
TNUMBER:
.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_cpp.c_handle_counter_macro.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "%d\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type handle_counter_macro, %function
handle_counter_macro:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
ldr r3, .L4
ldr ip, .L4+4
ldr r1, [r3]
push {r4, r5, r6, lr}
add r2, r1, #1
mov r4, r0
ldr r0, .L4+8
ldr r5, [ip]
str r2, [r3]
bl format
mov r1, r5
mov r2, r0
mov r0, r4
pop {r4, r5, r6, lr}
b make_token_pushback
.L5:
.align 2
.L4:
.word .LANCHOR0
.word TNUMBER
.word .LC0
.size handle_counter_macro, .-handle_counter_macro
.comm TNUMBER,4,4
.bss
.align 2
.set .LANCHOR0,. + 0
.type counter.4211, %object
.size counter.4211, 4
counter.4211:
.space 4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_cpp.c_handle_date_macro.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "%b %e %Y"
.text
.p2align 4
.type handle_date_macro, @function
handle_date_macro:
.LFB0:
.cfi_startproc
endbr64
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
lea rdx, .LC0[rip]
mov esi, 20
lea rcx, now[rip]
push rbp
.cfi_def_cfa_offset 24
.cfi_offset 6, -24
mov rbp, rdi
sub rsp, 40
.cfi_def_cfa_offset 64
mov rax, QWORD PTR fs:40
mov QWORD PTR 24[rsp], rax
xor eax, eax
mov r12, rsp
mov rdi, r12
call strftime@PLT
mov rdi, r12
call strdup@PLT
mov esi, DWORD PTR TSTRING[rip]
mov rdi, rbp
mov edx, eax
call make_token_pushback@PLT
mov rax, QWORD PTR 24[rsp]
sub rax, QWORD PTR fs:40
jne .L5
add rsp, 40
.cfi_remember_state
.cfi_def_cfa_offset 24
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
ret
.L5:
.cfi_restore_state
call __stack_chk_fail@PLT
.cfi_endproc
.LFE0:
.size handle_date_macro, .-handle_date_macro
.globl now
.bss
.align 4
.type now, @object
.size now, 4
now:
.zero 4
.globl TSTRING
.align 4
.type TSTRING, @object
.size TSTRING, 4
TSTRING:
.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_cpp.c_handle_date_macro.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "%b %e %Y\000"
.section .rodata.cst4,"aM",%progbits,4
.align 2
.LC1:
.word __stack_chk_guard
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type handle_date_macro, %function
handle_date_macro:
@ args = 0, pretend = 0, frame = 24
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, lr}
ldr ip, .L6
sub sp, sp, #28
mov r1, #20
ldr r2, .L6+4
mov r4, r0
ldr r3, .L6+8
mov r0, sp
ldr ip, [ip]
str ip, [sp, #20]
mov ip,#0
bl strftime
ldr r3, .L6+12
mov r0, sp
ldr r5, [r3]
bl strdup
mov r1, r5
mov r2, r0
mov r0, r4
bl make_token_pushback
ldr r3, .L6
ldr r2, [r3]
ldr r3, [sp, #20]
eors r2, r3, r2
mov r3, #0
bne .L5
add sp, sp, #28
@ sp needed
pop {r4, r5, pc}
.L5:
bl __stack_chk_fail
.L7:
.align 2
.L6:
.word .LC1
.word .LC0
.word now
.word TSTRING
.size handle_date_macro, .-handle_date_macro
.comm now,4,4
.comm TSTRING,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_cpp.c_handle_file_macro.c"
.intel_syntax noprefix
.text
.p2align 4
.type handle_file_macro, @function
handle_file_macro:
.LFB0:
.cfi_startproc
endbr64
mov rax, QWORD PTR [rdi]
mov esi, DWORD PTR TSTRING[rip]
mov edx, DWORD PTR [rax]
jmp make_token_pushback@PLT
.cfi_endproc
.LFE0:
.size handle_file_macro, .-handle_file_macro
.globl TSTRING
.bss
.align 4
.type TSTRING, @object
.size TSTRING, 4
TSTRING:
.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_cpp.c_handle_file_macro.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type handle_file_macro, %function
handle_file_macro:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
ldr r2, .L3
ldr r3, [r0]
ldr r1, [r2]
ldr r2, [r3]
b make_token_pushback
.L4:
.align 2
.L3:
.word TSTRING
.size handle_file_macro, .-handle_file_macro
.comm TSTRING,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_cpp.c_handle_include_level_macro.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "%d"
.text
.p2align 4
.type handle_include_level_macro, @function
handle_include_level_macro:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
xor eax, eax
mov rbp, rdi
call stream_depth@PLT
lea rdi, .LC0[rip]
lea rsi, -1[rax]
call format@PLT
mov esi, DWORD PTR TNUMBER[rip]
mov rdi, rbp
pop rbp
.cfi_def_cfa_offset 8
mov edx, eax
jmp make_token_pushback@PLT
.cfi_endproc
.LFE0:
.size handle_include_level_macro, .-handle_include_level_macro
.globl TNUMBER
.bss
.align 4
.type TNUMBER, @object
.size TNUMBER, 4
TNUMBER:
.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_cpp.c_handle_include_level_macro.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "%d\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type handle_include_level_macro, %function
handle_include_level_macro:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
ldr r3, .L4
push {r4, r5, r6, lr}
ldr r5, [r3]
mov r4, r0
bl stream_depth
mov r1, r0
ldr r0, .L4+4
sub r1, r1, #1
bl format
mov r1, r5
mov r2, r0
mov r0, r4
pop {r4, r5, r6, lr}
b make_token_pushback
.L5:
.align 2
.L4:
.word TNUMBER
.word .LC0
.size handle_include_level_macro, .-handle_include_level_macro
.comm TNUMBER,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_cpp.c_handle_line_macro.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "%d"
.text
.p2align 4
.type handle_line_macro, @function
handle_line_macro:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rax, QWORD PTR [rdi]
mov rbp, rdi
lea rdi, .LC0[rip]
mov esi, DWORD PTR [rax]
call format@PLT
mov esi, DWORD PTR TNUMBER[rip]
mov rdi, rbp
pop rbp
.cfi_def_cfa_offset 8
mov edx, eax
jmp make_token_pushback@PLT
.cfi_endproc
.LFE0:
.size handle_line_macro, .-handle_line_macro
.globl TNUMBER
.bss
.align 4
.type TNUMBER, @object
.size TNUMBER, 4
TNUMBER:
.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_cpp.c_handle_line_macro.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "%d\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type handle_line_macro, %function
handle_line_macro:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
ldr r3, [r0]
ldr r2, .L4
push {r4, r5, r6, lr}
ldr r1, [r3]
mov r4, r0
ldr r0, .L4+4
ldr r5, [r2]
bl format
mov r1, r5
mov r2, r0
mov r0, r4
pop {r4, r5, r6, lr}
b make_token_pushback
.L5:
.align 2
.L4:
.word TNUMBER
.word .LC0
.size handle_line_macro, .-handle_line_macro
.comm TNUMBER,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_cpp.c_handle_pragma_macro.c"
.intel_syntax noprefix
.text
.section .rodata.str1.8,"aMS",@progbits,1
.align 8
.LC0:
.string "_Pragma takes a string literal, but got %s"
.section .rodata.str1.1,"aMS",@progbits,1
.LC1:
.string "1"
.text
.p2align 4
.type handle_pragma_macro, @function
handle_pragma_macro:
.LFB0:
.cfi_startproc
endbr64
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
mov r12, rdi
mov edi, 40
push rbp
.cfi_def_cfa_offset 24
.cfi_offset 6, -24
sub rsp, 8
.cfi_def_cfa_offset 32
call expect@PLT
xor eax, eax
call read_token@PLT
mov rbp, rax
mov rax, QWORD PTR TSTRING[rip]
cmp QWORD PTR 0[rbp], rax
je .L2
mov rdi, rbp
call tok2s@PLT
lea rsi, .LC0[rip]
mov rdi, rbp
mov edx, eax
call errort@PLT
.L2:
mov edi, 41
call expect@PLT
mov rdi, rbp
call parse_pragma_operand@PLT
mov esi, DWORD PTR TNUMBER[rip]
add rsp, 8
.cfi_def_cfa_offset 24
mov rdi, r12
pop rbp
.cfi_def_cfa_offset 16
lea rdx, .LC1[rip]
pop r12
.cfi_def_cfa_offset 8
jmp make_token_pushback@PLT
.cfi_endproc
.LFE0:
.size handle_pragma_macro, .-handle_pragma_macro
.globl TSTRING
.bss
.align 8
.type TSTRING, @object
.size TSTRING, 8
TSTRING:
.zero 8
.globl TNUMBER
.align 4
.type TNUMBER, @object
.size TNUMBER, 4
TNUMBER:
.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_cpp.c_handle_pragma_macro.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "_Pragma takes a string literal, but got %s\000"
.align 2
.LC1:
.ascii "1\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type handle_pragma_macro, %function
handle_pragma_macro:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
mov r5, r0
mov r0, #40
bl expect
bl read_token
ldr r3, .L5
ldr r2, [r0]
ldr r3, [r3]
mov r4, r0
cmp r2, r3
beq .L2
bl tok2s
ldr r1, .L5+4
mov r2, r0
mov r0, r4
bl errort
.L2:
mov r0, #41
bl expect
mov r0, r4
bl parse_pragma_operand
ldr r3, .L5+8
mov r0, r5
pop {r4, r5, r6, lr}
ldr r1, [r3]
ldr r2, .L5+12
b make_token_pushback
.L6:
.align 2
.L5:
.word TSTRING
.word .LC0
.word TNUMBER
.word .LC1
.size handle_pragma_macro, .-handle_pragma_macro
.comm TSTRING,4,4
.comm TNUMBER,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_cpp.c_handle_time_macro.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "%T"
.text
.p2align 4
.type handle_time_macro, @function
handle_time_macro:
.LFB0:
.cfi_startproc
endbr64
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
lea rdx, .LC0[rip]
mov esi, 10
lea rcx, now[rip]
push rbp
.cfi_def_cfa_offset 24
.cfi_offset 6, -24
mov rbp, rdi
sub rsp, 40
.cfi_def_cfa_offset 64
mov rax, QWORD PTR fs:40
mov QWORD PTR 24[rsp], rax
xor eax, eax
lea r12, 14[rsp]
mov rdi, r12
call strftime@PLT
mov rdi, r12
call strdup@PLT
mov esi, DWORD PTR TSTRING[rip]
mov rdi, rbp
mov edx, eax
call make_token_pushback@PLT
mov rax, QWORD PTR 24[rsp]
sub rax, QWORD PTR fs:40
jne .L5
add rsp, 40
.cfi_remember_state
.cfi_def_cfa_offset 24
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
ret
.L5:
.cfi_restore_state
call __stack_chk_fail@PLT
.cfi_endproc
.LFE0:
.size handle_time_macro, .-handle_time_macro
.globl now
.bss
.align 4
.type now, @object
.size now, 4
now:
.zero 4
.globl TSTRING
.align 4
.type TSTRING, @object
.size TSTRING, 4
TSTRING:
.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_cpp.c_handle_time_macro.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "%T\000"
.section .rodata.cst4,"aM",%progbits,4
.align 2
.LC1:
.word __stack_chk_guard
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type handle_time_macro, %function
handle_time_macro:
@ args = 0, pretend = 0, frame = 16
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, lr}
ldr ip, .L6
sub sp, sp, #20
mov r1, #10
ldr r2, .L6+4
mov r4, r0
ldr r3, .L6+8
mov r0, sp
ldr ip, [ip]
str ip, [sp, #12]
mov ip,#0
bl strftime
ldr r3, .L6+12
mov r0, sp
ldr r5, [r3]
bl strdup
mov r1, r5
mov r2, r0
mov r0, r4
bl make_token_pushback
ldr r3, .L6
ldr r2, [r3]
ldr r3, [sp, #12]
eors r2, r3, r2
mov r3, #0
bne .L5
add sp, sp, #20
@ sp needed
pop {r4, r5, pc}
.L5:
bl __stack_chk_fail
.L7:
.align 2
.L6:
.word .LC1
.word .LC0
.word now
.word TSTRING
.size handle_time_macro, .-handle_time_macro
.comm now,4,4
.comm TSTRING,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_cpp.c_handle_timestamp_macro.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "%a %b %e %T %Y"
.text
.p2align 4
.type handle_timestamp_macro, @function
handle_timestamp_macro:
.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
sub rsp, 56
.cfi_def_cfa_offset 80
mov rdi, QWORD PTR [rdi]
mov rax, QWORD PTR fs:40
mov QWORD PTR 40[rsp], rax
xor eax, eax
mov r12, rsp
call localtime@PLT
lea rdx, .LC0[rip]
mov esi, 30
mov rdi, r12
mov ecx, eax
call strftime@PLT
mov rdi, r12
call strdup@PLT
mov esi, DWORD PTR TSTRING[rip]
mov rdi, rbp
mov edx, eax
call make_token_pushback@PLT
mov rax, QWORD PTR 40[rsp]
sub rax, QWORD PTR fs:40
jne .L5
add rsp, 56
.cfi_remember_state
.cfi_def_cfa_offset 24
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
ret
.L5:
.cfi_restore_state
call __stack_chk_fail@PLT
.cfi_endproc
.LFE0:
.size handle_timestamp_macro, .-handle_timestamp_macro
.globl TSTRING
.bss
.align 4
.type TSTRING, @object
.size TSTRING, 4
TSTRING:
.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_cpp.c_handle_timestamp_macro.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "%a %b %e %T %Y\000"
.section .rodata.cst4,"aM",%progbits,4
.align 2
.LC1:
.word __stack_chk_guard
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type handle_timestamp_macro, %function
handle_timestamp_macro:
@ args = 0, pretend = 0, frame = 40
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, lr}
ldr r3, .L6
sub sp, sp, #44
mov r4, r0
ldr r0, [r0]
ldr r3, [r3]
str r3, [sp, #36]
mov r3,#0
bl localtime
mov r1, #30
mov r3, r0
ldr r2, .L6+4
add r0, sp, #4
bl strftime
ldr r3, .L6+8
add r0, sp, #4
ldr r5, [r3]
bl strdup
mov r1, r5
mov r2, r0
mov r0, r4
bl make_token_pushback
ldr r3, .L6
ldr r2, [r3]
ldr r3, [sp, #36]
eors r2, r3, r2
mov r3, #0
bne .L5
add sp, sp, #44
@ sp needed
pop {r4, r5, pc}
.L5:
bl __stack_chk_fail
.L7:
.align 2
.L6:
.word .LC1
.word .LC0
.word TSTRING
.size handle_timestamp_macro, .-handle_timestamp_macro
.comm TSTRING,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_cpp.c_hashhash_check.c"
.intel_syntax noprefix
.text
.section .rodata.str1.8,"aMS",@progbits,1
.align 8
.LC0:
.string "'##' cannot appear at start of macro expansion"
.align 8
.LC1:
.string "'##' cannot appear at end of macro expansion"
.text
.p2align 4
.type hashhash_check, @function
hashhash_check:
.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
sub rsp, 8
.cfi_def_cfa_offset 32
call vec_len@PLT
test rax, rax
jne .L14
.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
.L14:
.cfi_restore_state
mov r12d, DWORD PTR KHASHHASH[rip]
mov rdi, rbp
call vec_head@PLT
mov edi, eax
mov esi, r12d
call is_keyword@PLT
test rax, rax
jne .L15
.L4:
mov r12d, DWORD PTR KHASHHASH[rip]
mov rdi, rbp
call vec_tail@PLT
mov edi, eax
mov esi, r12d
call is_keyword@PLT
test rax, rax
je .L1
mov rdi, rbp
call vec_tail@PLT
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 24
lea rsi, .LC1[rip]
pop rbp
.cfi_def_cfa_offset 16
mov edi, eax
pop r12
.cfi_def_cfa_offset 8
jmp errort@PLT
.p2align 4,,10
.p2align 3
.L15:
.cfi_restore_state
mov rdi, rbp
call vec_head@PLT
lea rsi, .LC0[rip]
mov edi, eax
call errort@PLT
jmp .L4
.cfi_endproc
.LFE0:
.size hashhash_check, .-hashhash_check
.globl KHASHHASH
.bss
.align 4
.type KHASHHASH, @object
.size KHASHHASH, 4
KHASHHASH:
.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_cpp.c_hashhash_check.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "'##' cannot appear at start of macro expansion\000"
.align 2
.LC1:
.ascii "'##' cannot appear at end of macro expansion\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type hashhash_check, %function
hashhash_check:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
mov r4, r0
bl vec_len
cmp r0, #0
popeq {r4, r5, r6, pc}
ldr r5, .L15
mov r0, r4
bl vec_head
ldr r1, [r5]
bl is_keyword
cmp r0, #0
bne .L14
.L4:
mov r0, r4
bl vec_tail
ldr r1, [r5]
bl is_keyword
cmp r0, #0
popeq {r4, r5, r6, pc}
mov r0, r4
bl vec_tail
pop {r4, r5, r6, lr}
ldr r1, .L15+4
b errort
.L14:
mov r0, r4
bl vec_head
ldr r1, .L15+8
bl errort
b .L4
.L16:
.align 2
.L15:
.word KHASHHASH
.word .LC1
.word .LC0
.size hashhash_check, .-hashhash_check
.comm KHASHHASH,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_cpp.c_init_now.c"
.intel_syntax noprefix
.text
.p2align 4
.globl init_now
.type init_now, @function
init_now:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 24
.cfi_def_cfa_offset 32
xor edi, edi
mov rax, QWORD PTR fs:40
mov QWORD PTR 8[rsp], rax
xor eax, eax
call time@PLT
lea rdi, 4[rsp]
lea rsi, now[rip]
mov DWORD PTR 4[rsp], eax
call localtime_r@PLT
mov rax, QWORD PTR 8[rsp]
sub rax, QWORD PTR fs:40
jne .L5
add rsp, 24
.cfi_remember_state
.cfi_def_cfa_offset 8
ret
.L5:
.cfi_restore_state
call __stack_chk_fail@PLT
.cfi_endproc
.LFE0:
.size init_now, .-init_now
.globl now
.bss
.align 4
.type now, @object
.size now, 4
now:
.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_cpp.c_init_now.c"
.text
.section .rodata.cst4,"aM",%progbits,4
.align 2
.LC0:
.word __stack_chk_guard
.text
.align 2
.global init_now
.syntax unified
.arm
.fpu softvfp
.type init_now, %function
init_now:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 0, uses_anonymous_args = 0
str lr, [sp, #-4]!
ldr r3, .L6
sub sp, sp, #12
mov r0, #0
ldr r3, [r3]
str r3, [sp, #4]
mov r3,#0
bl time
mov r3, r0
ldr r1, .L6+4
mov r0, sp
str r3, [sp]
bl localtime_r
ldr r3, .L6
ldr r2, [r3]
ldr r3, [sp, #4]
eors r2, r3, r2
mov r3, #0
bne .L5
add sp, sp, #12
@ sp needed
ldr pc, [sp], #4
.L5:
bl __stack_chk_fail
.L7:
.align 2
.L6:
.word .LC0
.word now
.size init_now, .-init_now
.comm now,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_cpp.c_is_digit_sequence.c"
.intel_syntax noprefix
.text
.p2align 4
.type is_digit_sequence, @function
is_digit_sequence:
.LFB0:
.cfi_startproc
endbr64
push rbx
.cfi_def_cfa_offset 16
.cfi_offset 3, -16
mov rbx, rdi
movsx edi, BYTE PTR [rdi]
test dil, dil
jne .L4
jmp .L2
.p2align 4,,10
.p2align 3
.L14:
movsx edi, BYTE PTR 1[rbx]
add rbx, 1
test dil, dil
je .L2
.L4:
call isdigit@PLT
test eax, eax
jne .L14
pop rbx
.cfi_remember_state
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L2:
.cfi_restore_state
mov eax, 1
pop rbx
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size is_digit_sequence, .-is_digit_sequence
.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_cpp.c_is_digit_sequence.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type is_digit_sequence, %function
is_digit_sequence:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
mov r4, r0
ldrb r0, [r0] @ zero_extendqisi2
cmp r0, #0
beq .L2
.L4:
bl isdigit
cmp r0, #0
popeq {r4, pc}
ldrb r0, [r4, #1]! @ zero_extendqisi2
cmp r0, #0
bne .L4
.L2:
mov r0, #1
pop {r4, pc}
.size is_digit_sequence, .-is_digit_sequence
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_cpp.c_join_paths.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "%s"
.text
.p2align 4
.type join_paths, @function
join_paths:
.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
push rbp
.cfi_def_cfa_offset 32
.cfi_offset 6, -32
mov rbp, rdi
push rbx
.cfi_def_cfa_offset 40
.cfi_offset 3, -40
xor ebx, ebx
sub rsp, 8
.cfi_def_cfa_offset 48
call make_buffer@PLT
mov r12, rax
jmp .L2
.p2align 4,,10
.p2align 3
.L3:
mov esi, ebx
mov rdi, rbp
add ebx, 1
call vec_get@PLT
mov edi, eax
call tok2s@PLT
mov rsi, r13
mov rdi, r12
mov edx, eax
call buf_printf@PLT
.L2:
mov rdi, rbp
call vec_len@PLT
cmp eax, ebx
jg .L3
add rsp, 8
.cfi_def_cfa_offset 40
mov rdi, r12
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 buf_body@PLT
.cfi_endproc
.LFE0:
.size join_paths, .-join_paths
.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_cpp.c_join_paths.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "%s\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type join_paths, %function
join_paths:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, lr}
mov r5, r0
bl make_buffer
mov r4, #0
mov r6, r0
ldr r7, .L6
b .L2
.L3:
mov r1, r4
mov r0, r5
bl vec_get
bl tok2s
mov r1, r7
mov r2, r0
mov r0, r6
bl buf_printf
add r4, r4, #1
.L2:
mov r0, r5
bl vec_len
cmp r0, r4
bgt .L3
mov r0, r6
pop {r4, r5, r6, r7, r8, lr}
b buf_body
.L7:
.align 2
.L6:
.word .LC0
.size join_paths, .-join_paths
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_cpp.c_make_cond_incl.c"
.intel_syntax noprefix
.text
.p2align 4
.type make_cond_incl, @function
make_cond_incl:
.LFB0:
.cfi_startproc
endbr64
push rbx
.cfi_def_cfa_offset 16
.cfi_offset 3, -16
mov esi, 8
mov ebx, edi
mov edi, 1
call calloc@PLT
mov edx, DWORD PTR IN_THEN[rip]
mov DWORD PTR [rax], ebx
mov DWORD PTR 4[rax], edx
pop rbx
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size make_cond_incl, .-make_cond_incl
.globl IN_THEN
.bss
.align 4
.type IN_THEN, @object
.size IN_THEN, 4
IN_THEN:
.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_cpp.c_make_cond_incl.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type make_cond_incl, %function
make_cond_incl:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
mov r1, #8
mov r4, r0
mov r0, #1
bl calloc
ldr r2, .L4
str r4, [r0]
ldr r2, [r2]
str r2, [r0, #4]
pop {r4, pc}
.L5:
.align 2
.L4:
.word IN_THEN
.size make_cond_incl, .-make_cond_incl
.comm IN_THEN,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_cpp.c_make_macro.c"
.intel_syntax noprefix
.text
.p2align 4
.type make_macro, @function
make_macro:
.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
pop rbx
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size make_macro, .-make_macro
.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_cpp.c_make_macro.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type make_macro, %function
make_macro:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
mov r4, r0
mov r0, #4
bl malloc
ldr r3, [r4]
str r3, [r0]
pop {r4, pc}
.size make_macro, .-make_macro
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_cpp.c_make_macro_token.c"
.intel_syntax noprefix
.text
.p2align 4
.type make_macro_token, @function
make_macro_token:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov ebp, esi
push rbx
.cfi_def_cfa_offset 24
.cfi_offset 3, -24
mov ebx, edi
mov edi, 32
sub rsp, 8
.cfi_def_cfa_offset 32
call malloc@PLT
mov edx, DWORD PTR TMACRO_PARAM[rip]
mov DWORD PTR [rax], ebp
mov DWORD PTR 24[rax], edx
mov DWORD PTR 4[rax], ebx
mov QWORD PTR 8[rax], 0
mov QWORD PTR 16[rax], 0
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 make_macro_token, .-make_macro_token
.globl TMACRO_PARAM
.bss
.align 4
.type TMACRO_PARAM, @object
.size TMACRO_PARAM, 4
TMACRO_PARAM:
.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_cpp.c_make_macro_token.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type make_macro_token, %function
make_macro_token:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
mov r4, r0
mov r0, #24
mov r5, r1
bl malloc
mov r2, #0
ldr r1, .L4
str r5, [r0]
ldr r1, [r1]
str r4, [r0, #4]
str r1, [r0, #20]
str r2, [r0, #16]
str r2, [r0, #8]
str r2, [r0, #12]
pop {r4, r5, r6, pc}
.L5:
.align 2
.L4:
.word TMACRO_PARAM
.size make_macro_token, .-make_macro_token
.comm TMACRO_PARAM,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_cpp.c_make_token_pushback.c"
.intel_syntax noprefix
.text
.p2align 4
.type make_token_pushback, @function
make_token_pushback:
.LFB0:
.cfi_startproc
endbr64
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
mov r12, rdx
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
call copy_token@PLT
mov rdi, r12
mov DWORD PTR [rax], ebx
mov rbp, rax
mov QWORD PTR 8[rax], r12
call strlen@PLT
mov rdi, rbp
add rax, 1
mov QWORD PTR 24[rbp], rax
mov eax, DWORD PTR ENC_NONE[rip]
mov DWORD PTR 16[rbp], eax
pop rbx
.cfi_def_cfa_offset 24
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
jmp unget_token@PLT
.cfi_endproc
.LFE0:
.size make_token_pushback, .-make_token_pushback
.globl ENC_NONE
.bss
.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_cpp.c_make_token_pushback.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type make_token_pushback, %function
make_token_pushback:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
mov r5, r2
mov r6, r1
bl copy_token
mov r4, r0
mov r0, r5
str r6, [r4]
str r5, [r4, #4]
bl strlen
ldr r3, .L4
add r0, r0, #1
ldr r3, [r3]
str r0, [r4, #12]
str r3, [r4, #8]
mov r0, r4
pop {r4, r5, r6, lr}
b unget_token
.L5:
.align 2
.L4:
.word ENC_NONE
.size make_token_pushback, .-make_token_pushback
.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_cpp.c_maybe_convert_keyword.c"
.intel_syntax noprefix
.text
.p2align 4
.type maybe_convert_keyword, @function
maybe_convert_keyword:
.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
sub rsp, 8
.cfi_def_cfa_offset 32
mov rax, QWORD PTR TIDENT[rip]
cmp QWORD PTR [rdi], rax
je .L2
.L4:
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 24
mov rax, rbp
pop rbx
.cfi_def_cfa_offset 16
pop rbp
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L2:
.cfi_restore_state
mov esi, DWORD PTR 12[rdi]
mov edi, DWORD PTR keywords[rip]
call map_get@PLT
mov ebx, eax
test eax, eax
je .L4
mov rdi, rbp
call copy_token@PLT
mov rdx, QWORD PTR TKEYWORD[rip]
mov DWORD PTR 8[rax], ebx
mov QWORD PTR [rax], rdx
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 maybe_convert_keyword, .-maybe_convert_keyword
.globl keywords
.bss
.align 4
.type keywords, @object
.size keywords, 4
keywords:
.zero 4
.globl TKEYWORD
.align 8
.type TKEYWORD, @object
.size TKEYWORD, 8
TKEYWORD:
.zero 8
.globl TIDENT
.align 8
.type TIDENT, @object
.size TIDENT, 8
TIDENT:
.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_cpp.c_maybe_convert_keyword.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type maybe_convert_keyword, %function
maybe_convert_keyword:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
ldr r3, .L10
ldr r2, [r0]
ldr r3, [r3]
push {r4, r5, r6, lr}
cmp r2, r3
mov r4, r0
beq .L2
.L4:
mov r0, r4
pop {r4, r5, r6, pc}
.L2:
ldr r3, .L10+4
ldr r1, [r0, #8]
ldr r0, [r3]
bl map_get
subs r5, r0, #0
beq .L4
mov r0, r4
bl copy_token
ldr r3, .L10+8
str r5, [r0, #4]
ldr r3, [r3]
str r3, [r0]
pop {r4, r5, r6, pc}
.L11:
.align 2
.L10:
.word TIDENT
.word keywords
.word TKEYWORD
.size maybe_convert_keyword, .-maybe_convert_keyword
.comm keywords,4,4
.comm TKEYWORD,4,4
.comm TIDENT,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_cpp.c_next.c"
.intel_syntax noprefix
.text
.p2align 4
.type next, @function
next:
.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 lex@PLT
mov esi, r12d
mov rdi, rax
mov rbp, rax
call is_keyword@PLT
mov r8, rax
mov eax, 1
test r8, r8
jne .L1
mov rdi, rbp
call unget_token@PLT
xor eax, eax
.L1:
add rsp, 8
.cfi_def_cfa_offset 24
pop rbp
.cfi_def_cfa_offset 16
pop r12
.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_cpp.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, r5, r6, lr}
mov r4, r0
bl lex
mov r1, r4
mov r5, r0
bl is_keyword
subs r4, r0, #0
movne r4, #1
bne .L1
mov r0, r5
bl unget_token
.L1:
mov r0, r4
pop {r4, r5, r6, pc}
.size next, .-next
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_cpp.c_parse_pragma_operand.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "once"
.LC1:
.string "enable_warning"
.LC2:
.string "disable_warning"
.LC3:
.string "unknown #pragma: %s"
.text
.p2align 4
.type parse_pragma_operand, @function
parse_pragma_operand:
.LFB0:
.cfi_startproc
endbr64
mov rdx, QWORD PTR [rdi]
mov r8, rdi
mov ecx, 5
lea rdi, .LC0[rip]
mov rsi, rdx
repz cmpsb
seta al
sbb al, 0
test al, al
je .L10
mov ecx, 15
lea rdi, .LC1[rip]
mov rsi, rdx
repz cmpsb
seta al
sbb al, 0
test al, al
je .L11
mov ecx, 16
lea rdi, .LC2[rip]
mov rsi, rdx
repz cmpsb
seta al
sbb al, 0
test al, al
jne .L5
mov DWORD PTR enable_warning[rip], 0
ret
.p2align 4,,10
.p2align 3
.L11:
mov DWORD PTR enable_warning[rip], 1
ret
.p2align 4,,10
.p2align 3
.L10:
sub rsp, 8
.cfi_def_cfa_offset 16
mov rax, QWORD PTR 8[r8]
mov edi, DWORD PTR [rax]
call fullpath@PLT
mov edi, DWORD PTR once[rip]
mov edx, 1
add rsp, 8
.cfi_def_cfa_offset 8
mov rsi, rax
jmp map_put@PLT
.p2align 4,,10
.p2align 3
.L5:
lea rsi, .LC3[rip]
mov rdi, r8
jmp errort@PLT
.cfi_endproc
.LFE0:
.size parse_pragma_operand, .-parse_pragma_operand
.globl once
.bss
.align 4
.type once, @object
.size once, 4
once:
.zero 4
.globl enable_warning
.align 4
.type enable_warning, @object
.size enable_warning, 4
enable_warning:
.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_cpp.c_parse_pragma_operand.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "once\000"
.align 2
.LC1:
.ascii "enable_warning\000"
.align 2
.LC2:
.ascii "disable_warning\000"
.align 2
.LC3:
.ascii "unknown #pragma: %s\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type parse_pragma_operand, %function
parse_pragma_operand:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
ldr r5, [r0]
mov r4, r0
ldr r1, .L10
mov r0, r5
bl strcmp
cmp r0, #0
beq .L8
mov r0, r5
ldr r1, .L10+4
bl strcmp
cmp r0, #0
beq .L9
mov r0, r5
ldr r1, .L10+8
bl strcmp
cmp r0, #0
bne .L5
ldr r3, .L10+12
str r0, [r3]
pop {r4, r5, r6, pc}
.L9:
mov r2, #1
ldr r3, .L10+12
str r2, [r3]
pop {r4, r5, r6, pc}
.L8:
ldr r3, [r4, #4]
ldr r0, [r3]
bl fullpath
pop {r4, r5, r6, lr}
ldr r3, .L10+16
mov r1, r0
mov r2, #1
ldr r0, [r3]
b map_put
.L5:
mov r2, r5
mov r0, r4
pop {r4, r5, r6, lr}
ldr r1, .L10+20
b errort
.L11:
.align 2
.L10:
.word .LC0
.word .LC1
.word .LC2
.word enable_warning
.word once
.word .LC3
.size parse_pragma_operand, .-parse_pragma_operand
.comm once,4,4
.comm enable_warning,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_cpp.c_peek_token.c"
.intel_syntax noprefix
.text
.p2align 4
.globl peek_token
.type peek_token, @function
peek_token:
.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 rdi, rax
call unget_token@PLT
mov rax, r12
pop r12
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size peek_token, .-peek_token
.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_cpp.c_peek_token.c"
.text
.align 2
.global peek_token
.syntax unified
.arm
.fpu softvfp
.type peek_token, %function
peek_token:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
bl read_token
mov r4, r0
bl unget_token
mov r0, r4
pop {r4, pc}
.size peek_token, .-peek_token
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_cpp.c_propagate_space.c"
.intel_syntax noprefix
.text
.p2align 4
.type propagate_space, @function
propagate_space:
.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
mov rbx, rsi
sub rsp, 8
.cfi_def_cfa_offset 32
call vec_len@PLT
test rax, rax
jne .L5
add rsp, 8
.cfi_remember_state
.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
.L5:
.cfi_restore_state
mov rdi, rbp
call vec_head@PLT
mov edi, eax
call copy_token@PLT
mov rdi, rbp
xor esi, esi
mov rdx, rax
mov eax, DWORD PTR [rbx]
mov DWORD PTR [rdx], eax
add rsp, 8
.cfi_def_cfa_offset 24
pop rbx
.cfi_def_cfa_offset 16
pop rbp
.cfi_def_cfa_offset 8
jmp vec_set@PLT
.cfi_endproc
.LFE0:
.size propagate_space, .-propagate_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_cpp.c_propagate_space.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type propagate_space, %function
propagate_space:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
mov r5, r1
mov r4, r0
bl vec_len
cmp r0, #0
popeq {r4, r5, r6, pc}
mov r0, r4
bl vec_head
bl copy_token
ldr r3, [r5]
mov r2, r0
str r3, [r0]
mov r1, #0
mov r0, r4
pop {r4, r5, r6, lr}
b vec_set
.size propagate_space, .-propagate_space
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_cpp.c_read_args.c"
.intel_syntax noprefix
.text
.section .rodata.str1.8,"aMS",@progbits,1
.align 8
.LC0:
.string "macro argument number does not match"
.text
.p2align 4
.type read_args, @function
read_args:
.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
push rbx
.cfi_def_cfa_offset 32
.cfi_offset 3, -32
cmp QWORD PTR [rsi], 0
mov rbx, rsi
jne .L2
xor eax, eax
call peek_token@PLT
mov esi, 41
mov edi, eax
call is_keyword@PLT
test rax, rax
jne .L9
.L2:
mov rdi, rbp
mov rsi, rbx
call do_read_args@PLT
mov rdi, rax
mov r12, rax
call vec_len@PLT
cmp rax, QWORD PTR [rbx]
jne .L10
mov rax, r12
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
.L10:
.cfi_restore_state
mov rdi, rbp
lea rsi, .LC0[rip]
call errort@PLT
mov rax, r12
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
.L9:
.cfi_restore_state
pop rbx
.cfi_def_cfa_offset 24
xor eax, eax
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
jmp make_vector@PLT
.cfi_endproc
.LFE0:
.size read_args, .-read_args
.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_cpp.c_read_args.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "macro argument number does not match\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type read_args, %function
read_args:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
ldr r3, [r1]
push {r4, r5, r6, lr}
cmp r3, #0
mov r4, r1
mov r5, r0
bne .L2
bl peek_token
mov r1, #41
bl is_keyword
cmp r0, #0
bne .L9
.L2:
mov r1, r4
mov r0, r5
bl do_read_args
mov r6, r0
bl vec_len
ldr r3, [r4]
cmp r0, r3
bne .L10
mov r0, r6
pop {r4, r5, r6, pc}
.L10:
mov r0, r5
ldr r1, .L11
bl errort
mov r0, r6
pop {r4, r5, r6, pc}
.L9:
pop {r4, r5, r6, lr}
b make_vector
.L12:
.align 2
.L11:
.word .LC0
.size read_args, .-read_args
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_cpp.c_read_constexpr.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "stray token: %s"
.text
.p2align 4
.type read_constexpr, @function
read_constexpr:
.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
sub rsp, 8
.cfi_def_cfa_offset 32
call read_intexpr_line@PLT
mov edi, eax
call vec_reverse@PLT
mov edi, eax
call token_buffer_stash@PLT
xor eax, eax
call read_expr@PLT
mov r12, rax
xor eax, eax
call lex@PLT
mov rbp, rax
mov rax, QWORD PTR TEOF[rip]
cmp QWORD PTR 0[rbp], rax
je .L2
mov rdi, rbp
call tok2s@PLT
lea rsi, .LC0[rip]
mov rdi, rbp
mov edx, eax
call errort@PLT
.L2:
xor eax, eax
call token_buffer_unstash@PLT
add rsp, 8
.cfi_def_cfa_offset 24
mov rdi, r12
xor esi, esi
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
jmp eval_intexpr@PLT
.cfi_endproc
.LFE0:
.size read_constexpr, .-read_constexpr
.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_cpp.c_read_constexpr.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "stray token: %s\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type read_constexpr, %function
read_constexpr:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
bl read_intexpr_line
bl vec_reverse
bl token_buffer_stash
bl read_expr
mov r5, r0
bl lex
ldr r3, .L5
ldr r2, [r0]
ldr r3, [r3]
cmp r2, r3
beq .L2
mov r4, r0
bl tok2s
ldr r1, .L5+4
mov r2, r0
mov r0, r4
bl errort
.L2:
bl token_buffer_unstash
mov r0, r5
pop {r4, r5, r6, lr}
mov r1, #0
b eval_intexpr
.L6:
.align 2
.L5:
.word TEOF
.word .LC0
.size read_constexpr, .-read_constexpr
.comm TEOF,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_cpp.c_read_cpp_header_name.c"
.intel_syntax noprefix
.text
.section .rodata.str1.8,"aMS",@progbits,1
.align 8
.LC0:
.string "expected filename, but got newline"
.section .rodata.str1.1,"aMS",@progbits,1
.LC1:
.string "< expected, but got %s"
.LC2:
.string "premature end of header name"
.text
.p2align 4
.type read_cpp_header_name, @function
read_cpp_header_name:
.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
mov rdi, rsi
push rbp
.cfi_def_cfa_offset 40
.cfi_offset 6, -40
push rbx
.cfi_def_cfa_offset 48
.cfi_offset 3, -48
mov rbx, rsi
call read_header_file_name@PLT
test rax, rax
je .L11
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
call read_expand_newline@PLT
mov rbp, rax
mov rax, QWORD PTR [rax]
cmp rax, QWORD PTR TNEWLINE[rip]
je .L12
.L3:
cmp QWORD PTR TSTRING[rip], rax
je .L13
mov esi, 60
mov rdi, rbp
call is_keyword@PLT
test rax, rax
je .L14
.L5:
xor eax, eax
lea r14, .LC2[rip]
call make_vector@PLT
mov r13, rax
jmp .L8
.p2align 4,,10
.p2align 3
.L6:
mov esi, 62
mov rdi, rbp
call is_keyword@PLT
test rax, rax
jne .L7
mov rsi, rbp
mov rdi, r13
call vec_push@PLT
.L8:
xor eax, eax
call read_expand_newline@PLT
mov rbp, rax
mov rax, QWORD PTR TNEWLINE[rip]
cmp QWORD PTR 0[rbp], rax
jne .L6
mov rsi, r14
mov rdi, r12
xor eax, eax
call errort@PLT
jmp .L6
.p2align 4,,10
.p2align 3
.L13:
mov rax, QWORD PTR 8[rbp]
mov DWORD PTR [rbx], 0
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
mov DWORD PTR [rbx], 1
mov rdi, r13
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
jmp join_paths@PLT
.p2align 4,,10
.p2align 3
.L14:
.cfi_restore_state
mov rdi, rbp
call tok2s@PLT
lea rsi, .LC1[rip]
mov rdi, rbp
mov edx, eax
xor eax, eax
call errort@PLT
jmp .L5
.p2align 4,,10
.p2align 3
.L12:
lea rsi, .LC0[rip]
mov rdi, r12
xor eax, eax
call errort@PLT
mov rax, QWORD PTR 0[rbp]
jmp .L3
.cfi_endproc
.LFE0:
.size read_cpp_header_name, .-read_cpp_header_name
.globl TSTRING
.bss
.align 8
.type TSTRING, @object
.size TSTRING, 8
TSTRING:
.zero 8
.globl TNEWLINE
.align 8
.type TNEWLINE, @object
.size TNEWLINE, 8
TNEWLINE:
.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_cpp.c_read_cpp_header_name.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "expected filename, but got newline\000"
.align 2
.LC1:
.ascii "< expected, but got %s\000"
.align 2
.LC2:
.ascii "premature end of header name\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type read_cpp_header_name, %function
read_cpp_header_name:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, r9, r10, lr}
mov r6, r0
mov r0, r1
mov r5, r1
bl read_header_file_name
cmp r0, #0
popne {r4, r5, r6, r7, r8, r9, r10, pc}
bl read_expand_newline
ldr r7, .L14
ldr r3, [r0]
ldr r2, [r7]
mov r4, r0
cmp r3, r2
beq .L11
.L3:
ldr r2, .L14+4
ldr r2, [r2]
cmp r2, r3
beq .L12
mov r1, #60
mov r0, r4
bl is_keyword
cmp r0, #0
beq .L13
.L5:
bl make_vector
ldr r9, .L14+8
mov r8, r0
b .L8
.L6:
mov r1, #62
mov r0, r4
bl is_keyword
cmp r0, #0
bne .L7
mov r1, r4
mov r0, r8
bl vec_push
.L8:
bl read_expand_newline
ldr r3, [r7]
ldr r2, [r0]
mov r4, r0
cmp r2, r3
bne .L6
mov r1, r9
mov r0, r6
bl errort
b .L6
.L12:
mov r3, #0
ldr r0, [r4, #4]
str r3, [r5]
pop {r4, r5, r6, r7, r8, r9, r10, pc}
.L7:
mov r3, #1
mov r0, r8
str r3, [r5]
pop {r4, r5, r6, r7, r8, r9, r10, lr}
b join_paths
.L13:
mov r0, r4
bl tok2s
ldr r1, .L14+12
mov r2, r0
mov r0, r4
bl errort
b .L5
.L11:
mov r0, r6
ldr r1, .L14+16
bl errort
ldr r3, [r4]
b .L3
.L15:
.align 2
.L14:
.word TNEWLINE
.word TSTRING
.word .LC2
.word .LC1
.word .LC0
.size read_cpp_header_name, .-read_cpp_header_name
.comm TSTRING,4,4
.comm TNEWLINE,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_cpp.c_read_define.c"
.intel_syntax noprefix
.text
.p2align 4
.type read_define, @function
read_define:
.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
sub rsp, 8
.cfi_def_cfa_offset 32
call read_ident@PLT
mov r12, rax
xor eax, eax
call lex@PLT
mov esi, 40
mov rdi, rax
mov rbp, rax
call is_keyword@PLT
test rax, rax
je .L2
mov eax, DWORD PTR 4[rbp]
test eax, eax
je .L8
.L2:
mov rdi, rbp
call unget_token@PLT
mov edi, DWORD PTR [r12]
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
jmp read_obj_macro@PLT
.p2align 4,,10
.p2align 3
.L8:
.cfi_restore_state
add rsp, 8
.cfi_def_cfa_offset 24
mov rdi, r12
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
jmp read_funclike_macro@PLT
.cfi_endproc
.LFE0:
.size read_define, .-read_define
.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_cpp.c_read_define.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type read_define, %function
read_define:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
bl read_ident
mov r5, r0
bl lex
mov r1, #40
mov r4, r0
bl is_keyword
cmp r0, #0
beq .L2
ldr r3, [r4, #4]
cmp r3, #0
beq .L8
.L2:
mov r0, r4
bl unget_token
ldr r0, [r5]
pop {r4, r5, r6, lr}
b read_obj_macro
.L8:
mov r0, r5
pop {r4, r5, r6, lr}
b read_funclike_macro
.size read_define, .-read_define
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_cpp.c_read_defined_op.c"
.intel_syntax noprefix
.text
.section .rodata.str1.8,"aMS",@progbits,1
.align 8
.LC0:
.string "identifier expected, but got %s"
.text
.p2align 4
.type read_defined_op, @function
read_defined_op:
.LFB0:
.cfi_startproc
endbr64
push rbx
.cfi_def_cfa_offset 16
.cfi_offset 3, -16
xor eax, eax
call lex@PLT
mov esi, 40
mov rdi, rax
mov rbx, rax
call is_keyword@PLT
test rax, rax
jne .L11
.L2:
mov rax, QWORD PTR TIDENT[rip]
cmp QWORD PTR [rbx], rax
je .L3
mov rdi, rbx
call tok2s@PLT
lea rsi, .LC0[rip]
mov rdi, rbx
mov edx, eax
call errort@PLT
.L3:
mov esi, DWORD PTR 8[rbx]
mov edi, DWORD PTR macros[rip]
call map_get@PLT
pop rbx
.cfi_remember_state
.cfi_def_cfa_offset 8
test rax, rax
mov rax, QWORD PTR cpp_token_one[rip]
cmove rax, QWORD PTR cpp_token_zero[rip]
ret
.p2align 4,,10
.p2align 3
.L11:
.cfi_restore_state
xor eax, eax
call lex@PLT
mov edi, 41
mov rbx, rax
call expect@PLT
jmp .L2
.cfi_endproc
.LFE0:
.size read_defined_op, .-read_defined_op
.globl macros
.bss
.align 4
.type macros, @object
.size macros, 4
macros:
.zero 4
.globl cpp_token_zero
.align 8
.type cpp_token_zero, @object
.size cpp_token_zero, 8
cpp_token_zero:
.zero 8
.globl cpp_token_one
.align 8
.type cpp_token_one, @object
.size cpp_token_one, 8
cpp_token_one:
.zero 8
.globl TIDENT
.align 8
.type TIDENT, @object
.size TIDENT, 8
TIDENT:
.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_cpp.c_read_defined_op.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "identifier expected, but got %s\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type read_defined_op, %function
read_defined_op:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
bl lex
mov r1, #40
mov r4, r0
bl is_keyword
cmp r0, #0
bne .L11
.L2:
ldr r3, .L12
ldr r2, [r4]
ldr r3, [r3]
cmp r2, r3
beq .L3
mov r0, r4
bl tok2s
ldr r1, .L12+4
mov r2, r0
mov r0, r4
bl errort
.L3:
ldr r3, .L12+8
ldr r1, [r4, #4]
ldr r0, [r3]
bl map_get
cmp r0, #0
ldrne r3, .L12+12
ldreq r3, .L12+16
ldr r0, [r3]
pop {r4, pc}
.L11:
bl lex
mov r4, r0
mov r0, #41
bl expect
b .L2
.L13:
.align 2
.L12:
.word TIDENT
.word .LC0
.word macros
.word cpp_token_one
.word cpp_token_zero
.size read_defined_op, .-read_defined_op
.comm macros,4,4
.comm cpp_token_zero,4,4
.comm cpp_token_one,4,4
.comm TIDENT,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_cpp.c_read_directive.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "define"
.LC1:
.string "elif"
.LC2:
.string "else"
.LC3:
.string "endif"
.LC4:
.string "error"
.LC5:
.string "ifdef"
.LC6:
.string "ifndef"
.LC7:
.string "import"
.LC8:
.string "include"
.LC9:
.string "include_next"
.LC10:
.string "line"
.LC11:
.string "pragma"
.LC12:
.string "undef"
.LC13:
.string "warning"
.section .rodata.str1.8,"aMS",@progbits,1
.align 8
.LC14:
.string "unsupported preprocessor directive: %s"
.text
.p2align 4
.type read_directive, @function
read_directive:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
xor eax, eax
mov rbp, rdi
call lex@PLT
mov r8, rax
mov rax, QWORD PTR [rax]
cmp rax, QWORD PTR TNEWLINE[rip]
je .L1
cmp rax, QWORD PTR TNUMBER[rip]
je .L22
cmp rax, QWORD PTR TIDENT[rip]
jne .L4
mov rax, QWORD PTR 8[r8]
mov ecx, 7
lea rdi, .LC0[rip]
mov rsi, rax
repz cmpsb
seta dl
sbb dl, 0
test dl, dl
je .L23
mov ecx, 5
lea rdi, .LC1[rip]
mov rsi, rax
repz cmpsb
seta dl
sbb dl, 0
test dl, dl
je .L24
mov ecx, 5
lea rdi, .LC2[rip]
mov rsi, rax
repz cmpsb
seta dl
sbb dl, 0
test dl, dl
je .L25
mov ecx, 6
lea rdi, .LC3[rip]
mov rsi, rax
repz cmpsb
seta dl
sbb dl, 0
test dl, dl
je .L26
mov ecx, 6
lea rdi, .LC4[rip]
mov rsi, rax
repz cmpsb
seta dl
sbb dl, 0
test dl, dl
je .L27
cmp BYTE PTR [rax], 105
jne .L11
cmp BYTE PTR 1[rax], 102
jne .L11
cmp BYTE PTR 2[rax], 0
jne .L11
xor eax, eax
pop rbp
.cfi_remember_state
.cfi_def_cfa_offset 8
jmp read_if@PLT
.p2align 4,,10
.p2align 3
.L4:
.cfi_restore_state
mov rdi, r8
call tok2s@PLT
mov rdi, rbp
lea rsi, .LC14[rip]
pop rbp
.cfi_remember_state
.cfi_def_cfa_offset 8
mov edx, eax
jmp errort@PLT
.p2align 4,,10
.p2align 3
.L1:
.cfi_restore_state
pop rbp
.cfi_remember_state
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L24:
.cfi_restore_state
mov rdi, rbp
pop rbp
.cfi_remember_state
.cfi_def_cfa_offset 8
jmp read_elif@PLT
.p2align 4,,10
.p2align 3
.L23:
.cfi_restore_state
xor eax, eax
pop rbp
.cfi_remember_state
.cfi_def_cfa_offset 8
jmp read_define@PLT
.p2align 4,,10
.p2align 3
.L22:
.cfi_restore_state
mov rdi, r8
pop rbp
.cfi_remember_state
.cfi_def_cfa_offset 8
jmp read_linemarker@PLT
.p2align 4,,10
.p2align 3
.L25:
.cfi_restore_state
mov rdi, rbp
pop rbp
.cfi_remember_state
.cfi_def_cfa_offset 8
jmp read_else@PLT
.p2align 4,,10
.p2align 3
.L27:
.cfi_restore_state
mov rdi, rbp
pop rbp
.cfi_remember_state
.cfi_def_cfa_offset 8
jmp read_error@PLT
.p2align 4,,10
.p2align 3
.L26:
.cfi_restore_state
mov rdi, rbp
pop rbp
.cfi_remember_state
.cfi_def_cfa_offset 8
jmp read_endif@PLT
.p2align 4,,10
.p2align 3
.L11:
.cfi_restore_state
mov ecx, 6
lea rdi, .LC5[rip]
mov rsi, rax
repz cmpsb
seta dl
sbb dl, 0
test dl, dl
je .L28
mov ecx, 7
lea rdi, .LC6[rip]
mov rsi, rax
repz cmpsb
seta dl
sbb dl, 0
test dl, dl
je .L29
mov ecx, 7
lea rdi, .LC7[rip]
mov rsi, rax
repz cmpsb
seta dl
sbb dl, 0
test dl, dl
je .L30
mov ecx, 8
lea rdi, .LC8[rip]
mov rsi, rax
repz cmpsb
seta dl
sbb dl, 0
test dl, dl
je .L31
mov ecx, 13
lea rdi, .LC9[rip]
mov rsi, rax
repz cmpsb
seta dl
sbb dl, 0
test dl, dl
je .L32
mov ecx, 5
lea rdi, .LC10[rip]
mov rsi, rax
repz cmpsb
seta dl
sbb dl, 0
test dl, dl
je .L33
mov ecx, 7
lea rdi, .LC11[rip]
mov rsi, rax
repz cmpsb
seta dl
sbb dl, 0
test dl, dl
je .L34
mov ecx, 6
lea rdi, .LC12[rip]
mov rsi, rax
repz cmpsb
seta dl
sbb dl, 0
test dl, dl
je .L35
mov rsi, rax
mov ecx, 8
lea rdi, .LC13[rip]
repz cmpsb
seta al
sbb al, 0
test al, al
jne .L4
mov rdi, rbp
pop rbp
.cfi_remember_state
.cfi_def_cfa_offset 8
jmp read_warning@PLT
.p2align 4,,10
.p2align 3
.L28:
.cfi_restore_state
xor eax, eax
pop rbp
.cfi_remember_state
.cfi_def_cfa_offset 8
jmp read_ifdef@PLT
.L29:
.cfi_restore_state
xor eax, eax
pop rbp
.cfi_remember_state
.cfi_def_cfa_offset 8
jmp read_ifndef@PLT
.L30:
.cfi_restore_state
mov esi, DWORD PTR 16[r8]
mov rdi, rbp
mov edx, 1
pop rbp
.cfi_remember_state
.cfi_def_cfa_offset 8
jmp read_include@PLT
.L31:
.cfi_restore_state
mov esi, DWORD PTR 16[r8]
mov rdi, rbp
xor edx, edx
pop rbp
.cfi_remember_state
.cfi_def_cfa_offset 8
jmp read_include@PLT
.L32:
.cfi_restore_state
mov esi, DWORD PTR 16[r8]
mov rdi, rbp
pop rbp
.cfi_remember_state
.cfi_def_cfa_offset 8
jmp read_include_next@PLT
.L33:
.cfi_restore_state
xor eax, eax
pop rbp
.cfi_remember_state
.cfi_def_cfa_offset 8
jmp read_line@PLT
.L34:
.cfi_restore_state
xor eax, eax
pop rbp
.cfi_remember_state
.cfi_def_cfa_offset 8
jmp read_pragma@PLT
.L35:
.cfi_restore_state
xor eax, eax
pop rbp
.cfi_def_cfa_offset 8
jmp read_undef@PLT
.cfi_endproc
.LFE0:
.size read_directive, .-read_directive
.globl TNUMBER
.bss
.align 8
.type TNUMBER, @object
.size TNUMBER, 8
TNUMBER:
.zero 8
.globl TNEWLINE
.align 8
.type TNEWLINE, @object
.size TNEWLINE, 8
TNEWLINE:
.zero 8
.globl TIDENT
.align 8
.type TIDENT, @object
.size TIDENT, 8
TIDENT:
.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_cpp.c_read_directive.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "define\000"
.align 2
.LC1:
.ascii "elif\000"
.align 2
.LC2:
.ascii "else\000"
.align 2
.LC3:
.ascii "endif\000"
.align 2
.LC4:
.ascii "error\000"
.align 2
.LC5:
.ascii "ifdef\000"
.align 2
.LC6:
.ascii "ifndef\000"
.align 2
.LC7:
.ascii "import\000"
.align 2
.LC8:
.ascii "include\000"
.align 2
.LC9:
.ascii "include_next\000"
.align 2
.LC10:
.ascii "line\000"
.align 2
.LC11:
.ascii "pragma\000"
.align 2
.LC12:
.ascii "undef\000"
.align 2
.LC13:
.ascii "warning\000"
.align 2
.LC14:
.ascii "unsupported preprocessor directive: %s\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type read_directive, %function
read_directive:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
mov r5, r0
bl lex
ldr r2, .L36
ldr r3, [r0]
ldr r2, [r2]
cmp r3, r2
popeq {r4, r5, r6, pc}
ldr r2, .L36+4
ldr r2, [r2]
cmp r3, r2
beq .L22
ldr r2, .L36+8
mov r4, r0
ldr r2, [r2]
cmp r3, r2
bne .L4
ldr r6, [r0, #4]
ldr r1, .L36+12
mov r0, r6
bl strcmp
cmp r0, #0
beq .L23
mov r0, r6
ldr r1, .L36+16
bl strcmp
cmp r0, #0
beq .L24
mov r0, r6
ldr r1, .L36+20
bl strcmp
cmp r0, #0
beq .L25
mov r0, r6
ldr r1, .L36+24
bl strcmp
cmp r0, #0
beq .L26
mov r0, r6
ldr r1, .L36+28
bl strcmp
cmp r0, #0
beq .L27
ldrb r3, [r6] @ zero_extendqisi2
cmp r3, #105
bne .L11
ldrb r3, [r6, #1] @ zero_extendqisi2
cmp r3, #102
bne .L11
ldrb r3, [r6, #2] @ zero_extendqisi2
cmp r3, #0
bne .L11
pop {r4, r5, r6, lr}
b read_if
.L4:
mov r0, r4
bl tok2s
ldr r1, .L36+32
mov r2, r0
mov r0, r5
pop {r4, r5, r6, lr}
b errort
.L24:
mov r0, r5
pop {r4, r5, r6, lr}
b read_elif
.L23:
pop {r4, r5, r6, lr}
b read_define
.L22:
pop {r4, r5, r6, lr}
b read_linemarker
.L25:
mov r0, r5
pop {r4, r5, r6, lr}
b read_else
.L27:
mov r0, r5
pop {r4, r5, r6, lr}
b read_error
.L26:
mov r0, r5
pop {r4, r5, r6, lr}
b read_endif
.L11:
mov r0, r6
ldr r1, .L36+36
bl strcmp
cmp r0, #0
beq .L28
mov r0, r6
ldr r1, .L36+40
bl strcmp
cmp r0, #0
beq .L29
mov r0, r6
ldr r1, .L36+44
bl strcmp
cmp r0, #0
beq .L30
mov r0, r6
ldr r1, .L36+48
bl strcmp
subs r2, r0, #0
beq .L31
mov r0, r6
ldr r1, .L36+52
bl strcmp
cmp r0, #0
beq .L32
mov r0, r6
ldr r1, .L36+56
bl strcmp
cmp r0, #0
beq .L33
mov r0, r6
ldr r1, .L36+60
bl strcmp
cmp r0, #0
beq .L34
mov r0, r6
ldr r1, .L36+64
bl strcmp
cmp r0, #0
beq .L35
mov r0, r6
ldr r1, .L36+68
bl strcmp
cmp r0, #0
bne .L4
mov r0, r5
pop {r4, r5, r6, lr}
b read_warning
.L28:
pop {r4, r5, r6, lr}
b read_ifdef
.L29:
pop {r4, r5, r6, lr}
b read_ifndef
.L30:
mov r0, r5
ldr r1, [r4, #8]
mov r2, #1
pop {r4, r5, r6, lr}
b read_include
.L31:
mov r0, r5
ldr r1, [r4, #8]
pop {r4, r5, r6, lr}
b read_include
.L32:
mov r0, r5
ldr r1, [r4, #8]
pop {r4, r5, r6, lr}
b read_include_next
.L33:
pop {r4, r5, r6, lr}
b read_line
.L34:
pop {r4, r5, r6, lr}
b read_pragma
.L35:
pop {r4, r5, r6, lr}
b read_undef
.L37:
.align 2
.L36:
.word TNEWLINE
.word TNUMBER
.word TIDENT
.word .LC0
.word .LC1
.word .LC2
.word .LC3
.word .LC4
.word .LC14
.word .LC5
.word .LC6
.word .LC7
.word .LC8
.word .LC9
.word .LC10
.word .LC11
.word .LC12
.word .LC13
.size read_directive, .-read_directive
.comm TNUMBER,4,4
.comm TNEWLINE,4,4
.comm TIDENT,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_cpp.c_read_elif.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "stray #elif"
.LC1:
.string "#elif after #else"
.text
.p2align 4
.type read_elif, @function
read_elif:
.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
sub rsp, 8
.cfi_def_cfa_offset 32
mov edi, DWORD PTR cond_incl_stack[rip]
call vec_len@PLT
test rax, rax
je .L11
.L2:
mov edi, DWORD PTR cond_incl_stack[rip]
call vec_tail@PLT
mov rbx, rax
mov rax, QWORD PTR IN_ELSE[rip]
cmp QWORD PTR [rbx], rax
je .L12
.L3:
mov rax, QWORD PTR IN_ELIF[rip]
mov QWORD PTR 16[rbx], 0
mov QWORD PTR [rbx], rax
mov eax, DWORD PTR 8[rbx]
test eax, eax
jne .L5
xor eax, eax
call read_constexpr@PLT
test eax, eax
je .L5
mov DWORD PTR 8[rbx], 1
add rsp, 8
.cfi_remember_state
.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
.L5:
.cfi_restore_state
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 24
xor eax, eax
pop rbx
.cfi_def_cfa_offset 16
pop rbp
.cfi_def_cfa_offset 8
jmp skip_cond_incl@PLT
.p2align 4,,10
.p2align 3
.L11:
.cfi_restore_state
lea rsi, .LC0[rip]
mov rdi, rbp
call errort@PLT
jmp .L2
.p2align 4,,10
.p2align 3
.L12:
lea rsi, .LC1[rip]
mov rdi, rbp
call errort@PLT
jmp .L3
.cfi_endproc
.LFE0:
.size read_elif, .-read_elif
.globl cond_incl_stack
.bss
.align 4
.type cond_incl_stack, @object
.size cond_incl_stack, 4
cond_incl_stack:
.zero 4
.globl IN_ELSE
.align 8
.type IN_ELSE, @object
.size IN_ELSE, 8
IN_ELSE:
.zero 8
.globl IN_ELIF
.align 8
.type IN_ELIF, @object
.size IN_ELIF, 8
IN_ELIF:
.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_cpp.c_read_elif.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "stray #elif\000"
.align 2
.LC1:
.ascii "#elif after #else\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type read_elif, %function
read_elif:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
ldr r4, .L13
mov r5, r0
ldr r0, [r4]
bl vec_len
cmp r0, #0
beq .L11
.L2:
ldr r0, [r4]
bl vec_tail
ldr r3, .L13+4
ldr r2, [r0]
ldr r3, [r3]
mov r4, r0
cmp r2, r3
beq .L12
.L3:
mov r3, #0
ldr r2, .L13+8
ldr r1, [r4, #4]
ldr r2, [r2]
cmp r1, r3
str r2, [r4]
str r3, [r4, #8]
bne .L5
bl read_constexpr
cmp r0, #0
beq .L5
mov r3, #1
str r3, [r4, #4]
pop {r4, r5, r6, pc}
.L5:
pop {r4, r5, r6, lr}
b skip_cond_incl
.L11:
mov r0, r5
ldr r1, .L13+12
bl errort
b .L2
.L12:
mov r0, r5
ldr r1, .L13+16
bl errort
b .L3
.L14:
.align 2
.L13:
.word cond_incl_stack
.word IN_ELSE
.word IN_ELIF
.word .LC0
.word .LC1
.size read_elif, .-read_elif
.comm cond_incl_stack,4,4
.comm IN_ELSE,4,4
.comm IN_ELIF,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_cpp.c_read_else.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "stray #else"
.LC1:
.string "#else appears in #else"
.text
.p2align 4
.type read_else, @function
read_else:
.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
sub rsp, 8
.cfi_def_cfa_offset 32
mov edi, DWORD PTR cond_incl_stack[rip]
call vec_len@PLT
test rax, rax
je .L7
.L2:
mov edi, DWORD PTR cond_incl_stack[rip]
call vec_tail@PLT
mov rbx, rax
mov rax, QWORD PTR IN_ELSE[rip]
cmp QWORD PTR [rbx], rax
je .L8
.L3:
xor eax, eax
call expect_newline@PLT
mov rax, QWORD PTR IN_ELSE[rip]
cmp QWORD PTR 8[rbx], 0
mov QWORD PTR 16[rbx], 0
mov QWORD PTR [rbx], rax
jne .L9
add rsp, 8
.cfi_remember_state
.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
.L7:
.cfi_restore_state
lea rsi, .LC0[rip]
mov rdi, rbp
call errort@PLT
jmp .L2
.p2align 4,,10
.p2align 3
.L9:
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 24
xor eax, eax
pop rbx
.cfi_def_cfa_offset 16
pop rbp
.cfi_def_cfa_offset 8
jmp skip_cond_incl@PLT
.p2align 4,,10
.p2align 3
.L8:
.cfi_restore_state
lea rsi, .LC1[rip]
mov rdi, rbp
call errort@PLT
jmp .L3
.cfi_endproc
.LFE0:
.size read_else, .-read_else
.globl cond_incl_stack
.bss
.align 4
.type cond_incl_stack, @object
.size cond_incl_stack, 4
cond_incl_stack:
.zero 4
.globl IN_ELSE
.align 8
.type IN_ELSE, @object
.size IN_ELSE, 8
IN_ELSE:
.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_cpp.c_read_else.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "stray #else\000"
.align 2
.LC1:
.ascii "#else appears in #else\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type read_else, %function
read_else:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
ldr r4, .L9
mov r5, r0
ldr r0, [r4]
bl vec_len
cmp r0, #0
beq .L7
.L2:
ldr r0, [r4]
bl vec_tail
ldr r6, .L9+4
ldr r2, [r0]
ldr r3, [r6]
mov r4, r0
cmp r2, r3
beq .L8
.L3:
bl expect_newline
mov r3, #0
ldr r1, [r4, #4]
ldr r2, [r6]
cmp r1, r3
str r2, [r4]
str r3, [r4, #8]
popeq {r4, r5, r6, pc}
pop {r4, r5, r6, lr}
b skip_cond_incl
.L7:
mov r0, r5
ldr r1, .L9+8
bl errort
b .L2
.L8:
mov r0, r5
ldr r1, .L9+12
bl errort
b .L3
.L10:
.align 2
.L9:
.word cond_incl_stack
.word IN_ELSE
.word .LC0
.word .LC1
.size read_else, .-read_else
.comm cond_incl_stack,4,4
.comm IN_ELSE,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_cpp.c_read_endif.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "stray #endif"
.text
.p2align 4
.type read_endif, @function
read_endif:
.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
sub rsp, 8
.cfi_def_cfa_offset 32
mov edi, DWORD PTR cond_incl_stack[rip]
call vec_len@PLT
test rax, rax
je .L8
.L2:
mov edi, DWORD PTR cond_incl_stack[rip]
call vec_pop@PLT
mov rbx, rax
xor eax, eax
call expect_newline@PLT
mov eax, DWORD PTR [rbx]
test eax, eax
je .L1
mov rax, QWORD PTR 0[rbp]
cmp QWORD PTR 8[rbx], rax
je .L9
.L1:
add rsp, 8
.cfi_remember_state
.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
.L8:
.cfi_restore_state
lea rsi, .LC0[rip]
mov rdi, rbp
call errort@PLT
jmp .L2
.p2align 4,,10
.p2align 3
.L9:
xor eax, eax
call skip_newlines@PLT
mov r8, rax
mov rax, QWORD PTR 8[rbx]
cmp rax, QWORD PTR [r8]
je .L1
mov edx, DWORD PTR [rbx]
mov esi, DWORD PTR [rax]
mov edi, DWORD PTR include_guard[rip]
add rsp, 8
.cfi_def_cfa_offset 24
pop rbx
.cfi_def_cfa_offset 16
pop rbp
.cfi_def_cfa_offset 8
jmp map_put@PLT
.cfi_endproc
.LFE0:
.size read_endif, .-read_endif
.globl include_guard
.bss
.align 4
.type include_guard, @object
.size include_guard, 4
include_guard:
.zero 4
.globl cond_incl_stack
.align 4
.type cond_incl_stack, @object
.size cond_incl_stack, 4
cond_incl_stack:
.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_cpp.c_read_endif.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "stray #endif\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type read_endif, %function
read_endif:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
ldr r4, .L9
mov r5, r0
ldr r0, [r4]
bl vec_len
cmp r0, #0
beq .L8
.L2:
ldr r0, [r4]
bl vec_pop
mov r4, r0
bl expect_newline
ldr r3, [r4]
cmp r3, #0
popeq {r4, r5, r6, pc}
ldr r3, [r5]
ldr r2, [r4, #4]
cmp r2, r3
popne {r4, r5, r6, pc}
bl skip_newlines
ldr r3, [r4, #4]
ldr r2, [r0]
cmp r3, r2
popeq {r4, r5, r6, pc}
ldr r0, .L9+4
ldr r2, [r4]
ldr r1, [r3]
ldr r0, [r0]
pop {r4, r5, r6, lr}
b map_put
.L8:
mov r0, r5
ldr r1, .L9+8
bl errort
b .L2
.L10:
.align 2
.L9:
.word cond_incl_stack
.word include_guard
.word .LC0
.size read_endif, .-read_endif
.comm include_guard,4,4
.comm cond_incl_stack,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_cpp.c_read_error.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "#error: %s"
.text
.p2align 4
.type read_error, @function
read_error:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
xor eax, eax
mov rbp, rdi
call read_error_message@PLT
mov rdi, rbp
lea rsi, .LC0[rip]
pop rbp
.cfi_def_cfa_offset 8
mov edx, eax
jmp errort@PLT
.cfi_endproc
.LFE0:
.size read_error, .-read_error
.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_cpp.c_read_error.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "#error: %s\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type read_error, %function
read_error:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
mov r4, r0
bl read_error_message
ldr r1, .L4
mov r2, r0
mov r0, r4
pop {r4, lr}
b errort
.L5:
.align 2
.L4:
.word .LC0
.size read_error, .-read_error
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_cpp.c_read_error_message.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "%s"
.text
.p2align 4
.type read_error_message, @function
read_error_message:
.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
lea rbx, .LC0[rip]
call make_buffer@PLT
mov r12, rax
jmp .L4
.p2align 4,,10
.p2align 3
.L3:
mov rdi, rbp
call tok2s@PLT
mov rsi, rbx
mov rdi, r12
mov edx, eax
call buf_printf@PLT
.L4:
xor eax, eax
call lex@PLT
mov rdi, r12
mov rbp, rax
mov rax, QWORD PTR TNEWLINE[rip]
cmp QWORD PTR 0[rbp], rax
je .L10
call buf_len@PLT
test rax, rax
je .L3
cmp QWORD PTR 8[rbp], 0
je .L3
mov esi, 32
mov rdi, r12
call buf_write@PLT
jmp .L3
.p2align 4,,10
.p2align 3
.L10:
pop rbx
.cfi_def_cfa_offset 24
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
jmp buf_body@PLT
.cfi_endproc
.LFE0:
.size read_error_message, .-read_error_message
.globl TNEWLINE
.bss
.align 8
.type TNEWLINE, @object
.size TNEWLINE, 8
TNEWLINE:
.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_cpp.c_read_error_message.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "%s\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type read_error_message, %function
read_error_message:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, lr}
bl make_buffer
ldr r6, .L14
mov r5, r0
ldr r7, .L14+4
b .L4
.L3:
mov r0, r4
bl tok2s
mov r1, r7
mov r2, r0
mov r0, r5
bl buf_printf
.L4:
bl lex
ldr r3, [r6]
ldr r2, [r0]
mov r4, r0
cmp r2, r3
mov r0, r5
beq .L13
bl buf_len
cmp r0, #0
beq .L3
ldr r3, [r4, #4]
cmp r3, #0
beq .L3
mov r1, #32
mov r0, r5
bl buf_write
b .L3
.L13:
pop {r4, r5, r6, r7, r8, lr}
b buf_body
.L15:
.align 2
.L14:
.word TNEWLINE
.word .LC0
.size read_error_message, .-read_error_message
.comm TNEWLINE,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_cpp.c_read_expand.c"
.intel_syntax noprefix
.text
.p2align 4
.type read_expand, @function
read_expand:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 8
.cfi_def_cfa_offset 16
.p2align 4,,10
.p2align 3
.L2:
xor eax, eax
call read_expand_newline@PLT
mov rdx, QWORD PTR TNEWLINE[rip]
cmp QWORD PTR [rax], rdx
je .L2
add rsp, 8
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size read_expand, .-read_expand
.globl TNEWLINE
.bss
.align 8
.type TNEWLINE, @object
.size TNEWLINE, 8
TNEWLINE:
.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_cpp.c_read_expand.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type read_expand, %function
read_expand:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
ldr r4, .L7
.L2:
bl read_expand_newline
ldr r3, [r4]
ldr r2, [r0]
cmp r2, r3
beq .L2
pop {r4, pc}
.L8:
.align 2
.L7:
.word TNEWLINE
.size read_expand, .-read_expand
.comm TNEWLINE,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_cpp.c_read_expand_newline.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "internal error"
.text
.p2align 4
.type read_expand_newline, @function
read_expand_newline:
.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
call lex@PLT
mov r12, rax
mov rax, QWORD PTR TIDENT[rip]
cmp QWORD PTR [r12], rax
je .L18
.L1:
pop rbx
.cfi_remember_state
.cfi_def_cfa_offset 40
mov rax, r12
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
.L18:
.cfi_restore_state
mov r13, QWORD PTR 8[r12]
mov edi, DWORD PTR macros[rip]
mov rsi, r13
call map_get@PLT
mov rbp, rax
test rax, rax
je .L1
mov edi, DWORD PTR 16[r12]
mov rsi, r13
call set_has@PLT
test rax, rax
jne .L1
mov eax, DWORD PTR 0[rbp]
cmp eax, 129
je .L3
cmp eax, 130
je .L4
cmp eax, 128
je .L19
lea rdi, .LC0[rip]
call error@PLT
jmp .L1
.p2align 4,,10
.p2align 3
.L3:
mov edi, DWORD PTR 16[r12]
mov rsi, r13
call set_add@PLT
xor esi, esi
mov rdx, rax
.L16:
mov rdi, rbp
call subst@PLT
mov rsi, r12
mov rbp, rax
mov rdi, rax
call propagate_space@PLT
mov rdi, rbp
call unget_all@PLT
.L15:
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
jmp read_expand@PLT
.p2align 4,,10
.p2align 3
.L19:
.cfi_restore_state
mov rdi, r12
call [QWORD PTR 8[rbp]]
jmp .L15
.p2align 4,,10
.p2align 3
.L4:
mov edi, 40
call next@PLT
test eax, eax
je .L1
mov rsi, rbp
mov rdi, r12
call read_args@PLT
mov r14, rax
xor eax, eax
call peek_token@PLT
mov edi, 41
mov rbx, rax
call expect@PLT
mov esi, DWORD PTR 16[rbx]
mov edi, DWORD PTR 16[r12]
call set_intersection@PLT
mov rsi, r13
mov edi, eax
call set_add@PLT
mov rsi, r14
mov rdx, rax
jmp .L16
.cfi_endproc
.LFE0:
.size read_expand_newline, .-read_expand_newline
.globl macros
.bss
.align 4
.type macros, @object
.size macros, 4
macros:
.zero 4
.globl TIDENT
.align 8
.type TIDENT, @object
.size TIDENT, 8
TIDENT:
.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_cpp.c_read_expand_newline.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 read_expand_newline, %function
read_expand_newline:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, lr}
bl lex
ldr r3, .L19
ldr r2, [r0]
ldr r3, [r3]
mov r4, r0
cmp r2, r3
beq .L17
.L1:
mov r0, r4
pop {r4, r5, r6, r7, r8, pc}
.L17:
ldr r7, [r0, #4]
ldr r3, .L19+4
mov r1, r7
ldr r0, [r3]
bl map_get
subs r5, r0, #0
beq .L1
mov r1, r7
ldr r0, [r4, #8]
bl set_has
subs r6, r0, #0
bne .L1
ldr r3, [r5]
cmp r3, #129
beq .L3
cmp r3, #130
beq .L4
cmp r3, #128
beq .L18
pop {r4, r5, r6, r7, r8, lr}
ldr r0, .L19+8
b error
.L3:
mov r1, r7
ldr r0, [r4, #8]
.L15:
bl set_add
mov r1, r6
mov r2, r0
mov r0, r5
bl subst
mov r1, r4
mov r4, r0
bl propagate_space
mov r0, r4
bl unget_all
pop {r4, r5, r6, r7, r8, lr}
b read_expand
.L18:
mov r0, r4
ldr r3, [r5, #4]
blx r3
pop {r4, r5, r6, r7, r8, lr}
b read_expand
.L4:
mov r0, #40
bl next
cmp r0, #0
beq .L1
mov r1, r5
mov r0, r4
bl read_args
mov r6, r0
bl peek_token
mov r8, r0
mov r0, #41
bl expect
ldr r1, [r8, #8]
ldr r0, [r4, #8]
bl set_intersection
mov r1, r7
b .L15
.L20:
.align 2
.L19:
.word TIDENT
.word macros
.word .LC0
.size read_expand_newline, .-read_expand_newline
.comm macros,4,4
.comm TIDENT,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_cpp.c_read_from_string.c"
.intel_syntax noprefix
.text
.p2align 4
.globl read_from_string
.type read_from_string, @function
read_from_string:
.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
xor ebx, ebx
sub rsp, 8
.cfi_def_cfa_offset 32
call make_file_string@PLT
mov edi, eax
call stream_stash@PLT
xor eax, eax
call read_toplevels@PLT
mov rbp, rax
jmp .L2
.p2align 4,,10
.p2align 3
.L3:
mov esi, ebx
mov rdi, rbp
add ebx, 1
call vec_get@PLT
mov edi, eax
call emit_toplevel@PLT
.L2:
mov rdi, rbp
call vec_len@PLT
cmp eax, ebx
jg .L3
add rsp, 8
.cfi_def_cfa_offset 24
xor eax, eax
pop rbx
.cfi_def_cfa_offset 16
pop rbp
.cfi_def_cfa_offset 8
jmp stream_unstash@PLT
.cfi_endproc
.LFE0:
.size read_from_string, .-read_from_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_cpp.c_read_from_string.c"
.text
.align 2
.global read_from_string
.syntax unified
.arm
.fpu softvfp
.type read_from_string, %function
read_from_string:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
bl make_file_string
bl stream_stash
bl read_toplevels
mov r4, #0
mov r5, r0
b .L2
.L3:
mov r1, r4
mov r0, r5
bl vec_get
bl emit_toplevel
add r4, r4, #1
.L2:
mov r0, r5
bl vec_len
cmp r0, r4
bgt .L3
pop {r4, r5, r6, lr}
b stream_unstash
.size read_from_string, .-read_from_string
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_cpp.c_read_funclike_macro.c"
.intel_syntax noprefix
.text
.p2align 4
.type read_funclike_macro, @function
read_funclike_macro:
.LFB0:
.cfi_startproc
endbr64
push r13
.cfi_def_cfa_offset 16
.cfi_offset 13, -16
xor eax, eax
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
mov rbx, rdi
sub rsp, 8
.cfi_def_cfa_offset 48
call make_map@PLT
mov rdi, rbx
mov rsi, rax
mov rbp, rax
call read_funclike_macro_params@PLT
mov rdi, rbp
mov r13d, eax
call read_funclike_macro_body@PLT
mov rdi, rax
mov r12, rax
call hashhash_check@PLT
mov rdi, rbp
call map_len@PLT
mov edx, r13d
mov rdi, r12
mov esi, eax
call make_func_macro@PLT
mov esi, DWORD PTR [rbx]
mov edi, DWORD PTR macros[rip]
add rsp, 8
.cfi_def_cfa_offset 40
pop rbx
.cfi_def_cfa_offset 32
mov rdx, rax
pop rbp
.cfi_def_cfa_offset 24
pop r12
.cfi_def_cfa_offset 16
pop r13
.cfi_def_cfa_offset 8
jmp map_put@PLT
.cfi_endproc
.LFE0:
.size read_funclike_macro, .-read_funclike_macro
.globl macros
.bss
.align 4
.type macros, @object
.size macros, 4
macros:
.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_cpp.c_read_funclike_macro.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type read_funclike_macro, %function
read_funclike_macro:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, lr}
mov r5, r0
bl make_map
mov r4, r0
mov r0, r5
mov r1, r4
bl read_funclike_macro_params
mov r7, r0
mov r0, r4
bl read_funclike_macro_body
mov r6, r0
bl hashhash_check
mov r0, r4
bl map_len
mov r2, r7
mov r1, r0
mov r0, r6
bl make_func_macro
ldr r3, .L4
mov r2, r0
ldr r1, [r5]
ldr r0, [r3]
pop {r4, r5, r6, r7, r8, lr}
b map_put
.L5:
.align 2
.L4:
.word macros
.size read_funclike_macro, .-read_funclike_macro
.comm macros,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_cpp.c_read_funclike_macro_body.c"
.intel_syntax noprefix
.text
.p2align 4
.type read_funclike_macro_body, @function
read_funclike_macro_body:
.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 rbx, rdi
call make_vector@PLT
mov r12, rax
.p2align 4,,10
.p2align 3
.L2:
xor eax, eax
call lex@PLT
mov rbp, rax
mov rax, QWORD PTR [rax]
cmp rax, QWORD PTR TNEWLINE[rip]
je .L9
cmp rax, QWORD PTR TIDENT[rip]
je .L12
.L4:
mov rsi, rbp
mov rdi, r12
call vec_push@PLT
jmp .L2
.p2align 4,,10
.p2align 3
.L12:
mov esi, DWORD PTR 12[rbp]
mov rdi, rbx
call map_get@PLT
test rax, rax
je .L4
mov rdi, rax
call copy_token@PLT
mov rdi, r12
mov rsi, rax
mov eax, DWORD PTR 8[rbp]
mov DWORD PTR 8[rsi], eax
call vec_push@PLT
jmp .L2
.p2align 4,,10
.p2align 3
.L9:
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 read_funclike_macro_body, .-read_funclike_macro_body
.globl TNEWLINE
.bss
.align 8
.type TNEWLINE, @object
.size TNEWLINE, 8
TNEWLINE:
.zero 8
.globl TIDENT
.align 8
.type TIDENT, @object
.size TIDENT, 8
TIDENT:
.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_cpp.c_read_funclike_macro_body.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type read_funclike_macro_body, %function
read_funclike_macro_body:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, lr}
mov r8, r0
bl make_vector
mov r5, r0
ldr r6, .L13
ldr r7, .L13+4
.L2:
bl lex
ldr r2, [r6]
ldr r3, [r0]
mov r4, r0
cmp r3, r2
beq .L9
ldr r2, [r7]
cmp r3, r2
beq .L12
.L4:
mov r1, r4
mov r0, r5
bl vec_push
b .L2
.L12:
ldr r1, [r0, #8]
mov r0, r8
bl map_get
cmp r0, #0
beq .L4
bl copy_token
ldr r3, [r4, #4]
mov r1, r0
str r3, [r0, #4]
mov r0, r5
bl vec_push
b .L2
.L9:
mov r0, r5
pop {r4, r5, r6, r7, r8, pc}
.L14:
.align 2
.L13:
.word TNEWLINE
.word TIDENT
.size read_funclike_macro_body, .-read_funclike_macro_body
.comm TNEWLINE,4,4
.comm TIDENT,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_cpp.c_read_funclike_macro_params.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string ", expected, but got %s"
.section .rodata.str1.8,"aMS",@progbits,1
.align 8
.LC1:
.string "missing ')' in macro parameter list"
.section .rodata.str1.1
.LC2:
.string "__VA_ARGS__"
.section .rodata.str1.8
.align 8
.LC3:
.string "identifier expected, but got %s"
.text
.p2align 4
.type read_funclike_macro_params, @function
read_funclike_macro_params:
.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
mov r13, rsi
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
mov rbx, rdi
sub rsp, 8
.cfi_def_cfa_offset 64
jmp .L9
.p2align 4,,10
.p2align 3
.L3:
mov rax, QWORD PTR TNEWLINE[rip]
cmp QWORD PTR 0[rbp], rax
je .L16
.L5:
movsx esi, BYTE PTR KELLIPSIS[rip]
mov rdi, rbp
call is_keyword@PLT
test rax, rax
jne .L17
mov rax, QWORD PTR TIDENT[rip]
cmp QWORD PTR 0[rbp], rax
je .L7
mov rdi, rbp
call tok2s@PLT
lea rsi, .LC3[rip]
mov rdi, rbp
mov edx, eax
xor eax, eax
call errort@PLT
.L7:
movsx edi, BYTE PTR KELLIPSIS[rip]
mov rbp, QWORD PTR 8[rbp]
call next@PLT
test rax, rax
jne .L18
mov edi, r12d
xor esi, esi
lea r15d, 1[r12]
call make_macro_token@PLT
mov rsi, rbp
mov rdi, r13
mov r12d, r15d
mov edx, eax
call map_put@PLT
.L9:
xor eax, eax
call lex@PLT
mov esi, 41
mov rdi, rax
mov rbp, rax
call is_keyword@PLT
test rax, rax
jne .L10
test r12d, r12d
je .L3
mov esi, 44
mov rdi, rbp
call is_keyword@PLT
test rax, rax
je .L19
.L4:
xor eax, eax
call lex@PLT
mov rbp, rax
mov rax, QWORD PTR TNEWLINE[rip]
cmp QWORD PTR 0[rbp], rax
jne .L5
.L16:
lea rsi, .LC1[rip]
mov rdi, rbx
xor eax, eax
call errort@PLT
jmp .L5
.p2align 4,,10
.p2align 3
.L19:
mov rdi, rbp
call tok2s@PLT
mov rsi, r14
mov rdi, rbp
mov edx, eax
xor eax, eax
call errort@PLT
jmp .L4
.p2align 4,,10
.p2align 3
.L10:
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 56
xor eax, eax
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
.L17:
.cfi_restore_state
mov edi, r12d
mov esi, 1
call make_macro_token@PLT
mov rdi, r13
lea rsi, .LC2[rip]
mov edx, eax
call map_put@PLT
mov edi, 41
call expect@PLT
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 56
mov eax, 1
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 edi, 41
call expect@PLT
mov edi, r12d
mov esi, 1
call make_macro_token@PLT
mov rsi, rbp
mov rdi, r13
mov edx, eax
call map_put@PLT
add rsp, 8
.cfi_def_cfa_offset 56
mov eax, 1
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 read_funclike_macro_params, .-read_funclike_macro_params
.globl TNEWLINE
.bss
.align 8
.type TNEWLINE, @object
.size TNEWLINE, 8
TNEWLINE:
.zero 8
.globl TIDENT
.align 8
.type TIDENT, @object
.size TIDENT, 8
TIDENT:
.zero 8
.globl KELLIPSIS
.type KELLIPSIS, @object
.size KELLIPSIS, 1
KELLIPSIS:
.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_cpp.c_read_funclike_macro_params.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii ", expected, but got %s\000"
.align 2
.LC1:
.ascii "missing ')' in macro parameter list\000"
.align 2
.LC2:
.ascii "__VA_ARGS__\000"
.align 2
.LC3:
.ascii "identifier expected, but got %s\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type read_funclike_macro_params, %function
read_funclike_macro_params:
@ 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 fp, r0
mov r7, r1
mov r4, #0
ldr r8, .L20
ldr r5, .L20+4
ldr r9, .L20+8
ldr r10, .L20+12
b .L9
.L3:
ldr r2, [r6]
ldr r3, [r8]
cmp r2, r3
beq .L16
.L5:
mov r0, r6
ldrb r1, [r5] @ zero_extendqisi2
bl is_keyword
cmp r0, #0
bne .L17
ldr r2, [r6]
ldr r3, [r9]
cmp r2, r3
beq .L7
mov r0, r6
bl tok2s
mov r1, r10
mov r2, r0
mov r0, r6
bl errort
.L7:
ldrb r0, [r5] @ zero_extendqisi2
ldr r6, [r6, #4]
bl next
subs r1, r0, #0
bne .L18
mov r0, r4
bl make_macro_token
mov r1, r6
mov r2, r0
mov r0, r7
add r4, r4, #1
bl map_put
.L9:
bl lex
mov r1, #41
mov r6, r0
bl is_keyword
cmp r0, #0
bne .L10
cmp r4, #0
beq .L3
mov r1, #44
mov r0, r6
bl is_keyword
cmp r0, #0
beq .L19
.L4:
bl lex
mov r6, r0
ldr r3, [r8]
ldr r2, [r6]
cmp r2, r3
bne .L5
.L16:
mov r0, fp
ldr r1, .L20+16
bl errort
b .L5
.L19:
mov r0, r6
bl tok2s
ldr r1, .L20+20
mov r2, r0
mov r0, r6
bl errort
b .L4
.L10:
mov r0, #0
pop {r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L17:
mov r0, r4
mov r1, #1
bl make_macro_token
ldr r1, .L20+24
mov r2, r0
mov r0, r7
bl map_put
mov r0, #41
bl expect
mov r0, #1
pop {r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L18:
mov r0, #41
bl expect
mov r0, r4
mov r1, #1
bl make_macro_token
mov r1, r6
mov r2, r0
mov r0, r7
bl map_put
mov r0, #1
pop {r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L21:
.align 2
.L20:
.word TNEWLINE
.word KELLIPSIS
.word TIDENT
.word .LC3
.word .LC1
.word .LC0
.word .LC2
.size read_funclike_macro_params, .-read_funclike_macro_params
.comm TNEWLINE,4,4
.comm TIDENT,4,4
.comm KELLIPSIS,1,1
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_cpp.c_read_ident.c"
.intel_syntax noprefix
.text
.section .rodata.str1.8,"aMS",@progbits,1
.align 8
.LC0:
.string "identifier expected, but got %s"
.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
call lex@PLT
mov r12, rax
mov rax, QWORD PTR TIDENT[rip]
cmp QWORD PTR [r12], rax
je .L1
mov rdi, r12
call tok2s@PLT
lea rsi, .LC0[rip]
mov rdi, r12
mov edx, eax
call errort@PLT
.L1:
mov rax, r12
pop r12
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size read_ident, .-read_ident
.globl TIDENT
.bss
.align 8
.type TIDENT, @object
.size TIDENT, 8
TIDENT:
.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_cpp.c_read_ident.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "identifier expected, but got %s\000"
.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, lr}
bl lex
ldr r3, .L5
ldr r2, [r0]
ldr r3, [r3]
mov r4, r0
cmp r2, r3
beq .L1
bl tok2s
ldr r1, .L5+4
mov r2, r0
mov r0, r4
bl errort
.L1:
mov r0, r4
pop {r4, pc}
.L6:
.align 2
.L5:
.word TIDENT
.word .LC0
.size read_ident, .-read_ident
.comm TIDENT,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_cpp.c_read_if.c"
.intel_syntax noprefix
.text
.p2align 4
.type read_if, @function
read_if:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 8
.cfi_def_cfa_offset 16
xor eax, eax
call read_constexpr@PLT
add rsp, 8
.cfi_def_cfa_offset 8
mov edi, eax
jmp do_read_if@PLT
.cfi_endproc
.LFE0:
.size read_if, .-read_if
.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_cpp.c_read_if.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type read_if, %function
read_if:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
bl read_constexpr
pop {r4, lr}
b do_read_if
.size read_if, .-read_if
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_cpp.c_read_ifdef.c"
.intel_syntax noprefix
.text
.section .rodata.str1.8,"aMS",@progbits,1
.align 8
.LC0:
.string "identifier expected, but got %s"
.text
.p2align 4
.type read_ifdef, @function
read_ifdef:
.LFB0:
.cfi_startproc
endbr64
push rbx
.cfi_def_cfa_offset 16
.cfi_offset 3, -16
xor eax, eax
call lex@PLT
mov rbx, rax
mov rax, QWORD PTR TIDENT[rip]
cmp QWORD PTR [rbx], rax
je .L2
mov rdi, rbx
call tok2s@PLT
lea rsi, .LC0[rip]
mov rdi, rbx
mov edx, eax
call errort@PLT
.L2:
xor eax, eax
call expect_newline@PLT
mov esi, DWORD PTR 8[rbx]
mov edi, DWORD PTR macros[rip]
call map_get@PLT
pop rbx
.cfi_def_cfa_offset 8
mov edi, eax
jmp do_read_if@PLT
.cfi_endproc
.LFE0:
.size read_ifdef, .-read_ifdef
.globl macros
.bss
.align 4
.type macros, @object
.size macros, 4
macros:
.zero 4
.globl TIDENT
.align 8
.type TIDENT, @object
.size TIDENT, 8
TIDENT:
.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_cpp.c_read_ifdef.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "identifier expected, but got %s\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type read_ifdef, %function
read_ifdef:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
bl lex
ldr r3, .L5
ldr r2, [r0]
ldr r3, [r3]
mov r4, r0
cmp r2, r3
beq .L2
bl tok2s
ldr r1, .L5+4
mov r2, r0
mov r0, r4
bl errort
.L2:
bl expect_newline
ldr r3, .L5+8
ldr r1, [r4, #4]
ldr r0, [r3]
bl map_get
pop {r4, lr}
b do_read_if
.L6:
.align 2
.L5:
.word TIDENT
.word .LC0
.word macros
.size read_ifdef, .-read_ifdef
.comm macros,4,4
.comm TIDENT,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_cpp.c_read_ifndef.c"
.intel_syntax noprefix
.text
.section .rodata.str1.8,"aMS",@progbits,1
.align 8
.LC0:
.string "identifier expected, but got %s"
.text
.p2align 4
.type read_ifndef, @function
read_ifndef:
.LFB0:
.cfi_startproc
endbr64
push rbx
.cfi_def_cfa_offset 16
.cfi_offset 3, -16
xor eax, eax
call lex@PLT
mov rbx, rax
mov rax, QWORD PTR TIDENT[rip]
cmp QWORD PTR [rbx], rax
je .L2
mov rdi, rbx
call tok2s@PLT
lea rsi, .LC0[rip]
mov rdi, rbx
mov edx, eax
call errort@PLT
.L2:
xor eax, eax
call expect_newline@PLT
mov esi, DWORD PTR 16[rbx]
mov edi, DWORD PTR macros[rip]
call map_get@PLT
xor edi, edi
test eax, eax
sete dil
call do_read_if@PLT
cmp DWORD PTR 8[rbx], 2
je .L6
pop rbx
.cfi_remember_state
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L6:
.cfi_restore_state
mov edi, DWORD PTR cond_incl_stack[rip]
call vec_tail@PLT
mov edx, DWORD PTR 16[rbx]
mov DWORD PTR 4[rax], edx
mov edx, DWORD PTR 12[rbx]
mov DWORD PTR [rax], edx
pop rbx
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size read_ifndef, .-read_ifndef
.globl macros
.bss
.align 4
.type macros, @object
.size macros, 4
macros:
.zero 4
.globl cond_incl_stack
.align 4
.type cond_incl_stack, @object
.size cond_incl_stack, 4
cond_incl_stack:
.zero 4
.globl TIDENT
.align 8
.type TIDENT, @object
.size TIDENT, 8
TIDENT:
.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_cpp.c_read_ifndef.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "identifier expected, but got %s\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type read_ifndef, %function
read_ifndef:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
bl lex
ldr r3, .L6
ldr r2, [r0]
ldr r3, [r3]
mov r4, r0
cmp r2, r3
beq .L2
bl tok2s
ldr r1, .L6+4
mov r2, r0
mov r0, r4
bl errort
.L2:
bl expect_newline
ldr r3, .L6+8
ldr r1, [r4, #12]
ldr r0, [r3]
bl map_get
clz r0, r0
lsr r0, r0, #5
bl do_read_if
ldr r3, [r4, #4]
cmp r3, #2
popne {r4, pc}
ldr r3, .L6+12
ldr r0, [r3]
bl vec_tail
ldr r2, [r4, #12]
ldr r3, [r4, #8]
str r2, [r0, #4]
str r3, [r0]
pop {r4, pc}
.L7:
.align 2
.L6:
.word TIDENT
.word .LC0
.word macros
.word cond_incl_stack
.size read_ifndef, .-read_ifndef
.comm macros,4,4
.comm cond_incl_stack,4,4
.comm TIDENT,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_cpp.c_read_include.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "."
.LC1:
.string "/"
.LC2:
.string "cannot find header file: %s"
.text
.p2align 4
.type read_include, @function
read_include:
.LFB0:
.cfi_startproc
endbr64
push r13
.cfi_def_cfa_offset 16
.cfi_offset 13, -16
mov r13d, edx
push r12
.cfi_def_cfa_offset 24
.cfi_offset 12, -24
push rbp
.cfi_def_cfa_offset 32
.cfi_offset 6, -32
mov rbp, rdi
push rbx
.cfi_def_cfa_offset 40
.cfi_offset 3, -40
mov rbx, rsi
sub rsp, 24
.cfi_def_cfa_offset 64
mov rax, QWORD PTR fs:40
mov QWORD PTR 8[rsp], rax
xor eax, eax
lea rsi, 4[rsp]
call read_cpp_header_name@PLT
mov r12, rax
xor eax, eax
call expect_newline@PLT
cmp BYTE PTR [r12], 47
je .L16
mov eax, DWORD PTR 4[rsp]
test eax, eax
je .L5
.L8:
xor ebx, ebx
jmp .L6
.p2align 4,,10
.p2align 3
.L9:
mov edi, DWORD PTR std_include_path[rip]
mov esi, ebx
call vec_get@PLT
mov edx, r13d
mov rsi, r12
mov rdi, rax
call try_include@PLT
test rax, rax
jne .L1
add ebx, 1
.L6:
mov edi, DWORD PTR std_include_path[rip]
call vec_len@PLT
cmp eax, ebx
jg .L9
.L10:
mov rdx, r12
lea rsi, .LC2[rip]
mov rdi, rbp
call errort@PLT
.L1:
mov rax, QWORD PTR 8[rsp]
sub rax, QWORD PTR fs:40
jne .L17
add rsp, 24
.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
.p2align 4,,10
.p2align 3
.L5:
.cfi_restore_state
mov r8, QWORD PTR [rbx]
lea rdi, .LC0[rip]
test r8, r8
jne .L18
.L7:
mov edx, r13d
mov rsi, r12
call try_include@PLT
test rax, rax
je .L8
jmp .L1
.p2align 4,,10
.p2align 3
.L16:
mov edx, r13d
mov rsi, r12
lea rdi, .LC1[rip]
call try_include@PLT
test rax, rax
jne .L1
jmp .L10
.p2align 4,,10
.p2align 3
.L18:
mov rdi, r8
call strdup@PLT
mov edi, eax
call dirname@PLT
mov rdi, rax
jmp .L7
.L17:
call __stack_chk_fail@PLT
.cfi_endproc
.LFE0:
.size read_include, .-read_include
.globl std_include_path
.bss
.align 4
.type std_include_path, @object
.size std_include_path, 4
std_include_path:
.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_cpp.c_read_include.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii ".\000"
.align 2
.LC1:
.ascii "/\000"
.align 2
.LC2:
.ascii "cannot find header file: %s\000"
.section .rodata.cst4,"aM",%progbits,4
.align 2
.LC3:
.word __stack_chk_guard
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type read_include, %function
read_include:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, lr}
ldr r3, .L18
sub sp, sp, #8
mov r4, r1
mov r1, sp
ldr r3, [r3]
str r3, [sp, #4]
mov r3,#0
mov r7, r2
mov r8, r0
bl read_cpp_header_name
mov r6, r0
bl expect_newline
ldrb r3, [r6] @ zero_extendqisi2
cmp r3, #47
beq .L15
ldr r3, [sp]
cmp r3, #0
beq .L5
.L8:
mov r4, #0
ldr r5, .L18+4
b .L6
.L9:
mov r1, r4
ldr r0, [r5]
bl vec_get
mov r2, r7
mov r1, r6
bl try_include
cmp r0, #0
bne .L1
add r4, r4, #1
.L6:
ldr r0, [r5]
bl vec_len
cmp r0, r4
bgt .L9
mov r2, r6
mov r0, r8
ldr r1, .L18+8
bl errort
.L1:
ldr r3, .L18
ldr r2, [r3]
ldr r3, [sp, #4]
eors r2, r3, r2
mov r3, #0
bne .L16
add sp, sp, #8
@ sp needed
pop {r4, r5, r6, r7, r8, pc}
.L5:
ldr r0, [r4]
cmp r0, #0
ldreq r0, .L18+12
bne .L17
.L7:
mov r2, r7
mov r1, r6
bl try_include
cmp r0, #0
beq .L8
b .L1
.L15:
mov r2, r7
mov r1, r6
ldr r0, .L18+16
bl try_include
cmp r0, #0
bne .L1
mov r2, r6
mov r0, r8
ldr r1, .L18+8
bl errort
b .L1
.L17:
bl strdup
bl dirname
b .L7
.L16:
bl __stack_chk_fail
.L19:
.align 2
.L18:
.word .LC3
.word std_include_path
.word .LC2
.word .LC0
.word .LC1
.size read_include, .-read_include
.comm std_include_path,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|