	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_packet
_get_packet:                            ## @get_packet
	.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, %r15
	movq	(%rsi), %rbx
	shlq	$3, %rbx
	addq	16(%rsi), %rbx
	movl	%edx, %r12d
	movq	%rdi, %r14
	movq	_copybreak@GOTPCREL(%rip), %rax
	cmpl	%edx, (%rax)
	jbe	LBB0_3
## %bb.1:
	leal	2(%r12), %edi
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_alloc_skb
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	%rax, %r13
	movq	%rax, %rdi
	movl	$2, %esi
	callq	_skb_reserve
	movq	%r13, %rdi
	movl	%r12d, %esi
	callq	_skb_put
	movq	_dma_addr@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_pci_unmap_addr
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_dma_len@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_pci_unmap_len
	movq	_PCI_DMA_FROMDEVICE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	%r14, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	%eax, %edx
	callq	_pci_dma_sync_single_for_cpu
	movq	(%rbx), %rdi
	movl	(%r13), %esi
	movl	%r12d, %edx
	callq	_skb_copy_from_linear_data
	movq	_dma_addr@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_pci_unmap_addr
	movl	%eax, %r14d
	movq	_dma_len@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_pci_unmap_len
	movq	_PCI_DMA_FROMDEVICE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	_pci_dma_sync_single_for_device
	movq	(%r15), %rsi
	movq	%r15, %rdi
	callq	_recycle_fl_buf
	jmp	LBB0_6
LBB0_3:
	cmpl	$1, 8(%r15)
	jg	LBB0_5
## %bb.4:
	movq	(%r15), %rsi
	movq	%r15, %rdi
	callq	_recycle_fl_buf
	xorl	%r13d, %r13d
	jmp	LBB0_6
LBB0_5:
	movq	_dma_addr@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_pci_unmap_addr
	movq	%r14, %r15
	movl	%eax, %r14d
	movq	_dma_len@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_pci_unmap_len
	movq	_PCI_DMA_FROMDEVICE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	%r15, %rdi
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	_pci_unmap_single
	movq	(%rbx), %r13
	movl	(%r13), %edi
	callq	_prefetch
	movq	%r13, %rdi
	movl	%r12d, %esi
	callq	_skb_put
LBB0_6:
	movq	%r13, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_copybreak,4,2                  ## @copybreak
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.comm	_dma_addr,4,2                   ## @dma_addr
	.comm	_dma_len,4,2                    ## @dma_len
	.comm	_PCI_DMA_FROMDEVICE,4,2         ## @PCI_DMA_FROMDEVICE
	.no_dead_strip	_get_packet
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_packet
_get_packet:                            ; @get_packet
	.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	x20, x2
	mov	x22, x1
	mov	x19, x0
	ldr	x8, [x1, #16]
	ldr	x9, [x1]
	add	x21, x8, x9, lsl #3
Lloh0:
	adrp	x8, _copybreak@GOTPAGE
Lloh1:
	ldr	x8, [x8, _copybreak@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w2
	b.ls	LBB0_3
; %bb.1:
	add	w0, w20, #2
Lloh3:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_alloc_skb
	cbz	x0, LBB0_3
; %bb.2:
	mov	x23, x0
	mov	w1, #2
	bl	_skb_reserve
	mov	x0, x23
	mov	x1, x20
	bl	_skb_put
Lloh6:
	adrp	x25, _dma_addr@GOTPAGE
Lloh7:
	ldr	x25, [x25, _dma_addr@GOTPAGEOFF]
	ldr	w1, [x25]
	mov	x0, x21
	bl	_pci_unmap_addr
	mov	x24, x0
Lloh8:
	adrp	x26, _dma_len@GOTPAGE
Lloh9:
	ldr	x26, [x26, _dma_len@GOTPAGEOFF]
	ldr	w1, [x26]
	mov	x0, x21
	bl	_pci_unmap_len
	mov	x2, x0
Lloh10:
	adrp	x27, _PCI_DMA_FROMDEVICE@GOTPAGE
Lloh11:
	ldr	x27, [x27, _PCI_DMA_FROMDEVICE@GOTPAGEOFF]
	ldr	w3, [x27]
	mov	x0, x19
	mov	x1, x24
	bl	_pci_dma_sync_single_for_cpu
	ldr	x0, [x21]
	ldr	w1, [x23]
	mov	x2, x20
	bl	_skb_copy_from_linear_data
	ldr	w1, [x25]
	mov	x0, x21
	bl	_pci_unmap_addr
	mov	x20, x0
	ldr	w1, [x26]
	mov	x0, x21
	bl	_pci_unmap_len
	mov	x2, x0
	ldr	w3, [x27]
	mov	x0, x19
	mov	x1, x20
	bl	_pci_dma_sync_single_for_device
	ldr	x1, [x22]
	mov	x0, x22
	bl	_recycle_fl_buf
	b	LBB0_6
LBB0_3:
	ldr	w8, [x22, #8]
	cmp	w8, #1
	b.gt	LBB0_5
; %bb.4:
	ldr	x1, [x22]
	mov	x0, x22
	bl	_recycle_fl_buf
	mov	x23, #0
	b	LBB0_6
LBB0_5:
Lloh12:
	adrp	x8, _dma_addr@GOTPAGE
Lloh13:
	ldr	x8, [x8, _dma_addr@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_pci_unmap_addr
	mov	x22, x0
Lloh15:
	adrp	x8, _dma_len@GOTPAGE
Lloh16:
	ldr	x8, [x8, _dma_len@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_pci_unmap_len
	mov	x2, x0
Lloh18:
	adrp	x8, _PCI_DMA_FROMDEVICE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _PCI_DMA_FROMDEVICE@GOTPAGEOFF]
Lloh20:
	ldr	w3, [x8]
	mov	x0, x19
	mov	x1, x22
	bl	_pci_unmap_single
	ldr	x23, [x21]
	ldr	w0, [x23]
	bl	_prefetch
	mov	x0, x23
	mov	x1, x20
	bl	_skb_put
LBB0_6:
	mov	x0, x23
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_copybreak,4,2                  ; @copybreak
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.comm	_dma_addr,4,2                   ; @dma_addr
	.comm	_dma_len,4,2                    ; @dma_len
	.comm	_PCI_DMA_FROMDEVICE,4,2         ; @PCI_DMA_FROMDEVICE
	.no_dead_strip	_get_packet
.subsections_via_symbols
