	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_efx_enqueue_skb                ## -- Begin function efx_enqueue_skb
	.p2align	4, 0x90
_efx_enqueue_skb:                       ## @efx_enqueue_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
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movl	(%rdi), %eax
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	callq	_netdev_xmit_more
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movl	$0, -48(%rbp)
	movl	(%rbx), %r13d
	movq	%rbx, %rdi
	callq	_skb_is_gso
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	%rbx, %rdi
	callq	_skb_shinfo
	movl	(%rax), %r14d
	cmpl	$2, %r14d
	jae	LBB0_2
LBB0_5:
	cmpq	$0, 8(%rbx)
	movb	$1, %al
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	je	LBB0_10
## %bb.6:
	movq	_EFX_TX_CB_SIZE@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r13d
	ja	LBB0_10
## %bb.7:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_efx_enqueue_skb_copy
	testq	%rax, %rax
	jne	LBB0_20
## %bb.8:
	incl	40(%r15)
	movl	$1, -48(%rbp)
	movb	$1, %al
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	xorl	%r14d, %r14d
	jmp	LBB0_11
LBB0_2:
	xorl	%edi, %edi
	cmpq	$0, 8(%r15)
	sete	%dil
	callq	_EFX_WARN_ON_ONCE_PARANOID
	leaq	-48(%rbp), %rdx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	*8(%r15)
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	addl	%eax, %ecx
	jne	LBB0_19
## %bb.3:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_efx_tx_tso_fallback
	incl	48(%r15)
	testl	%eax, %eax
	jne	LBB0_20
## %bb.4:
	xorl	%eax, %eax
	jmp	LBB0_25
LBB0_19:
	testl	%eax, %eax
	jne	LBB0_20
## %bb.9:
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	cmpl	$0, -48(%rbp)
	movl	%r14d, %r12d
	jne	LBB0_11
LBB0_10:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movl	%r12d, %edx
	callq	_efx_tx_map_data
	movl	%r12d, %r14d
	testq	%rax, %rax
	je	LBB0_11
