	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dpaa2_eth_needed_headroom
_dpaa2_eth_needed_headroom:             ## @dpaa2_eth_needed_headroom
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_DPAA2_ETH_SWA_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	testq	%rsi, %rsi
	je	LBB0_5
## %bb.1:
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	%rsi, %rdi
	callq	_skb_is_nonlinear
	movq	%rax, %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	jne	LBB0_6
## %bb.2:
	cmpq	$0, (%r14)
	je	LBB0_5
## %bb.3:
	movq	%rbx, %rdi
	callq	_skb_shinfo
	movq	_SKBTX_HW_TSTAMP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_5
## %bb.4:
	movq	_DPAA2_ETH_TX_HWA_SIZE@GOTPCREL(%rip), %rax
	addl	(%rax), %r15d
LBB0_5:
	movl	%r15d, %eax
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DPAA2_ETH_SWA_SIZE,4,2         ## @DPAA2_ETH_SWA_SIZE
	.comm	_SKBTX_HW_TSTAMP,4,2            ## @SKBTX_HW_TSTAMP
	.comm	_DPAA2_ETH_TX_HWA_SIZE,8,3      ## @DPAA2_ETH_TX_HWA_SIZE
	.no_dead_strip	_dpaa2_eth_needed_headroom
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dpaa2_eth_needed_headroom
_dpaa2_eth_needed_headroom:             ; @dpaa2_eth_needed_headroom
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
Lloh0:
	adrp	x8, _DPAA2_ETH_SWA_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DPAA2_ETH_SWA_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w19, [x8]
	cbz	x1, LBB0_6
; %bb.1:
	mov	x20, x1
	mov	x21, x0
	mov	x0, x1
	bl	_skb_is_nonlinear
	cbz	x0, LBB0_3
; %bb.2:
	mov	w19, #0
	b	LBB0_6
LBB0_3:
	ldr	x8, [x21]
	cbz	x8, LBB0_6
; %bb.4:
	mov	x0, x20
	bl	_skb_shinfo
	ldr	w8, [x0]
Lloh3:
	adrp	x9, _SKBTX_HW_TSTAMP@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SKBTX_HW_TSTAMP@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.5:
Lloh6:
	adrp	x8, _DPAA2_ETH_TX_HWA_SIZE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DPAA2_ETH_TX_HWA_SIZE@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	add	w19, w19, w8
LBB0_6:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_DPAA2_ETH_SWA_SIZE,4,2         ; @DPAA2_ETH_SWA_SIZE
	.comm	_SKBTX_HW_TSTAMP,4,2            ; @SKBTX_HW_TSTAMP
	.comm	_DPAA2_ETH_TX_HWA_SIZE,8,3      ; @DPAA2_ETH_TX_HWA_SIZE
	.no_dead_strip	_dpaa2_eth_needed_headroom
.subsections_via_symbols
