	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_il_tx_queue_reset              ## -- Begin function il_tx_queue_reset
	.p2align	4, 0x90
_il_tx_queue_reset:                     ## @il_tx_queue_reset
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	16(%rdi), %r13
	movq	_TFD_CMD_SLOTS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leal	1(%rax), %edx
	cmpq	%rsi, (%rdi)
	movq	_TFD_TX_CMD_SLOTS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	cmovnel	%ebx, %edx
	cmovel	%eax, %ebx
	leaq	(%rsi,%rsi,2), %r12
	leaq	(,%r12,8), %rax
	addq	%r13, %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	16(%r13,%r12,8), %edi
	shll	$2, %edx
	xorl	%esi, %esi
	callq	_memset
	movq	$0, 8(%r13,%r12,8)
	movq	%r15, %rdi
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rsi
	movl	%ebx, %edx
	movq	%r14, %rcx
	callq	_il_queue_init
	movq	8(%r15), %rax
	movq	(%rax), %rax
	movq	%r15, %rdi
	movq	%r12, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_TFD_CMD_SLOTS,4,2              ## @TFD_CMD_SLOTS
	.comm	_TFD_TX_CMD_SLOTS,4,2           ## @TFD_TX_CMD_SLOTS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_il_tx_queue_reset              ; -- Begin function il_tx_queue_reset
	.p2align	2
_il_tx_queue_reset:                     ; @il_tx_queue_reset
	.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
	ldr	x8, [x0, #16]
Lloh0:
	adrp	x9, _TFD_CMD_SLOTS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _TFD_CMD_SLOTS@GOTPAGEOFF]
	ldr	x10, [x0]
Lloh2:
	ldr	w9, [x9]
Lloh3:
	adrp	x11, _TFD_TX_CMD_SLOTS@GOTPAGE
Lloh4:
	ldr	x11, [x11, _TFD_TX_CMD_SLOTS@GOTPAGEOFF]
Lloh5:
	ldr	w11, [x11]
	cmp	x10, x1
	csinc	w10, w11, w9, ne
	csel	w21, w9, w11, eq
	mov	w9, #24
	madd	x22, x1, x9, x8
	ldr	w0, [x22, #16]
	lsl	w2, w10, #2
	mov	w1, #0
	bl	_memset
	str	xzr, [x22, #8]
	mov	x0, x20
	mov	x1, x22
	mov	x2, x21
	mov	x3, x19
	bl	_il_queue_init
	ldr	x8, [x20, #8]
	ldr	x2, [x8]
	mov	x0, x20
	mov	x1, x22
	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
	br	x2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_TFD_CMD_SLOTS,4,2              ; @TFD_CMD_SLOTS
	.comm	_TFD_TX_CMD_SLOTS,4,2           ; @TFD_TX_CMD_SLOTS
.subsections_via_symbols
