	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iflib_rxd_pkt_get
_iflib_rxd_pkt_get:                     ## @iflib_rxd_pkt_get
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movl	%edi, %r14d
	cmpl	$1, (%rsi)
	jne	LBB0_8
## %bb.1:
	movq	40(%rbx), %rax
	movq	(%rax), %r15
	movq	_IFLIB_RX_COPY_THRESH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_MHLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_MIN
	cmpq	%rax, %r15
	jle	LBB0_2
LBB0_8:
	leaq	-40(%rbp), %rdx
	leaq	-28(%rbp), %rcx
	movl	%r14d, %edi
	movq	%rbx, %rsi
	callq	_assemble_segments
	movq	%rax, %r14
	movl	-28(%rbp), %eax
	movq	_PFIL_PASS@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_10
## %bb.9:
	movq	_PFIL_REALLOCED@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_11
	jmp	LBB0_10
LBB0_2:
	movq	40(%rbx), %rsi
	leaq	-40(%rbp), %rcx
	leaq	-28(%rbp), %r8
	movl	%r14d, %edi
	xorl	%edx, %edx
	movq	%rbx, %r9
	callq	_rxd_frag_to_sd
	movq	%rax, %r14
	movl	-28(%rbp), %eax
	movq	_PFIL_PASS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	cmpl	%ecx, %eax
	je	LBB0_4
## %bb.3:
	movq	_PFIL_REALLOCED@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %eax
	jne	LBB0_11
LBB0_4:
	cmpl	%ecx, %eax
	jne	LBB0_10
## %bb.5:
	movq	_M_NOWAIT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MT_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_M_PKTHDR@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	callq	_m_init
	movq	%r14, %rdi
	callq	_IP_ALIGNED
	movl	(%r14), %edi
	testl	%eax, %eax
	jne	LBB0_7
## %bb.6:
	addl	$2, %edi
	movl	%edi, (%r14)
LBB0_7:
	movq	-40(%rbp), %rax
	movl	(%rax), %esi
	movl	32(%rbx), %edx
	callq	_memcpy
	movq	40(%rbx), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%r14)
LBB0_10:
	movl	24(%rbx), %eax
	orl	%eax, 40(%r14)
	movsd	28(%rbx), %xmm0                 ## xmm0 = mem[0],zero
	movsd	16(%rbx), %xmm1                 ## xmm1 = mem[0],zero
	movlhps	%xmm0, %xmm1                    ## xmm1 = xmm1[0],xmm0[0]
	movups	%xmm1, 24(%r14)
	movl	12(%rbx), %esi
	movq	%r14, %rdi
	callq	_M_HASHTYPE_SET
	movl	8(%rbx), %eax
	movl	%eax, 20(%r14)
	movl	4(%rbx), %eax
	movl	%eax, 16(%r14)
LBB0_11:
	movq	%r14, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IFLIB_RX_COPY_THRESH,4,2       ## @IFLIB_RX_COPY_THRESH
	.comm	_MHLEN,4,2                      ## @MHLEN
	.comm	_PFIL_PASS,4,2                  ## @PFIL_PASS
	.comm	_PFIL_REALLOCED,4,2             ## @PFIL_REALLOCED
	.comm	_M_NOWAIT,4,2                   ## @M_NOWAIT
	.comm	_MT_DATA,4,2                    ## @MT_DATA
	.comm	_M_PKTHDR,4,2                   ## @M_PKTHDR
	.no_dead_strip	_iflib_rxd_pkt_get
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iflib_rxd_pkt_get
_iflib_rxd_pkt_get:                     ; @iflib_rxd_pkt_get
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x19, x1
	mov	x20, x0
	ldr	w8, [x1]
	cmp	w8, #1
	b.ne	LBB0_2
