x86
stringlengths 335
88.6k
| arm
stringlengths 349
86.1k
|
---|---|
.file "extr_parse.c_make_numtype.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "internal error"
.text
.p2align 4
.type make_numtype, @function
make_numtype:
.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 ebp, esi
mov esi, 16
push rbx
.cfi_def_cfa_offset 32
.cfi_offset 3, -32
mov ebx, edi
mov edi, 1
call calloc@PLT
cmp DWORD PTR KIND_VOID[rip], ebx
mov DWORD PTR [rax], ebx
mov r12, rax
mov DWORD PTR 4[rax], ebp
je .L18
cmp DWORD PTR KIND_BOOL[rip], ebx
je .L15
cmp DWORD PTR KIND_CHAR[rip], ebx
je .L15
cmp DWORD PTR KIND_SHORT[rip], ebx
je .L19
cmp DWORD PTR KIND_INT[rip], ebx
je .L16
cmp DWORD PTR KIND_LONG[rip], ebx
je .L14
cmp DWORD PTR KIND_LLONG[rip], ebx
je .L14
cmp DWORD PTR KIND_FLOAT[rip], ebx
je .L16
cmp DWORD PTR KIND_DOUBLE[rip], ebx
je .L14
cmp DWORD PTR KIND_LDOUBLE[rip], ebx
je .L14
lea rdi, .LC0[rip]
call error@PLT
jmp .L1
.p2align 4,,10
.p2align 3
.L15:
movabs rax, 4294967297
mov QWORD PTR 8[r12], rax
.L1:
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
.L18:
.cfi_restore_state
mov QWORD PTR 8[rax], 0
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
.L19:
.cfi_restore_state
movabs rax, 8589934594
mov QWORD PTR 8[r12], rax
jmp .L1
.p2align 4,,10
.p2align 3
.L16:
movabs rax, 17179869188
mov QWORD PTR 8[r12], rax
jmp .L1
.p2align 4,,10
.p2align 3
.L14:
movabs rax, 34359738376
mov QWORD PTR 8[r12], rax
jmp .L1
.cfi_endproc
.LFE0:
.size make_numtype, .-make_numtype
.globl KIND_VOID
.bss
.align 4
.type KIND_VOID, @object
.size KIND_VOID, 4
KIND_VOID:
.zero 4
.globl KIND_SHORT
.align 4
.type KIND_SHORT, @object
.size KIND_SHORT, 4
KIND_SHORT:
.zero 4
.globl KIND_LONG
.align 4
.type KIND_LONG, @object
.size KIND_LONG, 4
KIND_LONG:
.zero 4
.globl KIND_LLONG
.align 4
.type KIND_LLONG, @object
.size KIND_LLONG, 4
KIND_LLONG:
.zero 4
.globl KIND_LDOUBLE
.align 4
.type KIND_LDOUBLE, @object
.size KIND_LDOUBLE, 4
KIND_LDOUBLE:
.zero 4
.globl KIND_INT
.align 4
.type KIND_INT, @object
.size KIND_INT, 4
KIND_INT:
.zero 4
.globl KIND_FLOAT
.align 4
.type KIND_FLOAT, @object
.size KIND_FLOAT, 4
KIND_FLOAT:
.zero 4
.globl KIND_DOUBLE
.align 4
.type KIND_DOUBLE, @object
.size KIND_DOUBLE, 4
KIND_DOUBLE:
.zero 4
.globl KIND_CHAR
.align 4
.type KIND_CHAR, @object
.size KIND_CHAR, 4
KIND_CHAR:
.zero 4
.globl KIND_BOOL
.align 4
.type KIND_BOOL, @object
.size KIND_BOOL, 4
KIND_BOOL:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_parse.c_make_numtype.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 make_numtype, %function
make_numtype:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
mov r6, r0
mov r5, r1
mov r0, #1
mov r1, #16
bl calloc
ldr r3, .L18
mov r4, r0
ldr r3, [r3]
str r6, [r0]
cmp r3, r6
moveq r3, #0
str r5, [r0, #4]
streq r3, [r0, #12]
streq r3, [r0, #8]
beq .L1
ldr r3, .L18+4
ldr r3, [r3]
cmp r3, r6
beq .L15
ldr r3, .L18+8
ldr r3, [r3]
cmp r3, r6
beq .L15
ldr r3, .L18+12
ldr r3, [r3]
cmp r3, r6
moveq r3, #2
streq r3, [r0, #12]
streq r3, [r0, #8]
beq .L1
ldr r3, .L18+16
ldr r3, [r3]
cmp r3, r6
beq .L16
ldr r3, .L18+20
ldr r3, [r3]
cmp r3, r6
beq .L14
ldr r3, .L18+24
ldr r3, [r3]
cmp r3, r6
beq .L14
ldr r3, .L18+28
ldr r3, [r3]
cmp r3, r6
beq .L16
ldr r3, .L18+32
ldr r3, [r3]
cmp r3, r6
beq .L14
ldr r3, .L18+36
ldr r3, [r3]
cmp r3, r6
beq .L14
ldr r0, .L18+40
bl error
.L1:
mov r0, r4
pop {r4, r5, r6, pc}
.L15:
mov r3, #1
mov r0, r4
str r3, [r4, #12]
str r3, [r4, #8]
pop {r4, r5, r6, pc}
.L16:
mov r3, #4
str r3, [r4, #12]
str r3, [r4, #8]
b .L1
.L14:
mov r3, #8
str r3, [r4, #12]
str r3, [r4, #8]
b .L1
.L19:
.align 2
.L18:
.word KIND_VOID
.word KIND_BOOL
.word KIND_CHAR
.word KIND_SHORT
.word KIND_INT
.word KIND_LONG
.word KIND_LLONG
.word KIND_FLOAT
.word KIND_DOUBLE
.word KIND_LDOUBLE
.word .LC0
.size make_numtype, .-make_numtype
.comm KIND_VOID,4,4
.comm KIND_SHORT,4,4
.comm KIND_LONG,4,4
.comm KIND_LLONG,4,4
.comm KIND_LDOUBLE,4,4
.comm KIND_INT,4,4
.comm KIND_FLOAT,4,4
.comm KIND_DOUBLE,4,4
.comm KIND_CHAR,4,4
.comm KIND_BOOL,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_parse.c_make_pair.c"
.intel_syntax noprefix
.text
.p2align 4
.globl make_pair
.type make_pair, @function
make_pair:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rdi
mov edi, 16
push rbx
.cfi_def_cfa_offset 24
.cfi_offset 3, -24
mov rbx, rsi
sub rsp, 8
.cfi_def_cfa_offset 32
call malloc@PLT
mov QWORD PTR [rax], rbp
mov QWORD PTR 8[rax], rbx
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_pair, .-make_pair
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_parse.c_make_pair.c"
.text
.align 2
.global make_pair
.syntax unified
.arm
.fpu softvfp
.type make_pair, %function
make_pair:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
mov r5, r0
mov r0, #8
mov r4, r1
bl malloc
str r5, [r0]
str r4, [r0, #4]
pop {r4, r5, r6, pc}
.size make_pair, .-make_pair
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_parse.c_make_static_label.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string ".S%d.%s"
.text
.p2align 4
.type make_static_label, @function
make_static_label:
.LFB0:
.cfi_startproc
endbr64
mov esi, DWORD PTR c.0[rip]
mov rdx, rdi
lea rdi, .LC0[rip]
lea eax, 1[rsi]
mov DWORD PTR c.0[rip], eax
jmp format@PLT
.cfi_endproc
.LFE0:
.size make_static_label, .-make_static_label
.local c.0
.comm c.0,4,4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_parse.c_make_static_label.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii ".S%d.%s\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type make_static_label, %function
make_static_label:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
ldr r3, .L3
mov r2, r0
ldr r1, [r3]
ldr r0, .L3+4
add ip, r1, #1
str ip, [r3]
b format
.L4:
.align 2
.L3:
.word .LANCHOR0
.word .LC0
.size make_static_label, .-make_static_label
.bss
.align 2
.set .LANCHOR0,. + 0
.type c.4206, %object
.size c.4206, 4
c.4206:
.space 4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_parse.c_make_switch_jump.c"
.intel_syntax noprefix
.text
.p2align 4
.type make_switch_jump, @function
make_switch_jump:
.LFB0:
.cfi_startproc
endbr64
push r13
.cfi_def_cfa_offset 16
.cfi_offset 13, -16
push r12
.cfi_def_cfa_offset 24
.cfi_offset 12, -24
mov r12, rdi
mov edi, DWORD PTR type_int[rip]
push rbx
.cfi_def_cfa_offset 32
.cfi_offset 3, -32
mov rbx, rsi
mov rsi, QWORD PTR [rsi]
cmp rsi, QWORD PTR 8[rbx]
je .L6
call ast_inttype@PLT
mov esi, DWORD PTR OP_LE[rip]
mov edi, DWORD PTR type_int[rip]
mov rcx, r12
mov rdx, rax
call ast_binop@PLT
mov rsi, QWORD PTR 8[rbx]
mov edi, DWORD PTR type_int[rip]
mov r13, rax
call ast_inttype@PLT
mov esi, DWORD PTR OP_LE[rip]
mov edi, DWORD PTR type_int[rip]
mov rdx, r12
mov rcx, rax
call ast_binop@PLT
mov esi, DWORD PTR OP_LOGAND[rip]
mov edi, DWORD PTR type_int[rip]
mov rdx, r13
mov rcx, rax
call ast_binop@PLT
mov r12, rax
.L3:
mov edi, DWORD PTR 16[rbx]
call ast_jump@PLT
pop rbx
.cfi_remember_state
.cfi_def_cfa_offset 24
mov rdi, r12
xor edx, edx
pop r12
.cfi_def_cfa_offset 16
mov esi, eax
pop r13
.cfi_def_cfa_offset 8
jmp ast_if@PLT
.p2align 4,,10
.p2align 3
.L6:
.cfi_restore_state
call ast_inttype@PLT
mov esi, DWORD PTR OP_EQ[rip]
mov edi, DWORD PTR type_int[rip]
mov rdx, r12
mov rcx, rax
call ast_binop@PLT
mov r12, rax
jmp .L3
.cfi_endproc
.LFE0:
.size make_switch_jump, .-make_switch_jump
.globl type_int
.bss
.align 4
.type type_int, @object
.size type_int, 4
type_int:
.zero 4
.globl OP_LOGAND
.align 4
.type OP_LOGAND, @object
.size OP_LOGAND, 4
OP_LOGAND:
.zero 4
.globl OP_LE
.align 4
.type OP_LE, @object
.size OP_LE, 4
OP_LE:
.zero 4
.globl OP_EQ
.align 4
.type OP_EQ, @object
.size OP_EQ, 4
OP_EQ:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_parse.c_make_switch_jump.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type make_switch_jump, %function
make_switch_jump:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, r9, r10, lr}
mov r4, r1
ldr r1, [r1]
ldr r3, [r4, #4]
ldr r7, .L7
cmp r1, r3
mov r5, r0
ldr r6, [r7]
beq .L6
ldr r9, .L7+4
mov r0, r6
ldr r8, [r9]
bl ast_inttype
mov r3, r5
mov r2, r0
mov r1, r8
mov r0, r6
bl ast_binop
ldr r8, [r7]
mov r6, r0
ldr r1, [r4, #4]
mov r0, r8
ldr r9, [r9]
bl ast_inttype
mov r2, r5
mov r3, r0
mov r1, r9
mov r0, r8
bl ast_binop
ldr r1, .L7+8
mov r3, r0
mov r2, r6
ldr r0, [r7]
ldr r1, [r1]
bl ast_binop
mov r5, r0
.L3:
ldr r0, [r4, #8]
bl ast_jump
mov r2, #0
mov r1, r0
mov r0, r5
pop {r4, r5, r6, r7, r8, r9, r10, lr}
b ast_if
.L6:
ldr r3, .L7+12
mov r0, r6
ldr r7, [r3]
bl ast_inttype
mov r2, r5
mov r3, r0
mov r1, r7
mov r0, r6
bl ast_binop
mov r5, r0
b .L3
.L8:
.align 2
.L7:
.word type_int
.word OP_LE
.word OP_LOGAND
.word OP_EQ
.size make_switch_jump, .-make_switch_jump
.comm type_int,4,4
.comm OP_LOGAND,4,4
.comm OP_LE,4,4
.comm OP_EQ,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_parse.c_make_tempname.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string ".T%d"
.text
.p2align 4
.globl make_tempname
.type make_tempname, @function
make_tempname:
.LFB0:
.cfi_startproc
endbr64
mov esi, DWORD PTR c.0[rip]
lea rdi, .LC0[rip]
lea eax, 1[rsi]
mov DWORD PTR c.0[rip], eax
jmp format@PLT
.cfi_endproc
.LFE0:
.size make_tempname, .-make_tempname
.local c.0
.comm c.0,4,4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_parse.c_make_tempname.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii ".T%d\000"
.text
.align 2
.global make_tempname
.syntax unified
.arm
.fpu softvfp
.type make_tempname, %function
make_tempname:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
ldr r3, .L3
ldr r0, .L3+4
ldr r1, [r3]
add r2, r1, #1
str r2, [r3]
b format
.L4:
.align 2
.L3:
.word .LANCHOR0
.word .LC0
.size make_tempname, .-make_tempname
.bss
.align 2
.set .LANCHOR0,. + 0
.type c.4204, %object
.size c.4204, 4
c.4204:
.space 4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_parse.c_make_type.c"
.intel_syntax noprefix
.text
.p2align 4
.type make_type, @function
make_type:
.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_type, .-make_type
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_parse.c_make_type.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type make_type, %function
make_type:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
mov r4, r0
mov r0, #4
bl malloc
ldr r3, [r4]
str r3, [r0]
pop {r4, pc}
.size make_type, .-make_type
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_parse.c_mark_location.c"
.intel_syntax noprefix
.text
.p2align 4
.type mark_location, @function
mark_location:
.LFB0:
.cfi_startproc
endbr64
push rbx
.cfi_def_cfa_offset 16
.cfi_offset 3, -16
xor eax, eax
call peek@PLT
mov edi, 4
mov rbx, rax
call malloc@PLT
mov rdx, QWORD PTR 8[rbx]
mov QWORD PTR source_loc[rip], rax
mov edx, DWORD PTR [rdx]
mov DWORD PTR 4[rax], edx
mov edx, DWORD PTR [rbx]
mov DWORD PTR [rax], edx
pop rbx
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size mark_location, .-mark_location
.globl source_loc
.bss
.align 8
.type source_loc, @object
.size source_loc, 8
source_loc:
.zero 8
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_parse.c_mark_location.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type mark_location, %function
mark_location:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
bl peek
mov r4, r0
mov r0, #4
bl malloc
ldm r4, {r2, r3}
ldr r1, [r3]
ldr r3, .L4
str r1, [r0, #4]
str r2, [r0]
str r0, [r3]
pop {r4, pc}
.L5:
.align 2
.L4:
.word source_loc
.size mark_location, .-mark_location
.comm source_loc,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_parse.c_maybe_read_brace.c"
.intel_syntax noprefix
.text
.p2align 4
.type maybe_read_brace, @function
maybe_read_brace:
.LFB0:
.cfi_startproc
endbr64
mov edi, 123
jmp next_token@PLT
.cfi_endproc
.LFE0:
.size maybe_read_brace, .-maybe_read_brace
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_parse.c_maybe_read_brace.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type maybe_read_brace, %function
maybe_read_brace:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
mov r0, #123
b next_token
.size maybe_read_brace, .-maybe_read_brace
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_parse.c_maybe_skip_comma.c"
.intel_syntax noprefix
.text
.p2align 4
.type maybe_skip_comma, @function
maybe_skip_comma:
.LFB0:
.cfi_startproc
endbr64
mov edi, 44
jmp next_token@PLT
.cfi_endproc
.LFE0:
.size maybe_skip_comma, .-maybe_skip_comma
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_parse.c_maybe_skip_comma.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type maybe_skip_comma, %function
maybe_skip_comma:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
mov r0, #44
b next_token
.size maybe_skip_comma, .-maybe_skip_comma
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_parse.c_next_token.c"
.intel_syntax noprefix
.text
.p2align 4
.type next_token, @function
next_token:
.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 get@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_token, .-next_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_parse.c_next_token.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type next_token, %function
next_token:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
mov r4, r0
bl get
mov r1, r4
mov r5, r0
bl is_keyword
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_token, .-next_token
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_parse.c_param_types.c"
.intel_syntax noprefix
.text
.p2align 4
.type param_types, @function
param_types:
.LFB0:
.cfi_startproc
endbr64
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
xor eax, eax
push rbp
.cfi_def_cfa_offset 24
.cfi_offset 6, -24
mov rbp, rdi
push rbx
.cfi_def_cfa_offset 32
.cfi_offset 3, -32
xor ebx, ebx
call make_vector@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 rdi, r12
mov esi, DWORD PTR [rax]
call vec_push@PLT
.L2:
mov rdi, rbp
call vec_len@PLT
cmp eax, ebx
jg .L3
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 param_types, .-param_types
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_parse.c_param_types.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type param_types, %function
param_types:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
mov r5, r0
bl make_vector
mov r4, #0
mov r6, r0
b .L2
.L3:
mov r1, r4
mov r0, r5
bl vec_get
mov r3, r0
mov r0, r6
ldr r1, [r3]
bl vec_push
add r4, r4, #1
.L2:
mov r0, r5
bl vec_len
cmp r0, r4
bgt .L3
mov r0, r6
pop {r4, r5, r6, pc}
.size param_types, .-param_types
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_parse.c_parse_init.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "__builtin_return_address"
.LC1:
.string "__builtin_reg_class"
.LC2:
.string "__builtin_va_arg"
.LC3:
.string "__builtin_va_start"
.text
.p2align 4
.globl parse_init
.type parse_init, @function
parse_init:
.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
sub rsp, 8
.cfi_def_cfa_offset 32
mov edi, DWORD PTR type_void[rip]
call make_ptr_type@PLT
mov edi, eax
call make_vector1@PLT
mov r12, rax
xor eax, eax
call make_vector@PLT
mov edi, DWORD PTR type_void[rip]
mov r13, rax
call make_ptr_type@PLT
mov rdi, r13
mov esi, eax
call vec_push@PLT
mov edi, DWORD PTR type_void[rip]
call make_ptr_type@PLT
mov rdi, r13
mov esi, eax
call vec_push@PLT
mov edi, DWORD PTR type_void[rip]
call make_ptr_type@PLT
mov rdx, r12
lea rdi, .LC0[rip]
mov esi, eax
call define_builtin@PLT
mov esi, DWORD PTR type_int[rip]
mov rdx, r12
lea rdi, .LC1[rip]
call define_builtin@PLT
mov esi, DWORD PTR type_void[rip]
mov rdx, r13
lea rdi, .LC2[rip]
call define_builtin@PLT
mov esi, DWORD PTR type_void[rip]
add rsp, 8
.cfi_def_cfa_offset 24
mov rdx, r12
lea rdi, .LC3[rip]
pop r12
.cfi_def_cfa_offset 16
pop r13
.cfi_def_cfa_offset 8
jmp define_builtin@PLT
.cfi_endproc
.LFE0:
.size parse_init, .-parse_init
.globl type_void
.bss
.align 4
.type type_void, @object
.size type_void, 4
type_void:
.zero 4
.globl type_int
.align 4
.type type_int, @object
.size type_int, 4
type_int:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_parse.c_parse_init.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "__builtin_return_address\000"
.align 2
.LC1:
.ascii "__builtin_reg_class\000"
.align 2
.LC2:
.ascii "__builtin_va_arg\000"
.align 2
.LC3:
.ascii "__builtin_va_start\000"
.text
.align 2
.global parse_init
.syntax unified
.arm
.fpu softvfp
.type parse_init, %function
parse_init:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
ldr r4, .L4
ldr r0, [r4]
bl make_ptr_type
bl make_vector1
mov r5, r0
bl make_vector
mov r6, r0
ldr r0, [r4]
bl make_ptr_type
mov r1, r0
mov r0, r6
bl vec_push
ldr r0, [r4]
bl make_ptr_type
mov r1, r0
mov r0, r6
bl vec_push
ldr r0, [r4]
bl make_ptr_type
mov r2, r5
mov r1, r0
ldr r0, .L4+4
bl define_builtin
ldr r3, .L4+8
mov r2, r5
ldr r1, [r3]
ldr r0, .L4+12
bl define_builtin
mov r2, r6
ldr r1, [r4]
ldr r0, .L4+16
bl define_builtin
mov r2, r5
ldr r1, [r4]
ldr r0, .L4+20
pop {r4, r5, r6, lr}
b define_builtin
.L5:
.align 2
.L4:
.word type_void
.word .LC0
.word type_int
.word .LC1
.word .LC2
.word .LC3
.size parse_init, .-parse_init
.comm type_void,4,4
.comm type_int,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_parse.c_peek.c"
.intel_syntax noprefix
.text
.p2align 4
.type peek, @function
peek:
.LFB0:
.cfi_startproc
endbr64
xor eax, eax
jmp peek_token@PLT
.cfi_endproc
.LFE0:
.size peek, .-peek
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_parse.c_peek.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type peek, %function
peek:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
b peek_token
.size peek, .-peek
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_parse.c_read_abstract_declarator.c"
.intel_syntax noprefix
.text
.p2align 4
.type read_abstract_declarator, @function
read_abstract_declarator:
.LFB0:
.cfi_startproc
endbr64
mov ecx, DWORD PTR DECL_CAST[rip]
mov rsi, rdi
xor edx, edx
xor edi, edi
jmp read_declarator@PLT
.cfi_endproc
.LFE0:
.size read_abstract_declarator, .-read_abstract_declarator
.globl DECL_CAST
.bss
.align 4
.type DECL_CAST, @object
.size DECL_CAST, 4
DECL_CAST:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_parse.c_read_abstract_declarator.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type read_abstract_declarator, %function
read_abstract_declarator:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
mov r2, #0
ldr r3, .L3
mov r1, r0
ldr r3, [r3]
mov r0, r2
b read_declarator
.L4:
.align 2
.L3:
.word DECL_CAST
.size read_abstract_declarator, .-read_abstract_declarator
.comm DECL_CAST,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_parse.c_read_additive_expr.c"
.intel_syntax noprefix
.text
.p2align 4
.type read_additive_expr, @function
read_additive_expr:
.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_multiplicative_expr@PLT
mov rbp, rax
.p2align 4,,10
.p2align 3
.L2:
mov edi, 43
call next_token@PLT
test rax, rax
jne .L8
.L3:
mov edi, 45
call next_token@PLT
test rax, rax
je .L1
xor eax, eax
call read_multiplicative_expr@PLT
mov rdi, rax
call conv@PLT
mov rdi, rbp
mov r12d, eax
call conv@PLT
mov edi, 45
mov edx, r12d
mov esi, eax
call binop@PLT
mov edi, 43
mov rbp, rax
call next_token@PLT
test rax, rax
je .L3
.L8:
xor eax, eax
call read_multiplicative_expr@PLT
mov rdi, rax
call conv@PLT
mov rdi, rbp
mov r12d, eax
call conv@PLT
mov edx, r12d
mov edi, 43
mov esi, eax
call binop@PLT
mov rbp, rax
jmp .L2
.p2align 4,,10
.p2align 3
.L1:
add rsp, 8
.cfi_def_cfa_offset 24
mov rax, rbp
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size read_additive_expr, .-read_additive_expr
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_parse.c_read_additive_expr.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type read_additive_expr, %function
read_additive_expr:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
bl read_multiplicative_expr
mov r4, r0
.L2:
mov r0, #43
bl next_token
cmp r0, #0
bne .L8
.L3:
mov r0, #45
bl next_token
cmp r0, #0
mov r0, r4
popeq {r4, pc}
bl conv
mov r4, r0
bl read_multiplicative_expr
bl conv
mov r1, r4
mov r2, r0
mov r0, #45
bl binop
mov r4, r0
mov r0, #43
bl next_token
cmp r0, #0
beq .L3
.L8:
mov r0, r4
bl conv
mov r4, r0
bl read_multiplicative_expr
bl conv
mov r1, r4
mov r2, r0
mov r0, #43
bl binop
mov r4, r0
b .L2
.size read_additive_expr, .-read_additive_expr
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_parse.c_read_alignas.c"
.intel_syntax noprefix
.text
.p2align 4
.type read_alignas, @function
read_alignas:
.LFB0:
.cfi_startproc
endbr64
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
mov edi, 40
call expect@PLT
xor eax, eax
call peek@PLT
mov edi, eax
call is_type@PLT
test rax, rax
mov eax, 0
je .L2
call read_cast_type@PLT
mov edi, 41
mov r12d, DWORD PTR [rax]
call expect@PLT
mov eax, r12d
pop r12
.cfi_remember_state
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L2:
.cfi_restore_state
call read_intexpr@PLT
mov edi, 41
mov r12d, eax
call expect@PLT
mov eax, r12d
pop r12
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size read_alignas, .-read_alignas
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_parse.c_read_alignas.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type read_alignas, %function
read_alignas:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
mov r0, #40
bl expect
bl peek
bl is_type
cmp r0, #0
beq .L2
bl read_cast_type
ldr r4, [r0]
.L3:
mov r0, #41
bl expect
mov r0, r4
pop {r4, pc}
.L2:
bl read_intexpr
mov r4, r0
b .L3
.size read_alignas, .-read_alignas
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_parse.c_read_alignof_operand.c"
.intel_syntax noprefix
.text
.p2align 4
.type read_alignof_operand, @function
read_alignof_operand:
.LFB0:
.cfi_startproc
endbr64
push rbx
.cfi_def_cfa_offset 16
.cfi_offset 3, -16
mov edi, 40
call expect@PLT
xor eax, eax
call read_cast_type@PLT
mov edi, 41
mov rbx, rax
call expect@PLT
mov esi, DWORD PTR [rbx]
mov edi, DWORD PTR type_ulong[rip]
pop rbx
.cfi_def_cfa_offset 8
jmp ast_inttype@PLT
.cfi_endproc
.LFE0:
.size read_alignof_operand, .-read_alignof_operand
.globl type_ulong
.bss
.align 4
.type type_ulong, @object
.size type_ulong, 4
type_ulong:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_parse.c_read_alignof_operand.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type read_alignof_operand, %function
read_alignof_operand:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
mov r0, #40
bl expect
bl read_cast_type
mov r4, r0
mov r0, #41
bl expect
ldr r3, .L4
ldr r1, [r4]
ldr r0, [r3]
pop {r4, lr}
b ast_inttype
.L5:
.align 2
.L4:
.word type_ulong
.size read_alignof_operand, .-read_alignof_operand
.comm type_ulong,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_parse.c_read_array_initializer.c"
.intel_syntax noprefix
.text
.p2align 4
.type read_array_initializer, @function
read_array_initializer:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rdi
call read_array_initializer_sub@PLT
mov rdi, rbp
pop rbp
.cfi_def_cfa_offset 8
jmp sort_inits@PLT
.cfi_endproc
.LFE0:
.size read_array_initializer, .-read_array_initializer
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_parse.c_read_array_initializer.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type read_array_initializer, %function
read_array_initializer:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
mov r4, r0
bl read_array_initializer_sub
mov r0, r4
pop {r4, lr}
b sort_inits
.size read_array_initializer, .-read_array_initializer
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_parse.c_read_array_initializer_sub.c"
.intel_syntax noprefix
.text
.section .rodata.str1.8,"aMS",@progbits,1
.align 8
.LC0:
.string "array designator exceeds array bounds: %d"
.text
.p2align 4
.type read_array_initializer_sub, @function
read_array_initializer_sub:
.LFB0:
.cfi_startproc
endbr64
push r15
.cfi_def_cfa_offset 16
.cfi_offset 15, -16
xor eax, eax
mov r15, rdi
push r14
.cfi_def_cfa_offset 24
.cfi_offset 14, -24
push r13
.cfi_def_cfa_offset 32
.cfi_offset 13, -32
push r12
.cfi_def_cfa_offset 40
.cfi_offset 12, -40
mov r12d, ecx
push rbp
.cfi_def_cfa_offset 48
.cfi_offset 6, -48
mov rbp, rsi
push rbx
.cfi_def_cfa_offset 56
.cfi_offset 3, -56
xor ebx, ebx
sub rsp, 24
.cfi_def_cfa_offset 80
mov DWORD PTR 8[rsp], edx
call maybe_read_brace@PLT
mov r13d, DWORD PTR 0[rbp]
mov DWORD PTR 12[rsp], eax
mov rax, QWORD PTR 8[rbp]
mov eax, DWORD PTR [rax]
mov DWORD PTR 4[rsp], eax
jmp .L2
.p2align 4,,10
.p2align 3
.L26:
xor eax, eax
call peek@PLT
mov r12, rax
xor eax, eax
call read_intexpr@PLT
mov ebx, eax
test eax, eax
js .L11
test r13d, r13d
jle .L12
cmp DWORD PTR 0[rbp], eax
jg .L12
.L11:
mov edx, ebx
lea rsi, .LC0[rip]
mov rdi, r12
call errort@PLT
.L12:
mov edi, 93
mov r12d, 1
call expect@PLT
.L13:
mov edx, DWORD PTR 4[rsp]
mov rsi, QWORD PTR 8[rbp]
mov ecx, r12d
mov rdi, r15
xor r12d, r12d
imul edx, ebx
add edx, DWORD PTR 8[rsp]
add ebx, 1
call read_initializer_elem@PLT
xor eax, eax
call maybe_skip_comma@PLT
.L2:
test r13d, r13d
jle .L14
mov eax, DWORD PTR 0[rbp]
cmp eax, ebx
jle .L23
.L14:
xor eax, eax
call get@PLT
mov esi, 125
mov rdi, rax
mov r14, rax
call is_keyword@PLT
test rax, rax
jne .L24
mov esi, 46
mov rdi, r14
call is_keyword@PLT
test rax, rax
je .L6
mov eax, DWORD PTR 12[rsp]
or eax, r12d
je .L25
.L8:
mov esi, 91
mov rdi, r14
call is_keyword@PLT
test rax, rax
jne .L26
mov rdi, r14
call unget_token@PLT
jmp .L13
.p2align 4,,10
.p2align 3
.L6:
mov esi, 91
mov rdi, r14
call is_keyword@PLT
test rax, rax
je .L8
mov eax, DWORD PTR 12[rsp]
or eax, r12d
jne .L8
.L25:
add rsp, 24
.cfi_remember_state
.cfi_def_cfa_offset 56
mov rdi, r14
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
jmp unget_token@PLT
.p2align 4,,10
.p2align 3
.L24:
.cfi_restore_state
mov ecx, DWORD PTR 12[rsp]
test ecx, ecx
je .L4
.L20:
mov eax, DWORD PTR 0[rbp]
.L5:
test eax, eax
jns .L1
mov DWORD PTR 0[rbp], ebx
imul ebx, DWORD PTR 4[rsp]
mov DWORD PTR 4[rbp], ebx
.L1:
add rsp, 24
.cfi_remember_state
.cfi_def_cfa_offset 56
pop rbx
.cfi_def_cfa_offset 48
pop rbp
.cfi_def_cfa_offset 40
pop r12
.cfi_def_cfa_offset 32
pop r13
.cfi_def_cfa_offset 24
pop r14
.cfi_def_cfa_offset 16
pop r15
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L23:
.cfi_restore_state
mov edx, DWORD PTR 12[rsp]
test edx, edx
je .L5
xor eax, eax
call skip_to_brace@PLT
jmp .L20
.p2align 4,,10
.p2align 3
.L4:
mov rdi, r14
call unget_token@PLT
mov eax, DWORD PTR 0[rbp]
jmp .L5
.cfi_endproc
.LFE0:
.size read_array_initializer_sub, .-read_array_initializer_sub
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_parse.c_read_array_initializer_sub.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "array designator exceeds array bounds: %d\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type read_array_initializer_sub, %function
read_array_initializer_sub:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, r9, r10, fp, lr}
mov r7, r1
sub sp, sp, #12
mov r6, r3
mov r10, r0
mov r9, r2
bl maybe_read_brace
ldr r3, [r7, #8]
mov r4, #0
ldr fp, [r3]
ldr r8, [r7]
str r0, [sp, #4]
b .L2
.L26:
bl peek
mov r5, r0
bl read_intexpr
subs r4, r0, #0
blt .L11
cmp r8, #0
ble .L12
ldr r3, [r7]
cmp r3, r4
bgt .L12
.L11:
mov r0, r5
mov r2, r4
ldr r1, .L27
bl errort
.L12:
mov r0, #93
bl expect
mov r6, #1
.L13:
mov r3, r6
mla r2, fp, r4, r9
ldr r1, [r7, #8]
mov r0, r10
bl read_initializer_elem
mov r6, #0
bl maybe_skip_comma
add r4, r4, #1
.L2:
cmp r8, #0
ble .L14
ldr r3, [r7]
cmp r3, r4
ble .L23
.L14:
bl get
mov r1, #125
mov r5, r0
bl is_keyword
cmp r0, #0
bne .L24
mov r1, #46
mov r0, r5
bl is_keyword
cmp r0, #0
beq .L6
ldr r3, [sp, #4]
orrs r3, r6, r3
beq .L25
.L8:
mov r1, #91
mov r0, r5
bl is_keyword
cmp r0, #0
bne .L26
mov r0, r5
bl unget_token
b .L13
.L6:
mov r1, #91
mov r0, r5
bl is_keyword
cmp r0, #0
beq .L8
ldr r3, [sp, #4]
orrs r3, r6, r3
bne .L8
.L25:
mov r0, r5
add sp, sp, #12
@ sp needed
pop {r4, r5, r6, r7, r8, r9, r10, fp, lr}
b unget_token
.L24:
ldr r3, [sp, #4]
cmp r3, #0
beq .L4
.L20:
ldr r3, [r7]
.L5:
cmp r3, #0
mullt fp, r4, fp
stmlt r7, {r4, fp}
add sp, sp, #12
@ sp needed
pop {r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L23:
ldr r2, [sp, #4]
cmp r2, #0
beq .L5
bl skip_to_brace
b .L20
.L4:
mov r0, r5
bl unget_token
ldr r3, [r7]
b .L5
.L28:
.align 2
.L27:
.word .LC0
.size read_array_initializer_sub, .-read_array_initializer_sub
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_parse.c_read_assignment_expr.c"
.intel_syntax noprefix
.text
.p2align 4
.type read_assignment_expr, @function
read_assignment_expr:
.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
sub rsp, 8
.cfi_def_cfa_offset 48
call read_logor_expr@PLT
mov r12, rax
xor eax, eax
call get@PLT
test rax, rax
je .L1
mov esi, 63
mov rdi, rax
mov rbp, rax
call is_keyword@PLT
test rax, rax
jne .L22
mov rdi, rbp
call get_compound_assign_op@PLT
mov esi, 61
mov rdi, rbp
mov r13d, eax
call is_keyword@PLT
test rax, rax
jne .L4
test r13d, r13d
je .L23
xor eax, eax
call read_assignment_expr
mov rdi, rax
call conv@PLT
mov esi, 61
mov rdi, rbp
mov r14, rax
call is_keyword@PLT
.L8:
mov rdi, r12
call ensure_lvalue@PLT
.L12:
mov rdi, r12
call conv@PLT
mov rdx, r14
mov edi, r13d
mov rsi, rax
call binop@PLT
mov r14, rax
.L9:
mov rdi, QWORD PTR [r12]
call is_arithtype@PLT
mov rdi, QWORD PTR [r12]
test rax, rax
je .L11
mov rax, QWORD PTR [r14]
mov rax, QWORD PTR [rax]
cmp QWORD PTR [rdi], rax
je .L11
mov rsi, r14
call ast_conv@PLT
mov rdi, QWORD PTR [r12]
mov r14, rax
.L11:
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 40
mov rcx, r14
mov rdx, r12
mov esi, 61
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 ast_binop@PLT
.p2align 4,,10
.p2align 3
.L22:
.cfi_restore_state
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 40
mov rdi, 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
jmp do_read_conditional_expr@PLT
.p2align 4,,10
.p2align 3
.L23:
.cfi_restore_state
mov rdi, rbp
call unget_token@PLT
.L1:
add rsp, 8
.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
.L4:
.cfi_restore_state
xor eax, eax
call read_assignment_expr
mov rdi, rax
call conv@PLT
mov esi, 61
mov rdi, rbp
mov r14, rax
call is_keyword@PLT
test rax, rax
jne .L7
test r13d, r13d
je .L9
jmp .L8
.p2align 4,,10
.p2align 3
.L7:
mov rdi, r12
call ensure_lvalue@PLT
test r13d, r13d
je .L9
jmp .L12
.cfi_endproc
.LFE0:
.size read_assignment_expr, .-read_assignment_expr
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_parse.c_read_assignment_expr.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type read_assignment_expr, %function
read_assignment_expr:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
bl read_logor_expr
mov r5, r0
bl get
subs r4, r0, #0
beq .L1
mov r1, #63
bl is_keyword
cmp r0, #0
bne .L22
mov r0, r4
bl get_compound_assign_op
mov r1, #61
mov r6, r0
mov r0, r4
bl is_keyword
cmp r0, #0
bne .L4
cmp r6, #0
beq .L23
bl read_assignment_expr
bl conv
mov r3, r0
mov r1, #61
mov r0, r4
mov r4, r3
bl is_keyword
.L8:
mov r0, r5
bl ensure_lvalue
.L12:
mov r0, r5
bl conv
mov r2, r4
mov r1, r0
mov r0, r6
bl binop
mov r4, r0
.L9:
ldr r0, [r5]
bl is_arithtype
cmp r0, #0
ldr r0, [r5]
beq .L11
ldr r3, [r4]
ldr r2, [r0]
ldr r3, [r3]
cmp r2, r3
beq .L11
mov r1, r4
bl ast_conv
mov r4, r0
ldr r0, [r5]
.L11:
mov r3, r4
mov r2, r5
pop {r4, r5, r6, lr}
mov r1, #61
b ast_binop
.L22:
mov r0, r5
pop {r4, r5, r6, lr}
b do_read_conditional_expr
.L23:
mov r0, r4
bl unget_token
.L1:
mov r0, r5
pop {r4, r5, r6, pc}
.L4:
bl read_assignment_expr
bl conv
mov r3, r0
mov r1, #61
mov r0, r4
mov r4, r3
bl is_keyword
cmp r0, #0
bne .L7
cmp r6, #0
beq .L9
b .L8
.L7:
mov r0, r5
bl ensure_lvalue
cmp r6, #0
beq .L9
b .L12
.size read_assignment_expr, .-read_assignment_expr
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_parse.c_read_bitand_expr.c"
.intel_syntax noprefix
.text
.p2align 4
.type read_bitand_expr, @function
read_bitand_expr:
.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_equality_expr@PLT
mov rbp, rax
jmp .L2
.p2align 4,,10
.p2align 3
.L3:
xor eax, eax
call read_equality_expr@PLT
mov rdi, rax
call conv@PLT
mov rdi, rbp
mov r12d, eax
call conv@PLT
mov edx, r12d
mov edi, 38
mov esi, eax
call binop@PLT
mov rbp, rax
.L2:
mov edi, 38
call next_token@PLT
test rax, rax
jne .L3
add rsp, 8
.cfi_def_cfa_offset 24
mov rax, rbp
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size read_bitand_expr, .-read_bitand_expr
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_parse.c_read_bitand_expr.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type read_bitand_expr, %function
read_bitand_expr:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
bl read_equality_expr
mov r4, r0
.L2:
mov r0, #38
bl next_token
cmp r0, #0
mov r0, r4
popeq {r4, pc}
bl conv
mov r4, r0
bl read_equality_expr
bl conv
mov r1, r4
mov r2, r0
mov r0, #38
bl binop
mov r4, r0
b .L2
.size read_bitand_expr, .-read_bitand_expr
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_parse.c_read_bitor_expr.c"
.intel_syntax noprefix
.text
.p2align 4
.type read_bitor_expr, @function
read_bitor_expr:
.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_bitxor_expr@PLT
mov rbp, rax
jmp .L2
.p2align 4,,10
.p2align 3
.L3:
xor eax, eax
call read_bitxor_expr@PLT
mov rdi, rax
call conv@PLT
mov rdi, rbp
mov r12d, eax
call conv@PLT
mov edx, r12d
mov edi, 124
mov esi, eax
call binop@PLT
mov rbp, rax
.L2:
mov edi, 124
call next_token@PLT
test rax, rax
jne .L3
add rsp, 8
.cfi_def_cfa_offset 24
mov rax, rbp
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size read_bitor_expr, .-read_bitor_expr
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_parse.c_read_bitor_expr.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type read_bitor_expr, %function
read_bitor_expr:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
bl read_bitxor_expr
mov r4, r0
.L2:
mov r0, #124
bl next_token
cmp r0, #0
mov r0, r4
popeq {r4, pc}
bl conv
mov r4, r0
bl read_bitxor_expr
bl conv
mov r1, r4
mov r2, r0
mov r0, #124
bl binop
mov r4, r0
b .L2
.size read_bitor_expr, .-read_bitor_expr
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_parse.c_read_bitsize.c"
.intel_syntax noprefix
.text
.section .rodata.str1.8,"aMS",@progbits,1
.align 8
.LC0:
.string "non-integer type cannot be a bitfield: %s"
.align 8
.LC1:
.string "invalid bitfield size for %s: %d"
.align 8
.LC2:
.string "zero-width bitfield needs to be unnamed: %s"
.text
.p2align 4
.type read_bitsize, @function
read_bitsize:
.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
mov r13, rdi
mov rdi, rsi
push r12
.cfi_def_cfa_offset 32
.cfi_offset 12, -32
push rbp
.cfi_def_cfa_offset 40
.cfi_offset 6, -40
mov rbp, rsi
sub rsp, 8
.cfi_def_cfa_offset 48
call is_inttype@PLT
test eax, eax
je .L20
.L2:
xor eax, eax
call peek@PLT
mov r14, rax
xor eax, eax
call read_intexpr@PLT
mov rcx, QWORD PTR KIND_BOOL[rip]
mov r12d, eax
mov eax, 1
cmp QWORD PTR 0[rbp], rcx
je .L3
mov eax, DWORD PTR 8[rbp]
sal eax, 3
.L3:
test r12d, r12d
js .L8
cmp eax, r12d
jl .L8
.L4:
test r12d, r12d
jne .L1
test r13, r13
jne .L21
.L1:
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 40
mov eax, r12d
pop rbp
.cfi_def_cfa_offset 32
pop r12
.cfi_def_cfa_offset 24
pop r13
.cfi_def_cfa_offset 16
pop r14
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L21:
.cfi_restore_state
mov rdx, r13
mov rdi, r14
lea rsi, .LC2[rip]
xor eax, eax
call errort@PLT
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 40
mov eax, r12d
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
.L8:
.cfi_restore_state
mov rdi, rbp
call ty2s@PLT
mov ecx, r12d
lea rsi, .LC1[rip]
mov rdi, r14
movsx rdx, eax
xor eax, eax
call errort@PLT
jmp .L4
.p2align 4,,10
.p2align 3
.L20:
mov rdi, rbp
call ty2s@PLT
lea rdi, .LC0[rip]
mov esi, eax
call error@PLT
jmp .L2
.cfi_endproc
.LFE0:
.size read_bitsize, .-read_bitsize
.globl KIND_BOOL
.bss
.align 8
.type KIND_BOOL, @object
.size KIND_BOOL, 8
KIND_BOOL:
.zero 8
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_parse.c_read_bitsize.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "non-integer type cannot be a bitfield: %s\000"
.align 2
.LC1:
.ascii "invalid bitfield size for %s: %d\000"
.align 2
.LC2:
.ascii "zero-width bitfield needs to be unnamed: %s\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type read_bitsize, %function
read_bitsize:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, lr}
mov r6, r0
mov r0, r1
mov r5, r1
bl is_inttype
cmp r0, #0
beq .L15
.L2:
bl peek
mov r7, r0
bl read_intexpr
ldr r3, .L18
ldr r1, [r5]
ldr r2, [r3]
mov r4, r0
cmp r1, r2
moveq r3, #1
ldrne r3, [r5, #4]
lslne r3, r3, #3
cmp r3, r0
movge r3, #0
movlt r3, #1
orrs r3, r3, r0, lsr #31
bne .L16
.L4:
subs r3, r6, #0
movne r3, #1
cmp r4, #0
movne r3, #0
cmp r3, #0
bne .L17
mov r0, r4
pop {r4, r5, r6, r7, r8, pc}
.L15:
mov r0, r5
bl ty2s
mov r1, r0
ldr r0, .L18+4
bl error
b .L2
.L17:
mov r2, r6
mov r0, r7
ldr r1, .L18+8
bl errort
mov r0, r4
pop {r4, r5, r6, r7, r8, pc}
.L16:
mov r0, r5
bl ty2s
mov r3, r4
mov r2, r0
ldr r1, .L18+12
mov r0, r7
bl errort
b .L4
.L19:
.align 2
.L18:
.word KIND_BOOL
.word .LC0
.word .LC2
.word .LC1
.size read_bitsize, .-read_bitsize
.comm KIND_BOOL,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_parse.c_read_bitxor_expr.c"
.intel_syntax noprefix
.text
.p2align 4
.type read_bitxor_expr, @function
read_bitxor_expr:
.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_bitand_expr@PLT
mov rbp, rax
jmp .L2
.p2align 4,,10
.p2align 3
.L3:
xor eax, eax
call read_bitand_expr@PLT
mov rdi, rax
call conv@PLT
mov rdi, rbp
mov r12d, eax
call conv@PLT
mov edx, r12d
mov edi, 94
mov esi, eax
call binop@PLT
mov rbp, rax
.L2:
mov edi, 94
call next_token@PLT
test rax, rax
jne .L3
add rsp, 8
.cfi_def_cfa_offset 24
mov rax, rbp
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size read_bitxor_expr, .-read_bitxor_expr
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_parse.c_read_bitxor_expr.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type read_bitxor_expr, %function
read_bitxor_expr:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
bl read_bitand_expr
mov r4, r0
.L2:
mov r0, #94
bl next_token
cmp r0, #0
mov r0, r4
popeq {r4, pc}
bl conv
mov r4, r0
bl read_bitand_expr
bl conv
mov r1, r4
mov r2, r0
mov r0, #94
bl binop
mov r4, r0
b .L2
.size read_bitxor_expr, .-read_bitxor_expr
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_parse.c_read_boolean_expr.c"
.intel_syntax noprefix
.text
.p2align 4
.type read_boolean_expr, @function
read_boolean_expr:
.LFB0:
.cfi_startproc
endbr64
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
xor eax, eax
call read_expr@PLT
mov edi, DWORD PTR [rax]
mov r12, rax
call is_flotype@PLT
test rax, rax
jne .L5
mov rax, r12
pop r12
.cfi_remember_state
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L5:
.cfi_restore_state
mov edi, DWORD PTR type_bool[rip]
mov rsi, r12
pop r12
.cfi_def_cfa_offset 8
jmp ast_conv@PLT
.cfi_endproc
.LFE0:
.size read_boolean_expr, .-read_boolean_expr
.globl type_bool
.bss
.align 4
.type type_bool, @object
.size type_bool, 4
type_bool:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_parse.c_read_boolean_expr.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type read_boolean_expr, %function
read_boolean_expr:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
bl read_expr
mov r4, r0
ldr r0, [r0]
bl is_flotype
cmp r0, #0
bne .L5
mov r0, r4
pop {r4, pc}
.L5:
ldr r3, .L6
mov r1, r4
pop {r4, lr}
ldr r0, [r3]
b ast_conv
.L7:
.align 2
.L6:
.word type_bool
.size read_boolean_expr, .-read_boolean_expr
.comm type_bool,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_parse.c_read_break_stmt.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "stray break statement"
.text
.p2align 4
.type read_break_stmt, @function
read_break_stmt:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rdi
mov edi, 59
call expect@PLT
mov edi, DWORD PTR lbreak[rip]
test edi, edi
je .L5
pop rbp
.cfi_remember_state
.cfi_def_cfa_offset 8
jmp ast_jump@PLT
.p2align 4,,10
.p2align 3
.L5:
.cfi_restore_state
mov rdi, rbp
lea rsi, .LC0[rip]
call errort@PLT
mov edi, DWORD PTR lbreak[rip]
pop rbp
.cfi_def_cfa_offset 8
jmp ast_jump@PLT
.cfi_endproc
.LFE0:
.size read_break_stmt, .-read_break_stmt
.globl lbreak
.bss
.align 4
.type lbreak, @object
.size lbreak, 4
lbreak:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_parse.c_read_break_stmt.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "stray break statement\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type read_break_stmt, %function
read_break_stmt:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
ldr r5, .L6
mov r4, r0
mov r0, #59
bl expect
ldr r0, [r5]
cmp r0, #0
beq .L5
pop {r4, r5, r6, lr}
b ast_jump
.L5:
mov r0, r4
ldr r1, .L6+4
bl errort
ldr r0, [r5]
pop {r4, r5, r6, lr}
b ast_jump
.L7:
.align 2
.L6:
.word lbreak
.word .LC0
.size read_break_stmt, .-read_break_stmt
.comm lbreak,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_parse.c_read_case_label.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "stray case label"
.section .rodata.str1.8,"aMS",@progbits,1
.align 8
.LC1:
.string "case region is not in correct order: %d ... %d"
.text
.p2align 4
.type read_case_label, @function
read_case_label:
.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
mov r13, rdi
push r12
.cfi_def_cfa_offset 32
.cfi_offset 12, -32
push rbp
.cfi_def_cfa_offset 40
.cfi_offset 6, -40
sub rsp, 8
.cfi_def_cfa_offset 48
mov eax, DWORD PTR cases[rip]
test eax, eax
je .L9
.L2:
xor eax, eax
call make_label@PLT
mov r12, rax
xor eax, eax
call read_intexpr@PLT
mov edi, DWORD PTR KELLIPSIS[rip]
mov ebp, eax
call next_token@PLT
test rax, rax
je .L3
xor eax, eax
call read_intexpr@PLT
mov edi, 58
mov r14d, eax
call expect@PLT
cmp ebp, r14d
jg .L10
.L4:
mov rdx, r12
mov esi, r14d
.L7:
mov edi, ebp
call make_case@PLT
mov edi, DWORD PTR cases[rip]
mov esi, eax
call vec_push@PLT
mov edi, DWORD PTR cases[rip]
call check_case_duplicates@PLT
mov rdi, r12
call ast_dest@PLT
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 40
pop rbp
.cfi_def_cfa_offset 32
mov edi, eax
pop r12
.cfi_def_cfa_offset 24
pop r13
.cfi_def_cfa_offset 16
pop r14
.cfi_def_cfa_offset 8
jmp read_label_tail@PLT
.p2align 4,,10
.p2align 3
.L3:
.cfi_restore_state
mov edi, 58
call expect@PLT
mov rdx, r12
mov esi, ebp
jmp .L7
.p2align 4,,10
.p2align 3
.L9:
lea rsi, .LC0[rip]
xor eax, eax
call errort@PLT
jmp .L2
.p2align 4,,10
.p2align 3
.L10:
mov ecx, r14d
mov edx, ebp
lea rsi, .LC1[rip]
mov rdi, r13
xor eax, eax
call errort@PLT
jmp .L4
.cfi_endproc
.LFE0:
.size read_case_label, .-read_case_label
.globl cases
.bss
.align 4
.type cases, @object
.size cases, 4
cases:
.zero 4
.globl KELLIPSIS
.align 4
.type KELLIPSIS, @object
.size KELLIPSIS, 4
KELLIPSIS:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_parse.c_read_case_label.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "stray case label\000"
.align 2
.LC1:
.ascii "case region is not in correct order: %d ... %d\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type read_case_label, %function
read_case_label:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, lr}
ldr r6, .L10
mov r7, r0
ldr r3, [r6]
cmp r3, #0
beq .L8
.L2:
bl make_label
mov r4, r0
bl read_intexpr
ldr r3, .L10+4
mov r5, r0
ldr r0, [r3]
bl next_token
cmp r0, #0
beq .L3
bl read_intexpr
mov r8, r0
mov r0, #58
bl expect
cmp r5, r8
bgt .L9
.L4:
mov r1, r8
mov r0, r5
mov r2, r4
ldr r5, [r6]
bl make_case
mov r1, r0
mov r0, r5
bl vec_push
.L5:
ldr r0, [r6]
bl check_case_duplicates
mov r0, r4
bl ast_dest
pop {r4, r5, r6, r7, r8, lr}
b read_label_tail
.L3:
mov r0, #58
bl expect
mov r1, r5
mov r2, r4
mov r0, r5
ldr r7, [r6]
bl make_case
mov r1, r0
mov r0, r7
bl vec_push
b .L5
.L8:
ldr r1, .L10+8
bl errort
b .L2
.L9:
mov r0, r7
mov r3, r8
mov r2, r5
ldr r1, .L10+12
bl errort
b .L4
.L11:
.align 2
.L10:
.word cases
.word KELLIPSIS
.word .LC0
.word .LC1
.size read_case_label, .-read_case_label
.comm cases,4,4
.comm KELLIPSIS,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_parse.c_read_cast_expr.c"
.intel_syntax noprefix
.text
.p2align 4
.type read_cast_expr, @function
read_cast_expr:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
xor eax, eax
call get@PLT
mov esi, 40
mov rdi, rax
mov rbp, rax
call is_keyword@PLT
test rax, rax
je .L2
xor eax, eax
call peek@PLT
mov rdi, rax
call is_type@PLT
test rax, rax
jne .L12
.L2:
mov rdi, rbp
call unget_token@PLT
xor eax, eax
pop rbp
.cfi_remember_state
.cfi_def_cfa_offset 8
jmp read_unary_expr@PLT
.p2align 4,,10
.p2align 3
.L12:
.cfi_restore_state
xor eax, eax
call read_cast_type@PLT
mov edi, 41
mov rbp, rax
call expect@PLT
xor eax, eax
call peek@PLT
mov esi, 123
mov rdi, rax
call is_keyword@PLT
test rax, rax
je .L3
mov rdi, rbp
call read_compound_literal@PLT
pop rbp
.cfi_remember_state
.cfi_def_cfa_offset 8
mov rdi, rax
jmp read_postfix_expr_tail@PLT
.p2align 4,,10
.p2align 3
.L3:
.cfi_restore_state
xor eax, eax
call read_cast_expr
mov edi, DWORD PTR OP_CAST[rip]
mov rsi, rbp
pop rbp
.cfi_def_cfa_offset 8
mov rdx, rax
jmp ast_uop@PLT
.cfi_endproc
.LFE0:
.size read_cast_expr, .-read_cast_expr
.globl OP_CAST
.bss
.align 4
.type OP_CAST, @object
.size OP_CAST, 4
OP_CAST:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_parse.c_read_cast_expr.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type read_cast_expr, %function
read_cast_expr:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
bl get
mov r1, #40
mov r4, r0
bl is_keyword
cmp r0, #0
beq .L2
bl peek
bl is_type
cmp r0, #0
bne .L12
.L2:
mov r0, r4
bl unget_token
pop {r4, r5, r6, lr}
b read_unary_expr
.L12:
bl read_cast_type
mov r4, r0
mov r0, #41
bl expect
bl peek
mov r1, #123
bl is_keyword
cmp r0, #0
beq .L3
mov r0, r4
bl read_compound_literal
pop {r4, r5, r6, lr}
b read_postfix_expr_tail
.L3:
ldr r3, .L13
ldr r5, [r3]
bl read_cast_expr
mov r1, r4
mov r2, r0
mov r0, r5
pop {r4, r5, r6, lr}
b ast_uop
.L14:
.align 2
.L13:
.word OP_CAST
.size read_cast_expr, .-read_cast_expr
.comm OP_CAST,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_parse.c_read_cast_type.c"
.intel_syntax noprefix
.text
.p2align 4
.type read_cast_type, @function
read_cast_type:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 8
.cfi_def_cfa_offset 16
xor edi, edi
call read_decl_spec@PLT
add rsp, 8
.cfi_def_cfa_offset 8
mov edi, eax
jmp read_abstract_declarator@PLT
.cfi_endproc
.LFE0:
.size read_cast_type, .-read_cast_type
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_parse.c_read_cast_type.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type read_cast_type, %function
read_cast_type:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
mov r0, #0
bl read_decl_spec
pop {r4, lr}
b read_abstract_declarator
.size read_cast_type, .-read_cast_type
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_parse.c_read_comma_expr.c"
.intel_syntax noprefix
.text
.p2align 4
.type read_comma_expr, @function
read_comma_expr:
.LFB0:
.cfi_startproc
endbr64
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
xor eax, eax
call read_assignment_expr@PLT
mov r12, rax
jmp .L2
.p2align 4,,10
.p2align 3
.L3:
xor eax, eax
call read_assignment_expr@PLT
mov rdx, r12
mov esi, 44
mov edi, DWORD PTR [rax]
mov rcx, rax
call ast_binop@PLT
mov r12, rax
.L2:
mov edi, 44
call next_token@PLT
test rax, rax
jne .L3
mov rax, r12
pop r12
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size read_comma_expr, .-read_comma_expr
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_parse.c_read_comma_expr.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type read_comma_expr, %function
read_comma_expr:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
bl read_assignment_expr
mov r4, r0
b .L2
.L3:
bl read_assignment_expr
mov r2, r4
mov r3, r0
mov r1, #44
ldr r0, [r0]
bl ast_binop
mov r4, r0
.L2:
mov r0, #44
bl next_token
cmp r0, #0
bne .L3
mov r0, r4
pop {r4, pc}
.size read_comma_expr, .-read_comma_expr
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_parse.c_read_compound_literal.c"
.intel_syntax noprefix
.text
.p2align 4
.type read_compound_literal, @function
read_compound_literal:
.LFB0:
.cfi_startproc
endbr64
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
xor eax, eax
push rbp
.cfi_def_cfa_offset 24
.cfi_offset 6, -24
mov rbp, rdi
push rbx
.cfi_def_cfa_offset 32
.cfi_offset 3, -32
call make_label@PLT
mov rdi, rbp
mov r12, rax
call read_decl_init@PLT
mov rsi, r12
mov rdi, rbp
mov rbx, rax
call ast_lvar@PLT
mov QWORD PTR [rax], rbx
pop rbx
.cfi_def_cfa_offset 24
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size read_compound_literal, .-read_compound_literal
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_parse.c_read_compound_literal.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type read_compound_literal, %function
read_compound_literal:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
mov r4, r0
bl make_label
mov r5, r0
mov r0, r4
bl read_decl_init
mov r3, r0
mov r1, r5
mov r0, r4
mov r4, r3
bl ast_lvar
str r4, [r0]
pop {r4, r5, r6, pc}
.size read_compound_literal, .-read_compound_literal
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_parse.c_read_compound_stmt.c"
.intel_syntax noprefix
.text
.p2align 4
.type read_compound_stmt, @function
read_compound_stmt:
.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
sub rsp, 8
.cfi_def_cfa_offset 32
mov rbx, QWORD PTR localenv[rip]
mov rdi, rbx
call make_map_parent@PLT
mov QWORD PTR localenv[rip], rax
xor eax, eax
call make_vector@PLT
mov rbp, rax
jmp .L3
.p2align 4,,10
.p2align 3
.L6:
mov rdi, rbp
call read_decl_or_stmt@PLT
.L3:
mov edi, 125
call next_token@PLT
test rax, rax
je .L6
mov QWORD PTR localenv[rip], rbx
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 ast_compound_stmt@PLT
.cfi_endproc
.LFE0:
.size read_compound_stmt, .-read_compound_stmt
.globl localenv
.bss
.align 8
.type localenv, @object
.size localenv, 8
localenv:
.zero 8
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_parse.c_read_compound_stmt.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type read_compound_stmt, %function
read_compound_stmt:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
ldr r5, .L7
ldr r6, [r5]
mov r0, r6
bl make_map_parent
str r0, [r5]
bl make_vector
mov r4, r0
b .L3
.L6:
bl read_decl_or_stmt
.L3:
mov r0, #125
bl next_token
cmp r0, #0
mov r0, r4
beq .L6
str r6, [r5]
pop {r4, r5, r6, lr}
b ast_compound_stmt
.L8:
.align 2
.L7:
.word localenv
.size read_compound_stmt, .-read_compound_stmt
.comm localenv,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_parse.c_read_conditional_expr.c"
.intel_syntax noprefix
.text
.p2align 4
.type read_conditional_expr, @function
read_conditional_expr:
.LFB0:
.cfi_startproc
endbr64
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
xor eax, eax
call read_logor_expr@PLT
mov edi, 63
mov r12, rax
call next_token@PLT
test eax, eax
jne .L5
mov rax, r12
pop r12
.cfi_remember_state
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L5:
.cfi_restore_state
mov rdi, r12
pop r12
.cfi_def_cfa_offset 8
jmp do_read_conditional_expr@PLT
.cfi_endproc
.LFE0:
.size read_conditional_expr, .-read_conditional_expr
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_parse.c_read_conditional_expr.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type read_conditional_expr, %function
read_conditional_expr:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
bl read_logor_expr
mov r4, r0
mov r0, #63
bl next_token
cmp r0, #0
mov r0, r4
popeq {r4, pc}
pop {r4, lr}
b do_read_conditional_expr
.size read_conditional_expr, .-read_conditional_expr
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_parse.c_read_continue_stmt.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "stray continue statement"
.text
.p2align 4
.type read_continue_stmt, @function
read_continue_stmt:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rdi
mov edi, 59
call expect@PLT
mov edi, DWORD PTR lcontinue[rip]
test edi, edi
je .L5
pop rbp
.cfi_remember_state
.cfi_def_cfa_offset 8
jmp ast_jump@PLT
.p2align 4,,10
.p2align 3
.L5:
.cfi_restore_state
mov rdi, rbp
lea rsi, .LC0[rip]
call errort@PLT
mov edi, DWORD PTR lcontinue[rip]
pop rbp
.cfi_def_cfa_offset 8
jmp ast_jump@PLT
.cfi_endproc
.LFE0:
.size read_continue_stmt, .-read_continue_stmt
.globl lcontinue
.bss
.align 4
.type lcontinue, @object
.size lcontinue, 4
lcontinue:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_parse.c_read_continue_stmt.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "stray continue statement\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type read_continue_stmt, %function
read_continue_stmt:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
ldr r5, .L6
mov r4, r0
mov r0, #59
bl expect
ldr r0, [r5]
cmp r0, #0
beq .L5
pop {r4, r5, r6, lr}
b ast_jump
.L5:
mov r0, r4
ldr r1, .L6+4
bl errort
ldr r0, [r5]
pop {r4, r5, r6, lr}
b ast_jump
.L7:
.align 2
.L6:
.word lcontinue
.word .LC0
.size read_continue_stmt, .-read_continue_stmt
.comm lcontinue,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_parse.c_read_decl.c"
.intel_syntax noprefix
.text
.section .rodata.str1.8,"aMS",@progbits,1
.align 8
.LC0:
.string "';' or ',' are expected, but got %s"
.text
.p2align 4
.type read_decl, @function
read_decl:
.LFB0:
.cfi_startproc
endbr64
push r15
.cfi_def_cfa_offset 16
.cfi_offset 15, -16
push r14
.cfi_def_cfa_offset 24
.cfi_offset 14, -24
mov r14, rdi
push r13
.cfi_def_cfa_offset 32
.cfi_offset 13, -32
push r12
.cfi_def_cfa_offset 40
.cfi_offset 12, -40
mov r12d, esi
push rbp
.cfi_def_cfa_offset 48
.cfi_offset 6, -48
push rbx
.cfi_def_cfa_offset 56
.cfi_offset 3, -56
sub rsp, 40
.cfi_def_cfa_offset 96
mov rax, QWORD PTR fs:40
mov QWORD PTR 24[rsp], rax
xor eax, eax
lea rdi, 12[rsp]
mov DWORD PTR 12[rsp], 0
call read_decl_spec_opt@PLT
mov edi, 59
mov rbx, rax
call next_token@PLT
test rax, rax
jne .L1
lea r13, 16[rsp]
.p2align 4,,10
.p2align 3
.L11:
mov r15d, DWORD PTR DECL_BODY[rip]
mov rdi, rbx
mov QWORD PTR 16[rsp], 0
call copy_incomplete_type@PLT
xor edx, edx
mov rdi, r13
mov ecx, r15d
mov esi, eax
call read_declarator@PLT
mov edx, DWORD PTR S_STATIC[rip]
xor ecx, ecx
mov r15, rax
mov eax, DWORD PTR 12[rsp]
cmp eax, edx
sete cl
cmp eax, DWORD PTR S_TYPEDEF[rip]
mov DWORD PTR [r15], ecx
je .L17
mov rdi, r15
cmp eax, edx
jne .L5
test r12d, r12d
je .L18
call ensure_not_void@PLT
mov rax, QWORD PTR ast_gvar@GOTPCREL[rip]
.L7:
mov rdi, r15
mov rsi, QWORD PTR 16[rsp]
call rax
mov edi, 61
mov rbp, rax
call next_token@PLT
test rax, rax
jne .L19
mov eax, DWORD PTR S_EXTERN[rip]
cmp DWORD PTR 12[rsp], eax
je .L4
mov rax, QWORD PTR KIND_FUNC[rip]
cmp QWORD PTR 8[r15], rax
je .L4
xor esi, esi
.L15:
mov rdi, rbp
call ast_decl@PLT
mov rdi, r14
mov esi, eax
call vec_push@PLT
.L4:
mov edi, 59
call next_token@PLT
test rax, rax
jne .L1
mov edi, 44
call next_token@PLT
test rax, rax
jne .L11
call peek@PLT
mov edi, eax
call tok2s@PLT
mov r15d, eax
xor eax, eax
call peek@PLT
mov edx, r15d
lea rsi, .LC0[rip]
mov edi, eax
call errort@PLT
jmp .L11
.p2align 4,,10
.p2align 3
.L5:
call ensure_not_void@PLT
test r12d, r12d
jne .L13
mov rax, QWORD PTR ast_lvar@GOTPCREL[rip]
jmp .L7
.p2align 4,,10
.p2align 3
.L1:
mov rax, QWORD PTR 24[rsp]
sub rax, QWORD PTR fs:40
jne .L20
add rsp, 40
.cfi_remember_state
.cfi_def_cfa_offset 56
pop rbx
.cfi_def_cfa_offset 48
pop rbp
.cfi_def_cfa_offset 40
pop r12
.cfi_def_cfa_offset 32
pop r13
.cfi_def_cfa_offset 24
pop r14
.cfi_def_cfa_offset 16
pop r15
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L19:
.cfi_restore_state
mov rdi, r15
call read_decl_init@PLT
mov rsi, rax
jmp .L15
.p2align 4,,10
.p2align 3
.L17:
mov rsi, QWORD PTR 16[rsp]
mov rdi, r15
call ast_typedef@PLT
jmp .L4
.p2align 4,,10
.p2align 3
.L18:
call ensure_not_void@PLT
mov rsi, QWORD PTR 16[rsp]
mov rdi, r15
call read_static_local_var@PLT
jmp .L4
.L20:
call __stack_chk_fail@PLT
.L13:
mov rax, QWORD PTR ast_gvar@GOTPCREL[rip]
jmp .L7
.cfi_endproc
.LFE0:
.size read_decl, .-read_decl
.globl S_TYPEDEF
.bss
.align 4
.type S_TYPEDEF, @object
.size S_TYPEDEF, 4
S_TYPEDEF:
.zero 4
.globl S_STATIC
.align 4
.type S_STATIC, @object
.size S_STATIC, 4
S_STATIC:
.zero 4
.globl S_EXTERN
.align 4
.type S_EXTERN, @object
.size S_EXTERN, 4
S_EXTERN:
.zero 4
.globl KIND_FUNC
.align 8
.type KIND_FUNC, @object
.size KIND_FUNC, 8
KIND_FUNC:
.zero 8
.globl DECL_BODY
.align 4
.type DECL_BODY, @object
.size DECL_BODY, 4
DECL_BODY:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_parse.c_read_decl.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "';' or ',' are expected, but got %s\000"
.section .rodata.cst4,"aM",%progbits,4
.align 2
.LC1:
.word __stack_chk_guard
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type read_decl, %function
read_decl:
@ args = 0, pretend = 0, frame = 24
@ frame_needed = 0, uses_anonymous_args = 0
mov r2, r0
mov r3, #0
push {r4, r5, r6, r7, r8, r9, r10, fp, lr}
sub sp, sp, #28
str r2, [sp, #4]
ldr r2, .L21
add r0, sp, #12
ldr r2, [r2]
str r2, [sp, #20]
mov r2,#0
mov r7, r1
str r3, [sp, #12]
bl read_decl_spec_opt
mov r6, r0
mov r0, #59
bl next_token
subs r5, r0, #0
bne .L1
ldr r10, .L21+4
ldr r9, .L21+8
ldr r8, .L21+12
.L11:
mov r0, r6
str r5, [sp, #16]
bl copy_incomplete_type
mov r2, #0
mov r1, r0
ldr r3, [r10]
add r0, sp, #16
bl read_declarator
ldr r3, [sp, #12]
ldr r2, [r9]
ldr r1, [r8]
sub ip, r3, r2
clz ip, ip
cmp r3, r1
lsr ip, ip, #5
mov r4, r0
str ip, [r0]
beq .L17
cmp r3, r2
bne .L5
cmp r7, #0
beq .L18
bl ensure_not_void
ldr r3, .L21+16
.L7:
ldr r1, [sp, #16]
mov r0, r4
blx r3
mov fp, r0
mov r0, #61
bl next_token
subs r1, r0, #0
bne .L19
ldr r3, .L21+20
ldr r2, [sp, #12]
ldr r3, [r3]
cmp r2, r3
beq .L4
ldr r3, .L21+24
ldr r2, [r4, #4]
ldr r3, [r3]
cmp r2, r3
beq .L4
.L15:
mov r0, fp
bl ast_decl
mov r1, r0
ldr r0, [sp, #4]
bl vec_push
.L4:
mov r0, #59
bl next_token
cmp r0, #0
bne .L1
mov r0, #44
bl next_token
cmp r0, #0
bne .L11
bl peek
mov r4, r0
bl peek
bl tok2s
ldr r1, .L21+28
mov r2, r0
mov r0, r4
bl errort
b .L11
.L5:
bl ensure_not_void
ldr r2, .L21+32
cmp r7, #0
ldr r3, .L21+16
moveq r3, r2
b .L7
.L1:
ldr r3, .L21
ldr r2, [r3]
ldr r3, [sp, #20]
eors r2, r3, r2
mov r3, #0
bne .L20
add sp, sp, #28
@ sp needed
pop {r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L19:
mov r0, r4
bl read_decl_init
mov r1, r0
b .L15
.L17:
ldr r1, [sp, #16]
bl ast_typedef
b .L4
.L18:
bl ensure_not_void
mov r0, r4
ldr r1, [sp, #16]
bl read_static_local_var
b .L4
.L20:
bl __stack_chk_fail
.L22:
.align 2
.L21:
.word .LC1
.word DECL_BODY
.word S_STATIC
.word S_TYPEDEF
.word ast_gvar
.word S_EXTERN
.word KIND_FUNC
.word .LC0
.word ast_lvar
.size read_decl, .-read_decl
.comm S_TYPEDEF,4,4
.comm S_STATIC,4,4
.comm S_EXTERN,4,4
.comm KIND_FUNC,4,4
.comm DECL_BODY,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_parse.c_read_decl_init.c"
.intel_syntax noprefix
.text
.p2align 4
.type read_decl_init, @function
read_decl_init:
.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
mov rbp, rdi
call make_vector@PLT
mov r12, rax
xor eax, eax
call peek@PLT
mov esi, 123
mov edi, eax
call is_keyword@PLT
test rax, rax
jne .L4
mov rdi, rbp
call is_string@PLT
test rax, rax
je .L11
.L4:
mov rsi, rbp
mov rdi, r12
xor ecx, ecx
xor edx, edx
call read_initializer_list@PLT
mov rax, r12
pop rbp
.cfi_remember_state
.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
.L11:
.cfi_restore_state
call read_assignment_expr@PLT
mov edi, eax
call conv@PLT
mov rdi, QWORD PTR [rax]
mov r13, rax
call is_arithtype@PLT
test rax, rax
je .L5
mov rax, QWORD PTR 0[r13]
mov rcx, QWORD PTR 0[rbp]
cmp QWORD PTR [rax], rcx
jne .L12
.L5:
mov rsi, rbp
mov rdi, r13
xor edx, edx
call ast_init@PLT
mov rdi, r12
mov esi, eax
call vec_push@PLT
mov rax, r12
pop rbp
.cfi_remember_state
.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
.L12:
.cfi_restore_state
mov rsi, r13
mov rdi, rbp
call ast_conv@PLT
mov r13, rax
jmp .L5
.cfi_endproc
.LFE0:
.size read_decl_init, .-read_decl_init
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_parse.c_read_decl_init.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type read_decl_init, %function
read_decl_init:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
mov r5, r0
bl make_vector
mov r4, r0
bl peek
mov r1, #123
bl is_keyword
cmp r0, #0
bne .L4
mov r0, r5
bl is_string
cmp r0, #0
beq .L11
.L4:
mov r3, #0
mov r1, r5
mov r2, r3
mov r0, r4
bl read_initializer_list
mov r0, r4
pop {r4, r5, r6, pc}
.L11:
bl read_assignment_expr
bl conv
mov r6, r0
ldr r0, [r0]
bl is_arithtype
cmp r0, #0
beq .L5
ldr r2, [r6]
ldr r3, [r5]
ldr r2, [r2]
cmp r2, r3
bne .L12
.L5:
mov r1, r5
mov r2, #0
mov r0, r6
bl ast_init
mov r1, r0
mov r0, r4
bl vec_push
mov r0, r4
pop {r4, r5, r6, pc}
.L12:
mov r1, r6
mov r0, r5
bl ast_conv
mov r6, r0
b .L5
.size read_decl_init, .-read_decl_init
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_parse.c_read_decl_or_stmt.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "premature end of input"
.text
.p2align 4
.type read_decl_or_stmt, @function
read_decl_or_stmt:
.LFB0:
.cfi_startproc
endbr64
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
xor eax, eax
mov r12, rdi
push rbp
.cfi_def_cfa_offset 24
.cfi_offset 6, -24
sub rsp, 8
.cfi_def_cfa_offset 32
call peek@PLT
mov rbp, rax
mov rax, QWORD PTR TEOF[rip]
cmp QWORD PTR 0[rbp], rax
je .L8
.L2:
xor eax, eax
call mark_location@PLT
mov rdi, rbp
call is_type@PLT
test rax, rax
je .L3
add rsp, 8
.cfi_remember_state
.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 read_decl@PLT
.p2align 4,,10
.p2align 3
.L3:
.cfi_restore_state
mov edi, DWORD PTR KSTATIC_ASSERT[rip]
call next_token@PLT
test rax, rax
mov eax, 0
je .L4
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_static_assert@PLT
.p2align 4,,10
.p2align 3
.L4:
.cfi_restore_state
call read_stmt@PLT
mov rsi, rax
test rax, rax
je .L1
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 24
mov rdi, r12
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
jmp vec_push@PLT
.p2align 4,,10
.p2align 3
.L8:
.cfi_restore_state
lea rdi, .LC0[rip]
call error@PLT
jmp .L2
.p2align 4,,10
.p2align 3
.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 read_decl_or_stmt, .-read_decl_or_stmt
.globl TEOF
.bss
.align 8
.type TEOF, @object
.size TEOF, 8
TEOF:
.zero 8
.globl KSTATIC_ASSERT
.align 4
.type KSTATIC_ASSERT, @object
.size KSTATIC_ASSERT, 4
KSTATIC_ASSERT:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_parse.c_read_decl_or_stmt.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "premature end of input\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type read_decl_or_stmt, %function
read_decl_or_stmt:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
mov r5, r0
bl peek
ldr r3, .L9
ldr r2, [r0]
ldr r3, [r3]
mov r4, r0
cmp r2, r3
beq .L8
.L2:
bl mark_location
mov r0, r4
bl is_type
cmp r0, #0
beq .L3
mov r0, r5
pop {r4, r5, r6, lr}
mov r1, #0
b read_decl
.L3:
ldr r3, .L9+4
ldr r0, [r3]
bl next_token
cmp r0, #0
beq .L4
pop {r4, r5, r6, lr}
b read_static_assert
.L4:
bl read_stmt
subs r1, r0, #0
popeq {r4, r5, r6, pc}
mov r0, r5
pop {r4, r5, r6, lr}
b vec_push
.L8:
ldr r0, .L9+8
bl error
b .L2
.L10:
.align 2
.L9:
.word TEOF
.word KSTATIC_ASSERT
.word .LC0
.size read_decl_or_stmt, .-read_decl_or_stmt
.comm TEOF,4,4
.comm KSTATIC_ASSERT,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_parse.c_read_decl_spec_opt.c"
.intel_syntax noprefix
.text
.section .rodata.str1.8,"aMS",@progbits,1
.align 8
.LC0:
.string "type specifier missing, assuming int"
.text
.p2align 4
.type read_decl_spec_opt, @function
read_decl_spec_opt:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
xor eax, eax
mov rbp, rdi
call peek@PLT
mov edi, eax
call is_type@PLT
test rax, rax
jne .L5
xor eax, eax
call peek@PLT
lea rsi, .LC0[rip]
mov edi, eax
call warnt@PLT
mov rax, QWORD PTR type_int[rip]
pop rbp
.cfi_remember_state
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L5:
.cfi_restore_state
mov rdi, rbp
pop rbp
.cfi_def_cfa_offset 8
jmp read_decl_spec@PLT
.cfi_endproc
.LFE0:
.size read_decl_spec_opt, .-read_decl_spec_opt
.globl type_int
.bss
.align 8
.type type_int, @object
.size type_int, 8
type_int:
.zero 8
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_parse.c_read_decl_spec_opt.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "type specifier missing, assuming int\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type read_decl_spec_opt, %function
read_decl_spec_opt:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
mov r4, r0
bl peek
bl is_type
cmp r0, #0
bne .L5
bl peek
ldr r1, .L6
bl warnt
ldr r3, .L6+4
ldr r0, [r3]
pop {r4, pc}
.L5:
mov r0, r4
pop {r4, lr}
b read_decl_spec
.L7:
.align 2
.L6:
.word .LC0
.word type_int
.size read_decl_spec_opt, .-read_decl_spec_opt
.comm type_int,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_parse.c_read_declarator.c"
.intel_syntax noprefix
.text
.section .rodata.str1.8,"aMS",@progbits,1
.align 8
.LC0:
.string "identifier is not expected, but got %s"
.align 8
.LC1:
.string "identifier, ( or * are expected, but got %s"
.text
.p2align 4
.type read_declarator, @function
read_declarator:
.LFB0:
.cfi_startproc
endbr64
push r15
.cfi_def_cfa_offset 16
.cfi_offset 15, -16
push r14
.cfi_def_cfa_offset 24
.cfi_offset 14, -24
mov r14, rdi
push r13
.cfi_def_cfa_offset 32
.cfi_offset 13, -32
mov r13d, ecx
push r12
.cfi_def_cfa_offset 40
.cfi_offset 12, -40
mov r12, rdx
push rbp
.cfi_def_cfa_offset 48
.cfi_offset 6, -48
mov rbp, rsi
jmp .L6
.p2align 4,,10
.p2align 3
.L2:
mov edi, 42
call next_token@PLT
test rax, rax
mov eax, 0
je .L5
call skip_type_qualifiers@PLT
mov rdi, rbp
call make_ptr_type@PLT
mov rbp, rax
.L6:
mov edi, 40
call next_token@PLT
test rax, rax
je .L2
xor eax, eax
call peek@PLT
mov edi, eax
call is_type@PLT
test rax, rax
je .L3
mov rsi, r12
mov rdi, rbp
pop rbp
.cfi_remember_state
.cfi_def_cfa_offset 40
pop r12
.cfi_def_cfa_offset 32
pop r13
.cfi_def_cfa_offset 24
pop r14
.cfi_def_cfa_offset 16
pop r15
.cfi_def_cfa_offset 8
jmp read_declarator_func@PLT
.p2align 4,,10
.p2align 3
.L3:
.cfi_restore_state
xor eax, eax
call make_stub_type@PLT
mov ecx, r13d
mov rdx, r12
mov rdi, r14
mov rsi, rax
mov r15, rax
call read_declarator
mov edi, 41
mov r13, rax
call expect@PLT
mov rsi, r12
mov rdi, rbp
call read_declarator_tail@PLT
mov eax, DWORD PTR [rax]
mov DWORD PTR [r15], eax
mov rax, r13
pop rbp
.cfi_remember_state
.cfi_def_cfa_offset 40
pop r12
.cfi_def_cfa_offset 32
pop r13
.cfi_def_cfa_offset 24
pop r14
.cfi_def_cfa_offset 16
pop r15
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L5:
.cfi_restore_state
call get@PLT
mov r15, rax
mov rax, QWORD PTR TIDENT[rip]
cmp QWORD PTR [r15], rax
je .L15
cmp DWORD PTR DECL_BODY[rip], r13d
je .L9
cmp DWORD PTR DECL_PARAM[rip], r13d
je .L9
.L10:
mov rdi, r15
call unget_token@PLT
.L13:
mov rsi, r12
mov rdi, rbp
pop rbp
.cfi_remember_state
.cfi_def_cfa_offset 40
pop r12
.cfi_def_cfa_offset 32
pop r13
.cfi_def_cfa_offset 24
pop r14
.cfi_def_cfa_offset 16
pop r15
.cfi_def_cfa_offset 8
jmp read_declarator_tail@PLT
.p2align 4,,10
.p2align 3
.L9:
.cfi_restore_state
mov rdi, r15
call tok2s@PLT
lea rsi, .LC1[rip]
mov rdi, r15
mov edx, eax
call errort@PLT
jmp .L10
.p2align 4,,10
.p2align 3
.L15:
cmp DWORD PTR DECL_CAST[rip], r13d
je .L16
.L8:
mov rax, QWORD PTR 8[r15]
mov QWORD PTR [r14], rax
jmp .L13
.L16:
mov rdi, r15
call tok2s@PLT
lea rsi, .LC0[rip]
mov rdi, r15
mov edx, eax
call errort@PLT
jmp .L8
.cfi_endproc
.LFE0:
.size read_declarator, .-read_declarator
.globl TIDENT
.bss
.align 8
.type TIDENT, @object
.size TIDENT, 8
TIDENT:
.zero 8
.globl DECL_PARAM
.align 4
.type DECL_PARAM, @object
.size DECL_PARAM, 4
DECL_PARAM:
.zero 4
.globl DECL_CAST
.align 4
.type DECL_CAST, @object
.size DECL_CAST, 4
DECL_CAST:
.zero 4
.globl DECL_BODY
.align 4
.type DECL_BODY, @object
.size DECL_BODY, 4
DECL_BODY:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_parse.c_read_declarator.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "identifier is not expected, but got %s\000"
.align 2
.LC1:
.ascii "identifier, ( or * are expected, but got %s\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type read_declarator, %function
read_declarator:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, lr}
mov r7, r0
mov r4, r1
mov r5, r2
mov r6, r3
b .L6
.L2:
mov r0, #42
bl next_token
cmp r0, #0
beq .L5
bl skip_type_qualifiers
mov r0, r4
bl make_ptr_type
mov r4, r0
.L6:
mov r0, #40
bl next_token
cmp r0, #0
beq .L2
bl peek
bl is_type
cmp r0, #0
beq .L3
mov r1, r5
mov r0, r4
pop {r4, r5, r6, r7, r8, lr}
b read_declarator_func
.L3:
bl make_stub_type
mov r8, r0
mov r3, r6
mov r1, r8
mov r2, r5
mov r0, r7
bl read_declarator
mov r6, r0
mov r0, #41
bl expect
mov r1, r5
mov r0, r4
bl read_declarator_tail
ldr r3, [r0]
mov r0, r6
str r3, [r8]
pop {r4, r5, r6, r7, r8, pc}
.L5:
bl get
ldr r3, .L16
ldr r2, [r0]
ldr r3, [r3]
mov r8, r0
cmp r2, r3
beq .L14
ldr r3, .L16+4
ldr r3, [r3]
cmp r3, r6
beq .L9
ldr r3, .L16+8
ldr r3, [r3]
cmp r3, r6
beq .L9
.L10:
mov r0, r8
bl unget_token
mov r1, r5
mov r0, r4
pop {r4, r5, r6, r7, r8, lr}
b read_declarator_tail
.L9:
mov r0, r8
bl tok2s
ldr r1, .L16+12
mov r2, r0
mov r0, r8
bl errort
b .L10
.L14:
ldr r3, .L16+16
ldr r3, [r3]
cmp r3, r6
beq .L15
.L8:
ldr r3, [r8, #4]
mov r1, r5
mov r0, r4
str r3, [r7]
pop {r4, r5, r6, r7, r8, lr}
b read_declarator_tail
.L15:
bl tok2s
ldr r1, .L16+20
mov r2, r0
mov r0, r8
bl errort
b .L8
.L17:
.align 2
.L16:
.word TIDENT
.word DECL_BODY
.word DECL_PARAM
.word .LC1
.word DECL_CAST
.word .LC0
.size read_declarator, .-read_declarator
.comm TIDENT,4,4
.comm DECL_PARAM,4,4
.comm DECL_CAST,4,4
.comm DECL_BODY,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_parse.c_read_declarator_array.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "array of functions"
.text
.p2align 4
.type read_declarator_array, @function
read_declarator_array:
.LFB0:
.cfi_startproc
endbr64
push r13
.cfi_def_cfa_offset 16
.cfi_offset 13, -16
mov r13d, -1
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
mov edi, 93
call next_token@PLT
test rax, rax
je .L8
.L2:
xor eax, eax
call peek@PLT
mov rdi, rbp
xor esi, esi
mov r12, rax
call read_declarator_tail@PLT
mov rbp, rax
mov rax, QWORD PTR KIND_FUNC[rip]
cmp QWORD PTR 0[rbp], rax
je .L9
mov esi, r13d
mov rdi, rbp
pop rbp
.cfi_remember_state
.cfi_def_cfa_offset 24
pop r12
.cfi_def_cfa_offset 16
pop r13
.cfi_def_cfa_offset 8
jmp make_array_type@PLT
.p2align 4,,10
.p2align 3
.L8:
.cfi_restore_state
call read_intexpr@PLT
mov edi, 93
mov r13d, eax
call expect@PLT
jmp .L2
.p2align 4,,10
.p2align 3
.L9:
mov rdi, r12
lea rsi, .LC0[rip]
call errort@PLT
mov esi, r13d
mov rdi, rbp
pop rbp
.cfi_def_cfa_offset 24
pop r12
.cfi_def_cfa_offset 16
pop r13
.cfi_def_cfa_offset 8
jmp make_array_type@PLT
.cfi_endproc
.LFE0:
.size read_declarator_array, .-read_declarator_array
.globl KIND_FUNC
.bss
.align 8
.type KIND_FUNC, @object
.size KIND_FUNC, 8
KIND_FUNC:
.zero 8
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_parse.c_read_declarator_array.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "array of functions\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type read_declarator_array, %function
read_declarator_array:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
mov r4, r0
mov r0, #93
bl next_token
cmp r0, #0
mvnne r6, #0
beq .L7
.L2:
bl peek
mov r1, #0
mov r5, r0
mov r0, r4
bl read_declarator_tail
ldr r3, .L9
ldr r2, [r0]
ldr r3, [r3]
mov r4, r0
cmp r2, r3
beq .L8
mov r1, r6
mov r0, r4
pop {r4, r5, r6, lr}
b make_array_type
.L7:
bl read_intexpr
mov r6, r0
mov r0, #93
bl expect
b .L2
.L8:
mov r0, r5
ldr r1, .L9+4
bl errort
mov r1, r6
mov r0, r4
pop {r4, r5, r6, lr}
b make_array_type
.L10:
.align 2
.L9:
.word KIND_FUNC
.word .LC0
.size read_declarator_array, .-read_declarator_array
.comm KIND_FUNC,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_parse.c_read_declarator_func.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "function returning a function"
.LC1:
.string "function returning an array"
.text
.p2align 4
.type read_declarator_func, @function
read_declarator_func:
.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
mov rax, QWORD PTR [rdi]
cmp rax, QWORD PTR KIND_FUNC[rip]
je .L6
cmp QWORD PTR KIND_ARRAY[rip], rax
je .L7
.L3:
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 24
mov rsi, rbp
mov rdi, r12
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
jmp read_func_param_list@PLT
.p2align 4,,10
.p2align 3
.L6:
.cfi_restore_state
lea rdi, .LC0[rip]
call error@PLT
mov rax, QWORD PTR 0[rbp]
cmp QWORD PTR KIND_ARRAY[rip], rax
jne .L3
.L7:
lea rdi, .LC1[rip]
call error@PLT
jmp .L3
.cfi_endproc
.LFE0:
.size read_declarator_func, .-read_declarator_func
.globl KIND_FUNC
.bss
.align 8
.type KIND_FUNC, @object
.size KIND_FUNC, 8
KIND_FUNC:
.zero 8
.globl KIND_ARRAY
.align 8
.type KIND_ARRAY, @object
.size KIND_ARRAY, 8
KIND_ARRAY:
.zero 8
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_parse.c_read_declarator_func.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "function returning a function\000"
.align 2
.LC1:
.ascii "function returning an array\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type read_declarator_func, %function
read_declarator_func:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
ldr r2, .L8
ldr r3, [r0]
ldr r2, [r2]
push {r4, r5, r6, lr}
cmp r3, r2
mov r4, r0
mov r5, r1
beq .L6
ldr r2, .L8+4
ldr r2, [r2]
cmp r2, r3
beq .L7
.L3:
mov r1, r4
mov r0, r5
pop {r4, r5, r6, lr}
b read_func_param_list
.L6:
ldr r0, .L8+8
bl error
ldr r2, .L8+4
ldr r3, [r4]
ldr r2, [r2]
cmp r2, r3
bne .L3
.L7:
ldr r0, .L8+12
bl error
mov r1, r4
mov r0, r5
pop {r4, r5, r6, lr}
b read_func_param_list
.L9:
.align 2
.L8:
.word KIND_FUNC
.word KIND_ARRAY
.word .LC0
.word .LC1
.size read_declarator_func, .-read_declarator_func
.comm KIND_FUNC,4,4
.comm KIND_ARRAY,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_parse.c_read_declarator_params.c"
.intel_syntax noprefix
.text
.section .rodata.str1.8,"aMS",@progbits,1
.align 8
.LC0:
.string "at least one parameter is required before \"...\""
.section .rodata.str1.1,"aMS",@progbits,1
.LC1:
.string "comma expected, but got %s"
.text
.p2align 4
.type read_declarator_params, @function
read_declarator_params:
.LFB0:
.cfi_startproc
endbr64
push r15
.cfi_def_cfa_offset 16
.cfi_offset 15, -16
mov r15, rdx
push r14
.cfi_def_cfa_offset 24
.cfi_offset 14, -24
xor r14d, r14d
push r13
.cfi_def_cfa_offset 32
.cfi_offset 13, -32
push r12
.cfi_def_cfa_offset 40
.cfi_offset 12, -40
mov r12, rdi
push rbp
.cfi_def_cfa_offset 48
.cfi_offset 6, -48
push rbx
.cfi_def_cfa_offset 56
.cfi_offset 3, -56
mov rbx, rsi
sub rsp, 24
.cfi_def_cfa_offset 80
mov rax, QWORD PTR fs:40
mov QWORD PTR 8[rsp], rax
xor eax, eax
mov DWORD PTR [rdx], 0
test rsi, rsi
mov r13, rsp
sete r14b
.p2align 4,,10
.p2align 3
.L7:
xor eax, eax
call peek@PLT
mov edi, DWORD PTR KELLIPSIS[rip]
mov rbp, rax
call next_token@PLT
test rax, rax
jne .L14
mov esi, r14d
mov rdi, r13
call read_func_param@PLT
mov rbp, rax
mov rdi, rax
call ensure_not_void@PLT
mov rsi, rbp
mov rdi, r12
call vec_push@PLT
test rbx, rbx
je .L5
mov rsi, QWORD PTR [rsp]
mov rdi, rbp
call ast_lvar@PLT
mov rdi, rbx
mov rsi, rax
call vec_push@PLT
.L5:
xor eax, eax
call get@PLT
mov esi, 41
mov rdi, rax
mov rbp, rax
call is_keyword@PLT
test rax, rax
jne .L1
mov esi, 44
mov rdi, rbp
call is_keyword@PLT
test rax, rax
jne .L7
mov rdi, rbp
call tok2s@PLT
lea rsi, .LC1[rip]
mov rdi, rbp
mov edx, eax
xor eax, eax
call errort@PLT
jmp .L7
.p2align 4,,10
.p2align 3
.L14:
mov rdi, r12
call vec_len@PLT
test rax, rax
je .L15
.L3:
mov edi, 41
call expect@PLT
mov DWORD PTR [r15], 1
.L1:
mov rax, QWORD PTR 8[rsp]
sub rax, QWORD PTR fs:40
jne .L16
add rsp, 24
.cfi_remember_state
.cfi_def_cfa_offset 56
pop rbx
.cfi_def_cfa_offset 48
pop rbp
.cfi_def_cfa_offset 40
pop r12
.cfi_def_cfa_offset 32
pop r13
.cfi_def_cfa_offset 24
pop r14
.cfi_def_cfa_offset 16
pop r15
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L15:
.cfi_restore_state
lea rsi, .LC0[rip]
mov rdi, rbp
call errort@PLT
jmp .L3
.L16:
call __stack_chk_fail@PLT
.cfi_endproc
.LFE0:
.size read_declarator_params, .-read_declarator_params
.globl KELLIPSIS
.bss
.align 4
.type KELLIPSIS, @object
.size KELLIPSIS, 4
KELLIPSIS:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_parse.c_read_declarator_params.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "at least one parameter is required before \"...\"\000"
.align 2
.LC1:
.ascii "comma expected, but got %s\000"
.section .rodata.cst4,"aM",%progbits,4
.align 2
.LC2:
.word __stack_chk_guard
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type read_declarator_params, %function
read_declarator_params:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, r9, r10, lr}
mov r3, #0
mov r9, r2
clz r7, r1
mov r6, r0
mov r5, r1
ldr r2, .L16
sub sp, sp, #8
ldr r8, .L16+4
ldr r10, .L16+8
ldr r2, [r2]
str r2, [sp, #4]
mov r2,#0
lsr r7, r7, #5
str r3, [r9]
.L7:
bl peek
mov r4, r0
ldr r0, [r8]
bl next_token
cmp r0, #0
bne .L14
mov r1, r7
mov r0, sp
bl read_func_param
mov r4, r0
bl ensure_not_void
mov r1, r4
mov r0, r6
bl vec_push
cmp r5, #0
beq .L5
ldr r1, [sp]
mov r0, r4
bl ast_lvar
mov r1, r0
mov r0, r5
bl vec_push
.L5:
bl get
mov r1, #41
mov r4, r0
bl is_keyword
cmp r0, #0
bne .L1
mov r1, #44
mov r0, r4
bl is_keyword
cmp r0, #0
bne .L7
mov r0, r4
bl tok2s
mov r1, r10
mov r2, r0
mov r0, r4
bl errort
b .L7
.L14:
mov r0, r6
bl vec_len
cmp r0, #0
bne .L3
mov r0, r4
ldr r1, .L16+12
bl errort
.L3:
mov r0, #41
bl expect
mov r3, #1
str r3, [r9]
.L1:
ldr r3, .L16
ldr r2, [r3]
ldr r3, [sp, #4]
eors r2, r3, r2
mov r3, #0
bne .L15
add sp, sp, #8
@ sp needed
pop {r4, r5, r6, r7, r8, r9, r10, pc}
.L15:
bl __stack_chk_fail
.L17:
.align 2
.L16:
.word .LC2
.word KELLIPSIS
.word .LC1
.word .LC0
.size read_declarator_params, .-read_declarator_params
.comm KELLIPSIS,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_parse.c_read_declarator_params_oldstyle.c"
.intel_syntax noprefix
.text
.section .rodata.str1.8,"aMS",@progbits,1
.align 8
.LC0:
.string "identifier expected, but got %s"
.section .rodata.str1.1,"aMS",@progbits,1
.LC1:
.string "comma expected, but got %s"
.text
.p2align 4
.type read_declarator_params_oldstyle, @function
read_declarator_params_oldstyle:
.LFB0:
.cfi_startproc
endbr64
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
lea r12, .LC0[rip]
push rbp
.cfi_def_cfa_offset 24
.cfi_offset 6, -24
push rbx
.cfi_def_cfa_offset 32
.cfi_offset 3, -32
mov rbx, rdi
jmp .L4
.p2align 4,,10
.p2align 3
.L11:
mov edi, 44
call next_token@PLT
test rax, rax
je .L10
.L4:
xor eax, eax
call get@PLT
mov rbp, rax
mov rax, QWORD PTR TIDENT[rip]
cmp QWORD PTR 0[rbp], rax
je .L2
mov rdi, rbp
call tok2s@PLT
mov rsi, r12
mov rdi, rbp
mov edx, eax
call errort@PLT
.L2:
mov esi, DWORD PTR 8[rbp]
mov edi, DWORD PTR type_int[rip]
call ast_lvar@PLT
mov rdi, rbx
mov esi, eax
call vec_push@PLT
mov edi, 41
call next_token@PLT
test rax, rax
je .L11
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
call get@PLT
mov rdi, rax
call tok2s@PLT
lea rsi, .LC1[rip]
mov rdi, rbp
mov edx, eax
call errort@PLT
jmp .L4
.cfi_endproc
.LFE0:
.size read_declarator_params_oldstyle, .-read_declarator_params_oldstyle
.globl type_int
.bss
.align 4
.type type_int, @object
.size type_int, 4
type_int:
.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_parse.c_read_declarator_params_oldstyle.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "identifier expected, but got %s\000"
.align 2
.LC1:
.ascii "comma expected, but got %s\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type read_declarator_params_oldstyle, %function
read_declarator_params_oldstyle:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, r9, r10, lr}
mov r5, r0
ldr r7, .L10
ldr r6, .L10+4
ldr r8, .L10+8
ldr r9, .L10+12
.L4:
bl get
ldr r3, [r7]
ldr r2, [r0]
mov r4, r0
cmp r2, r3
beq .L2
bl tok2s
mov r1, r8
mov r2, r0
mov r0, r4
bl errort
.L2:
ldr r1, [r4, #4]
ldr r0, [r6]
bl ast_lvar
mov r1, r0
mov r0, r5
bl vec_push
mov r0, #41
bl next_token
cmp r0, #0
popne {r4, r5, r6, r7, r8, r9, r10, pc}
mov r0, #44
bl next_token
cmp r0, #0
bne .L4
bl get
bl tok2s
mov r1, r9
mov r2, r0
mov r0, r4
bl errort
b .L4
.L11:
.align 2
.L10:
.word TIDENT
.word type_int
.word .LC0
.word .LC1
.size read_declarator_params_oldstyle, .-read_declarator_params_oldstyle
.comm type_int,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_parse.c_read_declarator_tail.c"
.intel_syntax noprefix
.text
.p2align 4
.type read_declarator_tail, @function
read_declarator_tail:
.LFB0:
.cfi_startproc
endbr64
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
mov r12, rdi
mov edi, 91
push rbp
.cfi_def_cfa_offset 24
.cfi_offset 6, -24
mov rbp, rsi
sub rsp, 8
.cfi_def_cfa_offset 32
call next_token@PLT
test rax, rax
jne .L6
mov edi, 40
call next_token@PLT
test rax, rax
jne .L7
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 24
mov rax, r12
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L6:
.cfi_restore_state
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 24
mov rdi, r12
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
jmp read_declarator_array@PLT
.p2align 4,,10
.p2align 3
.L7:
.cfi_restore_state
add rsp, 8
.cfi_def_cfa_offset 24
mov rsi, rbp
mov rdi, r12
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
jmp read_declarator_func@PLT
.cfi_endproc
.LFE0:
.size read_declarator_tail, .-read_declarator_tail
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_parse.c_read_declarator_tail.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type read_declarator_tail, %function
read_declarator_tail:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
mov r4, r0
mov r0, #91
mov r5, r1
bl next_token
cmp r0, #0
bne .L6
mov r0, #40
bl next_token
cmp r0, #0
bne .L7
mov r0, r4
pop {r4, r5, r6, pc}
.L6:
mov r0, r4
pop {r4, r5, r6, lr}
b read_declarator_array
.L7:
mov r1, r5
mov r0, r4
pop {r4, r5, r6, lr}
b read_declarator_func
.size read_declarator_tail, .-read_declarator_tail
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_parse.c_read_default_label.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "duplicate default"
.text
.p2align 4
.type read_default_label, @function
read_default_label:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rdi
mov edi, 58
call expect@PLT
cmp QWORD PTR defaultcase[rip], 0
jne .L5
.L2:
xor eax, eax
call make_label@PLT
mov rdi, rax
mov QWORD PTR defaultcase[rip], rax
call ast_dest@PLT
pop rbp
.cfi_remember_state
.cfi_def_cfa_offset 8
mov edi, eax
jmp read_label_tail@PLT
.p2align 4,,10
.p2align 3
.L5:
.cfi_restore_state
lea rsi, .LC0[rip]
mov rdi, rbp
call errort@PLT
jmp .L2
.cfi_endproc
.LFE0:
.size read_default_label, .-read_default_label
.globl defaultcase
.bss
.align 8
.type defaultcase, @object
.size defaultcase, 8
defaultcase:
.zero 8
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_parse.c_read_default_label.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "duplicate default\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type read_default_label, %function
read_default_label:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
ldr r5, .L9
mov r4, r0
mov r0, #58
bl expect
ldr r3, [r5]
cmp r3, #0
bne .L8
.L2:
bl make_label
str r0, [r5]
bl ast_dest
pop {r4, r5, r6, lr}
b read_label_tail
.L8:
mov r0, r4
ldr r1, .L9+4
bl errort
b .L2
.L10:
.align 2
.L9:
.word defaultcase
.word .LC0
.size read_default_label, .-read_default_label
.comm defaultcase,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_parse.c_read_do_stmt.c"
.intel_syntax noprefix
.text
.section .rodata.str1.8,"aMS",@progbits,1
.align 8
.LC0:
.string "'while' is expected, but got %s"
.text
.p2align 4
.type read_do_stmt, @function
read_do_stmt:
.LFB0:
.cfi_startproc
endbr64
push r15
.cfi_def_cfa_offset 16
.cfi_offset 15, -16
xor eax, eax
push r14
.cfi_def_cfa_offset 24
.cfi_offset 14, -24
push r13
.cfi_def_cfa_offset 32
.cfi_offset 13, -32
push r12
.cfi_def_cfa_offset 40
.cfi_offset 12, -40
push rbp
.cfi_def_cfa_offset 48
.cfi_offset 6, -48
call make_label@PLT
mov r12, rax
xor eax, eax
call make_label@PLT
mov rdi, r12
mov rsi, rax
mov r13, rax
call SET_JUMP_LABELS@PLT
xor eax, eax
call read_stmt@PLT
mov r14, rax
xor eax, eax
call RESTORE_JUMP_LABELS@PLT
xor eax, eax
call get@PLT
mov esi, DWORD PTR KWHILE[rip]
mov rdi, rax
mov rbp, rax
call is_keyword@PLT
test eax, eax
je .L9
.L2:
mov edi, 40
call expect@PLT
xor eax, eax
call read_boolean_expr@PLT
mov edi, 41
mov r15, rax
call expect@PLT
mov edi, 59
call expect@PLT
xor eax, eax
call make_vector@PLT
mov rdi, r12
mov rbp, rax
call ast_dest@PLT
mov rdi, rbp
mov rsi, rax
call vec_push@PLT
test r14, r14
je .L3
mov rsi, r14
mov rdi, rbp
call vec_push@PLT
.L3:
mov rdi, r12
call ast_jump@PLT
xor edx, edx
mov rdi, r15
mov esi, eax
call ast_if@PLT
mov rdi, rbp
mov rsi, rax
call vec_push@PLT
mov rdi, r13
call ast_dest@PLT
mov rdi, rbp
mov rsi, rax
call vec_push@PLT
mov rdi, rbp
pop rbp
.cfi_remember_state
.cfi_def_cfa_offset 40
pop r12
.cfi_def_cfa_offset 32
pop r13
.cfi_def_cfa_offset 24
pop r14
.cfi_def_cfa_offset 16
pop r15
.cfi_def_cfa_offset 8
jmp ast_compound_stmt@PLT
.p2align 4,,10
.p2align 3
.L9:
.cfi_restore_state
mov rdi, rbp
call tok2s@PLT
lea rsi, .LC0[rip]
mov rdi, rbp
mov edx, eax
call errort@PLT
jmp .L2
.cfi_endproc
.LFE0:
.size read_do_stmt, .-read_do_stmt
.globl KWHILE
.bss
.align 4
.type KWHILE, @object
.size KWHILE, 4
KWHILE:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_parse.c_read_do_stmt.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "'while' is expected, but got %s\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type read_do_stmt, %function
read_do_stmt:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, lr}
bl make_label
mov r5, r0
bl make_label
mov r6, r0
mov r0, r5
mov r1, r6
bl SET_JUMP_LABELS
bl read_stmt
mov r7, r0
bl RESTORE_JUMP_LABELS
bl get
ldr r3, .L10
mov r4, r0
ldr r1, [r3]
bl is_keyword
cmp r0, #0
beq .L9
.L2:
mov r0, #40
bl expect
bl read_boolean_expr
mov r8, r0
mov r0, #41
bl expect
mov r0, #59
bl expect
bl make_vector
mov r4, r0
mov r0, r5
bl ast_dest
mov r1, r0
mov r0, r4
bl vec_push
cmp r7, #0
beq .L3
mov r1, r7
mov r0, r4
bl vec_push
.L3:
mov r0, r5
bl ast_jump
mov r2, #0
mov r1, r0
mov r0, r8
bl ast_if
mov r1, r0
mov r0, r4
bl vec_push
mov r0, r6
bl ast_dest
mov r1, r0
mov r0, r4
bl vec_push
mov r0, r4
pop {r4, r5, r6, r7, r8, lr}
b ast_compound_stmt
.L9:
mov r0, r4
bl tok2s
ldr r1, .L10+4
mov r2, r0
mov r0, r4
bl errort
b .L2
.L11:
.align 2
.L10:
.word KWHILE
.word .LC0
.size read_do_stmt, .-read_do_stmt
.comm KWHILE,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_parse.c_read_enum_def.c"
.intel_syntax noprefix
.text
.section .rodata.str1.8,"aMS",@progbits,1
.align 8
.LC0:
.string "declarations of %s does not match"
.section .rodata.str1.1,"aMS",@progbits,1
.LC1:
.string "enum tag %s is not defined"
.section .rodata.str1.8
.align 8
.LC2:
.string "identifier expected, but got %s"
.align 8
.LC3:
.string "',' or '}' expected, but got %s"
.text
.p2align 4
.type read_enum_def, @function
read_enum_def:
.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 get@PLT
mov rbp, rax
mov rax, QWORD PTR TIDENT[rip]
cmp QWORD PTR 0[rbp], rax
je .L2
mov esi, 123
mov rdi, rbp
call is_keyword@PLT
test rax, rax
je .L32
.L10:
xor ebp, ebp
lea r12, .LC2[rip]
.p2align 4,,10
.p2align 3
.L11:
xor eax, eax
call get@PLT
mov esi, 125
mov rdi, rax
mov rbx, rax
call is_keyword@PLT
test rax, rax
jne .L12
mov rax, QWORD PTR TIDENT[rip]
cmp QWORD PTR [rbx], rax
je .L13
mov rdi, rbx
call tok2s@PLT
mov rsi, r12
mov rdi, rbx
mov rdx, rax
call errort@PLT
.L13:
mov edi, 61
mov r13, QWORD PTR 8[rbx]
call next_token@PLT
test rax, rax
jne .L33
.L14:
mov rdi, QWORD PTR type_int[rip]
mov esi, ebp
lea ebx, 1[rbp]
call ast_inttype@PLT
mov r14, rax
xor eax, eax
call env@PLT
mov rdx, r14
mov rsi, r13
mov edi, eax
call map_put@PLT
mov edi, 44
call next_token@PLT
test rax, rax
jne .L15
mov edi, 125
call next_token@PLT
test rax, rax
jne .L12
call peek@PLT
mov rdi, rax
call tok2s@PLT
mov r13, rax
xor eax, eax
call peek@PLT
mov rdx, r13
lea rsi, .LC3[rip]
mov rdi, rax
call errort@PLT
.L15:
mov ebp, ebx
jmp .L11
.p2align 4,,10
.p2align 3
.L33:
xor eax, eax
call read_intexpr@PLT
mov ebp, eax
jmp .L14
.p2align 4,,10
.p2align 3
.L12:
pop rbx
.cfi_remember_state
.cfi_def_cfa_offset 40
mov rax, QWORD PTR type_int[rip]
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
.L32:
.cfi_restore_state
xor r12d, r12d
.L3:
mov rdx, r12
lea rsi, .LC1[rip]
mov rdi, rbp
call errort@PLT
.L8:
mov rdi, rbp
call unget_token@PLT
pop rbx
.cfi_remember_state
.cfi_def_cfa_offset 40
mov rax, QWORD PTR type_int[rip]
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
.L2:
.cfi_restore_state
mov r12, QWORD PTR 8[rbp]
xor eax, eax
call get@PLT
mov rbp, rax
test r12, r12
je .L5
mov edi, DWORD PTR tags[rip]
mov rsi, r12
call map_get@PLT
test rax, rax
je .L6
mov rcx, QWORD PTR KIND_ENUM[rip]
cmp QWORD PTR [rax], rcx
jne .L34
.L6:
mov esi, 123
mov rdi, rbp
call is_keyword@PLT
test rax, rax
je .L16
.L7:
mov rdx, QWORD PTR type_enum[rip]
mov edi, DWORD PTR tags[rip]
mov rsi, r12
call map_put@PLT
jmp .L10
.p2align 4,,10
.p2align 3
.L5:
mov esi, 123
mov rdi, rax
call is_keyword@PLT
test rax, rax
jne .L10
jmp .L3
.L34:
lea rsi, .LC0[rip]
mov rdi, rbp
mov rdx, r12
call errort@PLT
mov esi, 123
mov rdi, rbp
call is_keyword@PLT
test rax, rax
jne .L7
.L16:
mov edi, DWORD PTR tags[rip]
mov rsi, r12
call map_get@PLT
test rax, rax
jne .L8
jmp .L3
.cfi_endproc
.LFE0:
.size read_enum_def, .-read_enum_def
.globl type_int
.bss
.align 8
.type type_int, @object
.size type_int, 8
type_int:
.zero 8
.globl type_enum
.align 8
.type type_enum, @object
.size type_enum, 8
type_enum:
.zero 8
.globl tags
.align 4
.type tags, @object
.size tags, 4
tags:
.zero 4
.globl TIDENT
.align 8
.type TIDENT, @object
.size TIDENT, 8
TIDENT:
.zero 8
.globl KIND_ENUM
.align 8
.type KIND_ENUM, @object
.size KIND_ENUM, 8
KIND_ENUM:
.zero 8
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_parse.c_read_enum_def.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "declarations of %s does not match\000"
.align 2
.LC1:
.ascii "enum tag %s is not defined\000"
.align 2
.LC2:
.ascii "identifier expected, but got %s\000"
.align 2
.LC3:
.ascii "',' or '}' expected, but got %s\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type read_enum_def, %function
read_enum_def:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, r9, r10, lr}
bl get
ldr r6, .L34
ldr r2, [r0]
ldr r3, [r6]
mov r4, r0
cmp r2, r3
beq .L2
mov r1, #123
bl is_keyword
subs r5, r0, #0
beq .L3
.L10:
mov r5, #0
ldr r7, .L34+4
ldr r8, .L34+8
ldr r9, .L34+12
.L11:
bl get
mov r1, #125
mov r4, r0
bl is_keyword
cmp r0, #0
bne .L12
ldr r2, [r4]
ldr r3, [r6]
cmp r2, r3
beq .L13
mov r0, r4
bl tok2s
mov r1, r8
mov r2, r0
mov r0, r4
bl errort
.L13:
mov r0, #61
ldr r10, [r4, #4]
bl next_token
cmp r0, #0
bne .L32
.L14:
mov r1, r5
ldr r0, [r7]
bl ast_inttype
mov r4, r0
bl env
mov r2, r4
mov r1, r10
bl map_put
mov r0, #44
bl next_token
cmp r0, #0
add r5, r5, #1
bne .L11
mov r0, #125
bl next_token
cmp r0, #0
bne .L12
bl peek
mov r4, r0
bl peek
bl tok2s
mov r1, r9
mov r2, r0
mov r0, r4
bl errort
b .L11
.L32:
bl read_intexpr
mov r5, r0
b .L14
.L12:
ldr r0, [r7]
pop {r4, r5, r6, r7, r8, r9, r10, pc}
.L2:
ldr r5, [r0, #4]
bl get
cmp r5, #0
mov r4, r0
beq .L5
ldr r7, .L34+16
mov r1, r5
ldr r0, [r7]
bl map_get
cmp r0, #0
beq .L6
ldr r3, .L34+20
ldr r2, [r0]
ldr r3, [r3]
cmp r2, r3
bne .L33
.L6:
mov r1, #123
mov r0, r4
bl is_keyword
cmp r0, #0
beq .L16
.L7:
ldr r3, .L34+24
mov r1, r5
ldr r0, [r7]
ldr r2, [r3]
bl map_put
b .L10
.L5:
mov r1, #123
bl is_keyword
cmp r0, #0
bne .L10
.L3:
mov r2, r5
mov r0, r4
ldr r1, .L34+28
bl errort
b .L8
.L33:
mov r2, r5
ldr r1, .L34+32
mov r0, r4
bl errort
mov r1, #123
mov r0, r4
bl is_keyword
cmp r0, #0
bne .L7
.L16:
mov r1, r5
ldr r0, [r7]
bl map_get
cmp r0, #0
beq .L3
.L8:
mov r0, r4
bl unget_token
ldr r3, .L34+4
ldr r0, [r3]
pop {r4, r5, r6, r7, r8, r9, r10, pc}
.L35:
.align 2
.L34:
.word TIDENT
.word type_int
.word .LC2
.word .LC3
.word tags
.word KIND_ENUM
.word type_enum
.word .LC1
.word .LC0
.size read_enum_def, .-read_enum_def
.comm type_int,4,4
.comm type_enum,4,4
.comm tags,4,4
.comm TIDENT,4,4
.comm KIND_ENUM,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_parse.c_read_equality_expr.c"
.intel_syntax noprefix
.text
.p2align 4
.type read_equality_expr, @function
read_equality_expr:
.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
sub rsp, 8
.cfi_def_cfa_offset 32
call read_relational_expr@PLT
mov edi, DWORD PTR OP_EQ[rip]
mov r12, rax
call next_token@PLT
test rax, rax
je .L2
xor eax, eax
call read_equality_expr
mov rdi, rax
call conv@PLT
mov rdi, r12
mov r13d, eax
call conv@PLT
mov edi, DWORD PTR OP_EQ[rip]
mov edx, r13d
mov esi, eax
call binop@PLT
mov r12, rax
.L3:
mov eax, DWORD PTR type_int[rip]
mov DWORD PTR [r12], eax
.L1:
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 24
mov rax, r12
pop r12
.cfi_def_cfa_offset 16
pop r13
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L2:
.cfi_restore_state
mov edi, DWORD PTR OP_NE[rip]
call next_token@PLT
test rax, rax
je .L1
xor eax, eax
call read_equality_expr
mov rdi, rax
call conv@PLT
mov rdi, r12
mov r13d, eax
call conv@PLT
mov edi, DWORD PTR OP_NE[rip]
mov edx, r13d
mov esi, eax
call binop@PLT
mov r12, rax
jmp .L3
.cfi_endproc
.LFE0:
.size read_equality_expr, .-read_equality_expr
.globl type_int
.bss
.align 4
.type type_int, @object
.size type_int, 4
type_int:
.zero 4
.globl OP_NE
.align 4
.type OP_NE, @object
.size OP_NE, 4
OP_NE:
.zero 4
.globl OP_EQ
.align 4
.type OP_EQ, @object
.size OP_EQ, 4
OP_EQ:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_parse.c_read_equality_expr.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type read_equality_expr, %function
read_equality_expr:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
bl read_relational_expr
ldr r5, .L11
mov r4, r0
ldr r0, [r5]
bl next_token
cmp r0, #0
bne .L9
ldr r5, .L11+4
ldr r0, [r5]
bl next_token
cmp r0, #0
bne .L9
mov r0, r4
pop {r4, r5, r6, pc}
.L9:
mov r0, r4
ldr r5, [r5]
bl conv
mov r4, r0
bl read_equality_expr
bl conv
mov r1, r4
mov r2, r0
mov r0, r5
bl binop
mov r4, r0
ldr r3, .L11+8
ldr r3, [r3]
str r3, [r0]
mov r0, r4
pop {r4, r5, r6, pc}
.L12:
.align 2
.L11:
.word OP_EQ
.word OP_NE
.word type_int
.size read_equality_expr, .-read_equality_expr
.comm type_int,4,4
.comm OP_NE,4,4
.comm OP_EQ,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_parse.c_read_expr.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "expression expected"
.text
.p2align 4
.globl read_expr
.type read_expr, @function
read_expr:
.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 peek@PLT
mov rbp, rax
xor eax, eax
call read_comma_expr@PLT
mov r12, rax
test rax, rax
je .L5
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 24
mov rax, r12
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L5:
.cfi_restore_state
mov rdi, rbp
lea rsi, .LC0[rip]
call errort@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 read_expr, .-read_expr
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_parse.c_read_expr.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "expression expected\000"
.text
.align 2
.global read_expr
.syntax unified
.arm
.fpu softvfp
.type read_expr, %function
read_expr:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
bl peek
mov r5, r0
bl read_comma_expr
subs r4, r0, #0
beq .L5
mov r0, r4
pop {r4, r5, r6, pc}
.L5:
mov r0, r5
ldr r1, .L6
bl errort
mov r0, r4
pop {r4, r5, r6, pc}
.L7:
.align 2
.L6:
.word .LC0
.size read_expr, .-read_expr
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_parse.c_read_expr_opt.c"
.intel_syntax noprefix
.text
.p2align 4
.type read_expr_opt, @function
read_expr_opt:
.LFB0:
.cfi_startproc
endbr64
xor eax, eax
jmp read_comma_expr@PLT
.cfi_endproc
.LFE0:
.size read_expr_opt, .-read_expr_opt
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_parse.c_read_expr_opt.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type read_expr_opt, %function
read_expr_opt:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
b read_comma_expr
.size read_expr_opt, .-read_expr_opt
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_parse.c_read_float.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "l"
.LC1:
.string "f"
.LC2:
.string "invalid character '%c': %s"
.text
.p2align 4
.type read_float, @function
read_float:
.LFB0:
.cfi_startproc
endbr64
push r14
.cfi_def_cfa_offset 16
.cfi_offset 14, -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
sub rsp, 24
.cfi_def_cfa_offset 64
mov r12, QWORD PTR [rdi]
mov rax, QWORD PTR fs:40
mov QWORD PTR 8[rsp], rax
xor eax, eax
mov rsi, rsp
mov rdi, r12
call strtod@PLT
mov rbx, QWORD PTR [rsp]
lea rsi, .LC0[rip]
movq r14, xmm0
mov rdi, rbx
call strcasecmp@PLT
test eax, eax
je .L12
lea rsi, .LC1[rip]
mov rdi, rbx
call strcasecmp@PLT
test eax, eax
je .L13
movsx edx, BYTE PTR [rbx]
test dl, dl
jne .L14
.L5:
mov edi, DWORD PTR type_double[rip]
movq xmm0, r14
call ast_floattype@PLT
.L1:
mov rcx, QWORD PTR 8[rsp]
sub rcx, QWORD PTR fs:40
jne .L15
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 r14
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L14:
.cfi_restore_state
mov rcx, r12
lea rsi, .LC2[rip]
mov rdi, rbp
call errort@PLT
jmp .L5
.p2align 4,,10
.p2align 3
.L12:
mov edi, DWORD PTR type_ldouble[rip]
movq xmm0, r14
call ast_floattype@PLT
jmp .L1
.p2align 4,,10
.p2align 3
.L13:
mov edi, DWORD PTR type_float[rip]
movq xmm0, r14
call ast_floattype@PLT
jmp .L1
.L15:
call __stack_chk_fail@PLT
.cfi_endproc
.LFE0:
.size read_float, .-read_float
.globl type_ldouble
.bss
.align 4
.type type_ldouble, @object
.size type_ldouble, 4
type_ldouble:
.zero 4
.globl type_float
.align 4
.type type_float, @object
.size type_float, 4
type_float:
.zero 4
.globl type_double
.align 4
.type type_double, @object
.size type_double, 4
type_double:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_parse.c_read_float.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "l\000"
.align 2
.LC1:
.ascii "f\000"
.align 2
.LC2:
.ascii "invalid character '%c': %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_float, %function
read_float:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, lr}
ldr r8, [r0]
sub sp, sp, #8
ldr r3, .L16
mov r4, r0
mov r1, sp
mov r0, r8
ldr r3, [r3]
str r3, [sp, #4]
mov r3,#0
bl strtod
ldr r5, [sp]
mov r6, r0
mov r7, r1
mov r0, r5
ldr r1, .L16+4
bl strcasecmp
cmp r0, #0
beq .L12
mov r0, r5
ldr r1, .L16+8
bl strcasecmp
cmp r0, #0
beq .L13
ldrb r2, [r5] @ zero_extendqisi2
cmp r2, #0
bne .L14
.L5:
ldr r1, .L16+12
mov r2, r6
mov r3, r7
ldr r0, [r1]
bl ast_floattype
.L1:
ldr r3, .L16
ldr r2, [r3]
ldr r3, [sp, #4]
eors r2, r3, r2
mov r3, #0
bne .L15
add sp, sp, #8
@ sp needed
pop {r4, r5, r6, r7, r8, pc}
.L14:
mov r3, r8
mov r0, r4
ldr r1, .L16+16
bl errort
b .L5
.L12:
ldr r1, .L16+20
mov r2, r6
mov r3, r7
ldr r0, [r1]
bl ast_floattype
b .L1
.L13:
ldr r1, .L16+24
mov r2, r6
mov r3, r7
ldr r0, [r1]
bl ast_floattype
b .L1
.L15:
bl __stack_chk_fail
.L17:
.align 2
.L16:
.word .LC3
.word .LC0
.word .LC1
.word type_double
.word .LC2
.word type_ldouble
.word type_float
.size read_float, .-read_float
.comm type_ldouble,4,4
.comm type_float,4,4
.comm type_double,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_parse.c_read_for_stmt.c"
.intel_syntax noprefix
.text
.p2align 4
.type read_for_stmt, @function
read_for_stmt:
.LFB0:
.cfi_startproc
endbr64
push r15
.cfi_def_cfa_offset 16
.cfi_offset 15, -16
mov edi, 40
push r14
.cfi_def_cfa_offset 24
.cfi_offset 14, -24
push r13
.cfi_def_cfa_offset 32
.cfi_offset 13, -32
push r12
.cfi_def_cfa_offset 40
.cfi_offset 12, -40
push rbp
.cfi_def_cfa_offset 48
.cfi_offset 6, -48
push rbx
.cfi_def_cfa_offset 56
.cfi_offset 3, -56
sub rsp, 24
.cfi_def_cfa_offset 80
call expect@PLT
xor eax, eax
call make_label@PLT
mov r15, rax
xor eax, eax
call make_label@PLT
mov r14, rax
xor eax, eax
call make_label@PLT
mov rbp, QWORD PTR localenv[rip]
mov r13, rax
mov rdi, rbp
call make_map_parent@PLT
mov QWORD PTR localenv[rip], rax
xor eax, eax
call read_opt_decl_or_stmt@PLT
mov rbx, rax
xor eax, eax
call read_expr_opt@PLT
mov r12, rax
test rax, rax
je .L2
mov edi, DWORD PTR [rax]
call is_flotype@PLT
test rax, rax
jne .L28
mov edi, 59
call expect@PLT
xor eax, eax
call read_expr_opt@PLT
mov edi, 41
mov QWORD PTR [rsp], rax
call expect@PLT
mov rsi, r13
mov rdi, r14
call SET_JUMP_LABELS@PLT
xor eax, eax
call read_stmt@PLT
mov QWORD PTR 8[rsp], rax
xor eax, eax
call RESTORE_JUMP_LABELS@PLT
xor eax, eax
mov QWORD PTR localenv[rip], rbp
call make_vector@PLT
mov rbp, rax
test rbx, rbx
je .L29
.L9:
mov rsi, rbx
mov rdi, rbp
call vec_push@PLT
.L4:
mov rdi, r15
call ast_dest@PLT
mov rdi, rbp
mov rsi, rax
call vec_push@PLT
test r12, r12
je .L5
.L8:
mov rdi, r13
call ast_jump@PLT
xor esi, esi
mov rdi, r12
mov rdx, rax
call ast_if@PLT
mov rdi, rbp
mov rsi, rax
call vec_push@PLT
.L5:
mov rax, QWORD PTR 8[rsp]
test rax, rax
je .L6
mov rsi, rax
mov rdi, rbp
call vec_push@PLT
.L6:
mov rdi, r14
call ast_dest@PLT
mov rdi, rbp
mov rsi, rax
call vec_push@PLT
mov rax, QWORD PTR [rsp]
test rax, rax
je .L7
mov rsi, rax
mov rdi, rbp
call vec_push@PLT
.L7:
mov rdi, r15
call ast_jump@PLT
mov rdi, rbp
mov rsi, rax
call vec_push@PLT
mov rdi, r13
call ast_dest@PLT
mov rdi, rbp
mov rsi, rax
call vec_push@PLT
add rsp, 24
.cfi_remember_state
.cfi_def_cfa_offset 56
mov rdi, rbp
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
jmp ast_compound_stmt@PLT
.p2align 4,,10
.p2align 3
.L2:
.cfi_restore_state
mov edi, 59
call expect@PLT
xor eax, eax
call read_expr_opt@PLT
mov edi, 41
mov QWORD PTR [rsp], rax
call expect@PLT
mov rsi, r13
mov rdi, r14
call SET_JUMP_LABELS@PLT
xor eax, eax
call read_stmt@PLT
mov QWORD PTR 8[rsp], rax
xor eax, eax
call RESTORE_JUMP_LABELS@PLT
xor eax, eax
mov QWORD PTR localenv[rip], rbp
call make_vector@PLT
mov rbp, rax
test rbx, rbx
jne .L9
mov rdi, r15
call ast_dest@PLT
mov rdi, rbp
mov rsi, rax
call vec_push@PLT
jmp .L5
.p2align 4,,10
.p2align 3
.L28:
mov edi, DWORD PTR type_bool[rip]
mov rsi, r12
call ast_conv@PLT
mov edi, 59
mov r12, rax
call expect@PLT
xor eax, eax
call read_expr_opt@PLT
mov edi, 41
mov QWORD PTR [rsp], rax
call expect@PLT
mov rsi, r13
mov rdi, r14
call SET_JUMP_LABELS@PLT
xor eax, eax
call read_stmt@PLT
mov QWORD PTR 8[rsp], rax
xor eax, eax
call RESTORE_JUMP_LABELS@PLT
xor eax, eax
mov QWORD PTR localenv[rip], rbp
call make_vector@PLT
mov rbp, rax
test rbx, rbx
jne .L9
jmp .L4
.p2align 4,,10
.p2align 3
.L29:
mov rdi, r15
call ast_dest@PLT
mov rdi, rbp
mov rsi, rax
call vec_push@PLT
jmp .L8
.cfi_endproc
.LFE0:
.size read_for_stmt, .-read_for_stmt
.globl type_bool
.bss
.align 4
.type type_bool, @object
.size type_bool, 4
type_bool:
.zero 4
.globl localenv
.align 8
.type localenv, @object
.size localenv, 8
localenv:
.zero 8
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_parse.c_read_for_stmt.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type read_for_stmt, %function
read_for_stmt:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, r9, r10, fp, lr}
mov r0, #40
sub sp, sp, #12
bl expect
bl make_label
mov r7, r0
bl make_label
mov r6, r0
bl make_label
ldr r10, .L30
mov r5, r0
ldr fp, [r10]
mov r0, fp
bl make_map_parent
str r0, [r10]
bl read_opt_decl_or_stmt
mov r8, r0
bl read_expr_opt
subs r4, r0, #0
beq .L2
ldr r0, [r4]
bl is_flotype
cmp r0, #0
bne .L28
mov r0, #59
bl expect
bl read_expr_opt
mov r3, r0
mov r0, #41
str r3, [sp, #4]
bl expect
mov r1, r5
mov r0, r6
bl SET_JUMP_LABELS
bl read_stmt
mov r9, r0
bl RESTORE_JUMP_LABELS
str fp, [r10]
bl make_vector
cmp r8, #0
mov r10, r0
beq .L29
.L9:
mov r1, r8
mov r0, r10
bl vec_push
.L4:
mov r0, r7
bl ast_dest
mov r1, r0
mov r0, r10
bl vec_push
cmp r4, #0
beq .L5
.L8:
mov r0, r5
bl ast_jump
mov r1, #0
mov r2, r0
mov r0, r4
bl ast_if
mov r1, r0
mov r0, r10
bl vec_push
.L5:
cmp r9, #0
beq .L6
mov r1, r9
mov r0, r10
bl vec_push
.L6:
mov r0, r6
bl ast_dest
mov r1, r0
mov r0, r10
bl vec_push
ldr r3, [sp, #4]
cmp r3, #0
beq .L7
mov r1, r3
mov r0, r10
bl vec_push
.L7:
mov r0, r7
bl ast_jump
mov r1, r0
mov r0, r10
bl vec_push
mov r0, r5
bl ast_dest
mov r1, r0
mov r0, r10
bl vec_push
mov r0, r10
add sp, sp, #12
@ sp needed
pop {r4, r5, r6, r7, r8, r9, r10, fp, lr}
b ast_compound_stmt
.L2:
mov r0, #59
bl expect
bl read_expr_opt
mov r3, r0
mov r0, #41
str r3, [sp, #4]
bl expect
mov r1, r5
mov r0, r6
bl SET_JUMP_LABELS
bl read_stmt
mov r9, r0
bl RESTORE_JUMP_LABELS
str fp, [r10]
bl make_vector
cmp r8, #0
mov r10, r0
bne .L9
mov r0, r7
bl ast_dest
mov r1, r0
mov r0, r10
bl vec_push
b .L5
.L28:
ldr r3, .L30+4
mov r1, r4
ldr r0, [r3]
bl ast_conv
mov r4, r0
mov r0, #59
bl expect
bl read_expr_opt
mov r3, r0
mov r0, #41
str r3, [sp, #4]
bl expect
mov r1, r5
mov r0, r6
bl SET_JUMP_LABELS
bl read_stmt
mov r9, r0
bl RESTORE_JUMP_LABELS
str fp, [r10]
bl make_vector
cmp r8, #0
mov r10, r0
bne .L9
b .L4
.L29:
mov r0, r7
bl ast_dest
mov r1, r0
mov r0, r10
bl vec_push
b .L8
.L31:
.align 2
.L30:
.word localenv
.word type_bool
.size read_for_stmt, .-read_for_stmt
.comm type_bool,4,4
.comm localenv,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_parse.c_read_func_args.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "unexpected token: '%s'"
.text
.p2align 4
.type read_func_args, @function
read_func_args:
.LFB0:
.cfi_startproc
endbr64
push r15
.cfi_def_cfa_offset 16
.cfi_offset 15, -16
xor eax, eax
push r14
.cfi_def_cfa_offset 24
.cfi_offset 14, -24
push r13
.cfi_def_cfa_offset 32
.cfi_offset 13, -32
push r12
.cfi_def_cfa_offset 40
.cfi_offset 12, -40
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
call make_vector@PLT
mov r13, rax
.p2align 4,,10
.p2align 3
.L2:
mov edi, 41
call next_token@PLT
test rax, rax
jne .L1
.L12:
call read_assignment_expr@PLT
mov edi, eax
call conv@PLT
mov rdi, rbx
mov rbp, rax
call vec_len@PLT
cmp eax, r12d
jle .L4
mov esi, r12d
mov rdi, rbx
lea r15d, 1[r12]
call vec_get@PLT
mov rsi, QWORD PTR 0[rbp]
mov r12d, r15d
mov r14, rax
.L5:
mov rdi, r14
call ensure_assignable@PLT
mov rax, QWORD PTR 0[rbp]
mov rax, QWORD PTR [rax]
cmp QWORD PTR [r14], rax
je .L8
mov rsi, rbp
mov rdi, r14
call ast_conv@PLT
mov rbp, rax
.L8:
mov rsi, rbp
mov rdi, r13
call vec_push@PLT
xor eax, eax
call get@PLT
mov esi, 41
mov rdi, rax
mov rbp, rax
call is_keyword@PLT
test rax, rax
jne .L1
mov esi, 44
mov rdi, rbp
call is_keyword@PLT
test rax, rax
jne .L2
mov rdi, rbp
call tok2s@PLT
mov rdi, rbp
lea rsi, .LC0[rip]
mov edx, eax
call errort@PLT
mov edi, 41
call next_token@PLT
test rax, rax
je .L12
.L1:
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 56
mov rax, r13
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
.L4:
.cfi_restore_state
mov rdi, QWORD PTR 0[rbp]
call is_flotype@PLT
test rax, rax
je .L13
mov r14, QWORD PTR type_double[rip]
mov rsi, QWORD PTR 0[rbp]
jmp .L5
.p2align 4,,10
.p2align 3
.L13:
mov rdi, QWORD PTR 0[rbp]
call is_inttype@PLT
test rax, rax
jne .L7
mov r14, QWORD PTR 0[rbp]
mov rsi, r14
jmp .L5
.p2align 4,,10
.p2align 3
.L7:
mov r14, QWORD PTR type_int[rip]
mov rsi, QWORD PTR 0[rbp]
jmp .L5
.cfi_endproc
.LFE0:
.size read_func_args, .-read_func_args
.globl type_int
.bss
.align 8
.type type_int, @object
.size type_int, 8
type_int:
.zero 8
.globl type_double
.align 8
.type type_double, @object
.size type_double, 8
type_double:
.zero 8
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_parse.c_read_func_args.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "unexpected token: '%s'\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type read_func_args, %function
read_func_args:
@ 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 r7, r0
bl make_vector
mov r6, #0
mov r8, r0
ldr r9, .L14
ldr fp, .L14+4
ldr r10, .L14+8
.L2:
mov r0, #41
bl next_token
cmp r0, #0
bne .L1
.L12:
bl read_assignment_expr
bl conv
mov r4, r0
mov r0, r7
bl vec_len
cmp r0, r6
ble .L4
mov r1, r6
mov r0, r7
bl vec_get
mov r5, r0
ldr r1, [r4]
add r6, r6, #1
.L5:
mov r0, r5
bl ensure_assignable
ldr r3, [r4]
ldr r2, [r5]
ldr r3, [r3]
cmp r2, r3
beq .L8
mov r1, r4
mov r0, r5
bl ast_conv
mov r4, r0
.L8:
mov r1, r4
mov r0, r8
bl vec_push
bl get
mov r1, #41
mov r4, r0
bl is_keyword
cmp r0, #0
bne .L1
mov r1, #44
mov r0, r4
bl is_keyword
cmp r0, #0
bne .L2
mov r0, r4
bl tok2s
mov r1, r10
mov r2, r0
mov r0, r4
bl errort
mov r0, #41
bl next_token
cmp r0, #0
beq .L12
.L1:
mov r0, r8
pop {r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L4:
ldr r0, [r4]
bl is_flotype
cmp r0, #0
ldrne r5, [r9]
ldrne r1, [r4]
bne .L5
.L13:
ldr r0, [r4]
bl is_inttype
cmp r0, #0
ldreq r5, [r4]
ldrne r5, [fp]
moveq r1, r5
ldrne r1, [r4]
b .L5
.L15:
.align 2
.L14:
.word type_double
.word type_int
.word .LC0
.size read_func_args, .-read_func_args
.comm type_int,4,4
.comm type_double,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_parse.c_read_func_body.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "__func__"
.LC1:
.string "__FUNCTION__"
.text
.p2align 4
.type read_func_body, @function
read_func_body:
.LFB0:
.cfi_startproc
endbr64
push r14
.cfi_def_cfa_offset 16
.cfi_offset 14, -16
mov r14, rdx
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
mov rbp, rsi
sub rsp, 8
.cfi_def_cfa_offset 48
mov rdi, QWORD PTR localenv[rip]
call make_map_parent@PLT
mov QWORD PTR localenv[rip], rax
xor eax, eax
call make_vector@PLT
mov rdi, rbp
mov QWORD PTR current_func_type[rip], r12
mov QWORD PTR localvars[rip], rax
call strlen@PLT
mov edi, DWORD PTR ENC_NONE[rip]
mov rsi, rbp
lea rdx, 1[rax]
call ast_string@PLT
mov rdi, QWORD PTR localenv[rip]
lea rsi, .LC0[rip]
mov rdx, rax
mov r13, rax
call map_put@PLT
mov rdi, QWORD PTR localenv[rip]
mov rdx, r13
lea rsi, .LC1[rip]
call map_put@PLT
xor eax, eax
call read_compound_stmt@PLT
mov rdx, r14
mov rsi, rbp
mov rdi, r12
mov r8, QWORD PTR localvars[rip]
mov rcx, rax
call ast_func@PLT
mov QWORD PTR current_func_type[rip], 0
mov QWORD PTR localenv[rip], 0
mov QWORD PTR localvars[rip], 0
add rsp, 8
.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
.cfi_endproc
.LFE0:
.size read_func_body, .-read_func_body
.globl localvars
.bss
.align 8
.type localvars, @object
.size localvars, 8
localvars:
.zero 8
.globl localenv
.align 8
.type localenv, @object
.size localenv, 8
localenv:
.zero 8
.globl current_func_type
.align 8
.type current_func_type, @object
.size current_func_type, 8
current_func_type:
.zero 8
.globl ENC_NONE
.align 4
.type ENC_NONE, @object
.size ENC_NONE, 4
ENC_NONE:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_parse.c_read_func_body.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "__func__\000"
.align 2
.LC1:
.ascii "__FUNCTION__\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type read_func_body, %function
read_func_body:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, r9, r10, lr}
ldr r4, .L4
sub sp, sp, #8
mov r6, r0
ldr r0, [r4]
mov r5, r1
mov r10, r2
bl make_map_parent
str r0, [r4]
bl make_vector
mov r3, r0
ldr r8, .L4+4
ldr r9, .L4+8
mov r0, r5
str r3, [r8]
str r6, [r9]
bl strlen
ldr r3, .L4+12
mov r1, r5
add r2, r0, #1
ldr r0, [r3]
bl ast_string
mov r7, r0
ldr r1, .L4+16
mov r2, r7
ldr r0, [r4]
bl map_put
mov r2, r7
ldr r1, .L4+20
ldr r0, [r4]
bl map_put
bl read_compound_stmt
ldr ip, [r8]
mov r3, r0
mov r2, r10
mov r1, r5
mov r0, r6
str ip, [sp]
bl ast_func
mov r3, #0
str r3, [r9]
str r3, [r4]
str r3, [r8]
add sp, sp, #8
@ sp needed
pop {r4, r5, r6, r7, r8, r9, r10, pc}
.L5:
.align 2
.L4:
.word localenv
.word localvars
.word current_func_type
.word ENC_NONE
.word .LC0
.word .LC1
.size read_func_body, .-read_func_body
.comm localvars,4,4
.comm localenv,4,4
.comm current_func_type,4,4
.comm ENC_NONE,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_parse.c_read_func_param.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "type expected, but got %s"
.text
.p2align 4
.type read_func_param, @function
read_func_param:
.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 ebx, esi
sub rsp, 24
.cfi_def_cfa_offset 64
mov r12, QWORD PTR type_int[rip]
mov rax, QWORD PTR fs:40
mov QWORD PTR 8[rsp], rax
xor eax, eax
mov DWORD PTR 4[rsp], 0
call peek@PLT
mov edi, eax
call is_type@PLT
test rax, rax
jne .L14
test ebx, ebx
jne .L15
.L4:
mov ecx, DWORD PTR DECL_PARAM[rip]
.L5:
xor edx, edx
mov rsi, r12
mov rdi, rbp
call read_declarator@PLT
mov rdx, QWORD PTR [rax]
cmp rdx, QWORD PTR KIND_ARRAY[rip]
je .L16
cmp rdx, QWORD PTR KIND_FUNC[rip]
je .L17
.L1:
mov rbx, QWORD PTR 8[rsp]
sub rbx, QWORD PTR fs:40
jne .L18
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
.L15:
.cfi_restore_state
xor eax, eax
call peek@PLT
mov edi, eax
call tok2s@PLT
mov r13d, eax
xor eax, eax
call peek@PLT
mov edx, r13d
lea rsi, .LC0[rip]
mov edi, eax
call errort@PLT
.L3:
mov ecx, DWORD PTR DECL_PARAM_TYPEONLY[rip]
jmp .L5
.p2align 4,,10
.p2align 3
.L14:
lea rdi, 4[rsp]
call read_decl_spec@PLT
mov r12, rax
test ebx, ebx
jne .L3
jmp .L4
.p2align 4,,10
.p2align 3
.L16:
mov rdi, QWORD PTR 8[rax]
call make_ptr_type@PLT
jmp .L1
.p2align 4,,10
.p2align 3
.L17:
mov rdi, rax
call make_ptr_type@PLT
jmp .L1
.L18:
call __stack_chk_fail@PLT
.cfi_endproc
.LFE0:
.size read_func_param, .-read_func_param
.globl type_int
.bss
.align 8
.type type_int, @object
.size type_int, 8
type_int:
.zero 8
.globl KIND_FUNC
.align 8
.type KIND_FUNC, @object
.size KIND_FUNC, 8
KIND_FUNC:
.zero 8
.globl KIND_ARRAY
.align 8
.type KIND_ARRAY, @object
.size KIND_ARRAY, 8
KIND_ARRAY:
.zero 8
.globl DECL_PARAM_TYPEONLY
.align 4
.type DECL_PARAM_TYPEONLY, @object
.size DECL_PARAM_TYPEONLY, 4
DECL_PARAM_TYPEONLY:
.zero 4
.globl DECL_PARAM
.align 4
.type DECL_PARAM, @object
.size DECL_PARAM, 4
DECL_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_parse.c_read_func_param.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "type expected, but got %s\000"
.section .rodata.cst4,"aM",%progbits,4
.align 2
.LC1:
.word __stack_chk_guard
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type read_func_param, %function
read_func_param:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 0, uses_anonymous_args = 0
mov r2, #0
push {r4, r5, r6, lr}
ldr r3, .L19
mov r5, r1
ldr r1, .L19+4
sub sp, sp, #8
ldr r1, [r1]
str r1, [sp, #4]
mov r1,#0
ldr r6, [r3]
str r2, [sp]
mov r4, r0
bl peek
bl is_type
cmp r0, #0
bne .L14
cmp r5, #0
bne .L15
.L4:
ldr r3, .L19+8
ldr r3, [r3]
.L5:
mov r1, r6
mov r2, #0
mov r0, r4
bl read_declarator
ldr r1, .L19+12
ldr r2, [r0]
ldr r1, [r1]
mov r3, r0
cmp r2, r1
beq .L16
ldr r1, .L19+16
ldr r1, [r1]
cmp r2, r1
beq .L17
.L1:
ldr r2, .L19+4
ldr r1, [r2]
ldr r2, [sp, #4]
eors r1, r2, r1
mov r2, #0
bne .L18
mov r0, r3
add sp, sp, #8
@ sp needed
pop {r4, r5, r6, pc}
.L15:
bl peek
mov r5, r0
bl peek
bl tok2s
ldr r1, .L19+20
mov r2, r0
mov r0, r5
bl errort
.L3:
ldr r3, .L19+24
ldr r3, [r3]
b .L5
.L14:
mov r0, sp
bl read_decl_spec
cmp r5, #0
mov r6, r0
bne .L3
b .L4
.L16:
ldr r0, [r0, #4]
bl make_ptr_type
mov r3, r0
b .L1
.L17:
bl make_ptr_type
mov r3, r0
b .L1
.L18:
bl __stack_chk_fail
.L20:
.align 2
.L19:
.word type_int
.word .LC1
.word DECL_PARAM
.word KIND_ARRAY
.word KIND_FUNC
.word .LC0
.word DECL_PARAM_TYPEONLY
.size read_func_param, .-read_func_param
.comm type_int,4,4
.comm KIND_FUNC,4,4
.comm KIND_ARRAY,4,4
.comm DECL_PARAM_TYPEONLY,4,4
.comm DECL_PARAM,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_parse.c_read_func_param_list.c"
.intel_syntax noprefix
.text
.section .rodata.str1.8,"aMS",@progbits,1
.align 8
.LC0:
.string "at least one parameter is required before \"...\""
.section .rodata.str1.1,"aMS",@progbits,1
.LC1:
.string "invalid function definition"
.text
.p2align 4
.type read_func_param_list, @function
read_func_param_list:
.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
mov r13, rsi
push r12
.cfi_def_cfa_offset 32
.cfi_offset 12, -32
push rbp
.cfi_def_cfa_offset 40
.cfi_offset 6, -40
mov rbp, rdi
push rbx
.cfi_def_cfa_offset 48
.cfi_offset 3, -48
sub rsp, 16
.cfi_def_cfa_offset 64
mov rax, QWORD PTR fs:40
mov QWORD PTR 8[rsp], rax
xor eax, eax
call get@PLT
movsx esi, BYTE PTR KVOID[rip]
mov rdi, rax
mov r12, rax
call is_keyword@PLT
test rax, rax
je .L2
mov edi, 41
call next_token@PLT
test rax, rax
jne .L27
.L2:
mov esi, 41
mov rdi, r12
call is_keyword@PLT
test rax, rax
jne .L28
mov rdi, r12
call unget_token@PLT
xor eax, eax
call peek@PLT
movsx edi, BYTE PTR KELLIPSIS[rip]
mov r14, rax
call next_token@PLT
test rax, rax
jne .L29
.L6:
xor eax, eax
call peek@PLT
mov rdi, rax
call is_type@PLT
test rax, rax
jne .L30
test rbp, rbp
je .L31
.L9:
mov rdi, rbp
xor ebx, ebx
call read_declarator_params_oldstyle@PLT
xor eax, eax
call make_vector@PLT
mov r12, rax
jmp .L10
.p2align 4,,10
.p2align 3
.L11:
mov esi, DWORD PTR type_int[rip]
mov rdi, r12
add ebx, 1
call vec_push@PLT
.L10:
mov rdi, rbp
call vec_len@PLT
cmp eax, ebx
jg .L11
mov rax, QWORD PTR 8[rsp]
sub rax, QWORD PTR fs:40
jne .L23
mov ecx, 1
xor edx, edx
mov rsi, r12
.L25:
add rsp, 16
.cfi_remember_state
.cfi_def_cfa_offset 48
mov rdi, r13
pop rbx
.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 make_func_type@PLT
.p2align 4,,10
.p2align 3
.L28:
.cfi_restore_state
xor eax, eax
call make_vector@PLT
mov rsi, rax
mov rax, QWORD PTR 8[rsp]
sub rax, QWORD PTR fs:40
jne .L23
mov ecx, 1
mov edx, 1
jmp .L25
.p2align 4,,10
.p2align 3
.L29:
lea rsi, .LC0[rip]
mov rdi, r14
call errort@PLT
jmp .L6
.p2align 4,,10
.p2align 3
.L30:
xor eax, eax
call make_vector@PLT
lea rdx, 4[rsp]
mov rsi, rbp
mov rdi, rax
mov r12, rax
call read_declarator_params@PLT
mov edx, DWORD PTR 4[rsp]
xor ecx, ecx
mov rsi, r12
mov rdi, r13
call make_func_type@PLT
mov rcx, QWORD PTR 8[rsp]
sub rcx, QWORD PTR fs:40
jne .L23
add rsp, 16
.cfi_remember_state
.cfi_def_cfa_offset 48
pop rbx
.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
.L27:
.cfi_restore_state
xor eax, eax
call make_vector@PLT
mov rsi, rax
mov rax, QWORD PTR 8[rsp]
sub rax, QWORD PTR fs:40
jne .L23
xor ecx, ecx
xor edx, edx
jmp .L25
.p2align 4,,10
.p2align 3
.L31:
lea rsi, .LC1[rip]
mov rdi, r12
call errort@PLT
jmp .L9
.L23:
call __stack_chk_fail@PLT
.cfi_endproc
.LFE0:
.size read_func_param_list, .-read_func_param_list
.globl type_int
.bss
.align 4
.type type_int, @object
.size type_int, 4
type_int:
.zero 4
.globl KVOID
.type KVOID, @object
.size KVOID, 1
KVOID:
.zero 1
.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_parse.c_read_func_param_list.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "at least one parameter is required before \"...\"\000"
.align 2
.LC1:
.ascii "invalid function definition\000"
.section .rodata.cst4,"aM",%progbits,4
.align 2
.LC2:
.word __stack_chk_guard
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type read_func_param_list, %function
read_func_param_list:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, lr}
ldr r3, .L28
sub sp, sp, #8
mov r7, r1
ldr r3, [r3]
str r3, [sp, #4]
mov r3,#0
mov r5, r0
bl get
ldr r3, .L28+4
mov r6, r0
ldrb r1, [r3] @ zero_extendqisi2
bl is_keyword
cmp r0, #0
beq .L2
mov r0, #41
bl next_token
cmp r0, #0
bne .L22
.L2:
mov r1, #41
mov r0, r6
bl is_keyword
cmp r0, #0
bne .L23
mov r0, r6
bl unget_token
bl peek
ldr r3, .L28+8
mov r4, r0
ldrb r0, [r3] @ zero_extendqisi2
bl next_token
cmp r0, #0
bne .L24
bl peek
bl is_type
subs r4, r0, #0
bne .L25
.L6:
cmp r5, #0
beq .L26
.L7:
mov r0, r5
bl read_declarator_params_oldstyle
bl make_vector
ldr r8, .L28+12
mov r6, r0
b .L8
.L9:
mov r0, r6
ldr r1, [r8]
bl vec_push
add r4, r4, #1
.L8:
mov r0, r5
bl vec_len
cmp r0, r4
bgt .L9
mov r1, r6
mov r0, r7
mov r3, #1
mov r2, #0
bl make_func_type
.L1:
ldr r3, .L28
ldr r2, [r3]
ldr r3, [sp, #4]
eors r2, r3, r2
mov r3, #0
bne .L27
add sp, sp, #8
@ sp needed
pop {r4, r5, r6, r7, r8, pc}
.L23:
bl make_vector
mov r3, #1
mov r1, r0
mov r2, r3
mov r0, r7
bl make_func_type
b .L1
.L24:
ldr r1, .L28+16
mov r0, r4
bl errort
bl peek
bl is_type
subs r4, r0, #0
beq .L6
.L25:
bl make_vector
mov r4, r0
mov r1, r5
mov r2, sp
bl read_declarator_params
mov r1, r4
mov r0, r7
mov r3, #0
ldr r2, [sp]
bl make_func_type
b .L1
.L22:
bl make_vector
mov r3, #0
mov r1, r0
mov r2, r3
mov r0, r7
bl make_func_type
b .L1
.L26:
mov r0, r6
ldr r1, .L28+20
bl errort
b .L7
.L27:
bl __stack_chk_fail
.L29:
.align 2
.L28:
.word .LC2
.word KVOID
.word KELLIPSIS
.word type_int
.word .LC0
.word .LC1
.size read_func_param_list, .-read_func_param_list
.comm type_int,4,4
.comm KVOID,1,1
.comm KELLIPSIS,1,1
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_parse.c_read_funcall.c"
.intel_syntax noprefix
.text
.p2align 4
.type read_funcall, @function
read_funcall:
.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 AST_ADDR[rip]
cmp QWORD PTR [rdi], rax
jne .L2
mov rbx, QWORD PTR 24[rdi]
mov rax, QWORD PTR AST_FUNCDESG[rip]
cmp QWORD PTR [rbx], rax
je .L5
.L2:
mov rax, QWORD PTR 8[rbp]
mov rax, QWORD PTR [rax]
mov edi, DWORD PTR [rax]
call read_func_args@PLT
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 24
mov rdi, rbp
pop rbx
.cfi_def_cfa_offset 16
mov rsi, rax
pop rbp
.cfi_def_cfa_offset 8
jmp ast_funcptr_call@PLT
.p2align 4,,10
.p2align 3
.L5:
.cfi_restore_state
mov rax, QWORD PTR 8[rbx]
mov edi, DWORD PTR 8[rax]
call read_func_args@PLT
mov esi, DWORD PTR 16[rbx]
mov rdi, QWORD PTR 8[rbx]
add rsp, 8
.cfi_def_cfa_offset 24
pop rbx
.cfi_def_cfa_offset 16
mov rdx, rax
pop rbp
.cfi_def_cfa_offset 8
jmp ast_funcall@PLT
.cfi_endproc
.LFE0:
.size read_funcall, .-read_funcall
.globl AST_FUNCDESG
.bss
.align 8
.type AST_FUNCDESG, @object
.size AST_FUNCDESG, 8
AST_FUNCDESG:
.zero 8
.globl AST_ADDR
.align 8
.type AST_ADDR, @object
.size AST_ADDR, 8
AST_ADDR:
.zero 8
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_parse.c_read_funcall.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type read_funcall, %function
read_funcall:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
ldr r3, .L6
ldr r2, [r0]
ldr r3, [r3]
push {r4, r5, r6, lr}
cmp r2, r3
mov r4, r0
bne .L2
ldr r5, [r0, #12]
ldr r3, .L6+4
ldr r2, [r5]
ldr r3, [r3]
cmp r2, r3
beq .L5
.L2:
ldr r3, [r4, #4]
ldr r3, [r3]
ldr r0, [r3]
bl read_func_args
mov r1, r0
mov r0, r4
pop {r4, r5, r6, lr}
b ast_funcptr_call
.L5:
ldr r3, [r5, #4]
ldr r0, [r3, #4]
bl read_func_args
mov r2, r0
ldmib r5, {r0, r1}
pop {r4, r5, r6, lr}
b ast_funcall
.L7:
.align 2
.L6:
.word AST_ADDR
.word AST_FUNCDESG
.size read_funcall, .-read_funcall
.comm AST_FUNCDESG,4,4
.comm AST_ADDR,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_parse.c_read_funcdef.c"
.intel_syntax noprefix
.text
.p2align 4
.type read_funcdef, @function
read_funcdef:
.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
sub rsp, 40
.cfi_def_cfa_offset 64
mov rax, QWORD PTR fs:40
mov QWORD PTR 24[rsp], rax
xor eax, eax
lea rdi, 12[rsp]
mov DWORD PTR 12[rsp], 0
call read_decl_spec_opt@PLT
mov edi, DWORD PTR globalenv[rip]
mov rbp, rax
call make_map_parent@PLT
mov QWORD PTR localenv[rip], rax
xor eax, eax
call make_vector@PLT
mov QWORD PTR gotos[rip], rax
xor eax, eax
call make_map@PLT
mov DWORD PTR labels[rip], eax
xor eax, eax
call make_vector@PLT
mov ecx, DWORD PTR DECL_BODY[rip]
mov rsi, rbp
lea rdi, 16[rsp]
mov rdx, rax
mov r12, rax
call read_declarator@PLT
cmp QWORD PTR 16[rax], 0
mov rbp, rax
jne .L7
.L2:
mov eax, DWORD PTR S_STATIC[rip]
cmp DWORD PTR 12[rsp], eax
mov rdi, rbp
sete al
mov rsi, QWORD PTR 16[rsp]
movzx eax, al
mov DWORD PTR 4[rbp], eax
call ast_gvar@PLT
mov edi, 123
call expect@PLT
mov rsi, QWORD PTR 16[rsp]
mov rdx, r12
mov rdi, rbp
call read_func_body@PLT
mov r12, rax
xor eax, eax
call backfill_labels@PLT
mov QWORD PTR localenv[rip], 0
mov rax, QWORD PTR 24[rsp]
sub rax, QWORD PTR fs:40
jne .L8
add rsp, 40
.cfi_remember_state
.cfi_def_cfa_offset 24
mov rax, r12
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L7:
.cfi_restore_state
mov rdi, r12
call vec_len@PLT
test rax, rax
jne .L3
mov DWORD PTR 0[rbp], 0
.L3:
mov rdi, r12
call read_oldstyle_param_type@PLT
mov rdi, r12
call param_types@PLT
mov DWORD PTR 8[rbp], eax
jmp .L2
.L8:
call __stack_chk_fail@PLT
.cfi_endproc
.LFE0:
.size read_funcdef, .-read_funcdef
.globl localenv
.bss
.align 8
.type localenv, @object
.size localenv, 8
localenv:
.zero 8
.globl labels
.align 4
.type labels, @object
.size labels, 4
labels:
.zero 4
.globl gotos
.align 8
.type gotos, @object
.size gotos, 8
gotos:
.zero 8
.globl globalenv
.align 4
.type globalenv, @object
.size globalenv, 4
globalenv:
.zero 4
.globl S_STATIC
.align 4
.type S_STATIC, @object
.size S_STATIC, 4
S_STATIC:
.zero 4
.globl DECL_BODY
.align 4
.type DECL_BODY, @object
.size DECL_BODY, 4
DECL_BODY:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_parse.c_read_funcdef.c"
.text
.section .rodata.cst4,"aM",%progbits,4
.align 2
.LC0:
.word __stack_chk_guard
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type read_funcdef, %function
read_funcdef:
@ args = 0, pretend = 0, frame = 16
@ frame_needed = 0, uses_anonymous_args = 0
mov r3, #0
push {r4, r5, r6, lr}
ldr r2, .L12
sub sp, sp, #16
add r0, sp, #4
ldr r2, [r2]
str r2, [sp, #12]
mov r2,#0
str r3, [sp, #4]
bl read_decl_spec_opt
ldr r3, .L12+4
mov r4, r0
ldr r0, [r3]
bl make_map_parent
ldr r6, .L12+8
str r0, [r6]
bl make_vector
ldr r3, .L12+12
str r0, [r3]
bl make_map
ldr r3, .L12+16
str r0, [r3]
bl make_vector
ldr r3, .L12+20
mov r1, r4
mov r2, r0
ldr r3, [r3]
mov r5, r0
add r0, sp, #8
bl read_declarator
ldr r3, [r0, #12]
mov r4, r0
cmp r3, #0
bne .L10
.L2:
ldr r2, .L12+24
ldr r3, [sp, #4]
ldr r2, [r2]
ldr r1, [sp, #8]
sub r3, r3, r2
clz r3, r3
lsr r3, r3, #5
str r3, [r4, #4]
mov r0, r4
bl ast_gvar
mov r0, #123
bl expect
mov r2, r5
mov r0, r4
ldr r1, [sp, #8]
bl read_func_body
mov r4, r0
bl backfill_labels
mov r3, #0
str r3, [r6]
ldr r3, .L12
ldr r2, [r3]
ldr r3, [sp, #12]
eors r2, r3, r2
mov r3, #0
bne .L11
mov r0, r4
add sp, sp, #16
@ sp needed
pop {r4, r5, r6, pc}
.L10:
mov r0, r5
bl vec_len
cmp r0, #0
streq r0, [r4]
mov r0, r5
bl read_oldstyle_param_type
mov r0, r5
bl param_types
str r0, [r4, #8]
b .L2
.L11:
bl __stack_chk_fail
.L13:
.align 2
.L12:
.word .LC0
.word globalenv
.word localenv
.word gotos
.word labels
.word DECL_BODY
.word S_STATIC
.size read_funcdef, .-read_funcdef
.comm localenv,4,4
.comm labels,4,4
.comm gotos,4,4
.comm globalenv,4,4
.comm S_STATIC,4,4
.comm DECL_BODY,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_parse.c_read_generic.c"
.intel_syntax noprefix
.text
.section .rodata.str1.8,"aMS",@progbits,1
.align 8
.LC0:
.string "no matching generic selection for %s: %s"
.text
.p2align 4
.type read_generic, @function
read_generic:
.LFB0:
.cfi_startproc
endbr64
push r14
.cfi_def_cfa_offset 16
.cfi_offset 14, -16
mov edi, 40
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
xor ebx, ebx
sub rsp, 16
.cfi_def_cfa_offset 64
mov rax, QWORD PTR fs:40
mov QWORD PTR 8[rsp], rax
xor eax, eax
call expect@PLT
xor eax, eax
call peek@PLT
mov r13, rax
xor eax, eax
call read_assignment_expr@PLT
mov edi, 44
mov r12, rax
call expect@PLT
mov rdi, rsp
mov QWORD PTR [rsp], 0
call read_generic_list@PLT
mov rbp, rax
jmp .L2
.p2align 4,,10
.p2align 3
.L4:
mov esi, ebx
mov rdi, rbp
call vec_get@PLT
mov edi, DWORD PTR [r12]
mov rsi, QWORD PTR [rax]
mov r14, QWORD PTR 8[rax]
call type_compatible@PLT
test rax, rax
jne .L1
add ebx, 1
.L2:
mov rdi, rbp
call vec_len@PLT
cmp eax, ebx
jg .L4
mov r14, QWORD PTR [rsp]
test r14, r14
je .L9
.L1:
mov rax, QWORD PTR 8[rsp]
sub rax, QWORD PTR fs:40
jne .L10
add rsp, 16
.cfi_remember_state
.cfi_def_cfa_offset 48
mov rax, r14
pop rbx
.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
.L9:
.cfi_restore_state
mov edi, DWORD PTR [r12]
call ty2s@PLT
mov rdi, r12
mov r14d, eax
call node2s@PLT
mov ecx, r14d
lea rsi, .LC0[rip]
mov rdi, r13
mov edx, eax
call errort@PLT
mov r14, QWORD PTR [rsp]
jmp .L1
.L10:
call __stack_chk_fail@PLT
.cfi_endproc
.LFE0:
.size read_generic, .-read_generic
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_parse.c_read_generic.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "no matching generic selection for %s: %s\000"
.section .rodata.cst4,"aM",%progbits,4
.align 2
.LC1:
.word __stack_chk_guard
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type read_generic, %function
read_generic:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, lr}
ldr r3, .L11
sub sp, sp, #8
mov r0, #40
ldr r3, [r3]
str r3, [sp, #4]
mov r3,#0
bl expect
bl peek
mov r7, r0
bl read_assignment_expr
mov r4, #0
mov r6, r0
mov r0, #44
bl expect
mov r0, sp
str r4, [sp]
bl read_generic_list
mov r5, r0
b .L2
.L4:
mov r1, r4
mov r0, r5
bl vec_get
mov r3, r0
ldr r0, [r6]
ldm r3, {r1, r8}
bl type_compatible
cmp r0, #0
bne .L1
add r4, r4, #1
.L2:
mov r0, r5
bl vec_len
cmp r0, r4
bgt .L4
ldr r8, [sp]
cmp r8, #0
beq .L9
.L1:
ldr r3, .L11
ldr r2, [r3]
ldr r3, [sp, #4]
eors r2, r3, r2
mov r3, #0
bne .L10
mov r0, r8
add sp, sp, #8
@ sp needed
pop {r4, r5, r6, r7, r8, pc}
.L9:
mov r0, r6
bl node2s
mov r4, r0
ldr r0, [r6]
bl ty2s
mov r2, r4
mov r3, r0
ldr r1, .L11+4
mov r0, r7
bl errort
ldr r8, [sp]
b .L1
.L10:
bl __stack_chk_fail
.L12:
.align 2
.L11:
.word .LC1
.word .LC0
.size read_generic, .-read_generic
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_parse.c_read_generic_list.c"
.intel_syntax noprefix
.text
.section .rodata.str1.8,"aMS",@progbits,1
.align 8
.LC0:
.string "default expression specified twice"
.text
.p2align 4
.type read_generic_list, @function
read_generic_list:
.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
push rbx
.cfi_def_cfa_offset 40
.cfi_offset 3, -40
mov rbx, rdi
sub rsp, 8
.cfi_def_cfa_offset 48
call make_vector@PLT
mov r12, rax
jmp .L6
.p2align 4,,10
.p2align 3
.L10:
cmp QWORD PTR [rbx], 0
je .L4
mov rsi, r13
mov rdi, rbp
call errort@PLT
.L4:
mov edi, 58
call expect@PLT
xor eax, eax
call read_assignment_expr@PLT
mov QWORD PTR [rbx], rax
.L5:
mov edi, 44
call next_token@PLT
.L6:
mov edi, 41
call next_token@PLT
test rax, rax
jne .L7
call peek@PLT
movsx edi, BYTE PTR KDEFAULT[rip]
mov rbp, rax
call next_token@PLT
test rax, rax
jne .L10
xor eax, eax
call read_cast_type@PLT
mov edi, 58
mov rbp, rax
call expect@PLT
xor eax, eax
call read_assignment_expr@PLT
mov rdi, rbp
mov rsi, rax
call make_pair@PLT
mov rdi, r12
mov esi, eax
call vec_push@PLT
jmp .L5
.p2align 4,,10
.p2align 3
.L7:
add rsp, 8
.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
.cfi_endproc
.LFE0:
.size read_generic_list, .-read_generic_list
.globl KDEFAULT
.bss
.type KDEFAULT, @object
.size KDEFAULT, 1
KDEFAULT:
.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_parse.c_read_generic_list.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "default expression specified twice\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type read_generic_list, %function
read_generic_list:
@ 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_vector
ldr r6, .L14
mov r7, r0
ldr r8, .L14+4
b .L6
.L13:
ldr r3, [r5]
cmp r3, #0
beq .L4
mov r0, r4
mov r1, r8
bl errort
.L4:
mov r0, #58
bl expect
bl read_assignment_expr
str r0, [r5]
.L5:
mov r0, #44
bl next_token
.L6:
mov r0, #41
bl next_token
cmp r0, #0
bne .L10
bl peek
mov r4, r0
ldrb r0, [r6] @ zero_extendqisi2
bl next_token
cmp r0, #0
bne .L13
bl read_cast_type
mov r4, r0
mov r0, #58
bl expect
bl read_assignment_expr
mov r1, r0
mov r0, r4
bl make_pair
mov r1, r0
mov r0, r7
bl vec_push
b .L5
.L10:
mov r0, r7
pop {r4, r5, r6, r7, r8, pc}
.L15:
.align 2
.L14:
.word KDEFAULT
.word .LC0
.size read_generic_list, .-read_generic_list
.comm KDEFAULT,1,1
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_parse.c_read_goto_stmt.c"
.intel_syntax noprefix
.text
.section .rodata.str1.8,"aMS",@progbits,1
.align 8
.LC0:
.string "pointer expected for computed goto, but got %s"
.align 8
.LC1:
.string "identifier expected, but got %s"
.text
.p2align 4
.type read_goto_stmt, @function
read_goto_stmt:
.LFB0:
.cfi_startproc
endbr64
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
mov edi, 42
push rbp
.cfi_def_cfa_offset 24
.cfi_offset 6, -24
push rbx
.cfi_def_cfa_offset 32
.cfi_offset 3, -32
call next_token@PLT
test rax, rax
mov eax, 0
jne .L11
call get@PLT
mov rbx, rax
test rax, rax
je .L4
mov rax, QWORD PTR TIDENT[rip]
cmp QWORD PTR [rbx], rax
je .L5
.L4:
mov rdi, rbx
call tok2s@PLT
lea rsi, .LC1[rip]
mov rdi, rbx
mov edx, eax
call errort@PLT
.L5:
mov edi, 59
call expect@PLT
mov edi, DWORD PTR 8[rbx]
call ast_goto@PLT
mov edi, DWORD PTR gotos[rip]
mov r12, rax
mov rsi, rax
call vec_push@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
.L11:
.cfi_restore_state
call peek@PLT
mov rbp, rax
xor eax, eax
call read_cast_expr@PLT
mov rcx, QWORD PTR KIND_PTR[rip]
mov r12, rax
mov rax, QWORD PTR [rax]
cmp QWORD PTR [rax], rcx
jne .L12
pop rbx
.cfi_remember_state
.cfi_def_cfa_offset 24
mov rdi, r12
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
jmp ast_computed_goto@PLT
.p2align 4,,10
.p2align 3
.L12:
.cfi_restore_state
mov rdi, r12
call node2s@PLT
mov rdi, rbp
lea rsi, .LC0[rip]
mov edx, eax
call errort@PLT
pop rbx
.cfi_def_cfa_offset 24
mov rdi, r12
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
jmp ast_computed_goto@PLT
.cfi_endproc
.LFE0:
.size read_goto_stmt, .-read_goto_stmt
.globl gotos
.bss
.align 4
.type gotos, @object
.size gotos, 4
gotos:
.zero 4
.globl TIDENT
.align 8
.type TIDENT, @object
.size TIDENT, 8
TIDENT:
.zero 8
.globl KIND_PTR
.align 8
.type KIND_PTR, @object
.size KIND_PTR, 8
KIND_PTR:
.zero 8
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_parse.c_read_goto_stmt.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "pointer expected for computed goto, but got %s\000"
.align 2
.LC1:
.ascii "identifier expected, but got %s\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type read_goto_stmt, %function
read_goto_stmt:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
mov r0, #42
push {r4, r5, r6, lr}
bl next_token
cmp r0, #0
bne .L11
bl get
subs r4, r0, #0
beq .L4
ldr r3, .L13
ldr r2, [r4]
ldr r3, [r3]
cmp r2, r3
beq .L5
.L4:
mov r0, r4
bl tok2s
ldr r1, .L13+4
mov r2, r0
mov r0, r4
bl errort
.L5:
mov r0, #59
bl expect
ldr r0, [r4, #4]
bl ast_goto
mov r4, r0
ldr r3, .L13+8
mov r1, r0
ldr r0, [r3]
bl vec_push
mov r0, r4
pop {r4, r5, r6, pc}
.L11:
bl peek
mov r5, r0
bl read_cast_expr
ldr r3, .L13+12
ldr r2, [r0]
ldr r3, [r3]
ldr r2, [r2]
mov r4, r0
cmp r2, r3
bne .L12
mov r0, r4
pop {r4, r5, r6, lr}
b ast_computed_goto
.L12:
bl node2s
ldr r1, .L13+16
mov r2, r0
mov r0, r5
bl errort
mov r0, r4
pop {r4, r5, r6, lr}
b ast_computed_goto
.L14:
.align 2
.L13:
.word TIDENT
.word .LC1
.word gotos
.word KIND_PTR
.word .LC0
.size read_goto_stmt, .-read_goto_stmt
.comm gotos,4,4
.comm TIDENT,4,4
.comm KIND_PTR,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_parse.c_read_if_stmt.c"
.intel_syntax noprefix
.text
.p2align 4
.type read_if_stmt, @function
read_if_stmt:
.LFB0:
.cfi_startproc
endbr64
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
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_boolean_expr@PLT
mov edi, 41
mov rbp, rax
call expect@PLT
xor eax, eax
call read_stmt@PLT
mov edi, DWORD PTR KELSE[rip]
mov r12, rax
call next_token@PLT
xor edx, edx
test eax, eax
je .L4
xor eax, eax
call read_stmt@PLT
mov rdx, rax
.L4:
add rsp, 8
.cfi_def_cfa_offset 24
mov rsi, r12
mov rdi, rbp
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
jmp ast_if@PLT
.cfi_endproc
.LFE0:
.size read_if_stmt, .-read_if_stmt
.globl KELSE
.bss
.align 4
.type KELSE, @object
.size KELSE, 4
KELSE:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_parse.c_read_if_stmt.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type read_if_stmt, %function
read_if_stmt:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
mov r0, #40
bl expect
bl read_boolean_expr
mov r4, r0
mov r0, #41
bl expect
bl read_stmt
ldr r3, .L6
mov r5, r0
ldr r0, [r3]
bl next_token
subs r2, r0, #0
beq .L4
bl read_stmt
mov r2, r0
.L4:
mov r1, r5
mov r0, r4
pop {r4, r5, r6, lr}
b ast_if
.L7:
.align 2
.L6:
.word KELSE
.size read_if_stmt, .-read_if_stmt
.comm KELSE,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_parse.c_read_initializer_elem.c"
.intel_syntax noprefix
.text
.p2align 4
.type read_initializer_elem, @function
read_initializer_elem:
.LFB0:
.cfi_startproc
endbr64
push r14
.cfi_def_cfa_offset 16
.cfi_offset 14, -16
mov r14d, edx
push r13
.cfi_def_cfa_offset 24
.cfi_offset 13, -24
mov r13d, ecx
push r12
.cfi_def_cfa_offset 32
.cfi_offset 12, -32
mov r12, rdi
mov edi, 61
push rbp
.cfi_def_cfa_offset 40
.cfi_offset 6, -40
mov rbp, rsi
sub rsp, 8
.cfi_def_cfa_offset 48
call next_token@PLT
mov rax, QWORD PTR 0[rbp]
cmp rax, QWORD PTR KIND_ARRAY[rip]
je .L2
cmp rax, QWORD PTR KIND_STRUCT[rip]
jne .L3
.L2:
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 40
mov ecx, r13d
mov edx, r14d
mov rsi, rbp
mov rdi, 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
jmp read_initializer_list@PLT
.p2align 4,,10
.p2align 3
.L3:
.cfi_restore_state
mov edi, 123
call next_token@PLT
test rax, rax
je .L4
mov rdi, r12
mov edx, r14d
mov rsi, rbp
mov ecx, 1
call read_initializer_elem
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 40
mov edi, 125
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 expect@PLT
.p2align 4,,10
.p2align 3
.L4:
.cfi_restore_state
xor eax, eax
call read_assignment_expr@PLT
mov edi, eax
call conv@PLT
mov rdi, rbp
mov esi, DWORD PTR [rax]
mov r13, rax
call ensure_assignable@PLT
mov rsi, rbp
mov rdi, r13
mov edx, r14d
call ast_init@PLT
add rsp, 8
.cfi_def_cfa_offset 40
mov rdi, r12
pop rbp
.cfi_def_cfa_offset 32
mov esi, eax
pop r12
.cfi_def_cfa_offset 24
pop r13
.cfi_def_cfa_offset 16
pop r14
.cfi_def_cfa_offset 8
jmp vec_push@PLT
.cfi_endproc
.LFE0:
.size read_initializer_elem, .-read_initializer_elem
.globl KIND_STRUCT
.bss
.align 8
.type KIND_STRUCT, @object
.size KIND_STRUCT, 8
KIND_STRUCT:
.zero 8
.globl KIND_ARRAY
.align 8
.type KIND_ARRAY, @object
.size KIND_ARRAY, 8
KIND_ARRAY:
.zero 8
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_parse.c_read_initializer_elem.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type read_initializer_elem, %function
read_initializer_elem:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, lr}
mov r4, r1
mov r5, r0
mov r0, #61
mov r6, r3
mov r7, r2
bl next_token
ldr r1, .L7
ldr r3, [r4]
ldr r1, [r1]
cmp r3, r1
beq .L2
ldr r2, .L7+4
ldr r2, [r2]
cmp r3, r2
bne .L3
.L2:
mov r3, r6
mov r2, r7
mov r1, r4
mov r0, r5
pop {r4, r5, r6, r7, r8, lr}
b read_initializer_list
.L3:
mov r0, #123
bl next_token
cmp r0, #0
beq .L4
mov r0, r5
mov r2, r7
mov r1, r4
mov r3, #1
bl read_initializer_elem
pop {r4, r5, r6, r7, r8, lr}
mov r0, #125
b expect
.L4:
bl read_assignment_expr
bl conv
mov r6, r0
mov r0, r4
ldr r1, [r6]
bl ensure_assignable
mov r1, r4
mov r2, r7
mov r0, r6
bl ast_init
mov r1, r0
mov r0, r5
pop {r4, r5, r6, r7, r8, lr}
b vec_push
.L8:
.align 2
.L7:
.word KIND_ARRAY
.word KIND_STRUCT
.size read_initializer_elem, .-read_initializer_elem
.comm KIND_STRUCT,4,4
.comm KIND_ARRAY,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_parse.c_read_initializer_list.c"
.intel_syntax noprefix
.text
.p2align 4
.type read_initializer_list, @function
read_initializer_list:
.LFB0:
.cfi_startproc
endbr64
push r15
.cfi_def_cfa_offset 16
.cfi_offset 15, -16
xor eax, eax
mov r15d, ecx
push r14
.cfi_def_cfa_offset 24
.cfi_offset 14, -24
mov r14d, edx
push r13
.cfi_def_cfa_offset 32
.cfi_offset 13, -32
mov r13, rdi
push r12
.cfi_def_cfa_offset 40
.cfi_offset 12, -40
push rbp
.cfi_def_cfa_offset 48
.cfi_offset 6, -48
mov rbp, rsi
call get@PLT
mov rdi, rbp
mov r12, rax
call is_string@PLT
test rax, rax
je .L2
mov rax, QWORD PTR TSTRING[rip]
cmp QWORD PTR [r12], rax
je .L15
mov esi, 123
mov rdi, r12
call is_keyword@PLT
test rax, rax
jne .L16
.L2:
mov rdi, r12
call unget_token@PLT
mov rax, QWORD PTR 0[rbp]
cmp rax, QWORD PTR KIND_ARRAY[rip]
je .L17
cmp rax, QWORD PTR KIND_STRUCT[rip]
je .L18
mov esi, 1
mov rdi, rbp
call make_array_type@PLT
mov ecx, r15d
mov edx, r14d
mov rsi, rax
.L13:
pop rbp
.cfi_remember_state
.cfi_def_cfa_offset 40
mov rdi, r13
pop r12
.cfi_def_cfa_offset 32
pop r13
.cfi_def_cfa_offset 24
pop r14
.cfi_def_cfa_offset 16
pop r15
.cfi_def_cfa_offset 8
jmp read_array_initializer@PLT
.p2align 4,,10
.p2align 3
.L18:
.cfi_restore_state
mov ecx, r15d
mov edx, r14d
mov rsi, rbp
mov rdi, r13
pop rbp
.cfi_remember_state
.cfi_def_cfa_offset 40
pop r12
.cfi_def_cfa_offset 32
pop r13
.cfi_def_cfa_offset 24
pop r14
.cfi_def_cfa_offset 16
pop r15
.cfi_def_cfa_offset 8
jmp read_struct_initializer@PLT
.p2align 4,,10
.p2align 3
.L16:
.cfi_restore_state
xor eax, eax
call peek@PLT
mov rcx, QWORD PTR TSTRING[rip]
cmp QWORD PTR [rax], rcx
jne .L2
xor eax, eax
call get@PLT
mov rdi, r13
mov ecx, r14d
mov rsi, rbp
mov edx, DWORD PTR 8[rax]
call assign_string@PLT
pop rbp
.cfi_remember_state
.cfi_def_cfa_offset 40
mov edi, 125
pop r12
.cfi_def_cfa_offset 32
pop r13
.cfi_def_cfa_offset 24
pop r14
.cfi_def_cfa_offset 16
pop r15
.cfi_def_cfa_offset 8
jmp expect@PLT
.p2align 4,,10
.p2align 3
.L17:
.cfi_restore_state
mov ecx, r15d
mov edx, r14d
mov rsi, rbp
jmp .L13
.p2align 4,,10
.p2align 3
.L15:
mov edx, DWORD PTR 8[r12]
mov ecx, r14d
mov rsi, rbp
mov rdi, r13
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
jmp assign_string@PLT
.cfi_endproc
.LFE0:
.size read_initializer_list, .-read_initializer_list
.globl TSTRING
.bss
.align 8
.type TSTRING, @object
.size TSTRING, 8
TSTRING:
.zero 8
.globl KIND_STRUCT
.align 8
.type KIND_STRUCT, @object
.size KIND_STRUCT, 8
KIND_STRUCT:
.zero 8
.globl KIND_ARRAY
.align 8
.type KIND_ARRAY, @object
.size KIND_ARRAY, 8
KIND_ARRAY:
.zero 8
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_parse.c_read_initializer_list.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type read_initializer_list, %function
read_initializer_list:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, r9, r10, lr}
mov r4, r1
mov r7, r2
mov r8, r3
mov r6, r0
bl get
mov r5, r0
mov r0, r4
bl is_string
cmp r0, #0
beq .L2
ldr r9, .L18
ldr r2, [r5]
ldr r3, [r9]
cmp r2, r3
beq .L14
mov r1, #123
mov r0, r5
bl is_keyword
cmp r0, #0
bne .L15
.L2:
mov r0, r5
bl unget_token
ldr r3, .L18+4
ldr r1, [r4]
ldr r3, [r3]
cmp r1, r3
beq .L16
ldr r3, .L18+8
ldr r3, [r3]
cmp r1, r3
beq .L17
mov r0, r4
mov r1, #1
bl make_array_type
mov r3, r8
mov r1, r0
mov r2, r7
mov r0, r6
pop {r4, r5, r6, r7, r8, r9, r10, lr}
b read_array_initializer
.L17:
mov r3, r8
mov r2, r7
mov r1, r4
mov r0, r6
pop {r4, r5, r6, r7, r8, r9, r10, lr}
b read_struct_initializer
.L15:
bl peek
ldr r3, [r9]
ldr r2, [r0]
cmp r2, r3
bne .L2
bl get
mov r3, r7
mov r1, r4
ldr r2, [r0, #4]
mov r0, r6
bl assign_string
pop {r4, r5, r6, r7, r8, r9, r10, lr}
mov r0, #125
b expect
.L16:
mov r3, r8
mov r2, r7
mov r1, r4
mov r0, r6
pop {r4, r5, r6, r7, r8, r9, r10, lr}
b read_array_initializer
.L14:
mov r3, r7
mov r1, r4
mov r0, r6
ldr r2, [r5, #4]
pop {r4, r5, r6, r7, r8, r9, r10, lr}
b assign_string
.L19:
.align 2
.L18:
.word TSTRING
.word KIND_ARRAY
.word KIND_STRUCT
.size read_initializer_list, .-read_initializer_list
.comm TSTRING,4,4
.comm KIND_STRUCT,4,4
.comm KIND_ARRAY,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_parse.c_read_int.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "0b"
.LC1:
.string "invalid character '%c': %s"
.text
.p2align 4
.type read_int, @function
read_int:
.LFB0:
.cfi_startproc
endbr64
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
lea rsi, .LC0[rip]
mov r12, rdi
mov edx, 2
push rbp
.cfi_def_cfa_offset 24
.cfi_offset 6, -24
push rbx
.cfi_def_cfa_offset 32
.cfi_offset 3, -32
sub rsp, 16
.cfi_def_cfa_offset 48
mov rbx, QWORD PTR [rdi]
mov rax, QWORD PTR fs:40
mov QWORD PTR 8[rsp], rax
xor eax, eax
mov rdi, rbx
call strncasecmp@PLT
mov rsi, rsp
test eax, eax
jne .L2
lea rdi, 2[rbx]
mov edx, 2
call strtoul@PLT
mov rdi, QWORD PTR [rsp]
mov rbp, rax
call read_int_suffix@PLT
test rax, rax
jne .L22
.L4:
mov rax, QWORD PTR [rsp]
movsx edx, BYTE PTR [rax]
test dl, dl
jne .L23
mov rax, QWORD PTR INT_MAX[rip]
cmp BYTE PTR [rbx], 48
not rax
je .L7
.L25:
mov rdi, QWORD PTR type_int[rip]
test rax, rbp
mov rsi, rbp
cmovne rdi, QWORD PTR type_long[rip]
call ast_inttype@PLT
.L1:
mov rcx, QWORD PTR 8[rsp]
sub rcx, QWORD PTR fs:40
jne .L24
add rsp, 16
.cfi_remember_state
.cfi_def_cfa_offset 32
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
.L2:
.cfi_restore_state
xor edx, edx
mov rdi, rbx
call strtoul@PLT
mov rdi, QWORD PTR [rsp]
mov rbp, rax
call read_int_suffix@PLT
test rax, rax
je .L4
.L22:
mov rsi, rbp
mov rdi, rax
call ast_inttype@PLT
jmp .L1
.p2align 4,,10
.p2align 3
.L7:
mov rdi, QWORD PTR type_int[rip]
test rax, rbp
je .L13
mov rax, QWORD PTR UINT_MAX[rip]
mov rdi, QWORD PTR type_uint[rip]
not rax
test rax, rbp
je .L13
mov rax, QWORD PTR LONG_MAX[rip]
mov rdi, QWORD PTR type_long[rip]
not rax
test rax, rbp
cmovne rdi, QWORD PTR type_ulong[rip]
.L13:
mov rsi, rbp
call ast_inttype@PLT
jmp .L1
.p2align 4,,10
.p2align 3
.L23:
mov rcx, rbx
lea rsi, .LC1[rip]
mov rdi, r12
call errort@PLT
mov rax, QWORD PTR INT_MAX[rip]
cmp BYTE PTR [rbx], 48
not rax
je .L7
jmp .L25
.L24:
call __stack_chk_fail@PLT
.cfi_endproc
.LFE0:
.size read_int, .-read_int
.globl type_ulong
.bss
.align 8
.type type_ulong, @object
.size type_ulong, 8
type_ulong:
.zero 8
.globl type_uint
.align 8
.type type_uint, @object
.size type_uint, 8
type_uint:
.zero 8
.globl type_long
.align 8
.type type_long, @object
.size type_long, 8
type_long:
.zero 8
.globl type_int
.align 8
.type type_int, @object
.size type_int, 8
type_int:
.zero 8
.globl UINT_MAX
.align 8
.type UINT_MAX, @object
.size UINT_MAX, 8
UINT_MAX:
.zero 8
.globl LONG_MAX
.align 8
.type LONG_MAX, @object
.size LONG_MAX, 8
LONG_MAX:
.zero 8
.globl INT_MAX
.align 8
.type INT_MAX, @object
.size INT_MAX, 8
INT_MAX:
.zero 8
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_parse.c_read_int.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "0b\000"
.align 2
.LC1:
.ascii "invalid character '%c': %s\000"
.section .rodata.cst4,"aM",%progbits,4
.align 2
.LC2:
.word __stack_chk_guard
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type read_int, %function
read_int:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
ldr r6, [r0]
ldr r3, .L23
sub sp, sp, #8
mov r2, #2
ldr r1, .L23+4
mov r5, r0
mov r0, r6
ldr r3, [r3]
str r3, [sp, #4]
mov r3,#0
bl strncasecmp
cmp r0, #0
moveq r2, #2
moveq r1, sp
movne r2, #0
movne r1, sp
movne r0, r6
addeq r0, r6, r2
bl strtoul
mov r4, r0
ldr r0, [sp]
bl read_int_suffix
cmp r0, #0
bne .L13
ldr r3, [sp]
ldrb r2, [r3] @ zero_extendqisi2
cmp r2, #0
bne .L21
.L6:
ldrb r2, [r6] @ zero_extendqisi2
ldr r3, .L23+8
cmp r2, #48
ldr r3, [r3]
beq .L7
bics r3, r4, r3
bne .L19
.L10:
ldr r3, .L23+12
ldr r0, [r3]
.L13:
mov r1, r4
bl ast_inttype
ldr r3, .L23
ldr r2, [r3]
ldr r3, [sp, #4]
eors r2, r3, r2
mov r3, #0
bne .L22
add sp, sp, #8
@ sp needed
pop {r4, r5, r6, pc}
.L7:
bics r3, r4, r3
beq .L10
ldr r3, .L23+16
ldr r3, [r3]
bics r3, r4, r3
beq .L11
ldr r3, .L23+20
ldr r3, [r3]
bics r3, r4, r3
bne .L12
.L19:
ldr r3, .L23+24
ldr r0, [r3]
b .L13
.L21:
mov r0, r5
mov r3, r6
ldr r1, .L23+28
bl errort
b .L6
.L11:
ldr r3, .L23+32
ldr r0, [r3]
b .L13
.L12:
ldr r3, .L23+36
ldr r0, [r3]
b .L13
.L22:
bl __stack_chk_fail
.L24:
.align 2
.L23:
.word .LC2
.word .LC0
.word INT_MAX
.word type_int
.word UINT_MAX
.word LONG_MAX
.word type_long
.word .LC1
.word type_uint
.word type_ulong
.size read_int, .-read_int
.comm type_ulong,4,4
.comm type_uint,4,4
.comm type_long,4,4
.comm type_int,4,4
.comm UINT_MAX,4,4
.comm LONG_MAX,4,4
.comm INT_MAX,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_parse.c_read_int_suffix.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "u"
.LC1:
.string "l"
.LC2:
.string "ul"
.LC3:
.string "lu"
.LC4:
.string "ll"
.LC5:
.string "ull"
.LC6:
.string "llu"
.text
.p2align 4
.type read_int_suffix, @function
read_int_suffix:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
lea rsi, .LC0[rip]
mov rbp, rdi
call strcasecmp@PLT
test eax, eax
je .L18
lea rsi, .LC1[rip]
mov rdi, rbp
call strcasecmp@PLT
test eax, eax
je .L19
lea rsi, .LC2[rip]
mov rdi, rbp
call strcasecmp@PLT
test eax, eax
je .L5
lea rsi, .LC3[rip]
mov rdi, rbp
call strcasecmp@PLT
test eax, eax
je .L5
lea rsi, .LC4[rip]
mov rdi, rbp
call strcasecmp@PLT
test eax, eax
je .L20
lea rsi, .LC5[rip]
mov rdi, rbp
call strcasecmp@PLT
test eax, eax
je .L8
lea rsi, .LC6[rip]
mov rdi, rbp
call strcasecmp@PLT
mov r8d, eax
xor eax, eax
test r8d, r8d
jne .L1
.L8:
mov rax, QWORD PTR type_ullong[rip]
.L1:
pop rbp
.cfi_remember_state
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L19:
.cfi_restore_state
mov rax, QWORD PTR type_long[rip]
pop rbp
.cfi_remember_state
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L5:
.cfi_restore_state
mov rax, QWORD PTR type_ulong[rip]
pop rbp
.cfi_remember_state
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L18:
.cfi_restore_state
mov rax, QWORD PTR type_uint[rip]
pop rbp
.cfi_remember_state
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L20:
.cfi_restore_state
mov rax, QWORD PTR type_llong[rip]
pop rbp
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size read_int_suffix, .-read_int_suffix
.globl type_ulong
.bss
.align 8
.type type_ulong, @object
.size type_ulong, 8
type_ulong:
.zero 8
.globl type_ullong
.align 8
.type type_ullong, @object
.size type_ullong, 8
type_ullong:
.zero 8
.globl type_uint
.align 8
.type type_uint, @object
.size type_uint, 8
type_uint:
.zero 8
.globl type_long
.align 8
.type type_long, @object
.size type_long, 8
type_long:
.zero 8
.globl type_llong
.align 8
.type type_llong, @object
.size type_llong, 8
type_llong:
.zero 8
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_parse.c_read_int_suffix.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "u\000"
.align 2
.LC1:
.ascii "l\000"
.align 2
.LC2:
.ascii "ul\000"
.align 2
.LC3:
.ascii "lu\000"
.align 2
.LC4:
.ascii "ll\000"
.align 2
.LC5:
.ascii "ull\000"
.align 2
.LC6:
.ascii "llu\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type read_int_suffix, %function
read_int_suffix:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
ldr r1, .L21
mov r4, r0
bl strcasecmp
cmp r0, #0
beq .L18
mov r0, r4
ldr r1, .L21+4
bl strcasecmp
cmp r0, #0
beq .L19
mov r0, r4
ldr r1, .L21+8
bl strcasecmp
cmp r0, #0
beq .L5
mov r0, r4
ldr r1, .L21+12
bl strcasecmp
cmp r0, #0
beq .L5
mov r0, r4
ldr r1, .L21+16
bl strcasecmp
cmp r0, #0
beq .L20
mov r0, r4
ldr r1, .L21+20
bl strcasecmp
cmp r0, #0
beq .L8
mov r0, r4
ldr r1, .L21+24
bl strcasecmp
cmp r0, #0
bne .L9
.L8:
ldr r3, .L21+28
ldr r0, [r3]
pop {r4, pc}
.L19:
ldr r3, .L21+32
ldr r0, [r3]
pop {r4, pc}
.L5:
ldr r3, .L21+36
ldr r0, [r3]
pop {r4, pc}
.L18:
ldr r3, .L21+40
ldr r0, [r3]
pop {r4, pc}
.L20:
ldr r3, .L21+44
ldr r0, [r3]
pop {r4, pc}
.L9:
mov r0, #0
pop {r4, pc}
.L22:
.align 2
.L21:
.word .LC0
.word .LC1
.word .LC2
.word .LC3
.word .LC4
.word .LC5
.word .LC6
.word type_ullong
.word type_long
.word type_ulong
.word type_uint
.word type_llong
.size read_int_suffix, .-read_int_suffix
.comm type_ulong,4,4
.comm type_ullong,4,4
.comm type_uint,4,4
.comm type_long,4,4
.comm type_llong,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_parse.c_read_intexpr.c"
.intel_syntax noprefix
.text
.p2align 4
.type read_intexpr, @function
read_intexpr:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 8
.cfi_def_cfa_offset 16
xor eax, eax
call read_conditional_expr@PLT
xor esi, esi
add rsp, 8
.cfi_def_cfa_offset 8
mov edi, eax
jmp eval_intexpr@PLT
.cfi_endproc
.LFE0:
.size read_intexpr, .-read_intexpr
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_parse.c_read_intexpr.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type read_intexpr, %function
read_intexpr:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
bl read_conditional_expr
pop {r4, lr}
mov r1, #0
b eval_intexpr
.size read_intexpr, .-read_intexpr
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_parse.c_read_label.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "duplicate label: %s"
.text
.p2align 4
.type read_label, @function
read_label:
.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
mov r12, QWORD PTR [rdi]
mov edi, DWORD PTR labels[rip]
mov rsi, r12
call map_get@PLT
test rax, rax
jne .L8
.L2:
mov rdi, r12
call ast_label@PLT
mov edi, DWORD PTR labels[rip]
mov rsi, r12
mov rdx, rax
mov rbp, rax
call map_put@PLT
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 24
mov rdi, rbp
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
jmp read_label_tail@PLT
.p2align 4,,10
.p2align 3
.L8:
.cfi_restore_state
mov rdi, rbp
call tok2s@PLT
lea rsi, .LC0[rip]
mov rdi, rbp
mov edx, eax
call errort@PLT
jmp .L2
.cfi_endproc
.LFE0:
.size read_label, .-read_label
.globl labels
.bss
.align 4
.type labels, @object
.size labels, 4
labels:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_parse.c_read_label.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "duplicate label: %s\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type read_label, %function
read_label:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
ldr r5, [r0]
ldr r6, .L9
mov r4, r0
mov r1, r5
ldr r0, [r6]
bl map_get
cmp r0, #0
bne .L8
.L2:
mov r0, r5
bl ast_label
mov r4, r0
mov r1, r5
mov r2, r4
ldr r0, [r6]
bl map_put
mov r0, r4
pop {r4, r5, r6, lr}
b read_label_tail
.L8:
mov r0, r4
bl tok2s
ldr r1, .L9+4
mov r2, r0
mov r0, r4
bl errort
b .L2
.L10:
.align 2
.L9:
.word labels
.word .LC0
.size read_label, .-read_label
.comm labels,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_parse.c_read_label_addr.c"
.intel_syntax noprefix
.text
.section .rodata.str1.8,"aMS",@progbits,1
.align 8
.LC0:
.string "label name expected after &&, but got %s"
.text
.p2align 4
.type read_label_addr, @function
read_label_addr:
.LFB0:
.cfi_startproc
endbr64
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
xor eax, eax
mov r12, rdi
push rbx
.cfi_def_cfa_offset 24
.cfi_offset 3, -24
sub rsp, 8
.cfi_def_cfa_offset 32
call get@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, r12
mov edx, eax
call errort@PLT
.L2:
mov edi, DWORD PTR 8[rbx]
call ast_label_addr@PLT
mov edi, DWORD PTR gotos[rip]
mov rsi, rax
mov r12, rax
call vec_push@PLT
add rsp, 8
.cfi_def_cfa_offset 24
mov rax, r12
pop rbx
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size read_label_addr, .-read_label_addr
.globl gotos
.bss
.align 4
.type gotos, @object
.size gotos, 4
gotos:
.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_parse.c_read_label_addr.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "label name expected after &&, but got %s\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type read_label_addr, %function
read_label_addr:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
mov r5, r0
bl get
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, r5
bl errort
.L2:
ldr r0, [r4, #4]
bl ast_label_addr
mov r4, r0
ldr r3, .L5+8
mov r1, r0
ldr r0, [r3]
bl vec_push
mov r0, r4
pop {r4, r5, r6, pc}
.L6:
.align 2
.L5:
.word TIDENT
.word .LC0
.word gotos
.size read_label_addr, .-read_label_addr
.comm gotos,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_parse.c_read_label_tail.c"
.intel_syntax noprefix
.text
.p2align 4
.type read_label_tail, @function
read_label_tail:
.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
push rbp
.cfi_def_cfa_offset 32
.cfi_offset 6, -32
call read_stmt@PLT
mov r12, rax
xor eax, eax
call make_vector@PLT
mov rsi, r13
mov rdi, rax
mov rbp, rax
call vec_push@PLT
test r12, r12
je .L2
mov rsi, r12
mov rdi, rbp
call vec_push@PLT
.L2:
mov rdi, rbp
pop rbp
.cfi_def_cfa_offset 24
pop r12
.cfi_def_cfa_offset 16
pop r13
.cfi_def_cfa_offset 8
jmp ast_compound_stmt@PLT
.cfi_endproc
.LFE0:
.size read_label_tail, .-read_label_tail
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_parse.c_read_label_tail.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type read_label_tail, %function
read_label_tail:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
mov r6, r0
bl read_stmt
mov r5, r0
bl make_vector
mov r1, r6
mov r4, r0
bl vec_push
cmp r5, #0
beq .L2
mov r1, r5
mov r0, r4
bl vec_push
.L2:
mov r0, r4
pop {r4, r5, r6, lr}
b ast_compound_stmt
.size read_label_tail, .-read_label_tail
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_parse.c_read_logand_expr.c"
.intel_syntax noprefix
.text
.p2align 4
.type read_logand_expr, @function
read_logand_expr:
.LFB0:
.cfi_startproc
endbr64
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
xor eax, eax
call read_bitor_expr@PLT
mov r12, rax
jmp .L2
.p2align 4,,10
.p2align 3
.L3:
xor eax, eax
call read_bitor_expr@PLT
mov esi, DWORD PTR OP_LOGAND[rip]
mov edi, DWORD PTR type_int[rip]
mov rdx, r12
mov rcx, rax
call ast_binop@PLT
mov r12, rax
.L2:
mov edi, DWORD PTR OP_LOGAND[rip]
call next_token@PLT
test rax, rax
jne .L3
mov rax, r12
pop r12
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size read_logand_expr, .-read_logand_expr
.globl type_int
.bss
.align 4
.type type_int, @object
.size type_int, 4
type_int:
.zero 4
.globl OP_LOGAND
.align 4
.type OP_LOGAND, @object
.size OP_LOGAND, 4
OP_LOGAND:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_parse.c_read_logand_expr.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type read_logand_expr, %function
read_logand_expr:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, lr}
bl read_bitor_expr
ldr r5, .L6
mov r4, r0
ldr r8, .L6+4
b .L2
.L3:
ldr r6, [r8]
ldr r7, [r5]
bl read_bitor_expr
mov r2, r4
mov r3, r0
mov r1, r7
mov r0, r6
bl ast_binop
mov r4, r0
.L2:
ldr r0, [r5]
bl next_token
cmp r0, #0
bne .L3
mov r0, r4
pop {r4, r5, r6, r7, r8, pc}
.L7:
.align 2
.L6:
.word OP_LOGAND
.word type_int
.size read_logand_expr, .-read_logand_expr
.comm type_int,4,4
.comm OP_LOGAND,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_parse.c_read_logor_expr.c"
.intel_syntax noprefix
.text
.p2align 4
.type read_logor_expr, @function
read_logor_expr:
.LFB0:
.cfi_startproc
endbr64
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
xor eax, eax
call read_logand_expr@PLT
mov r12, rax
jmp .L2
.p2align 4,,10
.p2align 3
.L3:
xor eax, eax
call read_logand_expr@PLT
mov esi, DWORD PTR OP_LOGOR[rip]
mov edi, DWORD PTR type_int[rip]
mov rdx, r12
mov rcx, rax
call ast_binop@PLT
mov r12, rax
.L2:
mov edi, DWORD PTR OP_LOGOR[rip]
call next_token@PLT
test rax, rax
jne .L3
mov rax, r12
pop r12
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size read_logor_expr, .-read_logor_expr
.globl type_int
.bss
.align 4
.type type_int, @object
.size type_int, 4
type_int:
.zero 4
.globl OP_LOGOR
.align 4
.type OP_LOGOR, @object
.size OP_LOGOR, 4
OP_LOGOR:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_parse.c_read_logor_expr.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type read_logor_expr, %function
read_logor_expr:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, lr}
bl read_logand_expr
ldr r5, .L6
mov r4, r0
ldr r8, .L6+4
b .L2
.L3:
ldr r6, [r8]
ldr r7, [r5]
bl read_logand_expr
mov r2, r4
mov r3, r0
mov r1, r7
mov r0, r6
bl ast_binop
mov r4, r0
.L2:
ldr r0, [r5]
bl next_token
cmp r0, #0
bne .L3
mov r0, r4
pop {r4, r5, r6, r7, r8, pc}
.L7:
.align 2
.L6:
.word OP_LOGOR
.word type_int
.size read_logor_expr, .-read_logor_expr
.comm type_int,4,4
.comm OP_LOGOR,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_parse.c_read_multiplicative_expr.c"
.intel_syntax noprefix
.text
.p2align 4
.type read_multiplicative_expr, @function
read_multiplicative_expr:
.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_cast_expr@PLT
mov rbp, rax
.p2align 4,,10
.p2align 3
.L2:
mov edi, 42
call next_token@PLT
test rax, rax
jne .L9
.L3:
mov edi, 47
call next_token@PLT
test rax, rax
jne .L10
mov edi, 37
call next_token@PLT
test rax, rax
je .L1
xor eax, eax
call read_cast_expr@PLT
mov rdi, rax
call conv@PLT
mov rdi, rbp
mov r12d, eax
call conv@PLT
mov edi, 37
mov edx, r12d
mov esi, eax
call binop@PLT
mov edi, 42
mov rbp, rax
call next_token@PLT
test rax, rax
je .L3
.L9:
xor eax, eax
call read_cast_expr@PLT
mov rdi, rax
call conv@PLT
mov rdi, rbp
mov r12d, eax
call conv@PLT
mov edx, r12d
mov edi, 42
mov esi, eax
call binop@PLT
mov rbp, rax
jmp .L2
.p2align 4,,10
.p2align 3
.L10:
xor eax, eax
call read_cast_expr@PLT
mov rdi, rax
call conv@PLT
mov rdi, rbp
mov r12d, eax
call conv@PLT
mov edx, r12d
mov edi, 47
mov esi, eax
call binop@PLT
mov rbp, rax
jmp .L2
.p2align 4,,10
.p2align 3
.L1:
add rsp, 8
.cfi_def_cfa_offset 24
mov rax, rbp
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size read_multiplicative_expr, .-read_multiplicative_expr
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_parse.c_read_multiplicative_expr.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type read_multiplicative_expr, %function
read_multiplicative_expr:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
bl read_cast_expr
mov r4, r0
.L2:
mov r0, #42
bl next_token
cmp r0, #0
bne .L9
.L3:
mov r0, #47
bl next_token
cmp r0, #0
bne .L10
mov r0, #37
bl next_token
cmp r0, #0
mov r0, r4
popeq {r4, pc}
bl conv
mov r4, r0
bl read_cast_expr
bl conv
mov r1, r4
mov r2, r0
mov r0, #37
bl binop
mov r4, r0
mov r0, #42
bl next_token
cmp r0, #0
beq .L3
.L9:
mov r0, r4
bl conv
mov r4, r0
bl read_cast_expr
bl conv
mov r1, r4
mov r2, r0
mov r0, #42
bl binop
mov r4, r0
b .L2
.L10:
mov r0, r4
bl conv
mov r4, r0
bl read_cast_expr
bl conv
mov r1, r4
mov r2, r0
mov r0, #47
bl binop
mov r4, r0
b .L2
.size read_multiplicative_expr, .-read_multiplicative_expr
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_parse.c_read_number.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string ".pP"
.LC1:
.string "0x"
.LC2:
.string "eE"
.text
.p2align 4
.type read_number, @function
read_number:
.LFB0:
.cfi_startproc
endbr64
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
lea rsi, .LC0[rip]
push rbp
.cfi_def_cfa_offset 24
.cfi_offset 6, -24
mov rbp, rdi
sub rsp, 8
.cfi_def_cfa_offset 32
mov r12, QWORD PTR [rdi]
mov rdi, r12
call strpbrk@PLT
test rax, rax
jne .L4
mov edx, 2
lea rsi, .LC1[rip]
mov rdi, r12
call strncasecmp@PLT
test rax, rax
je .L3
lea rsi, .LC2[rip]
mov rdi, r12
call strpbrk@PLT
test rax, rax
je .L3
.L4:
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 24
mov rdi, rbp
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
jmp read_float@PLT
.p2align 4,,10
.p2align 3
.L3:
.cfi_restore_state
add rsp, 8
.cfi_def_cfa_offset 24
mov rdi, rbp
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
jmp read_int@PLT
.cfi_endproc
.LFE0:
.size read_number, .-read_number
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_parse.c_read_number.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii ".pP\000"
.align 2
.LC1:
.ascii "0x\000"
.align 2
.LC2:
.ascii "eE\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type read_number, %function
read_number:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
ldr r5, [r0]
mov r4, r0
ldr r1, .L9
mov r0, r5
bl strpbrk
cmp r0, #0
bne .L2
mov r2, #2
mov r0, r5
ldr r1, .L9+4
bl strncasecmp
cmp r0, #0
beq .L3
mov r0, r5
ldr r1, .L9+8
bl strpbrk
cmp r0, #0
bne .L2
.L3:
mov r0, r4
pop {r4, r5, r6, lr}
b read_int
.L2:
mov r0, r4
pop {r4, r5, r6, lr}
b read_float
.L10:
.align 2
.L9:
.word .LC0
.word .LC1
.word .LC2
.size read_number, .-read_number
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_parse.c_read_oldstyle_param_args.c"
.intel_syntax noprefix
.text
.section .rodata.str1.8,"aMS",@progbits,1
.align 8
.LC0:
.string "K&R-style declarator expected, but got %s"
.text
.p2align 4
.type read_oldstyle_param_args, @function
read_oldstyle_param_args:
.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
lea rbx, .LC0[rip]
sub rsp, 8
.cfi_def_cfa_offset 48
mov rbp, QWORD PTR localenv[rip]
mov QWORD PTR localenv[rip], 0
call make_vector@PLT
mov r12, rax
jmp .L4
.p2align 4,,10
.p2align 3
.L3:
xor esi, esi
mov rdi, r12
call read_decl@PLT
.L4:
xor eax, eax
call peek@PLT
mov esi, 123
mov edi, eax
call is_keyword@PLT
test rax, rax
jne .L2
call peek@PLT
mov edi, eax
call is_type@PLT
test eax, eax
jne .L3
call peek@PLT
mov edi, eax
call tok2s@PLT
mov r13d, eax
xor eax, eax
call peek@PLT
mov edx, r13d
mov rsi, rbx
mov edi, eax
call errort@PLT
jmp .L3
.p2align 4,,10
.p2align 3
.L2:
mov QWORD PTR localenv[rip], rbp
add rsp, 8
.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
.cfi_endproc
.LFE0:
.size read_oldstyle_param_args, .-read_oldstyle_param_args
.globl localenv
.bss
.align 8
.type localenv, @object
.size localenv, 8
localenv:
.zero 8
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_parse.c_read_oldstyle_param_args.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "K&R-style declarator expected, but got %s\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type read_oldstyle_param_args, %function
read_oldstyle_param_args:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
mov r3, #0
push {r4, r5, r6, r7, r8, lr}
ldr r6, .L7
ldr r7, .L7+4
ldr r8, [r6]
str r3, [r6]
bl make_vector
mov r4, r0
b .L4
.L3:
mov r1, #0
mov r0, r4
bl read_decl
.L4:
bl peek
mov r1, #123
bl is_keyword
cmp r0, #0
bne .L2
bl peek
bl is_type
cmp r0, #0
bne .L3
bl peek
mov r5, r0
bl peek
bl tok2s
mov r1, r7
mov r2, r0
mov r0, r5
bl errort
b .L3
.L2:
mov r0, r4
str r8, [r6]
pop {r4, r5, r6, r7, r8, pc}
.L8:
.align 2
.L7:
.word localenv
.word .LC0
.size read_oldstyle_param_args, .-read_oldstyle_param_args
.comm localenv,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_parse.c_read_oldstyle_param_type.c"
.intel_syntax noprefix
.text
.p2align 4
.type read_oldstyle_param_type, @function
read_oldstyle_param_type:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
xor eax, eax
mov rbp, rdi
call read_oldstyle_param_args@PLT
mov rdi, rbp
pop rbp
.cfi_def_cfa_offset 8
mov rsi, rax
jmp update_oldstyle_param_type@PLT
.cfi_endproc
.LFE0:
.size read_oldstyle_param_type, .-read_oldstyle_param_type
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_parse.c_read_oldstyle_param_type.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type read_oldstyle_param_type, %function
read_oldstyle_param_type:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
mov r4, r0
bl read_oldstyle_param_args
mov r1, r0
mov r0, r4
pop {r4, lr}
b update_oldstyle_param_type
.size read_oldstyle_param_type, .-read_oldstyle_param_type
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_parse.c_read_opt_decl_or_stmt.c"
.intel_syntax noprefix
.text
.p2align 4
.type read_opt_decl_or_stmt, @function
read_opt_decl_or_stmt:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov edi, 59
call next_token@PLT
test rax, rax
jne .L2
call make_vector@PLT
mov rbp, rax
mov rdi, rax
call read_decl_or_stmt@PLT
mov rdi, rbp
pop rbp
.cfi_remember_state
.cfi_def_cfa_offset 8
jmp ast_compound_stmt@PLT
.p2align 4,,10
.p2align 3
.L2:
.cfi_restore_state
xor eax, eax
pop rbp
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size read_opt_decl_or_stmt, .-read_opt_decl_or_stmt
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_parse.c_read_opt_decl_or_stmt.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type read_opt_decl_or_stmt, %function
read_opt_decl_or_stmt:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
mov r0, #59
push {r4, lr}
bl next_token
cmp r0, #0
bne .L2
bl make_vector
mov r4, r0
bl read_decl_or_stmt
mov r0, r4
pop {r4, lr}
b ast_compound_stmt
.L2:
mov r0, #0
pop {r4, pc}
.size read_opt_decl_or_stmt, .-read_opt_decl_or_stmt
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_parse.c_read_postfix_expr.c"
.intel_syntax noprefix
.text
.p2align 4
.type read_postfix_expr, @function
read_postfix_expr:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 8
.cfi_def_cfa_offset 16
xor eax, eax
call read_primary_expr@PLT
add rsp, 8
.cfi_def_cfa_offset 8
mov rdi, rax
jmp read_postfix_expr_tail@PLT
.cfi_endproc
.LFE0:
.size read_postfix_expr, .-read_postfix_expr
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_parse.c_read_postfix_expr.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type read_postfix_expr, %function
read_postfix_expr:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
bl read_primary_expr
pop {r4, lr}
b read_postfix_expr_tail
.size read_postfix_expr, .-read_postfix_expr
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_parse.c_read_postfix_expr_tail.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "function expected, but got %s"
.section .rodata.str1.8,"aMS",@progbits,1
.align 8
.LC1:
.string "pointer type expected, but got %s %s"
.text
.p2align 4
.type read_postfix_expr_tail, @function
read_postfix_expr_tail:
.LFB0:
.cfi_startproc
endbr64
test rdi, rdi
je .L17
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
lea rbx, .LC1[rip]
.L3:
mov edi, 40
call next_token@PLT
test rax, rax
jne .L23
mov edi, 91
call next_token@PLT
test rax, rax
jne .L24
mov edi, 46
call next_token@PLT
test rax, rax
jne .L25
movsx edi, BYTE PTR OP_ARROW[rip]
call next_token@PLT
test rax, rax
jne .L26
xor eax, eax
call peek@PLT
movsx edi, BYTE PTR OP_INC[rip]
mov r12, rax
call next_token@PLT
test rax, rax
jne .L15
movsx edi, BYTE PTR OP_DEC[rip]
call next_token@PLT
test rax, rax
jne .L15
mov rax, rbp
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
.L15:
.cfi_restore_state
mov rdi, rbp
call ensure_lvalue@PLT
movsx esi, BYTE PTR OP_INC[rip]
mov rdi, r12
call is_keyword@PLT
mov edi, DWORD PTR OP_POST_DEC[rip]
pop rbx
.cfi_remember_state
.cfi_restore 3
.cfi_def_cfa_offset 24
mov rdx, rbp
mov rsi, QWORD PTR 0[rbp]
test rax, rax
cmovne edi, DWORD PTR OP_POST_INC[rip]
pop rbp
.cfi_restore 6
.cfi_def_cfa_offset 16
pop r12
.cfi_restore 12
.cfi_def_cfa_offset 8
jmp ast_uop@PLT
.p2align 4,,10
.p2align 3
.L23:
.cfi_restore_state
xor eax, eax
call peek@PLT
mov rdi, rbp
mov r12, rax
call conv@PLT
mov rcx, QWORD PTR KIND_PTR[rip]
mov rbp, rax
mov rax, QWORD PTR [rax]
cmp QWORD PTR [rax], rcx
jne .L5
mov rax, QWORD PTR 8[rax]
mov rcx, QWORD PTR KIND_FUNC[rip]
cmp QWORD PTR [rax], rcx
je .L6
.L5:
mov rdi, rbp
call node2s@PLT
lea rsi, .LC0[rip]
mov rdi, r12
mov rdx, rax
call errort@PLT
.L6:
mov rdi, rbp
call read_funcall@PLT
mov rbp, rax
jmp .L3
.p2align 4,,10
.p2align 3
.L26:
mov rax, QWORD PTR 0[rbp]
mov rcx, QWORD PTR KIND_PTR[rip]
cmp QWORD PTR [rax], rcx
je .L11
mov rdi, rbp
call node2s@PLT
mov rdi, QWORD PTR 0[rbp]
mov r12, rax
call ty2s@PLT
mov rdx, r12
mov rdi, rbx
mov esi, eax
call error@PLT
mov rax, QWORD PTR 0[rbp]
.L11:
mov rsi, QWORD PTR 8[rax]
mov edi, DWORD PTR AST_DEREF[rip]
mov rdx, rbp
call ast_uop@PLT
mov rdi, rax
call read_struct_field@PLT
mov rbp, rax
jmp .L3
.p2align 4,,10
.p2align 3
.L24:
mov rdi, rbp
call read_subscript_expr@PLT
mov rbp, rax
jmp .L3
.p2align 4,,10
.p2align 3
.L25:
mov rdi, rbp
call read_struct_field@PLT
mov rbp, rax
jmp .L3
.p2align 4,,10
.p2align 3
.L17:
.cfi_def_cfa_offset 8
.cfi_restore 3
.cfi_restore 6
.cfi_restore 12
xor eax, eax
ret
.cfi_endproc
.LFE0:
.size read_postfix_expr_tail, .-read_postfix_expr_tail
.globl OP_POST_INC
.bss
.align 4
.type OP_POST_INC, @object
.size OP_POST_INC, 4
OP_POST_INC:
.zero 4
.globl OP_POST_DEC
.align 4
.type OP_POST_DEC, @object
.size OP_POST_DEC, 4
OP_POST_DEC:
.zero 4
.globl OP_INC
.type OP_INC, @object
.size OP_INC, 1
OP_INC:
.zero 1
.globl OP_DEC
.type OP_DEC, @object
.size OP_DEC, 1
OP_DEC:
.zero 1
.globl OP_ARROW
.type OP_ARROW, @object
.size OP_ARROW, 1
OP_ARROW:
.zero 1
.globl KIND_PTR
.align 8
.type KIND_PTR, @object
.size KIND_PTR, 8
KIND_PTR:
.zero 8
.globl KIND_FUNC
.align 8
.type KIND_FUNC, @object
.size KIND_FUNC, 8
KIND_FUNC:
.zero 8
.globl AST_DEREF
.align 4
.type AST_DEREF, @object
.size AST_DEREF, 4
AST_DEREF:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_parse.c_read_postfix_expr_tail.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "function expected, but got %s\000"
.align 2
.LC1:
.ascii "pointer type expected, but got %s %s\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type read_postfix_expr_tail, %function
read_postfix_expr_tail:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
subs r4, r0, #0
beq .L1
ldr r5, .L26
ldr r6, .L26+4
ldr r7, .L26+8
ldr r10, .L26+12
ldr r8, .L26+16
ldr r9, .L26+20
.L3:
mov r0, #40
bl next_token
cmp r0, #0
bne .L22
mov r0, #91
bl next_token
cmp r0, #0
bne .L23
mov r0, #46
bl next_token
cmp r0, #0
bne .L24
ldrb r0, [r5] @ zero_extendqisi2
bl next_token
cmp r0, #0
bne .L25
bl peek
ldr r6, .L26+24
mov r5, r0
ldrb r0, [r6] @ zero_extendqisi2
bl next_token
cmp r0, #0
bne .L15
ldr r3, .L26+28
ldrb r0, [r3] @ zero_extendqisi2
bl next_token
cmp r0, #0
bne .L15
.L1:
mov r0, r4
pop {r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L15:
mov r0, r4
bl ensure_lvalue
mov r0, r5
ldrb r1, [r6] @ zero_extendqisi2
bl is_keyword
cmp r0, #0
bne .L13
ldr r3, .L26+32
mov r2, r4
ldr r0, [r3]
ldr r1, [r4]
pop {r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
b ast_uop
.L22:
bl peek
mov fp, r0
mov r0, r4
bl conv
ldr r3, [r0]
ldr r2, [r6]
ldr r1, [r3]
mov r4, r0
cmp r1, r2
bne .L5
ldr r2, [r3, #4]
ldr r3, [r9]
ldr r2, [r2]
cmp r2, r3
beq .L6
.L5:
mov r0, r4
bl node2s
mov r1, r8
mov r2, r0
mov r0, fp
bl errort
.L6:
mov r0, r4
bl read_funcall
mov r4, r0
b .L3
.L13:
ldr r3, .L26+36
mov r2, r4
ldr r0, [r3]
ldr r1, [r4]
pop {r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
b ast_uop
.L25:
ldr r0, [r4]
ldr r3, [r6]
ldr r2, [r0]
cmp r2, r3
beq .L11
bl ty2s
mov fp, r0
mov r0, r4
bl node2s
mov r1, fp
mov r2, r0
mov r0, r10
bl error
ldr r0, [r4]
.L11:
mov r2, r4
ldr r1, [r0, #4]
ldr r0, [r7]
bl ast_uop
bl read_struct_field
mov r4, r0
b .L3
.L23:
mov r0, r4
bl read_subscript_expr
mov r4, r0
b .L3
.L24:
mov r0, r4
bl read_struct_field
mov r4, r0
b .L3
.L27:
.align 2
.L26:
.word OP_ARROW
.word KIND_PTR
.word AST_DEREF
.word .LC1
.word .LC0
.word KIND_FUNC
.word OP_INC
.word OP_DEC
.word OP_POST_DEC
.word OP_POST_INC
.size read_postfix_expr_tail, .-read_postfix_expr_tail
.comm OP_POST_INC,4,4
.comm OP_POST_DEC,4,4
.comm OP_INC,1,1
.comm OP_DEC,1,1
.comm OP_ARROW,1,1
.comm KIND_PTR,4,4
.comm KIND_FUNC,4,4
.comm AST_DEREF,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_parse.c_read_primary_expr.c"
.intel_syntax noprefix
.text
.section .rodata.str1.8,"aMS",@progbits,1
.align 8
.LC0:
.string "internal error: unknown token kind: %d"
.text
.p2align 4
.type read_primary_expr, @function
read_primary_expr:
.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 get@PLT
mov r12, rax
test rax, rax
je .L1
mov esi, 40
mov rdi, rax
call is_keyword@PLT
test rax, rax
jne .L18
movsx esi, BYTE PTR KGENERIC[rip]
mov rdi, r12
call is_keyword@PLT
test rax, rax
jne .L19
mov esi, DWORD PTR [r12]
lea eax, -128[rsi]
cmp eax, 4
ja .L6
lea rdx, .L8[rip]
movsx rax, DWORD PTR [rdx+rax*4]
add rax, rdx
notrack jmp rax
.section .rodata
.align 4
.align 4
.L8:
.long .L12-.L8
.long .L11-.L8
.long .L10-.L8
.long .L9-.L8
.long .L7-.L8
.text
.p2align 4,,10
.p2align 3
.L18:
mov edi, 123
call next_token@PLT
test rax, rax
mov eax, 0
jne .L20
call read_expr@PLT
mov edi, 41
mov r12, rax
call expect@PLT
.L1:
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 24
mov rax, r12
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L20:
.cfi_restore_state
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_stmt_expr@PLT
.p2align 4,,10
.p2align 3
.L19:
.cfi_restore_state
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 24
xor eax, eax
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
jmp read_generic@PLT
.p2align 4,,10
.p2align 3
.L9:
.cfi_restore_state
mov edi, DWORD PTR 8[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_var_or_func@PLT
.p2align 4,,10
.p2align 3
.L7:
.cfi_restore_state
mov edi, DWORD PTR 12[r12]
mov ebp, DWORD PTR 16[r12]
call char_type@PLT
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 24
mov esi, ebp
mov edi, eax
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
jmp ast_inttype@PLT
.p2align 4,,10
.p2align 3
.L12:
.cfi_restore_state
mov edx, DWORD PTR 4[r12]
mov esi, DWORD PTR 8[r12]
mov edi, DWORD PTR 12[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 ast_string@PLT
.p2align 4,,10
.p2align 3
.L11:
.cfi_restore_state
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 24
mov rdi, r12
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
jmp read_number@PLT
.p2align 4,,10
.p2align 3
.L10:
.cfi_restore_state
mov rdi, r12
xor r12d, r12d
call unget_token@PLT
jmp .L1
.L6:
lea rdi, .LC0[rip]
call error@PLT
jmp .L1
.cfi_endproc
.LFE0:
.size read_primary_expr, .-read_primary_expr
.globl KGENERIC
.bss
.type KGENERIC, @object
.size KGENERIC, 1
KGENERIC:
.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_parse.c_read_primary_expr.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "internal error: unknown token kind: %d\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type read_primary_expr, %function
read_primary_expr:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
bl get
subs r4, r0, #0
beq .L1
mov r1, #40
bl is_keyword
cmp r0, #0
bne .L18
ldr r3, .L21
mov r0, r4
ldrb r1, [r3] @ zero_extendqisi2
bl is_keyword
cmp r0, #0
bne .L19
ldr r1, [r4]
sub r3, r1, #128
cmp r3, #4
ldrls pc, [pc, r3, asl #2]
b .L6
.L8:
.word .L12
.word .L11
.word .L10
.word .L9
.word .L7
.L18:
mov r0, #123
bl next_token
cmp r0, #0
bne .L20
bl read_expr
mov r4, r0
mov r0, #41
bl expect
.L1:
mov r0, r4
pop {r4, pc}
.L20:
pop {r4, lr}
b read_stmt_expr
.L19:
pop {r4, lr}
b read_generic
.L7:
ldr r0, [r4, #12]
bl char_type
ldr r1, [r4, #16]
pop {r4, lr}
b ast_inttype
.L12:
ldr r2, [r4, #4]
ldr r1, [r4, #8]
ldr r0, [r4, #12]
pop {r4, lr}
b ast_string
.L11:
mov r0, r4
pop {r4, lr}
b read_number
.L10:
mov r0, r4
bl unget_token
mov r4, #0
b .L1
.L9:
ldr r0, [r4, #8]
pop {r4, lr}
b read_var_or_func
.L6:
ldr r0, .L21+4
pop {r4, lr}
b error
.L22:
.align 2
.L21:
.word KGENERIC
.word .LC0
.size read_primary_expr, .-read_primary_expr
.comm KGENERIC,1,1
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_parse.c_read_rectype_def.c"
.intel_syntax noprefix
.text
.section .rodata.str1.8,"aMS",@progbits,1
.align 8
.LC0:
.string "declarations of %s does not match"
.text
.p2align 4
.type read_rectype_def, @function
read_rectype_def:
.LFB0:
.cfi_startproc
endbr64
push r13
.cfi_def_cfa_offset 16
.cfi_offset 13, -16
mov r13d, edi
push r12
.cfi_def_cfa_offset 24
.cfi_offset 12, -24
push rbp
.cfi_def_cfa_offset 32
.cfi_offset 6, -32
sub rsp, 16
.cfi_def_cfa_offset 48
mov rax, QWORD PTR fs:40
mov QWORD PTR 8[rsp], rax
xor eax, eax
call read_rectype_tag@PLT
test rax, rax
je .L2
mov edi, DWORD PTR tags[rip]
mov rsi, rax
mov rbp, rax
call map_get@PLT
mov r12, rax
test rax, rax
je .L3
mov rax, QWORD PTR KIND_ENUM[rip]
cmp QWORD PTR [r12], rax
je .L4
cmp DWORD PTR 8[r12], r13d
je .L5
.L4:
mov rsi, rbp
lea rdi, .LC0[rip]
call error@PLT
.L5:
mov edx, r13d
lea rsi, 4[rsp]
mov rdi, rsp
mov DWORD PTR [rsp], 0
mov DWORD PTR 4[rsp], 1
call read_rectype_fields@PLT
mov edx, DWORD PTR 4[rsp]
mov DWORD PTR 12[r12], edx
test rax, rax
je .L1
mov QWORD PTR 24[r12], rax
mov eax, DWORD PTR [rsp]
mov DWORD PTR 16[r12], eax
.L1:
mov rax, QWORD PTR 8[rsp]
sub rax, QWORD PTR fs:40
jne .L13
add rsp, 16
.cfi_remember_state
.cfi_def_cfa_offset 32
mov rax, r12
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
.L2:
.cfi_restore_state
mov edi, r13d
call make_rectype@PLT
mov r12, rax
jmp .L5
.p2align 4,,10
.p2align 3
.L3:
mov edi, r13d
call make_rectype@PLT
mov edi, DWORD PTR tags[rip]
mov rsi, rbp
mov rdx, rax
mov r12, rax
call map_put@PLT
jmp .L5
.L13:
call __stack_chk_fail@PLT
.cfi_endproc
.LFE0:
.size read_rectype_def, .-read_rectype_def
.globl tags
.bss
.align 4
.type tags, @object
.size tags, 4
tags:
.zero 4
.globl KIND_ENUM
.align 8
.type KIND_ENUM, @object
.size KIND_ENUM, 8
KIND_ENUM:
.zero 8
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_parse.c_read_rectype_def.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "declarations of %s does not match\000"
.section .rodata.cst4,"aM",%progbits,4
.align 2
.LC1:
.word __stack_chk_guard
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type read_rectype_def, %function
read_rectype_def:
@ args = 0, pretend = 0, frame = 16
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, lr}
ldr r3, .L14
sub sp, sp, #20
ldr r3, [r3]
str r3, [sp, #12]
mov r3,#0
mov r6, r0
bl read_rectype_tag
subs r5, r0, #0
beq .L2
ldr r7, .L14+4
mov r1, r5
ldr r0, [r7]
bl map_get
subs r4, r0, #0
beq .L3
ldr r3, .L14+8
ldr r2, [r4]
ldr r3, [r3]
cmp r2, r3
beq .L4
ldr r3, [r4, #4]
cmp r3, r6
beq .L5
.L4:
mov r1, r5
ldr r0, .L14+12
bl error
.L5:
mov r3, #1
mov ip, #0
mov r2, r6
add r1, sp, #8
add r0, sp, #4
str r3, [sp, #8]
str ip, [sp, #4]
bl read_rectype_fields
ldr r3, [sp, #8]
cmp r0, #0
str r3, [r4, #8]
ldrne r3, [sp, #4]
strne r0, [r4, #16]
strne r3, [r4, #12]
.L1:
ldr r3, .L14
ldr r2, [r3]
ldr r3, [sp, #12]
eors r2, r3, r2
mov r3, #0
bne .L13
mov r0, r4
add sp, sp, #20
@ sp needed
pop {r4, r5, r6, r7, pc}
.L2:
mov r0, r6
bl make_rectype
mov r4, r0
b .L5
.L3:
mov r0, r6
bl make_rectype
mov r4, r0
mov r1, r5
mov r2, r4
ldr r0, [r7]
bl map_put
b .L5
.L13:
bl __stack_chk_fail
.L15:
.align 2
.L14:
.word .LC1
.word tags
.word KIND_ENUM
.word .LC0
.size read_rectype_def, .-read_rectype_def
.comm tags,4,4
.comm KIND_ENUM,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_parse.c_read_rectype_fields.c"
.intel_syntax noprefix
.text
.p2align 4
.type read_rectype_fields, @function
read_rectype_fields:
.LFB0:
.cfi_startproc
endbr64
push r13
.cfi_def_cfa_offset 16
.cfi_offset 13, -16
push r12
.cfi_def_cfa_offset 24
.cfi_offset 12, -24
mov r12, rsi
push rbp
.cfi_def_cfa_offset 32
.cfi_offset 6, -32
mov rbp, rdi
mov edi, 123
push rbx
.cfi_def_cfa_offset 40
.cfi_offset 3, -40
mov ebx, edx
sub rsp, 8
.cfi_def_cfa_offset 48
call next_token@PLT
test eax, eax
je .L2
xor eax, eax
call read_rectype_fields_sub@PLT
mov r13, rax
mov rdi, rax
call fix_rectype_flexible_member@PLT
mov rdx, r13
mov rsi, r12
mov rdi, rbp
test ebx, ebx
jne .L6
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 40
pop rbx
.cfi_def_cfa_offset 32
pop rbp
.cfi_def_cfa_offset 24
pop r12
.cfi_def_cfa_offset 16
pop r13
.cfi_def_cfa_offset 8
jmp update_union_offset@PLT
.p2align 4,,10
.p2align 3
.L6:
.cfi_restore_state
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 40
pop rbx
.cfi_def_cfa_offset 32
pop rbp
.cfi_def_cfa_offset 24
pop r12
.cfi_def_cfa_offset 16
pop r13
.cfi_def_cfa_offset 8
jmp update_struct_offset@PLT
.p2align 4,,10
.p2align 3
.L2:
.cfi_restore_state
add rsp, 8
.cfi_def_cfa_offset 40
xor eax, eax
pop rbx
.cfi_def_cfa_offset 32
pop rbp
.cfi_def_cfa_offset 24
pop r12
.cfi_def_cfa_offset 16
pop r13
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size read_rectype_fields, .-read_rectype_fields
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_parse.c_read_rectype_fields.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type read_rectype_fields, %function
read_rectype_fields:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, lr}
mov r4, r0
mov r0, #123
mov r5, r1
mov r6, r2
bl next_token
cmp r0, #0
popeq {r4, r5, r6, r7, r8, pc}
bl read_rectype_fields_sub
mov r7, r0
bl fix_rectype_flexible_member
cmp r6, #0
mov r2, r7
mov r1, r5
mov r0, r4
bne .L6
pop {r4, r5, r6, r7, r8, lr}
b update_union_offset
.L6:
pop {r4, r5, r6, r7, r8, lr}
b update_struct_offset
.size read_rectype_fields, .-read_rectype_fields
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_parse.c_read_rectype_fields_sub.c"
.intel_syntax noprefix
.text
.section .rodata.str1.8,"aMS",@progbits,1
.align 8
.LC0:
.string "missing ';' at the end of field list"
.text
.p2align 4
.type read_rectype_fields_sub, @function
read_rectype_fields_sub:
.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
push rbx
.cfi_def_cfa_offset 40
.cfi_offset 3, -40
sub rsp, 24
.cfi_def_cfa_offset 64
mov rax, QWORD PTR fs:40
mov QWORD PTR 8[rsp], rax
xor eax, eax
mov rbx, rsp
call make_vector@PLT
mov r13, rax
.p2align 4,,10
.p2align 3
.L2:
movsx edi, BYTE PTR KSTATIC_ASSERT[rip]
call next_token@PLT
test rax, rax
mov eax, 0
jne .L21
call peek@PLT
mov edi, eax
call is_type@PLT
test eax, eax
je .L5
xor edi, edi
call read_decl_spec@PLT
mov r12, rax
mov rax, QWORD PTR KIND_STRUCT[rip]
cmp QWORD PTR [r12], rax
je .L22
.L7:
mov ecx, DWORD PTR DECL_PARAM_TYPEONLY[rip]
xor edx, edx
mov rsi, r12
mov rdi, rbx
mov QWORD PTR [rsp], 0
call read_declarator@PLT
mov rbp, rax
mov rdi, rax
call ensure_not_void@PLT
mov rdi, rbp
call copy_type@PLT
mov edi, 58
mov rbp, rax
call next_token@PLT
mov r8, rax
mov eax, -1
test r8, r8
jne .L23
.L9:
mov DWORD PTR 8[rbp], eax
mov rdi, QWORD PTR [rsp]
mov rsi, rbp
call make_pair@PLT
mov rdi, r13
mov esi, eax
call vec_push@PLT
mov edi, 44
call next_token@PLT
test rax, rax
jne .L7
call peek@PLT
mov esi, 125
mov edi, eax
call is_keyword@PLT
test rax, rax
je .L11
xor eax, eax
call peek@PLT
lea rsi, .LC0[rip]
mov edi, eax
call warnt@PLT
jmp .L2
.p2align 4,,10
.p2align 3
.L11:
mov edi, 59
call expect@PLT
jmp .L2
.p2align 4,,10
.p2align 3
.L23:
mov rdi, QWORD PTR [rsp]
mov rsi, rbp
call read_bitsize@PLT
jmp .L9
.p2align 4,,10
.p2align 3
.L22:
mov edi, 59
call next_token@PLT
test rax, rax
je .L7
mov rsi, r12
xor edi, edi
call make_pair@PLT
mov rdi, r13
mov esi, eax
call vec_push@PLT
jmp .L2
.p2align 4,,10
.p2align 3
.L21:
call read_static_assert@PLT
jmp .L2
.p2align 4,,10
.p2align 3
.L5:
mov edi, 125
call expect@PLT
mov rax, QWORD PTR 8[rsp]
sub rax, QWORD PTR fs:40
jne .L24
add rsp, 24
.cfi_remember_state
.cfi_def_cfa_offset 40
mov rax, r13
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
.L24:
.cfi_restore_state
call __stack_chk_fail@PLT
.cfi_endproc
.LFE0:
.size read_rectype_fields_sub, .-read_rectype_fields_sub
.globl KSTATIC_ASSERT
.bss
.type KSTATIC_ASSERT, @object
.size KSTATIC_ASSERT, 1
KSTATIC_ASSERT:
.zero 1
.globl KIND_STRUCT
.align 8
.type KIND_STRUCT, @object
.size KIND_STRUCT, 8
KIND_STRUCT:
.zero 8
.globl DECL_PARAM_TYPEONLY
.align 4
.type DECL_PARAM_TYPEONLY, @object
.size DECL_PARAM_TYPEONLY, 4
DECL_PARAM_TYPEONLY:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_parse.c_read_rectype_fields_sub.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "missing ';' at the end of field list\000"
.section .rodata.cst4,"aM",%progbits,4
.align 2
.LC1:
.word __stack_chk_guard
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type read_rectype_fields_sub, %function
read_rectype_fields_sub:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, r9, r10, fp, lr}
ldr r3, .L23
sub sp, sp, #12
ldr r3, [r3]
str r3, [sp, #4]
mov r3,#0
bl make_vector
mov r7, r0
ldr r8, .L23+4
ldr r10, .L23+8
ldr r9, .L23+12
ldr fp, .L23+16
.L2:
ldrb r0, [r8] @ zero_extendqisi2
bl next_token
subs r4, r0, #0
bne .L20
.L3:
bl peek
bl is_type
cmp r0, #0
beq .L5
mov r0, r4
bl read_decl_spec
ldr r3, [r10]
ldr r2, [r0]
mov r5, r0
cmp r2, r3
beq .L6
.L8:
mov r6, #0
.L7:
mov r2, #0
mov r1, r5
ldr r3, [r9]
mov r0, sp
str r6, [sp]
bl read_declarator
mov r4, r0
bl ensure_not_void
mov r0, r4
bl copy_type
mov r4, r0
mov r0, #58
bl next_token
cmp r0, #0
mvneq r0, #0
bne .L21
.L9:
mov r1, r4
str r0, [r4, #4]
ldr r0, [sp]
bl make_pair
mov r1, r0
mov r0, r7
bl vec_push
mov r0, #44
bl next_token
cmp r0, #0
bne .L7
bl peek
mov r1, #125
bl is_keyword
cmp r0, #0
beq .L11
bl peek
mov r1, fp
bl warnt
ldrb r0, [r8] @ zero_extendqisi2
bl next_token
subs r4, r0, #0
beq .L3
.L20:
bl read_static_assert
b .L2
.L11:
mov r0, #59
bl expect
b .L2
.L21:
mov r1, r4
ldr r0, [sp]
bl read_bitsize
b .L9
.L6:
mov r0, #59
bl next_token
cmp r0, #0
beq .L8
mov r1, r5
mov r0, r4
bl make_pair
mov r1, r0
mov r0, r7
bl vec_push
b .L2
.L5:
mov r0, #125
bl expect
ldr r3, .L23
ldr r2, [r3]
ldr r3, [sp, #4]
eors r2, r3, r2
mov r3, #0
bne .L22
mov r0, r7
add sp, sp, #12
@ sp needed
pop {r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L22:
bl __stack_chk_fail
.L24:
.align 2
.L23:
.word .LC1
.word KSTATIC_ASSERT
.word KIND_STRUCT
.word DECL_PARAM_TYPEONLY
.word .LC0
.size read_rectype_fields_sub, .-read_rectype_fields_sub
.comm KSTATIC_ASSERT,1,1
.comm KIND_STRUCT,4,4
.comm DECL_PARAM_TYPEONLY,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_parse.c_read_rectype_tag.c"
.intel_syntax noprefix
.text
.p2align 4
.type read_rectype_tag, @function
read_rectype_tag:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 8
.cfi_def_cfa_offset 16
xor eax, eax
call get@PLT
mov rdi, rax
mov rax, QWORD PTR TIDENT[rip]
cmp QWORD PTR [rdi], rax
jne .L2
mov rax, QWORD PTR 8[rdi]
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L2:
.cfi_restore_state
call unget_token@PLT
xor eax, eax
add rsp, 8
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size read_rectype_tag, .-read_rectype_tag
.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_parse.c_read_rectype_tag.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type read_rectype_tag, %function
read_rectype_tag:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
bl get
ldr r2, .L6
ldr r1, [r0]
ldr r2, [r2]
cmp r1, r2
bne .L2
ldr r0, [r0, #4]
pop {r4, pc}
.L2:
bl unget_token
mov r0, #0
pop {r4, pc}
.L7:
.align 2
.L6:
.word TIDENT
.size read_rectype_tag, .-read_rectype_tag
.comm TIDENT,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_parse.c_read_relational_expr.c"
.intel_syntax noprefix
.text
.p2align 4
.type read_relational_expr, @function
read_relational_expr:
.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_shift_expr@PLT
mov rbp, rax
jmp .L7
.p2align 4,,10
.p2align 3
.L2:
mov edi, 62
call next_token@PLT
test rax, rax
jne .L12
movsx edi, BYTE PTR OP_LE[rip]
call next_token@PLT
test rax, rax
jne .L13
movsx edi, BYTE PTR OP_GE[rip]
call next_token@PLT
test rax, rax
je .L1
mov rdi, rbp
call conv@PLT
mov r12d, eax
xor eax, eax
call read_shift_expr@PLT
mov rdi, rax
.L10:
call conv@PLT
movsx edi, BYTE PTR OP_LE[rip]
mov edx, r12d
mov esi, eax
call binop@PLT
mov rbp, rax
.L3:
mov eax, DWORD PTR type_int[rip]
mov DWORD PTR 0[rbp], eax
.L7:
mov edi, 60
call next_token@PLT
test rax, rax
je .L2
xor eax, eax
call read_shift_expr@PLT
mov rdi, rax
call conv@PLT
mov rdi, rbp
mov r12d, eax
.L9:
call conv@PLT
mov edx, r12d
mov edi, 60
mov esi, eax
call binop@PLT
mov rbp, rax
jmp .L3
.p2align 4,,10
.p2align 3
.L12:
mov rdi, rbp
call conv@PLT
mov r12d, eax
xor eax, eax
call read_shift_expr@PLT
mov rdi, rax
jmp .L9
.p2align 4,,10
.p2align 3
.L13:
xor eax, eax
call read_shift_expr@PLT
mov rdi, rax
call conv@PLT
mov rdi, rbp
mov r12d, eax
jmp .L10
.p2align 4,,10
.p2align 3
.L1:
add rsp, 8
.cfi_def_cfa_offset 24
mov rax, rbp
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size read_relational_expr, .-read_relational_expr
.globl type_int
.bss
.align 4
.type type_int, @object
.size type_int, 4
type_int:
.zero 4
.globl OP_LE
.type OP_LE, @object
.size OP_LE, 1
OP_LE:
.zero 1
.globl OP_GE
.type OP_GE, @object
.size OP_GE, 1
OP_GE:
.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_parse.c_read_relational_expr.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type read_relational_expr, %function
read_relational_expr:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, lr}
bl read_shift_expr
ldr r6, .L14
mov r4, r0
ldr r7, .L14+4
ldr r5, .L14+8
b .L7
.L2:
mov r0, #62
bl next_token
cmp r0, #0
bne .L12
ldrb r0, [r6] @ zero_extendqisi2
bl next_token
cmp r0, #0
bne .L13
ldrb r0, [r7] @ zero_extendqisi2
bl next_token
cmp r0, #0
beq .L1
ldrb r8, [r6] @ zero_extendqisi2
bl read_shift_expr
bl conv
mov r1, r0
mov r0, r4
mov r4, r1
.L10:
bl conv
mov r1, r4
mov r2, r0
mov r0, r8
bl binop
mov r4, r0
.L3:
ldr r3, [r5]
str r3, [r4]
.L7:
mov r0, #60
bl next_token
cmp r0, #0
beq .L2
mov r0, r4
bl conv
mov r4, r0
bl read_shift_expr
.L9:
bl conv
mov r1, r4
mov r2, r0
mov r0, #60
bl binop
mov r4, r0
b .L3
.L12:
bl read_shift_expr
bl conv
mov r1, r0
mov r0, r4
mov r4, r1
b .L9
.L13:
mov r0, r4
ldrb r8, [r6] @ zero_extendqisi2
bl conv
mov r4, r0
bl read_shift_expr
b .L10
.L1:
mov r0, r4
pop {r4, r5, r6, r7, r8, pc}
.L15:
.align 2
.L14:
.word OP_LE
.word OP_GE
.word type_int
.size read_relational_expr, .-read_relational_expr
.comm type_int,4,4
.comm OP_LE,1,1
.comm OP_GE,1,1
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_parse.c_read_return_stmt.c"
.intel_syntax noprefix
.text
.p2align 4
.type read_return_stmt, @function
read_return_stmt:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
xor eax, eax
call read_expr_opt@PLT
mov edi, 59
mov rbp, rax
call expect@PLT
test rbp, rbp
je .L2
mov rax, QWORD PTR current_func_type[rip]
mov rsi, rbp
mov edi, DWORD PTR [rax]
call ast_conv@PLT
pop rbp
.cfi_remember_state
.cfi_def_cfa_offset 8
mov rdi, rax
jmp ast_return@PLT
.p2align 4,,10
.p2align 3
.L2:
.cfi_restore_state
xor edi, edi
pop rbp
.cfi_def_cfa_offset 8
jmp ast_return@PLT
.cfi_endproc
.LFE0:
.size read_return_stmt, .-read_return_stmt
.globl current_func_type
.bss
.align 8
.type current_func_type, @object
.size current_func_type, 8
current_func_type:
.zero 8
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_parse.c_read_return_stmt.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type read_return_stmt, %function
read_return_stmt:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
bl read_expr_opt
mov r4, r0
mov r0, #59
bl expect
cmp r4, #0
beq .L2
ldr r3, .L5
mov r1, r4
ldr r3, [r3]
ldr r0, [r3]
bl ast_conv
pop {r4, lr}
b ast_return
.L2:
mov r0, r4
pop {r4, lr}
b ast_return
.L6:
.align 2
.L5:
.word current_func_type
.size read_return_stmt, .-read_return_stmt
.comm current_func_type,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_parse.c_read_shift_expr.c"
.intel_syntax noprefix
.text
.p2align 4
.type read_shift_expr, @function
read_shift_expr:
.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
sub rsp, 8
.cfi_def_cfa_offset 48
call read_additive_expr@PLT
mov r12, rax
jmp .L6
.p2align 4,,10
.p2align 3
.L9:
mov rax, QWORD PTR [r12]
mov r14d, DWORD PTR OP_SAR[rip]
cmp QWORD PTR [rax], 0
je .L3
mov r14d, DWORD PTR OP_SHR[rip]
.L3:
xor eax, eax
call read_additive_expr@PLT
mov rdi, r12
mov rbp, rax
call ensure_inttype@PLT
mov rdi, rbp
call ensure_inttype@PLT
mov rdi, rbp
call conv@PLT
mov rdi, r12
mov r13d, eax
call conv@PLT
mov rdi, QWORD PTR [r12]
mov ecx, r13d
mov esi, r14d
mov edx, eax
call ast_binop@PLT
mov r12, rax
.L6:
mov edi, DWORD PTR OP_SAL[rip]
call next_token@PLT
mov r14d, DWORD PTR OP_SAL[rip]
test rax, rax
jne .L3
mov edi, DWORD PTR OP_SAR[rip]
call next_token@PLT
test rax, rax
jne .L9
add rsp, 8
.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
.cfi_endproc
.LFE0:
.size read_shift_expr, .-read_shift_expr
.globl OP_SHR
.bss
.align 4
.type OP_SHR, @object
.size OP_SHR, 4
OP_SHR:
.zero 4
.globl OP_SAR
.align 4
.type OP_SAR, @object
.size OP_SAR, 4
OP_SAR:
.zero 4
.globl OP_SAL
.align 4
.type OP_SAL, @object
.size OP_SAL, 4
OP_SAL:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_parse.c_read_shift_expr.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type read_shift_expr, %function
read_shift_expr:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, r9, r10, lr}
bl read_additive_expr
ldr r6, .L10
mov r4, r0
ldr r7, .L10+4
ldr r8, .L10+8
b .L6
.L9:
ldr r9, [r6]
.L3:
bl read_additive_expr
mov r5, r0
mov r0, r4
bl ensure_inttype
mov r0, r5
bl ensure_inttype
mov r0, r4
ldr r10, [r4]
bl conv
mov r4, r0
mov r0, r5
bl conv
mov r2, r4
mov r3, r0
mov r1, r9
mov r0, r10
bl ast_binop
mov r4, r0
.L6:
ldr r0, [r6]
bl next_token
cmp r0, #0
bne .L9
ldr r0, [r7]
bl next_token
cmp r0, #0
beq .L1
ldr r3, [r4]
ldr r3, [r3]
cmp r3, #0
ldrne r9, [r8]
ldreq r9, [r7]
b .L3
.L1:
mov r0, r4
pop {r4, r5, r6, r7, r8, r9, r10, pc}
.L11:
.align 2
.L10:
.word OP_SAL
.word OP_SAR
.word OP_SHR
.size read_shift_expr, .-read_shift_expr
.comm OP_SHR,4,4
.comm OP_SAR,4,4
.comm OP_SAL,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_parse.c_read_sizeof_operand.c"
.intel_syntax noprefix
.text
.p2align 4
.type read_sizeof_operand, @function
read_sizeof_operand:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
xor eax, eax
call read_sizeof_operand_sub@PLT
mov rdx, QWORD PTR [rax]
cmp rdx, QWORD PTR KIND_VOID[rip]
je .L4
cmp rdx, QWORD PTR KIND_FUNC[rip]
je .L4
mov ebp, DWORD PTR 8[rax]
mov edi, ebp
not edi
shr edi, 31
jmp .L2
.p2align 4,,10
.p2align 3
.L4:
mov edi, 1
mov ebp, 1
.L2:
call assert@PLT
mov edi, DWORD PTR type_ulong[rip]
mov esi, ebp
pop rbp
.cfi_def_cfa_offset 8
jmp ast_inttype@PLT
.cfi_endproc
.LFE0:
.size read_sizeof_operand, .-read_sizeof_operand
.globl type_ulong
.bss
.align 4
.type type_ulong, @object
.size type_ulong, 4
type_ulong:
.zero 4
.globl KIND_VOID
.align 8
.type KIND_VOID, @object
.size KIND_VOID, 8
KIND_VOID:
.zero 8
.globl KIND_FUNC
.align 8
.type KIND_FUNC, @object
.size KIND_FUNC, 8
KIND_FUNC:
.zero 8
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_parse.c_read_sizeof_operand.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type read_sizeof_operand, %function
read_sizeof_operand:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
bl read_sizeof_operand_sub
ldr r2, .L7
ldr r3, [r0]
ldr r2, [r2]
cmp r3, r2
beq .L4
ldr r2, .L7+4
ldr r2, [r2]
cmp r3, r2
ldrne r4, [r0, #4]
mvnne r0, r4
lsrne r0, r0, #31
bne .L2
.L4:
mov r0, #1
mov r4, r0
.L2:
bl assert
ldr r3, .L7+8
mov r1, r4
pop {r4, lr}
ldr r0, [r3]
b ast_inttype
.L8:
.align 2
.L7:
.word KIND_VOID
.word KIND_FUNC
.word type_ulong
.size read_sizeof_operand, .-read_sizeof_operand
.comm type_ulong,4,4
.comm KIND_VOID,4,4
.comm KIND_FUNC,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_parse.c_read_sizeof_operand_sub.c"
.intel_syntax noprefix
.text
.p2align 4
.type read_sizeof_operand_sub, @function
read_sizeof_operand_sub:
.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 get@PLT
mov esi, 40
mov rdi, rax
mov rbp, rax
call is_keyword@PLT
test rax, rax
je .L2
xor eax, eax
call peek@PLT
mov edi, eax
call is_type@PLT
test rax, rax
jne .L12
.L2:
mov rdi, rbp
call unget_token@PLT
xor eax, eax
call read_unary_expr@PLT
mov r12, QWORD PTR [rax]
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 24
pop rbp
.cfi_def_cfa_offset 16
mov rax, r12
pop r12
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L12:
.cfi_restore_state
xor eax, eax
call read_cast_type@PLT
mov edi, 41
mov r12, rax
call expect@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 read_sizeof_operand_sub, .-read_sizeof_operand_sub
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_parse.c_read_sizeof_operand_sub.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type read_sizeof_operand_sub, %function
read_sizeof_operand_sub:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
bl get
mov r1, #40
mov r4, r0
bl is_keyword
cmp r0, #0
beq .L2
bl peek
bl is_type
cmp r0, #0
bne .L12
.L2:
mov r0, r4
bl unget_token
bl read_unary_expr
ldr r4, [r0]
mov r0, r4
pop {r4, pc}
.L12:
bl read_cast_type
mov r4, r0
mov r0, #41
bl expect
mov r0, r4
pop {r4, pc}
.size read_sizeof_operand_sub, .-read_sizeof_operand_sub
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_parse.c_read_static_assert.c"
.intel_syntax noprefix
.text
.section .rodata.str1.8,"aMS",@progbits,1
.align 8
.LC0:
.string "string expected as the second argument for _Static_assert, but got %s"
.section .rodata.str1.1,"aMS",@progbits,1
.LC1:
.string "_Static_assert failure: %s"
.text
.p2align 4
.type read_static_assert, @function
read_static_assert:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov edi, 40
push rbx
.cfi_def_cfa_offset 24
.cfi_offset 3, -24
sub rsp, 8
.cfi_def_cfa_offset 32
call expect@PLT
xor eax, eax
call read_intexpr@PLT
mov edi, 44
mov ebx, eax
call expect@PLT
xor eax, eax
call get@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 edi, 59
call expect@PLT
test ebx, ebx
je .L6
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
.L6:
.cfi_restore_state
mov edx, DWORD PTR 8[rbp]
add rsp, 8
.cfi_def_cfa_offset 24
mov rdi, rbp
lea rsi, .LC1[rip]
pop rbx
.cfi_def_cfa_offset 16
pop rbp
.cfi_def_cfa_offset 8
jmp errort@PLT
.cfi_endproc
.LFE0:
.size read_static_assert, .-read_static_assert
.globl TSTRING
.bss
.align 8
.type TSTRING, @object
.size TSTRING, 8
TSTRING:
.zero 8
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_parse.c_read_static_assert.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "string expected as the second argument for _Static_"
.ascii "assert, but got %s\000"
.align 2
.LC1:
.ascii "_Static_assert failure: %s\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type read_static_assert, %function
read_static_assert:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
mov r0, #40
bl expect
bl read_intexpr
mov r5, r0
mov r0, #44
bl expect
bl get
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:
mov r0, #41
bl expect
mov r0, #59
bl expect
cmp r5, #0
popne {r4, r5, r6, pc}
mov r0, r4
ldr r2, [r4, #4]
ldr r1, .L6+8
pop {r4, r5, r6, lr}
b errort
.L7:
.align 2
.L6:
.word TSTRING
.word .LC0
.word .LC1
.size read_static_assert, .-read_static_assert
.comm TSTRING,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_parse.c_read_static_local_var.c"
.intel_syntax noprefix
.text
.p2align 4
.type read_static_local_var, @function
read_static_local_var:
.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
call ast_static_lvar@PLT
mov edi, 61
mov r12, rax
call next_token@PLT
xor esi, esi
test rax, rax
jne .L8
.L2:
mov rdi, r12
call ast_decl@PLT
mov edi, DWORD PTR toplevels[rip]
pop rbx
.cfi_remember_state
.cfi_def_cfa_offset 24
mov esi, eax
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
jmp vec_push@PLT
.p2align 4,,10
.p2align 3
.L8:
.cfi_restore_state
mov rbx, QWORD PTR localenv[rip]
mov rdi, rbp
mov QWORD PTR localenv[rip], 0
call read_decl_init@PLT
mov rsi, rax
mov QWORD PTR localenv[rip], rbx
jmp .L2
.cfi_endproc
.LFE0:
.size read_static_local_var, .-read_static_local_var
.globl toplevels
.bss
.align 4
.type toplevels, @object
.size toplevels, 4
toplevels:
.zero 4
.globl localenv
.align 8
.type localenv, @object
.size localenv, 8
localenv:
.zero 8
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_parse.c_read_static_local_var.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type read_static_local_var, %function
read_static_local_var:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
mov r5, r0
bl ast_static_lvar
mov r4, r0
mov r0, #61
bl next_token
subs r1, r0, #0
bne .L6
.L2:
ldr r3, .L7
mov r0, r4
ldr r4, [r3]
bl ast_decl
mov r1, r0
mov r0, r4
pop {r4, r5, r6, lr}
b vec_push
.L6:
mov r3, #0
ldr r6, .L7+4
mov r0, r5
ldr r5, [r6]
str r3, [r6]
bl read_decl_init
str r5, [r6]
mov r1, r0
b .L2
.L8:
.align 2
.L7:
.word toplevels
.word localenv
.size read_static_local_var, .-read_static_local_var
.comm toplevels,4,4
.comm localenv,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_parse.c_read_stmt.c"
.intel_syntax noprefix
.text
.p2align 4
.type read_stmt, @function
read_stmt:
.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 get@PLT
mov rbp, rax
mov rax, QWORD PTR [rax]
cmp rax, QWORD PTR TKEYWORD[rip]
je .L22
.L2:
cmp rax, QWORD PTR TIDENT[rip]
je .L23
.L16:
mov rdi, rbp
call unget_token@PLT
xor eax, eax
call read_expr_opt@PLT
mov edi, 59
mov r12, rax
call expect@PLT
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 24
mov rax, r12
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L23:
.cfi_restore_state
mov edi, 58
call next_token@PLT
test rax, rax
je .L16
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 24
mov rdi, rbp
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
jmp read_label@PLT
.p2align 4,,10
.p2align 3
.L22:
.cfi_restore_state
mov esi, DWORD PTR 8[rbp]
lea edx, -123[rsi]
cmp edx, 15
ja .L2
lea rcx, .L4[rip]
movsx rdx, DWORD PTR [rcx+rdx*4]
add rdx, rcx
notrack jmp rdx
.section .rodata
.align 4
.align 4
.L4:
.long .L15-.L4
.long .L2-.L4
.long .L2-.L4
.long .L2-.L4
.long .L2-.L4
.long .L14-.L4
.long .L13-.L4
.long .L12-.L4
.long .L11-.L4
.long .L10-.L4
.long .L9-.L4
.long .L8-.L4
.long .L7-.L4
.long .L6-.L4
.long .L5-.L4
.long .L3-.L4
.text
.p2align 4,,10
.p2align 3
.L15:
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 24
xor eax, eax
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
jmp read_compound_stmt@PLT
.p2align 4,,10
.p2align 3
.L14:
.cfi_restore_state
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 24
xor eax, eax
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
jmp read_while_stmt@PLT
.p2align 4,,10
.p2align 3
.L13:
.cfi_restore_state
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 24
xor eax, eax
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
jmp read_switch_stmt@PLT
.p2align 4,,10
.p2align 3
.L12:
.cfi_restore_state
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 24
xor eax, eax
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
jmp read_return_stmt@PLT
.p2align 4,,10
.p2align 3
.L11:
.cfi_restore_state
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 24
xor eax, eax
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
jmp read_if_stmt@PLT
.p2align 4,,10
.p2align 3
.L10:
.cfi_restore_state
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 24
xor eax, eax
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
jmp read_goto_stmt@PLT
.p2align 4,,10
.p2align 3
.L9:
.cfi_restore_state
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 24
xor eax, eax
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
jmp read_for_stmt@PLT
.p2align 4,,10
.p2align 3
.L8:
.cfi_restore_state
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 24
xor eax, eax
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
jmp read_do_stmt@PLT
.p2align 4,,10
.p2align 3
.L7:
.cfi_restore_state
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 24
mov rdi, rbp
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
jmp read_default_label@PLT
.p2align 4,,10
.p2align 3
.L6:
.cfi_restore_state
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 24
mov rdi, rbp
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
jmp read_continue_stmt@PLT
.p2align 4,,10
.p2align 3
.L5:
.cfi_restore_state
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 24
mov rdi, rbp
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
jmp read_case_label@PLT
.p2align 4,,10
.p2align 3
.L3:
.cfi_restore_state
add rsp, 8
.cfi_def_cfa_offset 24
mov rdi, rbp
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
jmp read_break_stmt@PLT
.cfi_endproc
.LFE0:
.size read_stmt, .-read_stmt
.globl TKEYWORD
.bss
.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_parse.c_read_stmt.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type read_stmt, %function
read_stmt:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
bl get
ldr r2, .L24
ldr r3, [r0]
ldr r2, [r2]
mov r4, r0
cmp r3, r2
beq .L22
.L2:
ldr r2, .L24+4
ldr r2, [r2]
cmp r3, r2
beq .L23
.L16:
mov r0, r4
bl unget_token
bl read_expr_opt
mov r4, r0
mov r0, #59
bl expect
mov r0, r4
pop {r4, pc}
.L23:
mov r0, #58
bl next_token
cmp r0, #0
beq .L16
mov r0, r4
pop {r4, lr}
b read_label
.L22:
ldr r2, [r0, #4]
sub r2, r2, #123
cmp r2, #15
ldrls pc, [pc, r2, asl #2]
b .L2
.L4:
.word .L15
.word .L2
.word .L2
.word .L2
.word .L2
.word .L14
.word .L13
.word .L12
.word .L11
.word .L10
.word .L9
.word .L8
.word .L7
.word .L6
.word .L5
.word .L3
.L15:
pop {r4, lr}
b read_compound_stmt
.L14:
pop {r4, lr}
b read_while_stmt
.L13:
pop {r4, lr}
b read_switch_stmt
.L12:
pop {r4, lr}
b read_return_stmt
.L11:
pop {r4, lr}
b read_if_stmt
.L10:
pop {r4, lr}
b read_goto_stmt
.L9:
pop {r4, lr}
b read_for_stmt
.L8:
pop {r4, lr}
b read_do_stmt
.L7:
pop {r4, lr}
b read_default_label
.L6:
pop {r4, lr}
b read_continue_stmt
.L5:
pop {r4, lr}
b read_case_label
.L3:
pop {r4, lr}
b read_break_stmt
.L25:
.align 2
.L24:
.word TKEYWORD
.word TIDENT
.size read_stmt, .-read_stmt
.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_parse.c_read_stmt_expr.c"
.intel_syntax noprefix
.text
.p2align 4
.type read_stmt_expr, @function
read_stmt_expr:
.LFB0:
.cfi_startproc
endbr64
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
xor eax, eax
push rbx
.cfi_def_cfa_offset 24
.cfi_offset 3, -24
sub rsp, 8
.cfi_def_cfa_offset 32
call read_compound_stmt@PLT
mov edi, 41
mov r12, rax
call expect@PLT
mov edi, DWORD PTR 8[r12]
mov rbx, QWORD PTR type_void[rip]
call vec_len@PLT
test rax, rax
jle .L2
mov edi, DWORD PTR 8[r12]
call vec_tail@PLT
mov rax, QWORD PTR [rax]
test rax, rax
cmovne rbx, rax
.L2:
mov QWORD PTR [r12], rbx
add rsp, 8
.cfi_def_cfa_offset 24
mov rax, r12
pop rbx
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size read_stmt_expr, .-read_stmt_expr
.globl type_void
.bss
.align 8
.type type_void, @object
.size type_void, 8
type_void:
.zero 8
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_parse.c_read_stmt_expr.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type read_stmt_expr, %function
read_stmt_expr:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
bl read_compound_stmt
mov r4, r0
mov r0, #41
bl expect
ldr r3, .L7
ldr r0, [r4, #4]
ldr r5, [r3]
bl vec_len
cmp r0, #0
ble .L2
ldr r0, [r4, #4]
bl vec_tail
ldr r3, [r0]
cmp r3, #0
movne r5, r3
.L2:
mov r0, r4
str r5, [r4]
pop {r4, r5, r6, pc}
.L8:
.align 2
.L7:
.word type_void
.size read_stmt_expr, .-read_stmt_expr
.comm type_void,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_parse.c_read_struct_def.c"
.intel_syntax noprefix
.text
.p2align 4
.type read_struct_def, @function
read_struct_def:
.LFB0:
.cfi_startproc
endbr64
mov edi, 1
jmp read_rectype_def@PLT
.cfi_endproc
.LFE0:
.size read_struct_def, .-read_struct_def
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_parse.c_read_struct_def.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type read_struct_def, %function
read_struct_def:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
mov r0, #1
b read_rectype_def
.size read_struct_def, .-read_struct_def
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_parse.c_read_struct_field.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "struct expected, but got %s"
.section .rodata.str1.8,"aMS",@progbits,1
.align 8
.LC1:
.string "field name expected, but got %s"
.section .rodata.str1.1
.LC2:
.string "struct has no such field: %s"
.text
.p2align 4
.type read_struct_field, @function
read_struct_field:
.LFB0:
.cfi_startproc
endbr64
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
mov rcx, QWORD PTR KIND_STRUCT[rip]
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 rax, QWORD PTR [rdi]
cmp QWORD PTR [rax], rcx
je .L2
call node2s@PLT
lea rdi, .LC0[rip]
mov esi, eax
call error@PLT
.L2:
xor eax, eax
call get@PLT
mov rbx, rax
mov rax, QWORD PTR TIDENT[rip]
cmp QWORD PTR [rbx], rax
je .L3
mov rdi, rbx
call tok2s@PLT
lea rdi, .LC1[rip]
mov esi, eax
call error@PLT
.L3:
mov rax, QWORD PTR 0[rbp]
mov esi, DWORD PTR 8[rbx]
mov edi, DWORD PTR 8[rax]
call dict_get@PLT
mov r12, rax
test rax, rax
je .L7
.L4:
mov edx, DWORD PTR 8[rbx]
mov rsi, rbp
pop rbx
.cfi_remember_state
.cfi_def_cfa_offset 24
mov rdi, r12
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
jmp ast_struct_ref@PLT
.p2align 4,,10
.p2align 3
.L7:
.cfi_restore_state
mov rdi, rbx
call tok2s@PLT
lea rdi, .LC2[rip]
mov esi, eax
call error@PLT
jmp .L4
.cfi_endproc
.LFE0:
.size read_struct_field, .-read_struct_field
.globl TIDENT
.bss
.align 8
.type TIDENT, @object
.size TIDENT, 8
TIDENT:
.zero 8
.globl KIND_STRUCT
.align 8
.type KIND_STRUCT, @object
.size KIND_STRUCT, 8
KIND_STRUCT:
.zero 8
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_parse.c_read_struct_field.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "struct expected, but got %s\000"
.align 2
.LC1:
.ascii "field name expected, but got %s\000"
.align 2
.LC2:
.ascii "struct has no such field: %s\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type read_struct_field, %function
read_struct_field:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
ldr r3, .L8
ldr r2, [r0]
ldr r3, [r3]
ldr r2, [r2]
push {r4, r5, r6, lr}
cmp r2, r3
mov r5, r0
beq .L2
bl node2s
mov r1, r0
ldr r0, .L8+4
bl error
.L2:
bl get
ldr r3, .L8+8
ldr r2, [r0]
ldr r3, [r3]
mov r4, r0
cmp r2, r3
beq .L3
bl tok2s
mov r1, r0
ldr r0, .L8+12
bl error
.L3:
ldr r3, [r5]
ldr r1, [r4, #4]
ldr r0, [r3, #4]
bl dict_get
subs r6, r0, #0
beq .L7
.L4:
mov r1, r5
mov r0, r6
ldr r2, [r4, #4]
pop {r4, r5, r6, lr}
b ast_struct_ref
.L7:
mov r0, r4
bl tok2s
mov r1, r0
ldr r0, .L8+16
bl error
b .L4
.L9:
.align 2
.L8:
.word KIND_STRUCT
.word .LC0
.word TIDENT
.word .LC1
.word .LC2
.size read_struct_field, .-read_struct_field
.comm TIDENT,4,4
.comm KIND_STRUCT,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_parse.c_read_struct_initializer.c"
.intel_syntax noprefix
.text
.p2align 4
.type read_struct_initializer, @function
read_struct_initializer:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rdi
call read_struct_initializer_sub@PLT
mov rdi, rbp
pop rbp
.cfi_def_cfa_offset 8
jmp sort_inits@PLT
.cfi_endproc
.LFE0:
.size read_struct_initializer, .-read_struct_initializer
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_parse.c_read_struct_initializer.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type read_struct_initializer, %function
read_struct_initializer:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
mov r4, r0
bl read_struct_initializer_sub
mov r0, r4
pop {r4, lr}
b sort_inits
.size read_struct_initializer, .-read_struct_initializer
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_parse.c_read_struct_initializer_sub.c"
.intel_syntax noprefix
.text
.section .rodata.str1.8,"aMS",@progbits,1
.align 8
.LC0:
.string "malformed desginated initializer: %s"
.section .rodata.str1.1,"aMS",@progbits,1
.LC1:
.string "field does not exist: %s"
.text
.p2align 4
.type read_struct_initializer_sub, @function
read_struct_initializer_sub:
.LFB0:
.cfi_startproc
endbr64
push r15
.cfi_def_cfa_offset 16
.cfi_offset 15, -16
xor eax, eax
mov r15, rsi
push r14
.cfi_def_cfa_offset 24
.cfi_offset 14, -24
push r13
.cfi_def_cfa_offset 32
.cfi_offset 13, -32
mov r13d, ecx
push r12
.cfi_def_cfa_offset 40
.cfi_offset 12, -40
push rbp
.cfi_def_cfa_offset 48
.cfi_offset 6, -48
xor ebp, ebp
push rbx
.cfi_def_cfa_offset 56
.cfi_offset 3, -56
sub rsp, 24
.cfi_def_cfa_offset 80
mov QWORD PTR [rsp], rdi
mov DWORD PTR 8[rsp], edx
call maybe_read_brace@PLT
mov edi, DWORD PTR 16[r15]
mov DWORD PTR 12[rsp], eax
call dict_keys@PLT
mov rbx, rax
jmp .L17
.p2align 4,,10
.p2align 3
.L33:
mov eax, DWORD PTR 12[rsp]
or eax, r13d
je .L6
.L7:
mov esi, 46
mov rdi, r12
call is_keyword@PLT
test rax, rax
jne .L31
mov rdi, r12
call unget_token@PLT
mov rdi, rbx
call vec_len@PLT
cmp eax, ebp
je .L16
mov esi, ebp
mov rdi, rbx
lea r14d, 1[rbp]
call vec_get@PLT
mov edi, DWORD PTR 16[r15]
mov ebp, r14d
mov rsi, rax
call dict_get@PLT
mov r12, rax
.L14:
mov rdi, QWORD PTR [rsp]
mov ecx, r13d
movsx rdx, DWORD PTR 8[rsp]
mov rsi, r12
add rdx, QWORD PTR 8[r12]
xor r13d, r13d
call read_initializer_elem@PLT
xor eax, eax
call maybe_skip_comma@PLT
mov edx, DWORD PTR [r15]
test edx, edx
je .L16
.L17:
xor eax, eax
call get@PLT
mov esi, 125
mov rdi, rax
mov r12, rax
call is_keyword@PLT
test rax, rax
jne .L32
mov esi, 46
mov rdi, r12
call is_keyword@PLT
test rax, rax
jne .L33
mov esi, 91
mov rdi, r12
call is_keyword@PLT
test rax, rax
je .L7
mov eax, DWORD PTR 12[rsp]
or eax, r13d
jne .L7
.L6:
add rsp, 24
.cfi_remember_state
.cfi_def_cfa_offset 56
mov rdi, r12
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
jmp unget_token@PLT
.p2align 4,,10
.p2align 3
.L31:
.cfi_restore_state
xor eax, eax
call get@PLT
mov rbp, rax
test rax, rax
je .L10
mov rax, QWORD PTR TIDENT[rip]
cmp QWORD PTR 0[rbp], rax
je .L11
.L10:
mov rdi, rbp
call tok2s@PLT
lea rsi, .LC0[rip]
mov rdi, rbp
mov edx, eax
call errort@PLT
.L11:
mov r14, QWORD PTR 8[rbp]
mov edi, DWORD PTR 16[r15]
mov rsi, r14
call dict_get@PLT
mov r12, rax
test rax, rax
je .L34
.L12:
mov edi, DWORD PTR 16[r15]
xor ebp, ebp
call dict_keys@PLT
mov rbx, rax
jmp .L13
.p2align 4,,10
.p2align 3
.L15:
mov esi, ebp
mov rdi, rbx
lea r13d, 1[rbp]
call vec_get@PLT
mov rdi, r14
mov ebp, r13d
mov rsi, rax
call strcmp@PLT
test rax, rax
je .L19
.L13:
mov rdi, rbx
call vec_len@PLT
cmp eax, ebp
jg .L15
.L19:
mov r13d, 1
jmp .L14
.p2align 4,,10
.p2align 3
.L16:
mov eax, DWORD PTR 12[rsp]
test eax, eax
jne .L35
add rsp, 24
.cfi_remember_state
.cfi_def_cfa_offset 56
pop rbx
.cfi_def_cfa_offset 48
pop rbp
.cfi_def_cfa_offset 40
pop r12
.cfi_def_cfa_offset 32
pop r13
.cfi_def_cfa_offset 24
pop r14
.cfi_def_cfa_offset 16
pop r15
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L34:
.cfi_restore_state
mov rdi, rbp
call tok2s@PLT
lea rsi, .LC1[rip]
mov rdi, rbp
mov edx, eax
call errort@PLT
jmp .L12
.p2align 4,,10
.p2align 3
.L32:
mov ecx, DWORD PTR 12[rsp]
test ecx, ecx
je .L6
add rsp, 24
.cfi_remember_state
.cfi_def_cfa_offset 56
pop rbx
.cfi_def_cfa_offset 48
pop rbp
.cfi_def_cfa_offset 40
pop r12
.cfi_def_cfa_offset 32
pop r13
.cfi_def_cfa_offset 24
pop r14
.cfi_def_cfa_offset 16
pop r15
.cfi_def_cfa_offset 8
ret
.L35:
.cfi_restore_state
add rsp, 24
.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
jmp skip_to_brace@PLT
.cfi_endproc
.LFE0:
.size read_struct_initializer_sub, .-read_struct_initializer_sub
.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_parse.c_read_struct_initializer_sub.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "malformed desginated initializer: %s\000"
.align 2
.LC1:
.ascii "field does not exist: %s\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type read_struct_initializer_sub, %function
read_struct_initializer_sub:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, r9, r10, fp, lr}
sub sp, sp, #12
mov r8, r1
mov r10, r2
mov r9, r3
mov fp, r0
bl maybe_read_brace
mov r3, r0
ldr r0, [r8, #8]
str r3, [sp, #4]
bl dict_keys
mov r4, #0
mov r5, r0
b .L17
.L33:
ldr r3, [sp, #4]
orrs r3, r7, r3
beq .L6
.L7:
mov r1, #46
mov r0, r6
bl is_keyword
cmp r0, #0
bne .L31
mov r0, r6
bl unget_token
mov r0, r5
bl vec_len
cmp r0, r4
beq .L16
mov r1, r4
mov r0, r5
bl vec_get
mov r1, r0
ldr r0, [r8, #8]
bl dict_get
mov r6, r0
add r4, r4, #1
.L14:
ldr r2, [r6, #4]
mov r3, r7
mov r1, r6
add r2, r10, r2
mov r0, fp
bl read_initializer_elem
bl maybe_skip_comma
ldr r3, [r8]
cmp r3, #0
beq .L16
.L17:
bl get
mov r1, #125
mov r6, r0
bl is_keyword
mov r7, r9
subs r9, r0, #0
bne .L32
mov r1, #46
mov r0, r6
bl is_keyword
cmp r0, #0
bne .L33
mov r1, #91
mov r0, r6
bl is_keyword
cmp r0, #0
beq .L7
ldr r3, [sp, #4]
orrs r3, r7, r3
bne .L7
.L6:
mov r0, r6
add sp, sp, #12
@ sp needed
pop {r4, r5, r6, r7, r8, r9, r10, fp, lr}
b unget_token
.L31:
bl get
subs r4, r0, #0
beq .L10
ldr r3, .L36
ldr r2, [r4]
ldr r3, [r3]
cmp r2, r3
beq .L11
.L10:
mov r0, r4
bl tok2s
ldr r1, .L36+4
mov r2, r0
mov r0, r4
bl errort
.L11:
ldr r7, [r4, #4]
ldr r0, [r8, #8]
mov r1, r7
bl dict_get
subs r6, r0, #0
beq .L34
.L12:
ldr r0, [r8, #8]
bl dict_keys
mov r4, #0
mov r5, r0
b .L13
.L15:
mov r1, r4
mov r0, r5
bl vec_get
mov r1, r0
mov r0, r7
bl strcmp
cmp r0, #0
add r4, r4, #1
beq .L19
.L13:
mov r0, r5
bl vec_len
cmp r0, r4
bgt .L15
.L19:
mov r7, #1
b .L14
.L16:
ldr r3, [sp, #4]
cmp r3, #0
bne .L35
add sp, sp, #12
@ sp needed
pop {r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L34:
mov r0, r4
bl tok2s
ldr r1, .L36+8
mov r2, r0
mov r0, r4
bl errort
b .L12
.L32:
ldr r3, [sp, #4]
cmp r3, #0
beq .L6
add sp, sp, #12
@ sp needed
pop {r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L35:
add sp, sp, #12
@ sp needed
pop {r4, r5, r6, r7, r8, r9, r10, fp, lr}
b skip_to_brace
.L37:
.align 2
.L36:
.word TIDENT
.word .LC0
.word .LC1
.size read_struct_initializer_sub, .-read_struct_initializer_sub
.comm TIDENT,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_parse.c_read_subscript_expr.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "subscription expected"
.text
.p2align 4
.type read_subscript_expr, @function
read_subscript_expr:
.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
push rbp
.cfi_def_cfa_offset 32
.cfi_offset 6, -32
call peek@PLT
mov r12, rax
xor eax, eax
call read_expr@PLT
mov rbp, rax
test rax, rax
je .L5
.L2:
mov edi, 93
call expect@PLT
mov rdi, rbp
call conv@PLT
mov rdi, r13
mov r12d, eax
call conv@PLT
mov edx, r12d
mov edi, 43
mov esi, eax
call binop@PLT
mov edi, DWORD PTR AST_DEREF[rip]
pop rbp
.cfi_remember_state
.cfi_def_cfa_offset 24
mov rdx, rax
mov rax, QWORD PTR [rax]
pop r12
.cfi_def_cfa_offset 16
pop r13
.cfi_def_cfa_offset 8
mov esi, DWORD PTR [rax]
jmp ast_uop@PLT
.p2align 4,,10
.p2align 3
.L5:
.cfi_restore_state
lea rsi, .LC0[rip]
mov rdi, r12
call errort@PLT
jmp .L2
.cfi_endproc
.LFE0:
.size read_subscript_expr, .-read_subscript_expr
.globl AST_DEREF
.bss
.align 4
.type AST_DEREF, @object
.size AST_DEREF, 4
AST_DEREF:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_parse.c_read_subscript_expr.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "subscription expected\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type read_subscript_expr, %function
read_subscript_expr:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
mov r5, r0
bl peek
mov r6, r0
bl read_expr
subs r4, r0, #0
beq .L5
.L2:
mov r0, #93
bl expect
mov r0, r5
bl conv
mov r1, r0
mov r0, r4
mov r4, r1
bl conv
mov r1, r4
mov r2, r0
mov r0, #43
bl binop
pop {r4, r5, r6, lr}
ldr r1, [r0]
ldr r3, .L6
mov r2, r0
ldr r1, [r1]
ldr r0, [r3]
b ast_uop
.L5:
mov r0, r6
ldr r1, .L6+4
bl errort
b .L2
.L7:
.align 2
.L6:
.word AST_DEREF
.word .LC0
.size read_subscript_expr, .-read_subscript_expr
.comm AST_DEREF,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_parse.c_read_switch_stmt.c"
.intel_syntax noprefix
.text
.p2align 4
.type read_switch_stmt, @function
read_switch_stmt:
.LFB0:
.cfi_startproc
endbr64
push r14
.cfi_def_cfa_offset 16
.cfi_offset 14, -16
mov edi, 40
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 expect@PLT
xor eax, eax
call read_expr@PLT
mov edi, eax
call conv@PLT
mov rdi, rax
mov rbx, rax
call ensure_inttype@PLT
mov edi, 41
call expect@PLT
xor eax, eax
call make_label@PLT
mov rdi, rax
mov r13, rax
call SET_SWITCH_CONTEXT@PLT
xor eax, eax
call read_stmt@PLT
mov r14, rax
xor eax, eax
call make_vector@PLT
mov rbp, rax
xor eax, eax
call make_tempname@PLT
mov edi, DWORD PTR [rbx]
mov esi, eax
call ast_lvar@PLT
mov edi, DWORD PTR [rbx]
mov rcx, rbx
mov esi, 61
mov rdx, rax
mov r12, rax
xor ebx, ebx
call ast_binop@PLT
mov rdi, rbp
mov rsi, rax
call vec_push@PLT
jmp .L2
.p2align 4,,10
.p2align 3
.L3:
mov edi, DWORD PTR cases[rip]
mov esi, ebx
add ebx, 1
call vec_get@PLT
mov rdi, r12
mov esi, eax
call make_switch_jump@PLT
mov rdi, rbp
mov rsi, rax
call vec_push@PLT
.L2:
mov edi, DWORD PTR cases[rip]
call vec_len@PLT
cmp eax, ebx
jg .L3
mov rdi, QWORD PTR defaultcase[rip]
test rdi, rdi
cmove rdi, r13
call ast_jump@PLT
mov rdi, rbp
mov rsi, rax
call vec_push@PLT
test r14, r14
je .L5
mov rsi, r14
mov rdi, rbp
call vec_push@PLT
.L5:
mov rdi, r13
call ast_dest@PLT
mov rdi, rbp
mov rsi, rax
call vec_push@PLT
xor eax, eax
call RESTORE_SWITCH_CONTEXT@PLT
pop rbx
.cfi_def_cfa_offset 40
mov rdi, rbp
pop rbp
.cfi_def_cfa_offset 32
pop r12
.cfi_def_cfa_offset 24
pop r13
.cfi_def_cfa_offset 16
pop r14
.cfi_def_cfa_offset 8
jmp ast_compound_stmt@PLT
.cfi_endproc
.LFE0:
.size read_switch_stmt, .-read_switch_stmt
.globl defaultcase
.bss
.align 8
.type defaultcase, @object
.size defaultcase, 8
defaultcase:
.zero 8
.globl cases
.align 4
.type cases, @object
.size cases, 4
cases:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_parse.c_read_switch_stmt.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type read_switch_stmt, %function
read_switch_stmt:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, r9, r10, lr}
mov r0, #40
bl expect
bl read_expr
bl conv
mov r4, r0
bl ensure_inttype
mov r0, #41
bl expect
bl make_label
mov r8, r0
bl SET_SWITCH_CONTEXT
bl read_stmt
mov r9, r0
bl make_vector
ldr r5, [r4]
mov r6, r0
bl make_tempname
mov r1, r0
mov r0, r5
bl ast_lvar
mov r7, r0
mov r3, r4
mov r2, r7
mov r1, #61
ldr r0, [r4]
bl ast_binop
mov r1, r0
mov r0, r6
bl vec_push
mov r4, #0
ldr r5, .L12
b .L2
.L3:
mov r1, r4
ldr r0, [r5]
bl vec_get
mov r1, r0
mov r0, r7
bl make_switch_jump
mov r1, r0
mov r0, r6
bl vec_push
add r4, r4, #1
.L2:
ldr r0, [r5]
bl vec_len
cmp r0, r4
bgt .L3
ldr r3, .L12+4
ldr r0, [r3]
cmp r0, #0
moveq r0, r8
bl ast_jump
mov r1, r0
mov r0, r6
bl vec_push
cmp r9, #0
beq .L5
mov r1, r9
mov r0, r6
bl vec_push
.L5:
mov r0, r8
bl ast_dest
mov r1, r0
mov r0, r6
bl vec_push
bl RESTORE_SWITCH_CONTEXT
mov r0, r6
pop {r4, r5, r6, r7, r8, r9, r10, lr}
b ast_compound_stmt
.L13:
.align 2
.L12:
.word cases
.word defaultcase
.size read_switch_stmt, .-read_switch_stmt
.comm defaultcase,4,4
.comm cases,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_parse.c_read_toplevels.c"
.intel_syntax noprefix
.text
.p2align 4
.globl read_toplevels
.type read_toplevels, @function
read_toplevels:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 8
.cfi_def_cfa_offset 16
xor eax, eax
call make_vector@PLT
mov QWORD PTR toplevels[rip], rax
.p2align 4,,10
.p2align 3
.L2:
xor eax, eax
call peek@PLT
mov rdx, QWORD PTR TEOF[rip]
cmp QWORD PTR [rax], rdx
je .L7
xor eax, eax
call is_funcdef@PLT
test rax, rax
je .L4
xor eax, eax
call read_funcdef@PLT
mov rdi, QWORD PTR toplevels[rip]
mov esi, eax
call vec_push@PLT
jmp .L2
.p2align 4,,10
.p2align 3
.L4:
mov rdi, QWORD PTR toplevels[rip]
mov esi, 1
call read_decl@PLT
jmp .L2
.p2align 4,,10
.p2align 3
.L7:
mov rax, QWORD PTR toplevels[rip]
add rsp, 8
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size read_toplevels, .-read_toplevels
.globl toplevels
.bss
.align 8
.type toplevels, @object
.size toplevels, 8
toplevels:
.zero 8
.globl TEOF
.align 8
.type TEOF, @object
.size TEOF, 8
TEOF:
.zero 8
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_parse.c_read_toplevels.c"
.text
.align 2
.global read_toplevels
.syntax unified
.arm
.fpu softvfp
.type read_toplevels, %function
read_toplevels:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
bl make_vector
ldr r4, .L10
ldr r5, .L10+4
str r0, [r4]
.L2:
bl peek
ldr r3, [r5]
ldr r2, [r0]
cmp r2, r3
beq .L9
bl is_funcdef
cmp r0, #0
beq .L4
ldr r6, [r4]
bl read_funcdef
mov r1, r0
mov r0, r6
bl vec_push
b .L2
.L4:
mov r1, #1
ldr r0, [r4]
bl read_decl
b .L2
.L9:
ldr r0, [r4]
pop {r4, r5, r6, pc}
.L11:
.align 2
.L10:
.word toplevels
.word TEOF
.size read_toplevels, .-read_toplevels
.comm toplevels,4,4
.comm TEOF,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
Subsets and Splits