	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_packet_pg
_get_packet_pg:                         ## @get_packet_pg
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, -72(%rbp)                 ## 4-byte Spill
	movl	%ecx, %ebx
	movq	%rdx, %r13
	movq	%rsi, %r14
	movq	%rdi, -88(%rbp)                 ## 8-byte Spill
	movq	(%rsi), %r12
	movq	24(%rsi), %rax
	shlq	$5, %r12
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	leaq	(%rax,%r12), %rdi
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	callq	_dma_unmap_addr
	movl	%eax, -76(%rbp)                 ## 4-byte Spill
	movq	8(%r13), %r15
	testq	%r15, %r15
	setne	%al
	jne	LBB0_4
## %bb.1:
	movq	_SGE_RX_COPY_THRES@GOTPCREL(%rip), %rcx
	cmpl	%ebx, (%rcx)
	jb	LBB0_4
## %bb.2:
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_alloc_skb
	movq	%rax, %r15
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	callq	_likely
	testq	%rax, %rax
	je	LBB0_12
## %bb.3:
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	___skb_put
	movq	%r13, -72(%rbp)                 ## 8-byte Spill
	movq	-88(%rbp), %r13                 ## 8-byte Reload
	movl	(%r13), %edi
	movq	_PCI_DMA_FROMDEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movl	-76(%rbp), %r14d                ## 4-byte Reload
	movl	%r14d, %esi
	movl	%ebx, %edx
	callq	_pci_dma_sync_single_for_cpu
	movl	12(%r15), %edi
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	16(%rax,%r12), %esi
	movl	%ebx, %edx
	callq	_memcpy
	movl	(%r13), %edi
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	movq	_PCI_DMA_FROMDEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%r14d, %esi
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movl	%ebx, %edx
	callq	_pci_dma_sync_single_for_device
	jmp	LBB0_13
LBB0_4:
	cmpq	$0, (%r13)
	setne	%cl
	orb	%cl, %al
	jne	LBB0_6
## %bb.5:
	movl	-72(%rbp), %eax                 ## 4-byte Reload
	cmpl	%eax, 8(%r14)
	setbe	%cl
LBB0_6:
	movzbl	%cl, %edi
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_13
## %bb.7:
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	24(%rax,%r12), %rdi
	callq	_prefetch
	movq	%r15, %rax
	testq	%r15, %r15
	jne	LBB0_9
## %bb.8:
	movq	_SGE_RX_PULL_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_alloc_skb
LBB0_9:
	xorl	%edi, %edi
	movq	%rax, %rbx
	testq	%rax, %rax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_15
## %bb.10:
	cmpl	$0, -72(%rbp)                   ## 4-byte Folded Reload
	movq	%rbx, %r15
	jne	LBB0_13
LBB0_20:
	xorl	%r15d, %r15d
	jmp	LBB0_14
LBB0_12:
	cmpl	$0, -72(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_20
LBB0_13:
	decl	8(%r14)
	movq	(%r14), %rdx
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	callq	_recycle_rx_buf
	incq	(%r13)
LBB0_14:
	movq	%r15, %rax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%r12), %r13
	addq	$24, %r13
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	movq	_PCI_DMA_FROMDEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	-76(%rbp), %esi                 ## 4-byte Reload
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_pci_dma_sync_single_for_cpu
	movq	(%r13), %rax
	decl	(%rax)
	jne	LBB0_18
## %bb.16:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	cmpq	16(%r14), %rax
	je	LBB0_18
## %bb.17:
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	20(%rax,%r12), %esi
	movl	12(%r14), %edx
	movq	_PCI_DMA_FROMDEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_pci_unmap_page
LBB0_18:
	testq	%r15, %r15
	je	LBB0_21
## %bb.19:
	movq	%rbx, %r15
	movq	%rbx, %rdi
	callq	_skb_shinfo
	movl	(%rax), %esi
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rdx
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax,%r12), %rcx
	movq	%rbx, %rdi
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %r8d
	callq	_skb_fill_page_desc
	addl	%ebx, (%r15)
	addl	%ebx, 4(%r15)
	jmp	LBB0_22
