	.file	"extr_scm-lang.c_scm_lookup_name.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"env"
.LC1:
	.string	"scm_lookup_cstr"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC2:
	.string	"No symbol \"%s\" in current context."
	.text
	.p2align 4
	.type	scm_lookup_name, @function
scm_lookup_name:
.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, 40
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	call	strlen@PLT
	mov	edi, eax
	mov	r12d, eax
	call	value_allocate_space_in_inferior@PLT
	mov	edi, DWORD PTR builtin_type_int[rip]
	mov	esi, r12d
	mov	QWORD PTR [rsp], rax
	call	value_from_longest@PLT
	mov	rdi, QWORD PTR [rsp]
	mov	QWORD PTR 8[rsp], rax
	call	value_as_long@PLT
	mov	edx, r12d
	mov	rsi, rbp
	mov	edi, eax
	call	write_memory@PLT
	xor	eax, eax
	call	in_eval_c@PLT
	test	rax, rax
	je	.L2
	mov	edx, DWORD PTR VAR_DOMAIN[rip]
	mov	rsi, QWORD PTR expression_context_block[rip]
	xor	r8d, r8d
	xor	ecx, ecx
	lea	rdi, .LC0[rip]
	call	lookup_symbol@PLT
	mov	rdi, rax
	test	rax, rax
	je	.L2
	mov	rsi, QWORD PTR expression_context_block[rip]
	call	value_of_variable@PLT
	mov	QWORD PTR 16[rsp], rax
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L2:
	mov	esi, DWORD PTR SCM_EOL[rip]
	mov	edi, DWORD PTR builtin_type_scm[rip]
	call	value_from_longest@PLT
	mov	QWORD PTR 16[rsp], rax
.L3:
	lea	rdi, .LC1[rip]
	call	find_function_in_inferior@PLT
	mov	rdx, rsp
	mov	esi, 3
	mov	rdi, rax
	call	call_function_by_hand@PLT
	mov	rdi, rax
	mov	r12, rax
	call	value_logical_not@PLT
	test	eax, eax
	je	.L16
	mov	edx, DWORD PTR VAR_DOMAIN[rip]
	mov	rdi, rbp
	xor	r8d, r8d
	xor	ecx, ecx
	mov	rsi, QWORD PTR expression_context_block[rip]
	call	lookup_symbol@PLT
	mov	rdi, rax
	test	rax, rax
	je	.L6
	xor	esi, esi
	call	value_of_variable@PLT
.L1:
	mov	rcx, QWORD PTR 24[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L17
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	mov	rsi, rbp
	lea	rdi, .LC2[rip]
	call	error@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L16:
	mov	rdi, r12
	call	value_ind@PLT
	jmp	.L1
.L17:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	scm_lookup_name, .-scm_lookup_name
	.comm	expression_context_block,8,8
	.comm	builtin_type_scm,4,4
	.comm	builtin_type_int,4,4
	.comm	VAR_DOMAIN,4,4
	.comm	SCM_EOL,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_scm-lang.c_scm_lookup_name.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"env\000"
	.align	2
.LC1:
	.ascii	"scm_lookup_cstr\000"
	.align	2
.LC2:
	.ascii	"No symbol \"%s\" in current context.\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	scm_lookup_name, %function
scm_lookup_name:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	ldr	r3, .L18
	sub	sp, sp, #28
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	mov	r5, r0
	bl	strlen
	mov	r4, r0
	bl	value_allocate_space_in_inferior
	mov	r3, r0
	ldr	r2, .L18+4
	mov	r1, r4
	ldr	r0, [r2]
	str	r3, [sp, #8]
	bl	value_from_longest
	mov	r3, r0
	ldr	r0, [sp, #8]
	str	r3, [sp, #12]
	bl	value_as_long
	mov	r2, r4
	mov	r1, r5
	bl	write_memory
	bl	in_eval_c
	cmp	r0, #0
	beq	.L2
	mov	r3, #0
	ldr	r2, .L18+8
	ldr	r4, .L18+12
	str	r3, [sp]
	ldr	r2, [r2]
	ldr	r1, [r4]
	ldr	r0, .L18+16
	bl	lookup_symbol
	cmp	r0, #0
	beq	.L2
	ldr	r1, [r4]
	bl	value_of_variable
	str	r0, [sp, #16]
	b	.L3
.L2:
	ldr	r2, .L18+20
	ldr	r3, .L18+24
	ldr	r1, [r2]
	ldr	r0, [r3]
	bl	value_from_longest
	str	r0, [sp, #16]
.L3:
	ldr	r0, .L18+28
	bl	find_function_in_inferior
	mov	r1, #3
	add	r2, sp, #8
	bl	call_function_by_hand
	mov	r4, r0
	bl	value_logical_not
	cmp	r0, #0
	beq	.L16
	mov	r4, #0
	ldr	r2, .L18+8
	ldr	r1, .L18+12
	str	r4, [sp]
	mov	r3, r4
	mov	r0, r5
	ldr	r2, [r2]
	ldr	r1, [r1]
	bl	lookup_symbol
	cmp	r0, r4
	beq	.L6
	mov	r1, r4
	bl	value_of_variable
.L1:
	ldr	r3, .L18
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L17
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, pc}
.L6:
	mov	r1, r5
	ldr	r0, .L18+32
	bl	error
	b	.L1
.L16:
	mov	r0, r4
	bl	value_ind
	b	.L1
.L17:
	bl	__stack_chk_fail
.L19:
	.align	2
.L18:
	.word	.LC3
	.word	builtin_type_int
	.word	VAR_DOMAIN
	.word	expression_context_block
	.word	.LC0
	.word	SCM_EOL
	.word	builtin_type_scm
	.word	.LC1
	.word	.LC2
	.size	scm_lookup_name, .-scm_lookup_name
	.comm	expression_context_block,4,4
	.comm	builtin_type_scm,4,4
	.comm	builtin_type_int,4,4
	.comm	VAR_DOMAIN,4,4
	.comm	SCM_EOL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
