	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ldlang_add_file                ## -- Begin function ldlang_add_file
	.p2align	4, 0x90
_ldlang_add_file:                       ## @ldlang_add_file
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	leaq	8(%rdi), %rdx
	movq	_file_chain@GOTPCREL(%rip), %rdi
	movq	%rbx, %rsi
	callq	_lang_statement_append
	movq	(%rbx), %rax
	xorl	%edi, %edi
	cmpq	$0, 8(%rax)
	sete	%dil
	callq	_ASSERT
	movq	(%rbx), %rax
	movq	_output_bfd@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	setne	%dil
	callq	_ASSERT
	movq	(%rbx), %rax
	movq	_link_info@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	movq	%rax, (%rdx)
	movq	(%rbx), %rdi
	leaq	8(%rdi), %rax
	movq	%rax, (%rcx)
	movq	%rbx, (%rdi)
	movq	_g_switch_value@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_bfd_set_gp_size
	movq	(%rbx), %rdi
	movq	_section_already_linked@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_bfd_map_over_sections          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_file_chain,4,2                 ## @file_chain
	.comm	_output_bfd,8,3                 ## @output_bfd
	.comm	_link_info,8,3                  ## @link_info
	.comm	_g_switch_value,4,2             ## @g_switch_value
	.comm	_section_already_linked,4,2     ## @section_already_linked
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ldlang_add_file                ; -- Begin function ldlang_add_file
	.p2align	2
_ldlang_add_file:                       ; @ldlang_add_file
	.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	x19, x0
	add	x2, x0, #8
Lloh0:
	adrp	x0, _file_chain@GOTPAGE
Lloh1:
	ldr	x0, [x0, _file_chain@GOTPAGEOFF]
	mov	x1, x19
	bl	_lang_statement_append
	ldr	x8, [x19]
	ldr	x8, [x8, #8]
	cmp	x8, #0
	cset	w0, eq
	bl	_ASSERT
	ldr	x8, [x19]
Lloh2:
	adrp	x9, _output_bfd@GOTPAGE
Lloh3:
	ldr	x9, [x9, _output_bfd@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, ne
	bl	_ASSERT
	ldr	x8, [x19]
Lloh5:
	adrp	x9, _link_info@GOTPAGE
Lloh6:
	ldr	x9, [x9, _link_info@GOTPAGEOFF]
	ldr	x10, [x9]
	str	x8, [x10]
	ldr	x0, [x19]
	mov	x8, x0
	str	x19, [x8], #8
	str	x8, [x9]
Lloh7:
	adrp	x8, _g_switch_value@GOTPAGE
Lloh8:
	ldr	x8, [x8, _g_switch_value@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	bl	_bfd_set_gp_size
	ldr	x0, [x19]
Lloh10:
	adrp	x8, _section_already_linked@GOTPAGE
Lloh11:
	ldr	x8, [x8, _section_already_linked@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	mov	x2, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_bfd_map_over_sections
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_file_chain,4,2                 ; @file_chain
	.comm	_output_bfd,8,3                 ; @output_bfd
	.comm	_link_info,8,3                  ; @link_info
	.comm	_g_switch_value,4,2             ; @g_switch_value
	.comm	_section_already_linked,4,2     ; @section_already_linked
.subsections_via_symbols
