	.file	"extr_gen.c_emit_load_struct_ref.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"rbp"
.LC1:
	.string	"rax"
.LC2:
	.string	"internal error: %s"
	.text
	.p2align 4
	.type	emit_load_struct_ref, @function
emit_load_struct_ref:
.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
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	eax, DWORD PTR 0[rbp]
	mov	ebx, edx
	cmp	eax, 130
	je	.L2
.L12:
	jg	.L3
	cmp	eax, 128
	je	.L4
	cmp	eax, 129
	jne	.L6
	mov	rdi, rbp
	call	ensure_lvar_init@PLT
	mov	edx, DWORD PTR 32[rbp]
	add	ebx, DWORD PTR [r12]
	mov	rdi, r12
	lea	rsi, .LC0[rip]
	add	edx, ebx
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	emit_lload@PLT
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	cmp	eax, 131
	jne	.L6
	mov	edi, DWORD PTR 4[rbp]
	call	emit_expr@PLT
	add	ebx, DWORD PTR [r12]
	mov	rdi, r12
	lea	rsi, .LC1[rip]
	mov	edx, ebx
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	emit_lload@PLT
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	mov	rdi, rbp
	call	node2s@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	lea	rdi, .LC2[rip]
	pop	rbp
	.cfi_def_cfa_offset 16
	mov	esi, eax
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	error@PLT
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	mov	rax, QWORD PTR 8[rbp]
	mov	rbp, QWORD PTR 16[rbp]
	add	ebx, DWORD PTR [rax]
	mov	eax, DWORD PTR 0[rbp]
	cmp	eax, 130
	jne	.L12
.L2:
	add	ebx, DWORD PTR [r12]
	mov	esi, DWORD PTR 24[rbp]
	mov	rdi, r12
	mov	edx, ebx
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	emit_gload@PLT
	.cfi_endproc
.LFE0:
	.size	emit_load_struct_ref, .-emit_load_struct_ref
	.comm	SAVE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_gen.c_emit_load_struct_ref.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"rbp\000"
	.align	2
.LC1:
	.ascii	"rax\000"
	.align	2
.LC2:
	.ascii	"internal error: %s\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	emit_load_struct_ref, %function
emit_load_struct_ref:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	mov	r5, r1
	mov	r6, r2
.L8:
	ldr	r3, [r4]
	sub	r3, r3, #128
	cmp	r3, #3
	ldrls	pc, [pc, r3, asl #2]
	b	.L2
.L4:
	.word	.L7
	.word	.L6
	.word	.L5
	.word	.L3
.L3:
	ldr	r0, [r4, #4]
	bl	emit_expr
	ldr	r2, [r5]
	mov	r0, r5
	add	r2, r6, r2
	ldr	r1, .L11
	pop	{r4, r5, r6, lr}
	b	emit_lload
.L5:
	ldr	r2, [r5]
	mov	r0, r5
	ldr	r1, [r4, #16]
	add	r2, r6, r2
	pop	{r4, r5, r6, lr}
	b	emit_gload
.L6:
	mov	r0, r4
	bl	ensure_lvar_init
	ldr	r2, [r4, #20]
	ldr	r3, [r5]
	mov	r0, r5
	add	r2, r2, r3
	add	r2, r2, r6
	ldr	r1, .L11+4
	pop	{r4, r5, r6, lr}
	b	emit_lload
.L7:
	ldr	r3, [r4, #8]
	ldr	r4, [r4, #12]
	ldr	r3, [r3]
	add	r6, r6, r3
	b	.L8
.L2:
	mov	r0, r4
	bl	node2s
	pop	{r4, r5, r6, lr}
	mov	r1, r0
	ldr	r0, .L11+8
	b	error
.L12:
	.align	2
.L11:
	.word	.LC1
	.word	.LC0
	.word	.LC2
	.size	emit_load_struct_ref, .-emit_load_struct_ref
	.comm	SAVE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
