	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mem_ldx_data_init_pktcache
_mem_ldx_data_init_pktcache:            ## @mem_ldx_data_init_pktcache
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movl	4(%rsi), %r13d
	movl	8(%rsi), %r14d
	callq	_imm_b
	movq	%r15, %rdi
	movl	%r13d, %esi
	movl	%eax, %edx
	callq	_re_load_imm_any
	movl	%eax, %r12d
	movl	(%rbx), %edi
	addl	%edi, %edi
	callq	_reg_a
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	subl	%r13d, %r14d
	movq	_REG_WIDTH@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movl	%r14d, %edi
	callq	_round_up
	movl	(%rbx), %ebx
	cltd
	idivl	%ebx
	movl	%eax, %r13d
	shll	$3, %ebx
	cmpl	%ebx, %r14d
	jle	LBB0_1
## %bb.2:
	xorl	%eax, %eax
	callq	_reg_none
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_CMD_OVE_LEN@GOTPCREL(%rip), %rax
	movl	%r12d, -48(%rbp)                ## 4-byte Spill
	movl	(%rax), %r12d
	movq	_CMD_OV_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	decl	%r13d
	movl	%r13d, %esi
	callq	_FIELD_PREP
	orl	%eax, %r12d
	movq	%r15, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	%r12d, %edx
	movl	-48(%rbp), %r12d                ## 4-byte Reload
	callq	_wrp_immed
	jmp	LBB0_3
LBB0_1:
	decl	%r13d
LBB0_3:
	xorl	%eax, %eax
	cmpl	%ebx, %r14d
	setg	%al
	movq	_CMD_TGT_READ32_SWAP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_CMD_MODE_32b@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_CMD_CTX_SWAP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	subq	$8, %rsp
	movq	%r15, %rdi
	xorl	%ecx, %ecx
	movl	-52(%rbp), %r8d                 ## 4-byte Reload
	movl	%r12d, %r9d
	pushq	%rax
	pushq	%rbx
	pushq	%r13
	callq	_emit_cmd_any
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_REG_WIDTH,4,2                  ## @REG_WIDTH
	.comm	_CMD_OVE_LEN,4,2                ## @CMD_OVE_LEN
	.comm	_CMD_OV_LEN,4,2                 ## @CMD_OV_LEN
	.comm	_CMD_TGT_READ32_SWAP,4,2        ## @CMD_TGT_READ32_SWAP
	.comm	_CMD_MODE_32b,4,2               ## @CMD_MODE_32b
	.comm	_CMD_CTX_SWAP,4,2               ## @CMD_CTX_SWAP
	.no_dead_strip	_mem_ldx_data_init_pktcache
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mem_ldx_data_init_pktcache
_mem_ldx_data_init_pktcache:            ; @mem_ldx_data_init_pktcache
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
	mov	x21, x1
	mov	x19, x0
	ldp	w22, w23, [x1, #4]
	bl	_imm_b
	mov	x2, x0
	mov	x0, x19
	mov	x1, x22
	bl	_re_load_imm_any
	mov	x20, x0
	ldr	w8, [x21]
	lsl	w0, w8, #1
	bl	_reg_a
	mov	x21, x0
	sub	w22, w23, w22
Lloh0:
	adrp	x23, _REG_WIDTH@GOTPAGE
Lloh1:
	ldr	x23, [x23, _REG_WIDTH@GOTPAGEOFF]
	ldr	w1, [x23]
	mov	x0, x22
	bl	_round_up
	ldr	w8, [x23]
	lsl	w25, w8, #3
	sdiv	w23, w0, w8
	cmp	w22, w25
	b.le	LBB0_2
; %bb.1:
	bl	_reg_none
	mov	x24, x0
Lloh2:
	adrp	x8, _CMD_OVE_LEN@GOTPAGE
Lloh3:
	ldr	x8, [x8, _CMD_OVE_LEN@GOTPAGEOFF]
Lloh4:
	ldr	w26, [x8]
Lloh5:
	adrp	x8, _CMD_OV_LEN@GOTPAGE
Lloh6:
	ldr	x8, [x8, _CMD_OV_LEN@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	sub	w23, w23, #1
	mov	x1, x23
	bl	_FIELD_PREP
	orr	w2, w0, w26
	mov	x0, x19
	mov	x1, x24
	bl	_wrp_immed
	b	LBB0_3
LBB0_2:
	sub	w23, w23, #1
LBB0_3:
	cmp	w22, w25
	cset	w8, gt
Lloh8:
	adrp	x9, _CMD_TGT_READ32_SWAP@GOTPAGE
Lloh9:
	ldr	x9, [x9, _CMD_TGT_READ32_SWAP@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x9]
Lloh11:
	adrp	x9, _CMD_MODE_32b@GOTPAGE
Lloh12:
	ldr	x9, [x9, _CMD_MODE_32b@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x9]
Lloh14:
	adrp	x9, _CMD_CTX_SWAP@GOTPAGE
Lloh15:
	ldr	x9, [x9, _CMD_CTX_SWAP@GOTPAGEOFF]
Lloh16:
	ldr	w7, [x9]
	str	w8, [sp]
	mov	x0, x19
	mov	w3, #0
	mov	x4, x21
	mov	x5, x20
	mov	x6, x23
	bl	_emit_cmd_any
	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
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_REG_WIDTH,4,2                  ; @REG_WIDTH
	.comm	_CMD_OVE_LEN,4,2                ; @CMD_OVE_LEN
	.comm	_CMD_OV_LEN,4,2                 ; @CMD_OV_LEN
	.comm	_CMD_TGT_READ32_SWAP,4,2        ; @CMD_TGT_READ32_SWAP
	.comm	_CMD_MODE_32b,4,2               ; @CMD_MODE_32b
	.comm	_CMD_CTX_SWAP,4,2               ; @CMD_CTX_SWAP
	.no_dead_strip	_mem_ldx_data_init_pktcache
.subsections_via_symbols
