	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qede_pkt_req_lin
_qede_pkt_req_lin:                      ## @qede_pkt_req_lin
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movq	_ETH_TX_MAX_BDS_PER_NON_LSO_PACKET@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leal	-1(%rbx), %r15d
	movq	_XMIT_LSO@GOTPCREL(%rip), %rax
	testl	%esi, (%rax)
	je	LBB0_2
## %bb.1:
	movq	_XMIT_ENC@GOTPCREL(%rip), %rax
	andl	(%rax), %esi
	movq	%r12, %rdi
	callq	_qede_get_skb_hlen
	movl	%eax, %r14d
	movq	%r12, %rdi
	callq	_skb_headlen
	addl	$-2, %ebx
	cmpl	%r14d, %eax
	cmovgl	%ebx, %r15d
LBB0_2:
	movq	%r12, %rdi
	callq	_skb_shinfo
	xorl	%ecx, %ecx
	cmpl	%r15d, (%rax)
	setg	%cl
	movl	%ecx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_TX_MAX_BDS_PER_NON_LSO_PACKET,4,2 ## @ETH_TX_MAX_BDS_PER_NON_LSO_PACKET
	.comm	_XMIT_LSO,4,2                   ## @XMIT_LSO
	.comm	_XMIT_ENC,4,2                   ## @XMIT_ENC
	.no_dead_strip	_qede_pkt_req_lin
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qede_pkt_req_lin
_qede_pkt_req_lin:                      ; @qede_pkt_req_lin
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _ETH_TX_MAX_BDS_PER_NON_LSO_PACKET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ETH_TX_MAX_BDS_PER_NON_LSO_PACKET@GOTPAGEOFF]
Lloh2:
	ldr	w22, [x8]
	sub	w21, w22, #1
Lloh3:
	adrp	x8, _XMIT_LSO@GOTPAGE
Lloh4:
	ldr	x8, [x8, _XMIT_LSO@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w1
	b.eq	LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _XMIT_ENC@GOTPAGE
Lloh7:
	ldr	x8, [x8, _XMIT_ENC@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	and	w1, w8, w1
	mov	x0, x19
	bl	_qede_get_skb_hlen
	mov	x20, x0
	mov	x0, x19
	bl	_skb_headlen
	sub	w8, w22, #2
	cmp	w0, w20
	csel	w21, w8, w21, gt
LBB0_2:
	mov	x0, x19
	bl	_skb_shinfo
	ldr	w8, [x0]
	cmp	w8, w21
	cset	w0, gt
	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	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_TX_MAX_BDS_PER_NON_LSO_PACKET,4,2 ; @ETH_TX_MAX_BDS_PER_NON_LSO_PACKET
	.comm	_XMIT_LSO,4,2                   ; @XMIT_LSO
	.comm	_XMIT_ENC,4,2                   ; @XMIT_ENC
	.no_dead_strip	_qede_pkt_req_lin
.subsections_via_symbols
