	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function scc_tx_done
_scc_tx_done:                           ## @scc_tx_done
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movl	4(%rdi), %eax
	cmpl	$128, %eax
	je	LBB0_4
## %bb.1:
	cmpl	$129, %eax
	jne	LBB0_5
## %bb.2:
	movq	_TXS_IDLE2@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movl	8(%rbx), %eax
	movq	_TIMER_OFF@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_7
## %bb.3:
	movq	_t_idle@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	imull	$100, %eax, %edx
	jmp	LBB0_6
LBB0_4:
	movq	_HWEV_ALL_SENT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_scc_notify
	jmp	LBB0_7
LBB0_5:
	movq	_TXS_BUSY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movq	_t_tail@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	12(%rbx), %edx
LBB0_6:
	movq	%rbx, %rdi
	callq	_scc_start_tx_timer
LBB0_7:
	movl	(%rbx), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_netif_wake_queue               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_TXS_IDLE2,4,2                  ## @TXS_IDLE2
	.comm	_TIMER_OFF,4,2                  ## @TIMER_OFF
	.comm	_t_idle,4,2                     ## @t_idle
	.comm	_HWEV_ALL_SENT,4,2              ## @HWEV_ALL_SENT
	.comm	_TXS_BUSY,4,2                   ## @TXS_BUSY
	.comm	_t_tail,4,2                     ## @t_tail
	.no_dead_strip	_scc_tx_done
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function scc_tx_done
_scc_tx_done:                           ; @scc_tx_done
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	w8, [x0, #4]
	cmp	w8, #128
	b.eq	LBB0_4
; %bb.1:
	cmp	w8, #129
	b.ne	LBB0_5
; %bb.2:
Lloh0:
	adrp	x8, _TXS_IDLE2@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TXS_IDLE2@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x19, #16]
	ldr	w8, [x19, #8]
Lloh3:
	adrp	x9, _TIMER_OFF@GOTPAGE
Lloh4:
	ldr	x9, [x9, _TIMER_OFF@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, w9
	b.eq	LBB0_7
; %bb.3:
Lloh6:
	adrp	x9, _t_idle@GOTPAGE
Lloh7:
	ldr	x9, [x9, _t_idle@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x9]
	mov	w9, #100
	mul	w2, w8, w9
	b	LBB0_6
LBB0_4:
Lloh9:
	adrp	x8, _HWEV_ALL_SENT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _HWEV_ALL_SENT@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_scc_notify
	b	LBB0_7
LBB0_5:
Lloh12:
	adrp	x8, _TXS_BUSY@GOTPAGE
Lloh13:
	ldr	x8, [x8, _TXS_BUSY@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	str	w8, [x19, #16]
Lloh15:
	adrp	x8, _t_tail@GOTPAGE
Lloh16:
	ldr	x8, [x8, _t_tail@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	ldr	w2, [x19, #12]
LBB0_6:
	mov	x0, x19
	bl	_scc_start_tx_timer
LBB0_7:
	ldr	w0, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_netif_wake_queue
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_TXS_IDLE2,4,2                  ; @TXS_IDLE2
	.comm	_TIMER_OFF,4,2                  ; @TIMER_OFF
	.comm	_t_idle,4,2                     ; @t_idle
	.comm	_HWEV_ALL_SENT,4,2              ; @HWEV_ALL_SENT
	.comm	_TXS_BUSY,4,2                   ; @TXS_BUSY
	.comm	_t_tail,4,2                     ; @t_tail
	.no_dead_strip	_scc_tx_done
.subsections_via_symbols
