	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function txq_kick
_txq_kick:                              ## @txq_kick
	.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, %rbx
	callq	_txq_to_mp
	movq	%rax, %r14
	movl	4(%rax), %edi
	movl	(%rbx), %esi
	callq	_netdev_get_tx_queue
	movq	%rax, %r15
	xorl	%eax, %eax
	callq	_smp_processor_id
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	___netif_tx_lock
	movq	_TXQ_COMMAND@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_rdlp
	movl	(%rbx), %edi
	btl	%edi, %eax
	jb	LBB0_3
## %bb.1:
	callq	_TXQ_CURRENT_DESC_PTR
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_rdlp
	cltq
	movslq	4(%rbx), %rcx
	shlq	$2, %rcx
	addq	8(%rbx), %rcx
	cmpq	%rax, %rcx
	je	LBB0_3
## %bb.2:
	movq	%rbx, %rdi
	callq	_txq_enable
LBB0_3:
	movq	%r15, %rdi
	callq	___netif_tx_unlock
	movb	(%rbx), %cl
	movl	$-2, %eax
	roll	%cl, %eax
	andl	%eax, (%r14)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TXQ_COMMAND,4,2                ## @TXQ_COMMAND
	.no_dead_strip	_txq_kick
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function txq_kick
_txq_kick:                              ; @txq_kick
	.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	x20, x0
	bl	_txq_to_mp
	mov	x19, x0
	ldr	w0, [x0, #4]
	ldr	w1, [x20]
	bl	_netdev_get_tx_queue
	mov	x21, x0
	bl	_smp_processor_id
	mov	x1, x0
	mov	x0, x21
	bl	___netif_tx_lock
Lloh0:
	adrp	x8, _TXQ_COMMAND@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TXQ_COMMAND@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_rdlp
	mov	x8, x0
	ldr	w0, [x20]
	lsr	w8, w8, w0
	tbnz	w8, #0, LBB0_3
; %bb.1:
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_TXQ_CURRENT_DESC_PTR
	mov	x1, x0
	mov	x0, x19
	bl	_rdlp
	ldr	x8, [x20, #8]
	ldrsw	x9, [x20, #4]
	add	x8, x8, x9, lsl #2
	cmp	x8, w0, sxtw
	b.eq	LBB0_3
; %bb.2:
	mov	x0, x20
	bl	_txq_enable
LBB0_3:
	mov	x0, x21
	bl	___netif_tx_unlock
	ldr	w8, [x20]
	mov	w9, #1
	lsl	w8, w9, w8
	ldr	w9, [x19]
	bic	w8, w9, w8
	str	w8, [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
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_TXQ_COMMAND,4,2                ; @TXQ_COMMAND
	.no_dead_strip	_txq_kick
.subsections_via_symbols
