	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function restart_tx
_restart_tx:                            ## @restart_tx
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_TXQ_ETH@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	leaq	8(%r14), %rbx
	movq	%rbx, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	(%r15), %rdi
	shlq	$3, %rdi
	addq	(%r14), %rdi
	callq	_should_restart_tx
	testq	%rax, %rax
	je	LBB0_5
## %bb.2:
	movq	(%r15), %rdi
	movq	%rbx, %rsi
	callq	_test_and_clear_bit
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movq	(%r14), %rax
	movq	(%r15), %rcx
	incl	4(%rax,%rcx,8)
	movl	16(%r14), %edi
	callq	_netif_running
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movl	12(%r14), %edi
	callq	_netif_tx_wake_queue
LBB0_5:
	movq	_TXQ_OFLD@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	movq	%rbx, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_9
## %bb.6:
	movq	(%r15), %rdi
	shlq	$3, %rdi
	addq	(%r14), %rdi
	callq	_should_restart_tx
	testq	%rax, %rax
	je	LBB0_9
## %bb.7:
	movq	(%r15), %rdi
	movq	%rbx, %rsi
	callq	_test_and_clear_bit
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movq	(%r14), %rax
	movq	(%r15), %rcx
	leaq	(%rax,%rcx,8), %rdi
	incl	4(%rax,%rcx,8)
	callq	_tasklet_schedule
LBB0_9:
	movq	_TXQ_CTRL@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	movq	%rbx, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_12
## %bb.10:
	movq	(%r15), %rdi
	shlq	$3, %rdi
	addq	(%r14), %rdi
	callq	_should_restart_tx
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	movq	(%r15), %rdi
	movq	%rbx, %rsi
	callq	_test_and_clear_bit
	testq	%rax, %rax
	je	LBB0_12
## %bb.13:
	movq	(%r14), %rax
	movq	(%r15), %rcx
	leaq	(%rax,%rcx,8), %rdi
	incl	4(%rax,%rcx,8)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_tasklet_schedule               ## TAILCALL
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TXQ_ETH,8,3                    ## @TXQ_ETH
	.comm	_TXQ_OFLD,8,3                   ## @TXQ_OFLD
	.comm	_TXQ_CTRL,8,3                   ## @TXQ_CTRL
	.no_dead_strip	_restart_tx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function restart_tx
_restart_tx:                            ; @restart_tx
	.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, x0
Lloh0:
	adrp	x21, _TXQ_ETH@GOTPAGE
Lloh1:
	ldr	x21, [x21, _TXQ_ETH@GOTPAGEOFF]
	ldr	x0, [x21]
	add	x20, x19, #8
	mov	x1, x20
	bl	_test_bit
	cbz	x0, LBB0_5
; %bb.1:
	ldr	x8, [x19]
	ldr	x9, [x21]
	add	x0, x8, x9, lsl #3
	bl	_should_restart_tx
	cbz	x0, LBB0_5
; %bb.2:
	ldr	x0, [x21]
	mov	x1, x20
	bl	_test_and_clear_bit
	cbz	x0, LBB0_5
; %bb.3:
	ldr	x8, [x19]
	ldr	x9, [x21]
	add	x8, x8, x9, lsl #3
	ldr	w9, [x8, #4]
	add	w9, w9, #1
	str	w9, [x8, #4]
	ldr	w0, [x19, #16]
	bl	_netif_running
	cbz	x0, LBB0_5
; %bb.4:
	ldr	w0, [x19, #12]
	bl	_netif_tx_wake_queue
LBB0_5:
Lloh2:
	adrp	x21, _TXQ_OFLD@GOTPAGE
Lloh3:
	ldr	x21, [x21, _TXQ_OFLD@GOTPAGEOFF]
	ldr	x0, [x21]
	mov	x1, x20
	bl	_test_bit
	cbz	x0, LBB0_9
; %bb.6:
	ldr	x8, [x19]
	ldr	x9, [x21]
	add	x0, x8, x9, lsl #3
	bl	_should_restart_tx
	cbz	x0, LBB0_9
; %bb.7:
	ldr	x0, [x21]
	mov	x1, x20
	bl	_test_and_clear_bit
	cbz	x0, LBB0_9
; %bb.8:
	ldr	x8, [x19]
	ldr	x9, [x21]
	add	x0, x8, x9, lsl #3
	ldr	w8, [x0, #4]
	add	w8, w8, #1
	str	w8, [x0, #4]
	bl	_tasklet_schedule
LBB0_9:
Lloh4:
	adrp	x21, _TXQ_CTRL@GOTPAGE
Lloh5:
	ldr	x21, [x21, _TXQ_CTRL@GOTPAGEOFF]
	ldr	x0, [x21]
	mov	x1, x20
	bl	_test_bit
	cbz	x0, LBB0_13
; %bb.10:
	ldr	x8, [x19]
	ldr	x9, [x21]
	add	x0, x8, x9, lsl #3
	bl	_should_restart_tx
	cbz	x0, LBB0_13
; %bb.11:
	ldr	x0, [x21]
	mov	x1, x20
	bl	_test_and_clear_bit
	cbz	x0, LBB0_13
; %bb.12:
	ldr	x8, [x19]
	ldr	x9, [x21]
	add	x0, x8, x9, lsl #3
	ldr	w8, [x0, #4]
	add	w8, w8, #1
	str	w8, [x0, #4]
	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	_tasklet_schedule
LBB0_13:
	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
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_TXQ_ETH,8,3                    ; @TXQ_ETH
	.comm	_TXQ_OFLD,8,3                   ; @TXQ_OFLD
	.comm	_TXQ_CTRL,8,3                   ; @TXQ_CTRL
	.no_dead_strip	_restart_tx
.subsections_via_symbols
