	.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	$72, %rsp
	.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, %rbx
	movq	32(%rdi), %r14
	movq	8(%r14), %r13
	movl	(%rdi), %eax
	xorl	%edi, %edi
	cmpl	4(%rbx), %eax
	setne	%dil
	callq	_EFX_BUG_ON_PARANOID
	movq	%r12, %rdi
	callq	_skb_shinfo
	cmpq	$0, 16(%rax)
	je	LBB0_1
## %bb.16:
	movq	%rbx, %rdi
	movq	%r12, %rsi
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_efx_enqueue_skb_tso            ## TAILCALL
LBB0_1:
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	callq	_skb_headlen
	movl	%eax, %r15d
	movq	%r14, %rdi
	callq	_EFX_WORKAROUND_15592
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	cmpl	$32, (%r12)
	jg	LBB0_4
## %bb.3:
	movl	4(%r12), %edi
	callq	_EFX_BUG_ON_PARANOID
	movl	$33, %r15d
	movl	$33, %esi
	subl	(%r12), %esi
	movq	%r12, %rdi
	callq	_skb_pad
	testq	%rax, %rax
	jne	LBB0_15
LBB0_4:
	movq	%r14, -88(%rbp)                 ## 8-byte Spill
	movq	_EFX_TX_BUF_MAP_SINGLE@GOTPCREL(%rip), %rax
	movzwl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	8(%r12), %esi
	movq	_PCI_DMA_TODEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r13, %rdi
	movl	%r15d, %edx
	callq	_dma_map_single
	movq	%r12, %r14
	movl	%eax, %r12d
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	_dma_mapping_error
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_12
## %bb.5:
	xorl	%eax, %eax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	%r14, -104(%rbp)                ## 8-byte Spill
	movq	%r13, -96(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_7 Depth 2
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movl	4(%rdx), %ecx
	movl	%r15d, -68(%rbp)                ## 4-byte Spill
	movl	%r15d, %ebx
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=2
	movl	%r14d, 4(%r13,%r15,8)
	movl	%r12d, 12(%r13,%r15,8)
	movq	_EFX_TX_BUF_CONT@GOTPCREL(%rip), %rax
	movzwl	(%rax), %eax
	movl	%eax, (%r13,%r15,8)
	addl	%r14d, %r12d
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movl	4(%rdx), %ecx
	incl	%ecx
	movl	%ecx, 4(%rdx)
	subl	%r14d, %ebx
	je	LBB0_10
LBB0_7:                                 ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%ecx, %eax
	andl	8(%rdx), %eax
	movq	16(%rdx), %r13
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	leaq	(%rax,%rax,2), %r15
	movl	(%r13,%r15,8), %edi
	callq	_EFX_BUG_ON_PARANOID
	movl	4(%r13,%r15,8), %edi
	callq	_EFX_BUG_ON_PARANOID
	movl	8(%r13,%r15,8), %edi
	callq	_EFX_BUG_ON_PARANOID
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movl	%r12d, %esi
	callq	_efx_max_tx_len
	movl	%eax, %r14d
	xorl	%edi, %edi
	cmpl	%ebx, %eax
	setae	%dil
	callq	_likely
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=2
	movl	%ebx, %r14d
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_6 Depth=1
	leaq	(,%r15,8), %r15
	addq	%r13, %r15
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	orl	%r14d, %eax
	movl	%eax, (%r15)
	movl	-68(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 8(%r15)
	movq	-104(%rbp), %r12                ## 8-byte Reload
	movq	%r12, %rdi
	callq	_skb_shinfo
	movslq	(%rax), %rax
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	cmpq	%rax, %rbx
	jge	LBB0_17
## %bb.11:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	%r12, %rdi
	callq	_skb_shinfo
	leaq	(,%rbx,4), %r14
	addq	8(%rax), %r14
	movq	%r14, %rdi
	callq	_skb_frag_size
	movl	%eax, %r15d
	incq	%rbx
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	movq	_DMA_TO_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	movq	-96(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	movl	%r15d, %ecx
	callq	_skb_frag_dma_map
	movq	%r12, %r14
	movl	%eax, %r12d
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	_dma_mapping_error
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_6
LBB0_12:
	movq	_tx_err@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	-88(%rbp), %r13                 ## 8-byte Reload
	movl	(%r13), %r12d
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movl	24(%rbx), %eax
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	movl	(%r14), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%r14, %rdi
	callq	_skb_shinfo
	movl	(%rax), %eax
	incl	%eax
	movl	%eax, (%rsp)
	leaq	L_.str(%rip), %rcx
	movq	%r13, %rdi
	movl	%r15d, %esi
	movl	%r12d, %edx
	movl	-64(%rbp), %r8d                 ## 4-byte Reload
	movl	-44(%rbp), %r9d                 ## 4-byte Reload
	callq	_netif_err
	movq	%r14, %rdi
	callq	_dev_kfree_skb_any
	movl	4(%rbx), %eax
	cmpl	(%rbx), %eax
	je	LBB0_15
## %bb.13:
	movq	%rbx, %rcx
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	decl	%eax
	movl	%eax, 4(%rcx)
	andl	8(%rcx), %eax
	leaq	(%rax,%rax,2), %rsi
	shlq	$3, %rsi
	addq	16(%rcx), %rsi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_efx_dequeue_buffer
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	4(%rcx), %eax
	cmpl	(%rcx), %eax
	jne	LBB0_14
	jmp	LBB0_15
LBB0_17:
	movl	-64(%rbp), %eax                 ## 4-byte Reload
	leaq	(%rax,%rax,2), %rax
	movq	%r12, 16(%r13,%rax,8)
	movq	_EFX_TX_BUF_SKB@GOTPCREL(%rip), %rax
	movzwl	(%rax), %eax
	orl	%eax, %r14d
	movl	%r14d, (%r15)
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_efx_nic_push_buffers
	movq	%rbx, %rdi
	callq	_efx_tx_maybe_stop_queue
LBB0_15:
	movq	_NETDEV_TX_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NETDEV_TX_OK,4,2               ## @NETDEV_TX_OK
	.comm	_EFX_TX_BUF_MAP_SINGLE,2,1      ## @EFX_TX_BUF_MAP_SINGLE
	.comm	_PCI_DMA_TODEVICE,4,2           ## @PCI_DMA_TODEVICE
	.comm	_EFX_TX_BUF_CONT,2,1            ## @EFX_TX_BUF_CONT
	.comm	_DMA_TO_DEVICE,4,2              ## @DMA_TO_DEVICE
	.comm	_EFX_TX_BUF_SKB,2,1             ## @EFX_TX_BUF_SKB
	.comm	_tx_err,4,2                     ## @tx_err
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	" TX queue %d could not map skb with %d bytes %d fragments for DMA\n"

.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, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x1
	mov	x19, x0
	ldr	x21, [x0, #32]
	ldr	x22, [x21, #8]
	ldp	w8, w9, [x0]
	cmp	w8, w9
	cset	w0, ne
	bl	_EFX_BUG_ON_PARANOID
	mov	x0, x20
	bl	_skb_shinfo
	ldr	x8, [x0, #16]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x0, x19
	mov	x1, x20
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	b	_efx_enqueue_skb_tso
LBB0_2:
	mov	x0, x20
	bl	_skb_headlen
	mov	x26, x0
	mov	x0, x21
	bl	_EFX_WORKAROUND_15592
	cbz	x0, LBB0_5
; %bb.3:
	ldr	w8, [x20]
	cmp	w8, #32
	b.gt	LBB0_5
; %bb.4:
	ldr	w0, [x20, #4]
	bl	_EFX_BUG_ON_PARANOID
	ldr	w8, [x20]
	mov	w26, #33
	sub	w1, w26, w8
	mov	x0, x20
	bl	_skb_pad
	cbnz	x0, LBB0_15
LBB0_5:
	str	x21, [sp, #16]                  ; 8-byte Folded Spill
Lloh0:
	adrp	x8, _EFX_TX_BUF_MAP_SINGLE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EFX_TX_BUF_MAP_SINGLE@GOTPAGEOFF]
	ldrh	w21, [x8]
	ldr	w1, [x20, #8]
Lloh2:
	adrp	x8, _PCI_DMA_TODEVICE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _PCI_DMA_TODEVICE@GOTPAGEOFF]
Lloh4:
	ldr	w3, [x8]
	mov	x0, x22
	mov	x2, x26
	bl	_dma_map_single
	mov	x24, x0
	mov	x0, x22
	mov	x1, x24
	bl	_dma_mapping_error
	bl	_unlikely
	cbnz	x0, LBB0_11
; %bb.6:
	mov	x25, #0
	stp	x22, x20, [sp]                  ; 16-byte Folded Spill
	ldr	x28, [sp, #16]                  ; 8-byte Folded Reload
LBB0_7:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
	str	w21, [sp, #28]                  ; 4-byte Folded Spill
	str	x25, [sp, #32]                  ; 8-byte Folded Spill
	ldr	w8, [x19, #4]
	str	w26, [sp, #44]                  ; 4-byte Folded Spill
Lloh5:
	adrp	x21, _EFX_TX_BUF_CONT@GOTPAGE
Lloh6:
	ldr	x21, [x21, _EFX_TX_BUF_CONT@GOTPAGEOFF]
LBB0_8:                                 ;   Parent Loop BB0_7 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w9, [x19, #8]
	and	w22, w9, w8
	ldr	x23, [x19, #16]
	mov	w8, #24
	umaddl	x27, w22, w8, x23
	ldr	w0, [x27]
	bl	_EFX_BUG_ON_PARANOID
	ldr	w0, [x27, #4]
	bl	_EFX_BUG_ON_PARANOID
	mov	x20, x27
	ldr	w0, [x20, #8]!
	bl	_EFX_BUG_ON_PARANOID
	mov	x0, x28
	mov	x1, x24
	bl	_efx_max_tx_len
	mov	x25, x0
	cmp	w0, w26
	cset	w0, hs
	bl	_likely
	cmp	x0, #0
	csel	w10, w25, w26, eq
	str	w24, [x27, #12]
	ldrh	w9, [x21]
	stp	w9, w10, [x27]
	add	w24, w10, w24
	ldr	w8, [x19, #4]
	add	w8, w8, #1
	str	w8, [x19, #4]
	subs	w26, w26, w10
	b.ne	LBB0_8
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w21, [sp, #28]                  ; 4-byte Folded Reload
	orr	w8, w21, w9
	str	w8, [x27]
	ldr	w8, [sp, #44]                   ; 4-byte Folded Reload
	str	w8, [x20]
	ldr	x20, [sp, #8]                   ; 8-byte Folded Reload
	mov	x0, x20
	bl	_skb_shinfo
	ldrsw	x8, [x0]
	ldr	x25, [sp, #32]                  ; 8-byte Folded Reload
	cmp	x25, x8
	b.ge	LBB0_14
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x20
	bl	_skb_shinfo
	ldr	x8, [x0, #8]
	add	x24, x8, x25, lsl #2
	mov	x0, x24
	bl	_skb_frag_size
	mov	x26, x0
	add	x25, x25, #1
Lloh7:
	adrp	x8, _DMA_TO_DEVICE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _DMA_TO_DEVICE@GOTPAGEOFF]
Lloh9:
	ldr	w4, [x8]
	ldr	x22, [sp]                       ; 8-byte Folded Reload
	mov	x0, x22
	mov	x1, x24
	mov	w2, #0
	mov	x3, x26
	bl	_skb_frag_dma_map
	mov	x24, x0
	mov	x0, x22
	mov	x1, x24
	bl	_dma_mapping_error
	bl	_unlikely
	mov	w21, #0
	cbz	x0, LBB0_7
LBB0_11:
Lloh10:
	adrp	x8, _tx_err@GOTPAGE
Lloh11:
	ldr	x8, [x8, _tx_err@GOTPAGEOFF]
Lloh12:
	ldr	w22, [x8]
	ldr	x21, [sp, #16]                  ; 8-byte Folded Reload
	ldr	w23, [x21]
	ldr	w24, [x19, #24]
	ldr	w25, [x20]
	mov	x0, x20
	bl	_skb_shinfo
	ldr	w8, [x0]
	add	w6, w8, #1
Lloh13:
	adrp	x3, l_.str@PAGE
Lloh14:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x21
	mov	x1, x22
	mov	x2, x23
	mov	x4, x24
	mov	x5, x25
	bl	_netif_err
	mov	x0, x20
	bl	_dev_kfree_skb_any
	ldp	w9, w8, [x19]
	cmp	w8, w9
	b.eq	LBB0_15
; %bb.12:
	mov	w20, #24
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	sub	w8, w8, #1
	str	w8, [x19, #4]
	ldr	w9, [x19, #8]
	and	x8, x9, x8
	ldr	x9, [x19, #16]
	madd	x1, x8, x20, x9
	mov	x0, x19
	bl	_efx_dequeue_buffer
	ldp	w9, w8, [x19]
	cmp	w8, w9
	b.ne	LBB0_13
	b	LBB0_15
LBB0_14:
	mov	w8, #24
	umaddl	x8, w22, w8, x23
	str	x20, [x8, #16]
Lloh15:
	adrp	x8, _EFX_TX_BUF_SKB@GOTPAGE
Lloh16:
	ldr	x8, [x8, _EFX_TX_BUF_SKB@GOTPAGEOFF]
	ldrh	w8, [x8]
	orr	w8, w21, w8
	str	w8, [x27]
	mov	x0, x19
	bl	_efx_nic_push_buffers
	mov	x0, x19
	bl	_efx_tx_maybe_stop_queue
LBB0_15:
Lloh17:
	adrp	x8, _NETDEV_TX_OK@GOTPAGE
Lloh18:
	ldr	x8, [x8, _NETDEV_TX_OK@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_NETDEV_TX_OK,4,2               ; @NETDEV_TX_OK
	.comm	_EFX_TX_BUF_MAP_SINGLE,2,1      ; @EFX_TX_BUF_MAP_SINGLE
	.comm	_PCI_DMA_TODEVICE,4,2           ; @PCI_DMA_TODEVICE
	.comm	_EFX_TX_BUF_CONT,2,1            ; @EFX_TX_BUF_CONT
	.comm	_DMA_TO_DEVICE,4,2              ; @DMA_TO_DEVICE
	.comm	_EFX_TX_BUF_SKB,2,1             ; @EFX_TX_BUF_SKB
	.comm	_tx_err,4,2                     ; @tx_err
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	" TX queue %d could not map skb with %d bytes %d fragments for DMA\n"

.subsections_via_symbols
