	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function reset_sub_crq_queues
_reset_sub_crq_queues:                  ## @reset_sub_crq_queues
	.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
	cmpl	$0, (%rdi)
	jle	LBB0_4
## %bb.1:
	xorl	%ebx, %ebx
	leaq	L_.str(%rip), %r15
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	16(%r14), %edi
	movq	%r15, %rsi
	movl	%ebx, %edx
	callq	_netdev_dbg
	movq	24(%r14), %rax
	movl	(%rax,%rbx,4), %esi
	movq	%r14, %rdi
	callq	_reset_one_sub_crq_queue
	testl	%eax, %eax
	jne	LBB0_10
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	movslq	(%r14), %rax
	cmpq	%rax, %rbx
	jl	LBB0_2
LBB0_4:
	cmpl	$0, 4(%r14)
	jle	LBB0_9
## %bb.5:
	xorl	%ebx, %ebx
	leaq	L_.str.1(%rip), %r15
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	16(%r14), %edi
	movq	%r15, %rsi
	movl	%ebx, %edx
	callq	_netdev_dbg
	movq	8(%r14), %rax
	movl	(%rax,%rbx,4), %esi
	movq	%r14, %rdi
	callq	_reset_one_sub_crq_queue
	testl	%eax, %eax
	jne	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	incq	%rbx
	movslq	4(%r14), %rax
	cmpq	%rax, %rbx
	jl	LBB0_6
LBB0_9:
	xorl	%eax, %eax
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Re-setting tx_scrq[%d]\n"

L_.str.1:                               ## @.str.1
	.asciz	"Re-setting rx_scrq[%d]\n"

	.no_dead_strip	_reset_sub_crq_queues
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function reset_sub_crq_queues
_reset_sub_crq_queues:                  ; @reset_sub_crq_queues
	.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
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.1:
	mov	x20, #0
Lloh0:
	adrp	x21, l_.str@PAGE
Lloh1:
	add	x21, x21, l_.str@PAGEOFF
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x19, #16]
	mov	x1, x21
	mov	x2, x20
	bl	_netdev_dbg
	ldr	x8, [x19, #24]
	ldr	w1, [x8, x20, lsl #2]
	mov	x0, x19
	bl	_reset_one_sub_crq_queue
	cbnz	w0, LBB0_9
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x20, x20, #1
	ldrsw	x8, [x19]
	cmp	x20, x8
	b.lt	LBB0_2
LBB0_4:
	ldr	w8, [x19, #4]
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.5:
	mov	x20, #0
Lloh2:
	adrp	x21, l_.str.1@PAGE
Lloh3:
	add	x21, x21, l_.str.1@PAGEOFF
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x19, #16]
	mov	x1, x21
	mov	x2, x20
	bl	_netdev_dbg
	ldr	x8, [x19, #8]
	ldr	w1, [x8, x20, lsl #2]
	mov	x0, x19
	bl	_reset_one_sub_crq_queue
	cbnz	w0, LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x20, x20, #1
	ldrsw	x8, [x19, #4]
	cmp	x20, x8
	b.lt	LBB0_6
LBB0_8:
	mov	w0, #0
LBB0_9:
	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 AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Re-setting tx_scrq[%d]\n"

l_.str.1:                               ; @.str.1
	.asciz	"Re-setting rx_scrq[%d]\n"

	.no_dead_strip	_reset_sub_crq_queues
.subsections_via_symbols
