	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function contig_fd_to_skb
_contig_fd_to_skb:                      ## @contig_fd_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
	movq	%rsi, %r12
	movq	%rdi, %r14
	movq	%rsi, %rdi
	callq	_qm_fd_get_offset
	movq	%rax, %r15
	movq	%r12, %rdi
	callq	_qm_fd_addr
	movl	%eax, %edi
	callq	_phys_to_virt
	movq	%rax, %r13
	movq	_SMP_CACHE_BYTES@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_IS_ALIGNED
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_WARN_ON
	movl	(%r12), %edi
	callq	_dpaa_bpid2pool
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	(%rax), %rbx
	movl	$4, %edi
	callq	_SKB_DATA_ALIGN
	addq	%rax, %rbx
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_build_skb
	movq	%rax, %rbx
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	leaq	L_.str(%rip), %rsi
	callq	_WARN_ONCE
	testq	%rax, %rax
	je	LBB0_2
LBB0_3:
	movq	%r13, %rdi
	callq	_skb_free_frag
	xorl	%ebx, %ebx
	jmp	LBB0_4
LBB0_2:
	xorl	%edi, %edi
	cmpq	(%r14), %r15
	setne	%dil
	callq	_WARN_ON
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_skb_reserve
	movq	%r12, %rdi
	callq	_qm_fd_get_length
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_skb_put
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_rx_csum_offload
	movl	%eax, (%rbx)
LBB0_4:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SMP_CACHE_BYTES,4,2            ## @SMP_CACHE_BYTES
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Build skb failure on Rx\n"

	.no_dead_strip	_contig_fd_to_skb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function contig_fd_to_skb
_contig_fd_to_skb:                      ; @contig_fd_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	x19, x1
	mov	x20, x0
	mov	x0, x1
	bl	_qm_fd_get_offset
	mov	x21, x0
	mov	x0, x19
	bl	_qm_fd_addr
	bl	_phys_to_virt
	mov	x22, x0
Lloh0:
	adrp	x8, _SMP_CACHE_BYTES@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SMP_CACHE_BYTES@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_IS_ALIGNED
	cmp	w0, #0
	cset	w0, eq
	bl	_WARN_ON
	ldr	w0, [x19]
	bl	_dpaa_bpid2pool
	cbz	x0, LBB0_2
; %bb.1:
	ldr	x23, [x0]
	mov	w0, #4
	bl	_SKB_DATA_ALIGN
	add	x1, x0, x23
	mov	x0, x22
	bl	_build_skb
	mov	x23, x0
	cmp	x0, #0
	cset	w0, eq
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_WARN_ONCE
	cbz	x0, LBB0_3
LBB0_2:
	mov	x0, x22
	bl	_skb_free_frag
	mov	x23, #0
	b	LBB0_4
LBB0_3:
	ldr	x8, [x20]
	cmp	x21, x8
	cset	w0, ne
	bl	_WARN_ON
	mov	x0, x23
	mov	x1, x21
	bl	_skb_reserve
	mov	x0, x19
	bl	_qm_fd_get_length
	mov	x1, x0
	mov	x0, x23
	bl	_skb_put
	mov	x0, x20
	mov	x1, x19
	bl	_rx_csum_offload
	str	w0, [x23]
LBB0_4:
	mov	x0, x23
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_SMP_CACHE_BYTES,4,2            ; @SMP_CACHE_BYTES
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Build skb failure on Rx\n"

	.no_dead_strip	_contig_fd_to_skb
.subsections_via_symbols
