	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ldfile_add_arch                ## -- Begin function ldfile_add_arch
	.p2align	4, 0x90
_ldfile_add_arch:                       ## @ldfile_add_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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	callq	_xstrdup
	movq	%rax, %rbx
	movl	$16, %edi
	callq	_xmalloc
	movq	%rax, %r14
	movq	_ldfile_output_machine_name@GOTPCREL(%rip), %rax
	movq	%r15, (%rax)
	movq	%rbx, (%r14)
	movq	$0, 8(%r14)
	movq	%r14, %r15
	addq	$8, %r15
	movb	(%rbx), %al
	testb	%al, %al
	je	LBB0_3
## %bb.1:
	incq	%rbx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movsbl	%al, %edi
	callq	_TOLOWER
	movb	%al, -1(%rbx)
	movzbl	(%rbx), %eax
	incq	%rbx
	testb	%al, %al
	jne	LBB0_2
LBB0_3:
	movq	_search_arch_tail_ptr@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	%r14, (%rcx)
	movq	%r15, (%rax)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ldfile_output_machine_name,8,3 ## @ldfile_output_machine_name
	.comm	_search_arch_tail_ptr,8,3       ## @search_arch_tail_ptr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ldfile_add_arch                ; -- Begin function ldfile_add_arch
	.p2align	2
_ldfile_add_arch:                       ; @ldfile_add_arch
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x21, x0
	bl	_xstrdup
	mov	x20, x0
	mov	w0, #16
	bl	_xmalloc
	mov	x19, x0
Lloh0:
	adrp	x8, _ldfile_output_machine_name@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ldfile_output_machine_name@GOTPAGEOFF]
Lloh2:
	str	x21, [x8]
	str	x20, [x0]
	mov	x21, x0
	str	xzr, [x21, #8]!
	ldrb	w8, [x20]
	cbz	w8, LBB0_3
; %bb.1:
	add	x20, x20, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	sxtb	w0, w8
	bl	_TOLOWER
	sturb	w0, [x20, #-1]
	ldrb	w8, [x20], #1
	cbnz	w8, LBB0_2
LBB0_3:
Lloh3:
	adrp	x8, _search_arch_tail_ptr@GOTPAGE
Lloh4:
	ldr	x8, [x8, _search_arch_tail_ptr@GOTPAGEOFF]
	ldr	x9, [x8]
	str	x19, [x9]
	str	x21, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_ldfile_output_machine_name,8,3 ; @ldfile_output_machine_name
	.comm	_search_arch_tail_ptr,8,3       ; @search_arch_tail_ptr
.subsections_via_symbols