LBB0_20:
	movq	%r15, %rdi
	movl	-56(%rbp), %esi                 ## 4-byte Reload
	callq	_efx_enqueue_unwind
	movq	%rbx, %rdi
	callq	_dev_kfree_skb_any
	cmpl	$0, -52(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_24
## %bb.21:
	movq	%r15, %rdi
	callq	_efx_tx_queue_partner
	cmpl	$0, 16(%rax)
	je	LBB0_23
## %bb.22:
	movq	%rax, %rdi
	callq	_efx_nic_push_buffers
LBB0_23:
	movq	%r15, %rdi
	callq	_efx_nic_push_buffers
	jmp	LBB0_24
LBB0_11:
	movq	%r15, %rdi
	callq	_efx_tx_maybe_stop_queue
	movl	36(%r15), %edi
	movl	%r13d, %esi
	movl	-52(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %edx
	callq	___netdev_tx_sent_queue
	testq	%rax, %rax
	je	LBB0_15
## %bb.12:
	movq	%r15, %rdi
	callq	_efx_tx_queue_partner
	cmpl	$0, 16(%rax)
	je	LBB0_14
## %bb.13:
	movq	%rax, %rdi
	callq	_efx_nic_push_buffers
LBB0_14:
	movq	%r15, %rdi
	callq	_efx_nic_push_buffers
	jmp	LBB0_16
LBB0_15:
	movl	%ebx, 16(%r15)
LBB0_16:
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movl	$1, %eax
	testb	%cl, %cl
	jne	LBB0_18
## %bb.17:
	incl	32(%r15)
	addl	%r14d, 20(%r15)
	movl	%r14d, %eax
LBB0_18:
	addq	%rax, 24(%r15)
LBB0_24:
	movq	_NETDEV_TX_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_25:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_EFX_TX_CB_SIZE,4,2             ## @EFX_TX_CB_SIZE
	.comm	_NETDEV_TX_OK,4,2               ## @NETDEV_TX_OK
	.comm	_efx_piobuf_size,4,2            ## @efx_piobuf_size
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_efx_enqueue_skb                ; -- Begin function efx_enqueue_skb
	.p2align	2
_efx_enqueue_skb:                       ; @efx_enqueue_skb
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x22, x1
	mov	x19, x0
	ldr	w23, [x0]
	bl	_netdev_xmit_more
	mov	x20, x0
	str	wzr, [sp, #12]
	ldr	w24, [x22]
	mov	x0, x22
	bl	_skb_is_gso
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x22
	bl	_skb_shinfo
	ldr	w21, [x0]
	cmp	w21, #2
	b.hs	LBB0_7
LBB0_2:
	ldr	x8, [x22, #8]
Lloh0:
	adrp	x9, _EFX_TX_CB_SIZE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _EFX_TX_CB_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	x8, #0
	ccmp	w24, w9, #2, ne
	b.ls	LBB0_5
; %bb.3:
	mov	w21, #0
	mov	w25, #1
LBB0_4:
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	bl	_efx_tx_map_data
	cbnz	x0, LBB0_10
	b	LBB0_15
LBB0_5:
	mov	x0, x19
	mov	x1, x22
	bl	_efx_enqueue_skb_copy
	cbnz	x0, LBB0_10
; %bb.6:
	mov	w21, #0
	ldr	w8, [x19, #40]
	add	w8, w8, #1
	str	w8, [x19, #40]
	mov	w25, #1
	str	w25, [sp, #12]
	b	LBB0_15
LBB0_7:
	ldr	x8, [x19, #8]
	cmp	x8, #0
	cset	w0, eq
	bl	_EFX_WARN_ON_ONCE_PARANOID
	ldr	x8, [x19, #8]
	add	x2, sp, #12
	mov	x0, x19
	mov	x1, x22
	blr	x8
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmn	w0, w8
	b.ne	LBB0_9
; %bb.8:
	mov	x0, x19
	mov	x1, x22
	bl	_efx_tx_tso_fallback
	ldr	w8, [x19, #48]
	add	w8, w8, #1
	str	w8, [x19, #48]
	cbnz	w0, LBB0_10
	b	LBB0_24
LBB0_9:
	cbz	w0, LBB0_14
LBB0_10:
	mov	x0, x19
	mov	x1, x23
	bl	_efx_enqueue_unwind
	mov	x0, x22
	bl	_dev_kfree_skb_any
	cbnz	w20, LBB0_23
; %bb.11:
	mov	x0, x19
	bl	_efx_tx_queue_partner
	ldr	w8, [x0, #16]
	cbz	w8, LBB0_13
; %bb.12:
	bl	_efx_nic_push_buffers
LBB0_13:
	mov	x0, x19
	bl	_efx_nic_push_buffers
	b	LBB0_23
LBB0_14:
	mov	w25, #0
	ldr	w8, [sp, #12]
	cbz	w8, LBB0_4
LBB0_15:
	mov	x0, x19
	bl	_efx_tx_maybe_stop_queue
	ldr	w0, [x19, #36]
	mov	x1, x24
	mov	x2, x20
	bl	___netdev_tx_sent_queue
	cbz	x0, LBB0_20
; %bb.16:
	mov	x0, x19
	bl	_efx_tx_queue_partner
	ldr	w8, [x0, #16]
	cbz	w8, LBB0_18
; %bb.17:
	bl	_efx_nic_push_buffers
LBB0_18:
	mov	x0, x19
	bl	_efx_nic_push_buffers
	tbz	w25, #0, LBB0_21
LBB0_19:
	mov	w8, #1
	b	LBB0_22
LBB0_20:
	str	w20, [x19, #16]
	tbnz	w25, #0, LBB0_19
LBB0_21:
	ldr	w8, [x19, #32]
	add	w8, w8, #1
	str	w8, [x19, #32]
	ldr	w8, [x19, #20]
	add	w8, w8, w21
	str	w8, [x19, #20]
	mov	w8, w21
LBB0_22:
	ldr	x9, [x19, #24]
	add	x8, x9, x8
	str	x8, [x19, #24]
LBB0_23:
Lloh6:
	adrp	x8, _NETDEV_TX_OK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _NETDEV_TX_OK@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
LBB0_24:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_EFX_TX_CB_SIZE,4,2             ; @EFX_TX_CB_SIZE
	.comm	_NETDEV_TX_OK,4,2               ; @NETDEV_TX_OK
	.comm	_efx_piobuf_size,4,2            ; @efx_piobuf_size
.subsections_via_symbols
