	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnxt_rx_page_skb
_bnxt_rx_page_skb:                      ## @bnxt_rx_page_skb
	.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	%r9d, %r14d
	movq	%r8, -48(%rbp)                  ## 8-byte Spill
	movq	%rcx, %r15
	movl	%edx, %r13d
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movl	8(%rsi), %edx
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_bnxt_alloc_rx_data
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	movl	%r13d, %esi
	movq	%r15, %rdx
	callq	_bnxt_reuse_rx_data
LBB0_8:
	xorl	%ebx, %ebx
	jmp	LBB0_9
LBB0_2:
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	movl	16(%rbp), %r13d
	movzwl	%r13w, %r15d
	subl	16(%r12), %r14d
	movq	8(%r12), %rdi
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	4(%r12), %ecx
	movq	_DMA_ATTR_WEAK_ORDERING@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movl	%r14d, %esi
	callq	_dma_unmap_page_attrs
	xorl	%edi, %edi
	cmpl	$65536, %r13d                   ## imm = 0x10000
	setb	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movl	(%r12), %edi
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rsi
	movl	%r15d, %edx
	callq	_eth_get_headlen
	movl	%eax, %r13d
	jmp	LBB0_5
LBB0_4:
	shrl	$16, %r13d
	movq	-48(%rbp), %r14                 ## 8-byte Reload
LBB0_5:
	movl	%r15d, %r12d
	movq	(%rbx), %rdi
	movl	%r13d, %esi
	callq	_napi_alloc_skb
	testq	%rax, %rax
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	je	LBB0_7
## %bb.6:
	movq	%rax, %rbx
	movq	%r15, %rdi
	callq	_page_address
	movl	%r14d, %ecx
	subl	%eax, %ecx
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movq	%r15, %rdx
	movl	%r12d, %r8d
	callq	_skb_add_rx_frag
	movl	(%rbx), %edi
	movq	_NET_IP_ALIGN@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	subl	%eax, %edi
	leal	(%rax,%r13), %edx
	shlq	$2, %rax
	subq	%rax, %r14
	movq	%r14, %rsi
	callq	_memcpy
	movq	%rbx, %rdi
	callq	_skb_shinfo
	movq	(%rax), %r14
	movq	%r14, %rdi
	movl	%r13d, %esi
	callq	_skb_frag_size_sub
	movq	%r14, %rdi
	movl	%r13d, %esi
	callq	_skb_frag_off_add
	subl	%r13d, 4(%rbx)
	addl	%r13d, 8(%rbx)
LBB0_9:
	movq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	%r15, %rdi
	callq	___free_page
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.comm	_PAGE_SIZE,4,2                  ## @PAGE_SIZE
	.comm	_DMA_ATTR_WEAK_ORDERING,4,2     ## @DMA_ATTR_WEAK_ORDERING
	.comm	_NET_IP_ALIGN,4,2               ## @NET_IP_ALIGN
	.no_dead_strip	_bnxt_rx_page_skb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnxt_rx_page_skb
_bnxt_rx_page_skb:                      ; @bnxt_rx_page_skb
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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, x6
	mov	x25, x5
	mov	x19, x4
	mov	x20, x3
	mov	x22, x2
	mov	x23, x1
	mov	x24, x0
	ldr	w2, [x1, #8]
Lloh0:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
	bl	_bnxt_alloc_rx_data
	bl	_unlikely
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x23
	mov	x1, x22
	mov	x2, x20
	bl	_bnxt_reuse_rx_data
	mov	x23, #0
	b	LBB0_8
LBB0_2:
	and	w22, w21, #0xffff
	ldr	w8, [x24, #16]
	sub	w1, w25, w8
Lloh3:
	adrp	x25, _PAGE_SIZE@GOTPAGE
Lloh4:
	ldr	x25, [x25, _PAGE_SIZE@GOTPAGEOFF]
	ldr	x0, [x24, #8]
	ldr	w2, [x25]
	ldr	w3, [x24, #4]
Lloh5:
	adrp	x8, _DMA_ATTR_WEAK_ORDERING@GOTPAGE
Lloh6:
	ldr	x8, [x8, _DMA_ATTR_WEAK_ORDERING@GOTPAGEOFF]
Lloh7:
	ldr	w4, [x8]
	bl	_dma_unmap_page_attrs
	cmp	w21, #16, lsl #12               ; =65536
	cset	w0, lo
	bl	_unlikely
	cbz	x0, LBB0_4
; %bb.3:
	ldr	w0, [x24]
	mov	x1, x19
	mov	x2, x22
	bl	_eth_get_headlen
	mov	x21, x0
	b	LBB0_5
LBB0_4:
	lsr	w21, w21, #16
LBB0_5:
	ldr	x0, [x23]
	mov	x1, x21
	bl	_napi_alloc_skb
	mov	x23, x0
	cbz	x0, LBB0_7
; %bb.6:
	mov	x0, x20
	bl	_page_address
	sub	w3, w19, w0
	ldr	w5, [x25]
	mov	x0, x23
	mov	w1, #0
	mov	x2, x20
	mov	x4, x22
	bl	_skb_add_rx_frag
	ldr	w8, [x23]
Lloh8:
	adrp	x9, _NET_IP_ALIGN@GOTPAGE
Lloh9:
	ldr	x9, [x9, _NET_IP_ALIGN@GOTPAGEOFF]
Lloh10:
	ldrsw	x9, [x9]
	sub	w0, w8, w9
	sub	x1, x19, x9, lsl #2
	add	w2, w9, w21
	bl	_memcpy
	mov	x0, x23
	bl	_skb_shinfo
	ldr	x19, [x0]
	mov	x0, x19
	mov	x1, x21
	bl	_skb_frag_size_sub
	mov	x0, x19
	mov	x1, x21
	bl	_skb_frag_off_add
	ldp	w8, w9, [x23, #4]
	sub	w8, w8, w21
	add	w9, w9, w21
	stp	w8, w9, [x23, #4]
	b	LBB0_8
LBB0_7:
	mov	x0, x20
	bl	___free_page
LBB0_8:
	mov	x0, x23
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.comm	_PAGE_SIZE,4,2                  ; @PAGE_SIZE
	.comm	_DMA_ATTR_WEAK_ORDERING,4,2     ; @DMA_ATTR_WEAK_ORDERING
	.comm	_NET_IP_ALIGN,4,2               ; @NET_IP_ALIGN
	.no_dead_strip	_bnxt_rx_page_skb
.subsections_via_symbols
