	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lookup_name
_lookup_name:                           ## @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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	_input_file_chain@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	24(%rbx), %rbx
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	testq	%rbx, %rbx
	je	LBB0_5
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%r14, %rsi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_4
## %bb.6:
	cmpq	$0, 16(%rbx)
	jne	LBB0_9
	jmp	LBB0_7
LBB0_5:
	movq	_lang_input_file_is_search_file_enum@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_default_target@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	callq	_new_afile
	movq	%rax, %rbx
	cmpq	$0, 16(%rbx)
	jne	LBB0_9
LBB0_7:
	cmpl	$0, 8(%rbx)
	je	LBB0_9
## %bb.8:
	xorl	%r14d, %r14d
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_load_symbols
	testl	%eax, %eax
	cmoveq	%r14, %rbx
LBB0_9:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_input_file_chain,8,3           ## @input_file_chain
	.comm	_lang_input_file_is_search_file_enum,4,2 ## @lang_input_file_is_search_file_enum
	.comm	_default_target,4,2             ## @default_target
	.comm	_FALSE,4,2                      ## @FALSE
	.no_dead_strip	_lookup_name
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lookup_name
_lookup_name:                           ; @lookup_name
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x0
Lloh0:
	adrp	x8, _input_file_chain@GOTPAGE
Lloh1:
	ldr	x8, [x8, _input_file_chain@GOTPAGEOFF]
Lloh2:
	ldr	x19, [x8]
	cbnz	x19, LBB0_3
LBB0_1:
Lloh3:
	adrp	x8, _lang_input_file_is_search_file_enum@GOTPAGE
Lloh4:
	ldr	x8, [x8, _lang_input_file_is_search_file_enum@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x8, _default_target@GOTPAGE
Lloh7:
	ldr	x8, [x8, _default_target@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
Lloh9:
	adrp	x8, _FALSE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh11:
	ldr	w3, [x8]
	mov	x0, x20
	bl	_new_afile
	mov	x19, x0
	b	LBB0_5
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x19, [x19, #24]
	cbz	x19, LBB0_1
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x19]
	cbz	x0, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x1, x20
	bl	_strcmp
	cbnz	x0, LBB0_2
LBB0_5:
	ldr	x8, [x19, #16]
	cbnz	x8, LBB0_8
; %bb.6:
	ldr	w8, [x19, #8]
	cbz	w8, LBB0_8
; %bb.7:
	mov	x0, x19
	mov	x1, #0
	bl	_load_symbols
	cmp	w0, #0
	csel	x19, xzr, x19, eq
LBB0_8:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_input_file_chain,8,3           ; @input_file_chain
	.comm	_lang_input_file_is_search_file_enum,4,2 ; @lang_input_file_is_search_file_enum
	.comm	_default_target,4,2             ; @default_target
	.comm	_FALSE,4,2                      ; @FALSE
	.no_dead_strip	_lookup_name
.subsections_via_symbols
