	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ldfile_open_command_file       ## -- Begin function ldfile_open_command_file
	.p2align	4, 0x90
_ldfile_open_command_file:              ## @ldfile_open_command_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rsi
	callq	_ldfile_find_command_file
	movq	%rax, %r14
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movq	_bfd_error_system_call@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_bfd_set_error
	leaq	L_.str.1(%rip), %rdi
	callq	__
	movl	%eax, %edi
	movq	%rbx, %rsi
	callq	_einfo
LBB0_2:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_lex_push_file
	movq	_ldfile_input_filename@GOTPCREL(%rip), %rax
	movq	%rbx, (%rax)
	movq	_lineno@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	movq	_saved_script_handle@GOTPCREL(%rip), %rax
	movq	%r14, (%rax)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.space	1

	.comm	_bfd_error_system_call,4,2      ## @bfd_error_system_call
L_.str.1:                               ## @.str.1
	.asciz	"%P%F: cannot open linker script file %s: %E\n"

	.comm	_ldfile_input_filename,8,3      ## @ldfile_input_filename
	.comm	_lineno,4,2                     ## @lineno
	.comm	_saved_script_handle,8,3        ## @saved_script_handle
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ldfile_open_command_file       ; -- Begin function ldfile_open_command_file
	.p2align	2
_ldfile_open_command_file:              ; @ldfile_open_command_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
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_ldfile_find_command_file
	mov	x20, x0
	cbnz	x0, LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _bfd_error_system_call@GOTPAGE
Lloh3:
	ldr	x8, [x8, _bfd_error_system_call@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	bl	_bfd_set_error
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	__
	mov	x1, x19
	bl	_einfo
LBB0_2:
	mov	x0, x20
	mov	x1, x19
	bl	_lex_push_file
Lloh7:
	adrp	x8, _ldfile_input_filename@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ldfile_input_filename@GOTPAGEOFF]
Lloh9:
	adrp	x9, _lineno@GOTPAGE
Lloh10:
	ldr	x9, [x9, _lineno@GOTPAGEOFF]
Lloh11:
	str	x19, [x8]
	mov	w8, #1
Lloh12:
	str	w8, [x9]
Lloh13:
	adrp	x8, _saved_script_handle@GOTPAGE
Lloh14:
	ldr	x8, [x8, _saved_script_handle@GOTPAGEOFF]
Lloh15:
	str	x20, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotStr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotStr	Lloh9, Lloh10, Lloh12
	.loh AdrpLdrGotStr	Lloh7, Lloh8, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.space	1

	.comm	_bfd_error_system_call,4,2      ; @bfd_error_system_call
l_.str.1:                               ; @.str.1
	.asciz	"%P%F: cannot open linker script file %s: %E\n"

	.comm	_ldfile_input_filename,8,3      ; @ldfile_input_filename
	.comm	_lineno,4,2                     ; @lineno
	.comm	_saved_script_handle,8,3        ; @saved_script_handle
.subsections_via_symbols