LBB0_21:
	movq	_SGE_RX_PULL_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %r13
	movq	%rbx, %rdi
	callq	___skb_put
	movl	12(%rbx), %edi
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movl	16(%r15,%r12), %esi
	movq	_SGE_RX_PULL_LEN@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	callq	_memcpy
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rdx
	movl	(%rbx), %ecx
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %r8d
	subl	%ecx, %r8d
	addq	8(%r15,%r12), %rcx
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_skb_fill_page_desc
	movl	%ebx, (%r13)
	movq	_SGE_RX_PULL_LEN@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	movq	%r13, %r15
	movl	%ebx, 4(%r13)
LBB0_22:
	addl	%ebx, 8(%r15)
	decl	8(%r14)
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.comm	_SGE_RX_COPY_THRES,4,2          ## @SGE_RX_COPY_THRES
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.comm	_PCI_DMA_FROMDEVICE,4,2         ## @PCI_DMA_FROMDEVICE
	.comm	_SGE_RX_PULL_LEN,4,2            ## @SGE_RX_PULL_LEN
	.comm	_dma_addr,4,2                   ## @dma_addr
	.no_dead_strip	_get_packet_pg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_packet_pg
_get_packet_pg:                         ; @get_packet_pg
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x26, x4
	mov	x20, x3
	mov	x23, x2
	mov	x19, x1
	mov	x22, x0
	ldr	x27, [x1, #24]
	ldr	x28, [x1]
	add	x24, x27, x28, lsl #5
	mov	x0, x24
	bl	_dma_unmap_addr
	mov	x25, x0
	ldr	x21, [x23, #8]
	cmp	x21, #0
	cset	w8, ne
Lloh0:
	adrp	x9, _SGE_RX_COPY_THRES@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SGE_RX_COPY_THRES@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	x21, #0
	ccmp	w9, w20, #0, eq
	b.hs	LBB0_5
; %bb.1:
	ldr	x9, [x23]
	cmp	x9, #0
	cset	w0, ne
	orr	w8, w0, w8
	tbnz	w8, #0, LBB0_3
; %bb.2:
	ldr	w8, [x19, #8]
	cmp	w8, w26
	cset	w0, ls
LBB0_3:
	bl	_unlikely
	cbz	x0, LBB0_7
; %bb.4:
	mov	x25, x21
	b	LBB0_11
LBB0_5:
	mov	x24, x25
Lloh3:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_alloc_skb
	mov	x25, x0
	cmp	x0, #0
	cset	w0, ne
	bl	_likely
	cbz	x0, LBB0_10
; %bb.6:
	mov	x0, x25
	mov	x1, x20
	bl	___skb_put
	ldr	w0, [x22]
Lloh6:
	adrp	x21, _PCI_DMA_FROMDEVICE@GOTPAGE
Lloh7:
	ldr	x21, [x21, _PCI_DMA_FROMDEVICE@GOTPAGEOFF]
	ldr	w3, [x21]
	mov	x1, x24
	mov	x2, x20
	bl	_pci_dma_sync_single_for_cpu
	ldr	w0, [x25, #12]
	add	x8, x27, x28, lsl #5
	ldr	w1, [x8, #16]
	mov	x2, x20
	bl	_memcpy
	ldr	w0, [x22]
	ldr	w3, [x21]
	mov	x1, x24
	mov	x2, x20
	bl	_pci_dma_sync_single_for_device
	b	LBB0_11
LBB0_7:
	str	w25, [sp, #12]                  ; 4-byte Folded Spill
	add	x8, x27, x28, lsl #5
	ldr	x0, [x8, #24]!
	str	x8, [sp]                        ; 8-byte Folded Spill
	bl	_prefetch
	mov	x25, x21
	cbnz	x21, LBB0_9
; %bb.8:
Lloh8:
	adrp	x8, _SGE_RX_PULL_LEN@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SGE_RX_PULL_LEN@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
Lloh11:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh12:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	bl	_alloc_skb
	mov	x25, x0
LBB0_9:
	cmp	x25, #0
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_14
LBB0_10:
	cbz	w26, LBB0_13
LBB0_11:
	ldr	w8, [x19, #8]
	sub	w8, w8, #1
	str	w8, [x19, #8]
	ldr	x2, [x19]
	mov	x0, x22
	mov	x1, x19
	bl	_recycle_rx_buf
	ldr	x8, [x23]
	add	x8, x8, #1
	str	x8, [x23]
LBB0_12:
	mov	x0, x25
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_13:
	mov	x25, #0
	b	LBB0_12
LBB0_14:
	ldr	w0, [x22]
Lloh14:
	adrp	x23, _PCI_DMA_FROMDEVICE@GOTPAGE
Lloh15:
	ldr	x23, [x23, _PCI_DMA_FROMDEVICE@GOTPAGEOFF]
	ldr	w3, [x23]
	ldr	w1, [sp, #12]                   ; 4-byte Folded Reload
	mov	x2, x20
	bl	_pci_dma_sync_single_for_cpu
	ldr	x8, [sp]                        ; 8-byte Folded Reload
	ldr	x8, [x8]
	ldr	w9, [x8]
	subs	w9, w9, #1
	str	w9, [x8]
	b.ne	LBB0_17
; %bb.15:
	ldr	x8, [x24]
	ldr	x9, [x19, #16]
	cmp	x8, x9
	b.eq	LBB0_17
; %bb.16:
	ldr	w0, [x22]
	add	x8, x27, x28, lsl #5
	ldr	w1, [x8, #20]
	ldr	w2, [x19, #12]
	ldr	w3, [x23]
	bl	_pci_unmap_page
LBB0_17:
	cbz	x21, LBB0_19
; %bb.18:
	mov	x0, x25
	bl	_skb_shinfo
	ldr	w1, [x0]
	ldr	x2, [x24]
	add	x8, x27, x28, lsl #5
	ldr	x3, [x8, #8]
	mov	x0, x25
	mov	x4, x20
	bl	_skb_fill_page_desc
	ldr	d0, [x25]
	dup.2s	v1, w20
	add.2s	v0, v0, v1
	str	d0, [x25]
	b	LBB0_20
LBB0_19:
Lloh16:
	adrp	x21, _SGE_RX_PULL_LEN@GOTPAGE
Lloh17:
	ldr	x21, [x21, _SGE_RX_PULL_LEN@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x25
	bl	___skb_put
	ldr	w0, [x25, #12]
	add	x22, x27, x28, lsl #5
	ldr	w1, [x22, #16]
	ldr	w2, [x21]
	bl	_memcpy
	ldr	x2, [x24]
	ldr	x8, [x22, #8]
	ldr	w9, [x21]
	add	x3, x8, x9
	sub	w4, w20, w9
	mov	x0, x25
	mov	w1, #0
	bl	_skb_fill_page_desc
	str	w20, [x25]
	ldr	w8, [x21]
	sub	w20, w20, w8
	str	w20, [x25, #4]
LBB0_20:
	ldr	w8, [x25, #8]
	add	w8, w8, w20
	str	w8, [x25, #8]
	ldr	w8, [x19, #8]
	sub	w8, w8, #1
	str	w8, [x19, #8]
	b	LBB0_12
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_SGE_RX_COPY_THRES,4,2          ; @SGE_RX_COPY_THRES
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.comm	_PCI_DMA_FROMDEVICE,4,2         ; @PCI_DMA_FROMDEVICE
	.comm	_SGE_RX_PULL_LEN,4,2            ; @SGE_RX_PULL_LEN
	.comm	_dma_addr,4,2                   ; @dma_addr
	.no_dead_strip	_get_packet_pg
.subsections_via_symbols
