	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function slic_xmit_complete
_slic_xmit_complete:                    ## @slic_xmit_complete
	.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	%rdi, %r13
	leaq	32(%rdi), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	24(%rdi), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	xorl	%r15d, %r15d
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	leaq	(%r14,%r12,8), %rbx
	movq	16(%r13), %r14
	movq	_map_addr@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_dma_unmap_addr
	movl	%eax, %r12d
	movq	_map_len@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_dma_unmap_len
	movq	_DMA_TO_DEVICE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	%r14, %rdi
	movl	%r12d, %esi
	movl	%eax, %edx
	callq	_dma_unmap_single
	movq	(%rbx), %rdi
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	addl	(%rdi), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	incl	%r15d
	callq	_dev_kfree_skb_any
	movq	$0, (%rbx)
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	_SLIC_MAX_TX_COMPLETIONS@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r15d
	jae	LBB0_6
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	callq	_slic_next_compl_idx
	movl	%eax, %ebx
	movq	_SLIC_INVALID_STAT_DESC_IDX@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	je	LBB0_6
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	%ebx, 32(%r13)
	movq	40(%r13), %r14
	movl	%ebx, %r12d
	xorl	%edi, %edi
	cmpq	$0, (%r14,%r12,8)
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edx
	callq	_netdev_warn
	jmp	LBB0_5
LBB0_6:
	xorl	%eax, %eax
	callq	_smp_wmb
	leaq	8(%r13), %rbx
	movq	%rbx, %rdi
	callq	_u64_stats_update_begin
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	addl	%eax, (%r13)
	addl	%r15d, 4(%r13)
	movq	%rbx, %rdi
	callq	_u64_stats_update_end
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_netif_tx_lock
	movq	%rbx, %rdi
	callq	_netif_queue_stopped
	testq	%rax, %rax
	je	LBB0_9
## %bb.7:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_slic_get_free_tx_descs
	movq	_SLIC_MIN_TX_WAKEUP_DESCS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jl	LBB0_9
## %bb.8:
	movq	%rbx, %rdi
	callq	_netif_wake_queue
