	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mem_ldx_data_from_pktcache_aligned
_mem_ldx_data_from_pktcache_aligned:    ## @mem_ldx_data_from_pktcache_aligned
	.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
	movl	%edx, %r14d
	movq	%rsi, %r15
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movl	(%rsi), %eax
	movl	4(%rsi), %ecx
	subl	8(%rsi), %eax
	movq	_REG_WIDTH@GOTPCREL(%rip), %rsi
	xorl	%edx, %edx
	divl	(%rsi)
	movl	%eax, %r13d
	leal	(%rcx,%rcx), %edi
	incl	%edi
	movl	%ecx, %ebx
	addl	%ecx, %ebx
	callq	_reg_both
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	%ebx, %edi
	callq	_reg_both
	movl	%eax, %r12d
	movl	%r13d, %edi
	callq	_reg_xfer
	movl	%r14d, %ecx
	movl	%eax, %r14d
	movq	_REG_WIDTH@GOTPCREL(%rip), %rax
	cmpl	%ecx, (%rax)
	jbe	LBB0_2
## %bb.1:
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdi
	movl	%r12d, %esi
	movl	%r14d, %edx
	xorl	%r8d, %r8d
	callq	_wrp_reg_subpart
	movq	%r13, %rdi
	jmp	LBB0_4
LBB0_2:
	movl	%r12d, -44(%rbp)                ## 4-byte Spill
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	jne	LBB0_5
## %bb.3:
	movq	%r12, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	%r14d, %edx
	callq	_wrp_mov
	movq	%r12, %rdi
LBB0_4:
	movq	%r15, %rsi
	movl	%ebx, %edx
	callq	_wrp_zext
	jmp	LBB0_6
LBB0_5:
	incl	%r13d
	movl	%r13d, %edi
	callq	_reg_xfer
	movl	%eax, %r15d
	movq	%r12, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	%r14d, %edx
	callq	_wrp_mov
	movq	%r12, %rdi
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	movl	%r15d, %edx
	callq	_wrp_mov
LBB0_6:
	xorl	%eax, %eax
	addq	$24, %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
	.no_dead_strip	_mem_ldx_data_from_pktcache_aligned
.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_from_pktcache_aligned
_mem_ldx_data_from_pktcache_aligned:    ; @mem_ldx_data_from_pktcache_aligned
	.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	x22, x2
	mov	x20, x1
	mov	x19, x0
	ldp	w10, w8, [x1, #4]
Lloh0:
	adrp	x27, _REG_WIDTH@GOTPAGE
Lloh1:
	ldr	x27, [x27, _REG_WIDTH@GOTPAGEOFF]
	ldr	w9, [x1]
	sub	w8, w9, w8
	ldr	w9, [x27]
	udiv	w25, w8, w9
	lsl	w21, w10, #1
	mov	w0, #1
	bfi	w0, w10, #1, #31
	bl	_reg_both
	mov	x23, x0
	mov	x0, x21
	bl	_reg_both
	mov	x24, x0
	mov	x0, x25
	bl	_reg_xfer
	mov	x26, x0
	ldr	w8, [x27]
	cmp	w8, w22
	b.ls	LBB0_2
; %bb.1:
	mov	x0, x19
	mov	x1, x24
	mov	x2, x26
	mov	x3, x22
	mov	w4, #0
	bl	_wrp_reg_subpart
	b	LBB0_4
LBB0_2:
	b.ne	LBB0_5
; %bb.3:
	mov	x0, x19
	mov	x1, x24
	mov	x2, x26
	bl	_wrp_mov
LBB0_4:
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	bl	_wrp_zext
	b	LBB0_6
LBB0_5:
	add	w0, w25, #1
	bl	_reg_xfer
	mov	x20, x0
	mov	x0, x19
	mov	x1, x24
	mov	x2, x26
	bl	_wrp_mov
	mov	x0, x19
	mov	x1, x23
	mov	x2, x20
	bl	_wrp_mov
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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_REG_WIDTH,4,2                  ; @REG_WIDTH
	.no_dead_strip	_mem_ldx_data_from_pktcache_aligned
.subsections_via_symbols
