	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function enetc_map_rx_buff_to_skb
_enetc_map_rx_buff_to_skb:              ## @enetc_map_rx_buff_to_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rdi, %r15
	callq	_enetc_get_rx_buff
	movq	%rax, %r12
	movl	4(%rax), %edi
	callq	_page_address
	movslq	(%r12), %rdi
	addq	%rax, %rdi
	movq	_ENETC_RXB_PAD@GOTPCREL(%rip), %r13
	movslq	(%r13), %rax
	subq	%rax, %rdi
	movq	_ENETC_RXB_TRUESIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_build_skb
	movq	%rax, %rbx
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	incl	(%r15)
	xorl	%ebx, %ebx
	jmp	LBB0_3
LBB0_2:
	movl	(%r13), %esi
	movq	%rbx, %rdi
	callq	_skb_reserve
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	___skb_put
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_enetc_put_rx_buff
LBB0_3:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENETC_RXB_PAD,4,2              ## @ENETC_RXB_PAD
	.comm	_ENETC_RXB_TRUESIZE,4,2         ## @ENETC_RXB_TRUESIZE
	.no_dead_strip	_enetc_map_rx_buff_to_skb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function enetc_map_rx_buff_to_skb
_enetc_map_rx_buff_to_skb:              ; @enetc_map_rx_buff_to_skb
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x2
	mov	x19, x0
	bl	_enetc_get_rx_buff
	mov	x21, x0
	ldr	w0, [x0, #4]
	bl	_page_address
	ldrsw	x8, [x21]
Lloh0:
	adrp	x23, _ENETC_RXB_PAD@GOTPAGE
Lloh1:
	ldr	x23, [x23, _ENETC_RXB_PAD@GOTPAGEOFF]
	ldrsw	x9, [x23]
	add	x8, x0, x8
	sub	x0, x8, x9
Lloh2:
	adrp	x8, _ENETC_RXB_TRUESIZE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ENETC_RXB_TRUESIZE@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	bl	_build_skb
	mov	x22, x0
	cmp	x0, #0
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_2
; %bb.1:
	mov	x22, #0
	ldr	w8, [x19]
	add	w8, w8, #1
	str	w8, [x19]
	b	LBB0_3
LBB0_2:
	ldr	w1, [x23]
	mov	x0, x22
	bl	_skb_reserve
	mov	x0, x22
	mov	x1, x20
	bl	___skb_put
	mov	x0, x19
	mov	x1, x21
	bl	_enetc_put_rx_buff
LBB0_3:
	mov	x0, x22
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_ENETC_RXB_PAD,4,2              ; @ENETC_RXB_PAD
	.comm	_ENETC_RXB_TRUESIZE,4,2         ; @ENETC_RXB_TRUESIZE
	.no_dead_strip	_enetc_map_rx_buff_to_skb
.subsections_via_symbols