; %bb.1:
	ldr	x8, [x19, #40]
	ldr	x21, [x8]
Lloh0:
	adrp	x8, _IFLIB_RX_COPY_THRESH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IFLIB_RX_COPY_THRESH@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _MHLEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MHLEN@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_MIN
	cmp	x21, x0
	b.le	LBB0_5
LBB0_2:
	add	x2, sp, #8
	add	x3, sp, #4
	mov	x0, x20
	mov	x1, x19
	bl	_assemble_segments
	mov	x20, x0
	ldr	w8, [sp, #4]
Lloh6:
	adrp	x9, _PFIL_PASS@GOTPAGE
Lloh7:
	ldr	x9, [x9, _PFIL_PASS@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
Lloh9:
	adrp	x10, _PFIL_REALLOCED@GOTPAGE
Lloh10:
	ldr	x10, [x10, _PFIL_REALLOCED@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	cmp	w8, w9
	ccmp	w8, w10, #4, ne
	b.ne	LBB0_4
LBB0_3:
	ldr	w8, [x19, #24]
	ldr	w9, [x20, #40]
	orr	w8, w9, w8
	str	w8, [x20, #40]
	ldur	d0, [x19, #28]
	ldr	d1, [x19, #16]
	mov.d	v1[1], v0[0]
	stur	q1, [x20, #24]
	ldr	w1, [x19, #12]
	mov	x0, x20
	bl	_M_HASHTYPE_SET
	ldur	d0, [x19, #4]
	str	d0, [x20, #16]
LBB0_4:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_5:
	ldr	x1, [x19, #40]
	add	x3, sp, #8
	add	x4, sp, #4
	mov	x0, x20
	mov	w2, #0
	mov	x5, x19
	bl	_rxd_frag_to_sd
	mov	x20, x0
	ldr	w8, [sp, #4]
Lloh12:
	adrp	x9, _PFIL_PASS@GOTPAGE
Lloh13:
	ldr	x9, [x9, _PFIL_PASS@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
Lloh15:
	adrp	x10, _PFIL_REALLOCED@GOTPAGE
Lloh16:
	ldr	x10, [x10, _PFIL_REALLOCED@GOTPAGEOFF]
Lloh17:
	ldr	w10, [x10]
	cmp	w8, w9
	ccmp	w8, w10, #4, ne
	b.ne	LBB0_4
; %bb.6:
	cmp	w8, w9
	b.ne	LBB0_3
; %bb.7:
Lloh18:
	adrp	x8, _M_NOWAIT@GOTPAGE
Lloh19:
	ldr	x8, [x8, _M_NOWAIT@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
Lloh21:
	adrp	x8, _MT_DATA@GOTPAGE
Lloh22:
	ldr	x8, [x8, _MT_DATA@GOTPAGEOFF]
Lloh23:
	ldr	w2, [x8]
Lloh24:
	adrp	x8, _M_PKTHDR@GOTPAGE
Lloh25:
	ldr	x8, [x8, _M_PKTHDR@GOTPAGEOFF]
Lloh26:
	ldr	w3, [x8]
	mov	x0, x20
	bl	_m_init
	mov	x0, x20
	bl	_IP_ALIGNED
	mov	x8, x0
	ldr	w0, [x20]
	cbnz	w8, LBB0_9
; %bb.8:
	add	w0, w0, #2
	str	w0, [x20]
LBB0_9:
	ldr	x8, [sp, #8]
	ldr	w1, [x8]
	ldr	w2, [x19, #32]
	bl	_memcpy
	ldr	x8, [x19, #40]
	ldr	x8, [x8]
	str	x8, [x20, #8]
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_IFLIB_RX_COPY_THRESH,4,2       ; @IFLIB_RX_COPY_THRESH
	.comm	_MHLEN,4,2                      ; @MHLEN
	.comm	_PFIL_PASS,4,2                  ; @PFIL_PASS
	.comm	_PFIL_REALLOCED,4,2             ; @PFIL_REALLOCED
	.comm	_M_NOWAIT,4,2                   ; @M_NOWAIT
	.comm	_MT_DATA,4,2                    ; @MT_DATA
	.comm	_M_PKTHDR,4,2                   ; @M_PKTHDR
	.no_dead_strip	_iflib_rxd_pkt_get
.subsections_via_symbols
