	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ldfile_set_output_arch         ## -- Begin function ldfile_set_output_arch
	.p2align	4, 0x90
_ldfile_set_output_arch:                ## @ldfile_set_output_arch
	.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
	movl	%esi, %r14d
	movq	%rdi, %rbx
	callq	_bfd_scan_arch
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	(%rax), %ecx
	movq	_ldfile_output_architecture@GOTPCREL(%rip), %rdx
	movl	%ecx, (%rdx)
	movl	8(%rax), %ecx
	movq	_ldfile_output_machine@GOTPCREL(%rip), %rdx
	movl	%ecx, (%rdx)
	movl	4(%rax), %eax
	movq	_ldfile_output_machine_name@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	jmp	LBB0_4
LBB0_2:
	movq	_bfd_arch_unknown@GOTPCREL(%rip), %rax
	cmpl	%r14d, (%rax)
	jne	LBB0_3
## %bb.5:
	leaq	L_.str(%rip), %rdi
	callq	__
	movl	%eax, %edi
	movq	%rbx, %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_einfo                          ## TAILCALL
LBB0_3:
	movq	_ldfile_output_architecture@GOTPCREL(%rip), %rax
	movl	%r14d, (%rax)
LBB0_4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ldfile_output_architecture,4,2 ## @ldfile_output_architecture
	.comm	_ldfile_output_machine,4,2      ## @ldfile_output_machine
	.comm	_ldfile_output_machine_name,4,2 ## @ldfile_output_machine_name
	.comm	_bfd_arch_unknown,4,2           ## @bfd_arch_unknown
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%P%F: cannot represent machine `%s'\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ldfile_set_output_arch         ; -- Begin function ldfile_set_output_arch
	.p2align	2
_ldfile_set_output_arch:                ; @ldfile_set_output_arch
	.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, x1
	mov	x19, x0
	bl	_bfd_scan_arch
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _ldfile_output_architecture@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ldfile_output_architecture@GOTPAGEOFF]
	ldp	w9, w10, [x0]
Lloh2:
	str	w9, [x8]
	ldr	w8, [x0, #8]
Lloh3:
	adrp	x9, _ldfile_output_machine@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ldfile_output_machine@GOTPAGEOFF]
Lloh5:
	str	w8, [x9]
Lloh6:
	adrp	x8, _ldfile_output_machine_name@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ldfile_output_machine_name@GOTPAGEOFF]
Lloh8:
	str	w10, [x8]
	b	LBB0_5
LBB0_2:
Lloh9:
	adrp	x8, _bfd_arch_unknown@GOTPAGE
Lloh10:
	ldr	x8, [x8, _bfd_arch_unknown@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	cmp	w8, w20
	b.ne	LBB0_4
; %bb.3:
Lloh12:
	adrp	x0, l_.str@PAGE
Lloh13:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	mov	x1, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_einfo
LBB0_4:
Lloh14:
	adrp	x8, _ldfile_output_architecture@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ldfile_output_architecture@GOTPAGEOFF]
Lloh16:
	str	w20, [x8]
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotStr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotStr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotStr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_ldfile_output_architecture,4,2 ; @ldfile_output_architecture
	.comm	_ldfile_output_machine,4,2      ; @ldfile_output_machine
	.comm	_ldfile_output_machine_name,4,2 ; @ldfile_output_machine_name
	.comm	_bfd_arch_unknown,4,2           ; @bfd_arch_unknown
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%P%F: cannot represent machine `%s'\n"

.subsections_via_symbols
