	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function data_ld_host_order
_data_ld_host_order:                    ## @data_ld_host_order
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %r12d
	movl	%r8d, -48(%rbp)                 ## 4-byte Spill
	movl	%ecx, -68(%rbp)                 ## 4-byte Spill
	movl	%edx, %r15d
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movl	%r9d, %edi
	movl	$4, %esi
	callq	_max
	movl	%eax, %r14d
	xorl	%r13d, %r13d
	cmpl	$3, %r12d
	jg	LBB0_2
## %bb.1:
	leal	-1(%r12), %edi
	xorl	%esi, %esi
	callq	_GENMASK
	movl	%eax, %r13d
LBB0_2:
	movq	_CMD_TGT_READ32_SWAP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leal	3(%r14), %eax
	testl	%r14d, %r14d
	cmovnsl	%r14d, %eax
	sarl	$2, %eax
	decl	%eax
	movq	_CMD_CTX_SWAP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	movl	16(%rbp), %edx
	xorl	%ecx, %ecx
	movl	-68(%rbp), %r8d                 ## 4-byte Reload
	movl	-48(%rbp), %r9d                 ## 4-byte Reload
	pushq	%rbx
	pushq	%rax
	callq	_emit_cmd
	addq	$16, %rsp
	testl	%r13d, %r13d
	je	LBB0_3
## %bb.9:
	movl	%r15d, %edi
	callq	_reg_both
	movl	%eax, %ebx
	xorl	%edi, %edi
	callq	_reg_xfer
	movq	_SHF_SC_NONE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	subq	$8, %rsp
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%r13d, %edx
	movl	%eax, %ecx
	xorl	%r9d, %r9d
	pushq	$1
	callq	_emit_ld_field_any
	addq	$16, %rsp
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
LBB0_7:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	%r15d, %edx
	callq	_wrp_zext
LBB0_8:
	xorl	%eax, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	testl	%r12d, %r12d
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	je	LBB0_7
## %bb.4:
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	xorl	%r15d, %r15d
	xorl	%ebx, %ebx
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	leal	(%rax,%rbx), %edi
	callq	_reg_both
	movl	%eax, %r13d
	movl	%ebx, %edi
	callq	_reg_xfer
	movq	%r14, %rdi
	movl	%r13d, %esi
	movl	%eax, %edx
	callq	_wrp_mov
	incl	%ebx
	addl	$4, %r15d
	cmpl	%r12d, %r15d
	jb	LBB0_5
## %bb.6:
	cmpl	$1, %ebx
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	jbe	LBB0_7
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_CMD_TGT_READ32_SWAP,4,2        ## @CMD_TGT_READ32_SWAP
	.comm	_CMD_CTX_SWAP,4,2               ## @CMD_CTX_SWAP
	.comm	_SHF_SC_NONE,4,2                ## @SHF_SC_NONE
	.no_dead_strip	_data_ld_host_order
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function data_ld_host_order
_data_ld_host_order:                    ; @data_ld_host_order
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x25, x6
	mov	x22, x5
	mov	x23, x4
	mov	x26, x3
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	mov	x0, x5
	mov	w1, #4
	bl	_max
	mov	x27, x0
	cmp	w22, #3
	b.gt	LBB0_2
; %bb.1:
	sub	w0, w22, #1
	mov	w1, #0
	bl	_GENMASK
	mov	x24, x0
	b	LBB0_3
LBB0_2:
	mov	w24, #0
LBB0_3:
Lloh0:
	adrp	x8, _CMD_TGT_READ32_SWAP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CMD_TGT_READ32_SWAP@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	w8, w27, #3
	cmp	w27, #0
	csel	w8, w8, w27, lt
	asr	w8, w8, #2
	sub	w6, w8, #1
Lloh3:
	adrp	x8, _CMD_CTX_SWAP@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CMD_CTX_SWAP@GOTPAGEOFF]
Lloh5:
	ldr	w7, [x8]
	mov	x0, x21
	mov	x2, x25
	mov	w3, #0
	mov	x4, x26
	mov	x5, x23
	bl	_emit_cmd
	cbz	w24, LBB0_7
; %bb.4:
	mov	x0, x19
	bl	_reg_both
	mov	x22, x0
	mov	w0, #0
	bl	_reg_xfer
	mov	x3, x0
Lloh6:
	adrp	x8, _SHF_SC_NONE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SHF_SC_NONE@GOTPAGEOFF]
Lloh8:
	ldr	w4, [x8]
	mov	x0, x21
	mov	x1, x22
	mov	x2, x24
	mov	w5, #0
	mov	w6, #1
	bl	_emit_ld_field_any
LBB0_5:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	bl	_wrp_zext
LBB0_6:
	mov	w0, #0
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_7:
	cbz	w22, LBB0_5
; %bb.8:
	mov	w25, #0
	mov	w23, #0
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	add	w0, w19, w23
	bl	_reg_both
	mov	x24, x0
	mov	x0, x23
	bl	_reg_xfer
	mov	x2, x0
	mov	x0, x21
	mov	x1, x24
	bl	_wrp_mov
	add	w23, w23, #1
	add	w25, w25, #4
	cmp	w25, w22
	b.lo	LBB0_9
; %bb.10:
	cmp	w23, #1
	b.ls	LBB0_5
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_CMD_TGT_READ32_SWAP,4,2        ; @CMD_TGT_READ32_SWAP
	.comm	_CMD_CTX_SWAP,4,2               ; @CMD_CTX_SWAP
	.comm	_SHF_SC_NONE,4,2                ; @SHF_SC_NONE
	.no_dead_strip	_data_ld_host_order
.subsections_via_symbols
