	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function scm_lookup_name
_scm_lookup_name:                       ## @scm_lookup_name
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	callq	_strlen
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_value_allocate_space_in_inferior
	movq	%rax, %r15
	movq	%rax, -64(%rbp)
	movq	_builtin_type_int@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%ebx, %esi
	callq	_value_from_longest
	movq	%rax, -56(%rbp)
	movq	%r15, %rdi
	callq	_value_as_long
	movl	%eax, %edi
	movq	%r14, %rsi
	movl	%ebx, %edx
	callq	_write_memory
	xorl	%eax, %eax
	callq	_in_eval_c
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	_expression_context_block@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rsi
	movq	_VAR_DOMAIN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rdi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_lookup_symbol
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	(%rbx), %rsi
	movq	%rax, %rdi
	callq	_value_of_variable
	jmp	LBB0_4
LBB0_3:
	movq	_builtin_type_scm@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SCM_EOL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_value_from_longest
LBB0_4:
	movq	%rax, -48(%rbp)
	leaq	L_.str.1(%rip), %rdi
	callq	_find_function_in_inferior
	leaq	-64(%rbp), %rdx
	movq	%rax, %rdi
	movl	$3, %esi
	callq	_call_function_by_hand
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_value_logical_not
	testl	%eax, %eax
	je	LBB0_5
## %bb.6:
	movq	_expression_context_block@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	_VAR_DOMAIN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_lookup_symbol
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	%rax, %rdi
	xorl	%esi, %esi
	callq	_value_of_variable
	jmp	LBB0_9
LBB0_5:
	movq	%rbx, %rdi
	callq	_value_ind
	jmp	LBB0_9
LBB0_8:
	leaq	L_.str.2(%rip), %rdi
	movq	%r14, %rsi
	callq	_error
                                        ## implicit-def: $rax
LBB0_9:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-32(%rbp), %rcx
	jne	LBB0_11
## %bb.10:
	addq	$40, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_builtin_type_int,4,2           ## @builtin_type_int
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"env"

	.comm	_expression_context_block,8,3   ## @expression_context_block
	.comm	_VAR_DOMAIN,4,2                 ## @VAR_DOMAIN
	.comm	_builtin_type_scm,4,2           ## @builtin_type_scm
	.comm	_SCM_EOL,4,2                    ## @SCM_EOL
L_.str.1:                               ## @.str.1
	.asciz	"scm_lookup_cstr"

L_.str.2:                               ## @.str.2
	.asciz	"No symbol \"%s\" in current context."

	.no_dead_strip	_scm_lookup_name
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function scm_lookup_name
_scm_lookup_name:                       ; @scm_lookup_name
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	bl	_strlen
	mov	x20, x0
	bl	_value_allocate_space_in_inferior
	mov	x21, x0
	str	x0, [sp]
Lloh3:
	adrp	x8, _builtin_type_int@GOTPAGE
Lloh4:
	ldr	x8, [x8, _builtin_type_int@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_value_from_longest
	str	x0, [sp, #8]
	mov	x0, x21
	bl	_value_as_long
	mov	x1, x19
	mov	x2, x20
	bl	_write_memory
	bl	_in_eval_c
Lloh6:
	adrp	x21, _expression_context_block@GOTPAGE
Lloh7:
	ldr	x21, [x21, _expression_context_block@GOTPAGEOFF]
Lloh8:
	adrp	x22, _VAR_DOMAIN@GOTPAGE
Lloh9:
	ldr	x22, [x22, _VAR_DOMAIN@GOTPAGEOFF]
	cbz	x0, LBB0_3
; %bb.1:
	ldr	x1, [x21]
	ldr	w2, [x22]
Lloh10:
	adrp	x0, l_.str@PAGE
Lloh11:
	add	x0, x0, l_.str@PAGEOFF
	mov	x3, #0
	mov	x4, #0
	bl	_lookup_symbol
	cbz	x0, LBB0_3
; %bb.2:
	ldr	x1, [x21]
	bl	_value_of_variable
	b	LBB0_4
LBB0_3:
Lloh12:
	adrp	x8, _builtin_type_scm@GOTPAGE
Lloh13:
	ldr	x8, [x8, _builtin_type_scm@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
Lloh15:
	adrp	x8, _SCM_EOL@GOTPAGE
Lloh16:
	ldr	x8, [x8, _SCM_EOL@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	bl	_value_from_longest
LBB0_4:
	str	x0, [sp, #16]
Lloh18:
	adrp	x0, l_.str.1@PAGE
Lloh19:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_find_function_in_inferior
	mov	x2, sp
	mov	w1, #3
	bl	_call_function_by_hand
	mov	x20, x0
	bl	_value_logical_not
	cbz	w0, LBB0_7
; %bb.5:
	ldr	x1, [x21]
	ldr	w2, [x22]
	mov	x0, x19
	mov	x3, #0
	mov	x4, #0
	bl	_lookup_symbol
	cbz	x0, LBB0_8
; %bb.6:
	mov	x1, #0
	bl	_value_of_variable
	b	LBB0_9
LBB0_7:
	mov	x0, x20
	bl	_value_ind
	b	LBB0_9
LBB0_8:
Lloh20:
	adrp	x0, l_.str.2@PAGE
Lloh21:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x19
	bl	_error
                                        ; implicit-def: $x0
LBB0_9:
	ldr	x8, [sp, #24]
Lloh22:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh23:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh24:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_11
; %bb.10:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_11:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_builtin_type_int,4,2           ; @builtin_type_int
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"env"

	.comm	_expression_context_block,8,3   ; @expression_context_block
	.comm	_VAR_DOMAIN,4,2                 ; @VAR_DOMAIN
	.comm	_builtin_type_scm,4,2           ; @builtin_type_scm
	.comm	_SCM_EOL,4,2                    ; @SCM_EOL
l_.str.1:                               ; @.str.1
	.asciz	"scm_lookup_cstr"

l_.str.2:                               ; @.str.2
	.asciz	"No symbol \"%s\" in current context."

	.no_dead_strip	_scm_lookup_name
.subsections_via_symbols