LBB0_9:
	movq	%rbx, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_netif_tx_unlock                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SLIC_INVALID_STAT_DESC_IDX,4,2 ## @SLIC_INVALID_STAT_DESC_IDX
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"no skb found for desc idx %i\n"

	.comm	_map_addr,4,2                   ## @map_addr
	.comm	_map_len,4,2                    ## @map_len
	.comm	_DMA_TO_DEVICE,4,2              ## @DMA_TO_DEVICE
	.comm	_SLIC_MAX_TX_COMPLETIONS,4,2    ## @SLIC_MAX_TX_COMPLETIONS
	.comm	_SLIC_MIN_TX_WAKEUP_DESCS,8,3   ## @SLIC_MIN_TX_WAKEUP_DESCS
	.no_dead_strip	_slic_xmit_complete
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function slic_xmit_complete
_slic_xmit_complete:                    ; @slic_xmit_complete
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x21, x0
	add	x8, x0, #32
	str	x8, [sp, #8]                    ; 8-byte Folded Spill
	movi.2d	v0, #0000000000000000
	str	q0, [sp, #16]                   ; 16-byte Folded Spill
	ldr	x19, [x0, #24]
Lloh0:
	adrp	x26, _SLIC_INVALID_STAT_DESC_IDX@GOTPAGE
Lloh1:
	ldr	x26, [x26, _SLIC_INVALID_STAT_DESC_IDX@GOTPAGEOFF]
Lloh2:
	adrp	x28, _map_len@GOTPAGE
Lloh3:
	ldr	x28, [x28, _map_len@GOTPAGEOFF]
Lloh4:
	adrp	x20, _DMA_TO_DEVICE@GOTPAGE
Lloh5:
	ldr	x20, [x20, _DMA_TO_DEVICE@GOTPAGEOFF]
Lloh6:
	adrp	x22, l_.str@PAGE
Lloh7:
	add	x22, x22, l_.str@PAGEOFF
Lloh8:
	adrp	x27, _SLIC_MAX_TX_COMPLETIONS@GOTPAGE
Lloh9:
	ldr	x27, [x27, _SLIC_MAX_TX_COMPLETIONS@GOTPAGEOFF]
	b	LBB0_3
LBB0_1:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x24, [x21, #16]
Lloh10:
	adrp	x8, _map_addr@GOTPAGE
Lloh11:
	ldr	x8, [x8, _map_addr@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	mov	x0, x23
	bl	_dma_unmap_addr
	mov	x25, x0
	ldr	w1, [x28]
	mov	x0, x23
	bl	_dma_unmap_len
	mov	x2, x0
	ldr	w3, [x20]
	mov	x0, x24
	mov	x1, x25
	bl	_dma_unmap_single
	ldr	x0, [x23]
	movi.2s	v0, #1
	ld1.s	{ v0 }[0], [x0]
	ldr	q1, [sp, #16]                   ; 16-byte Folded Reload
	add.2s	v1, v1, v0
	str	q1, [sp, #16]                   ; 16-byte Folded Spill
	bl	_dev_kfree_skb_any
	ldr	q0, [sp, #16]                   ; 16-byte Folded Reload
	str	xzr, [x23]
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x27]
	str	q0, [sp, #16]                   ; 16-byte Folded Spill
	mov.s	w9, v0[1]
	cmp	w9, w8
	b.hs	LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_slic_next_compl_idx
	ldr	w8, [x26]
	cmp	w0, w8
	b.eq	LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x24, x0
	str	w0, [x21, #32]
	ldr	x8, [x21, #40]
	add	x23, x8, w0, uxtw #3
	ldr	x8, [x23]
	cmp	x8, #0
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_1
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
	mov	x1, x22
	mov	x2, x24
	bl	_netdev_warn
	ldr	q0, [sp, #16]                   ; 16-byte Folded Reload
	b	LBB0_2
LBB0_6:
	bl	_smp_wmb
	add	x22, x21, #8
	mov	x0, x22
	bl	_u64_stats_update_begin
	ldr	d0, [x21]
	ldr	q1, [sp, #16]                   ; 16-byte Folded Reload
	add.2s	v0, v0, v1
	str	d0, [x21]
	mov	x0, x22
	bl	_u64_stats_update_end
	mov	x0, x19
	bl	_netif_tx_lock
	mov	x0, x19
	bl	_netif_queue_stopped
	cbz	x0, LBB0_9
; %bb.7:
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
	bl	_slic_get_free_tx_descs
Lloh13:
	adrp	x8, _SLIC_MIN_TX_WAKEUP_DESCS@GOTPAGE
Lloh14:
	ldr	x8, [x8, _SLIC_MIN_TX_WAKEUP_DESCS@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
	cmp	x0, x8
	b.lt	LBB0_9
; %bb.8:
	mov	x0, x19
	bl	_netif_wake_queue
LBB0_9:
	mov	x0, x19
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	b	_netif_tx_unlock
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_SLIC_INVALID_STAT_DESC_IDX,4,2 ; @SLIC_INVALID_STAT_DESC_IDX
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"no skb found for desc idx %i\n"

	.comm	_map_addr,4,2                   ; @map_addr
	.comm	_map_len,4,2                    ; @map_len
	.comm	_DMA_TO_DEVICE,4,2              ; @DMA_TO_DEVICE
	.comm	_SLIC_MAX_TX_COMPLETIONS,4,2    ; @SLIC_MAX_TX_COMPLETIONS
	.comm	_SLIC_MIN_TX_WAKEUP_DESCS,8,3   ; @SLIC_MIN_TX_WAKEUP_DESCS
	.no_dead_strip	_slic_xmit_complete
.subsections_via_symbols
