	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function typhoon_tx_complete
_typhoon_tx_complete:                   ## @typhoon_tx_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	_MAX_SKB_FRAGS@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	callq	_typhoon_clean_tx
	movl	%eax, %r15d
	movl	(%rbx), %edi
	callq	_netif_queue_stopped
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movl	4(%r14), %edi
	movq	_TXLO_ENTRIES@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r15d, %esi
	callq	_typhoon_num_free
	addl	$3, %r12d
	cmpl	%r12d, %eax
	jle	LBB0_3
## %bb.2:
	movl	(%rbx), %edi
	callq	_netif_wake_queue
LBB0_3:
	movl	%r15d, (%r14)
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_smp_wmb                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_SKB_FRAGS,4,2              ## @MAX_SKB_FRAGS
	.comm	_TXLO_ENTRIES,4,2               ## @TXLO_ENTRIES
	.no_dead_strip	_typhoon_tx_complete
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function typhoon_tx_complete
_typhoon_tx_complete:                   ; @typhoon_tx_complete
	.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, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _MAX_SKB_FRAGS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MAX_SKB_FRAGS@GOTPAGEOFF]
Lloh2:
	ldr	w22, [x8]
	bl	_typhoon_clean_tx
	mov	x21, x0
	ldr	w0, [x20]
	bl	_netif_queue_stopped
	cbz	x0, LBB0_3
; %bb.1:
	ldr	w0, [x19, #4]
Lloh3:
	adrp	x8, _TXLO_ENTRIES@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TXLO_ENTRIES@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x1, x21
	bl	_typhoon_num_free
	add	w8, w22, #3
	cmp	w0, w8
	b.le	LBB0_3
; %bb.2:
	ldr	w0, [x20]
	bl	_netif_wake_queue
LBB0_3:
	str	w21, [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
	b	_smp_wmb
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_SKB_FRAGS,4,2              ; @MAX_SKB_FRAGS
	.comm	_TXLO_ENTRIES,4,2               ; @TXLO_ENTRIES
	.no_dead_strip	_typhoon_tx_complete
.subsections_via_symbols
