	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function init_sub_crqs
_init_sub_crqs:                         ## @init_sub_crqs
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	48(%rdi), %r12
	movl	4(%rdi), %ebx
	addl	(%rdi), %ebx
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%ebx, %edi
	movl	$8, %esi
	callq	_kcalloc
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	testl	%ebx, %ebx
	jle	LBB0_3
## %bb.4:
	movl	%ebx, %r14d
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	callq	_init_sub_crq_queue
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx,%r13,8)
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	incq	%r13
	cmpq	%r13, %r14
	jne	LBB0_5
## %bb.8:
	movl	%ebx, %r13d
	jmp	LBB0_9
LBB0_1:
	movl	$-1, %r15d
	jmp	LBB0_44
LBB0_3:
	xorl	%r13d, %r13d
	jmp	LBB0_9
LBB0_6:
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	callq	_dev_warn
LBB0_9:
	movl	12(%r15), %eax
	addl	8(%r15), %eax
	cmpl	%eax, %r13d
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	jge	LBB0_10
## %bb.45:
	leaq	L_.str.1(%rip), %rsi
	movq	%r12, %rdi
	callq	_dev_err
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_40
LBB0_10:
	subl	%r13d, %ebx
	testl	%ebx, %ebx
	jle	LBB0_20
## %bb.11:
	xorl	%r12d, %r12d
	xorl	%r14d, %r14d
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_12 Depth=1
	incl	%r14d
LBB0_19:                                ##   in Loop: Header=BB0_12 Depth=1
	incl	%r12d
	leal	(%rbx,%r14), %eax
	cmpl	%eax, %r12d
	jge	LBB0_20
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movl	%r12d, %eax
	movl	$2863311531, %ecx               ## imm = 0xAAAAAAAB
	imulq	%rcx, %rax
	shrq	$33, %rax
	leal	(%rax,%rax,2), %r15d
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	44(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_netdev_dbg
	movl	%r12d, %eax
	subl	%r15d, %eax
	cmpl	$1, %eax
	je	LBB0_16
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=1
	testl	%eax, %eax
	jne	LBB0_19
## %bb.14:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	4(%rcx), %eax
	cmpl	12(%rcx), %eax
	jle	LBB0_18
## %bb.15:                              ##   in Loop: Header=BB0_12 Depth=1
	decl	%eax
	movl	%eax, 4(%rcx)
	jmp	LBB0_19
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rcx), %eax
	cmpl	8(%rcx), %eax
	jle	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_12 Depth=1
	decl	%eax
	movl	%eax, (%rcx)
	jmp	LBB0_19
LBB0_20:
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	movl	(%r15), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	movl	$8, %esi
	callq	_kcalloc
	movq	%rax, 16(%r15)
	testq	%rax, %rax
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	je	LBB0_40
## %bb.21:
	movl	(%r15), %r9d
	testl	%r9d, %r9d
	jle	LBB0_29
## %bb.22:
	movl	40(%r15), %r8d
	cmpl	$1, %r9d
	jne	LBB0_24
## %bb.23:
	xorl	%esi, %esi
	jmp	LBB0_26
LBB0_24:
	movl	%r9d, %edi
	andl	$-2, %edi
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_25:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r12,%rsi,8), %rdx
	movq	%rdx, (%rax,%rsi,8)
	movq	16(%r15), %rax
	movq	(%rax,%rsi,8), %rdx
	movl	%esi, (%rdx)
	movq	8(%r12,%rsi,8), %rdx
	movq	%rdx, 8(%rax,%rsi,8)
	movq	16(%r15), %rax
	movq	8(%rax,%rsi,8), %rdx
	leal	1(%rsi), %ecx
	movl	%ecx, (%rdx)
	addq	$2, %rsi
	cmpq	%rdi, %rsi
	jne	LBB0_25
LBB0_26:
	testb	$1, %r9b
	je	LBB0_28
## %bb.27:
	movq	(%r12,%rsi,8), %rcx
	movq	%rcx, (%rax,%rsi,8)
	movq	16(%r15), %rax
	movq	(%rax,%rsi,8), %rax
	movl	%esi, (%rax)
LBB0_28:
	addl	%r8d, %r9d
	movl	%r9d, 40(%r15)
LBB0_29:
	movl	4(%r15), %edi
	movl	(%r14), %edx
	movl	$8, %esi
	callq	_kcalloc
	movq	%rax, 32(%r15)
	testq	%rax, %rax
	je	LBB0_39
## %bb.30:
	movl	4(%r15), %r10d
	testl	%r10d, %r10d
	jle	LBB0_31
## %bb.32:
	movslq	(%r15), %r9
	movl	24(%r15), %r8d
	cmpl	$1, %r10d
	jne	LBB0_34
## %bb.33:
	xorl	%edi, %edi
	jmp	LBB0_36
LBB0_39:
	movq	16(%r15), %rdi
	callq	_kfree
	movq	$0, 16(%r15)
LBB0_40:
	movl	$-1, %r15d
	testl	%r13d, %r13d
	je	LBB0_43
## %bb.41:
	movl	%r13d, %r14d
	xorl	%ebx, %ebx
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_42:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r12,%rbx,8), %rsi
	movq	%r13, %rdi
	movl	$1, %edx
	callq	_release_sub_crq_queue
	incq	%rbx
	cmpq	%rbx, %r14
	jne	LBB0_42
LBB0_43:
	movq	%r12, %rdi
	callq	_kfree
LBB0_44:
	movl	%r15d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_31:
	xorl	%r15d, %r15d
	jmp	LBB0_43
LBB0_34:
	movl	%r10d, %ecx
	andl	$-2, %ecx
	leaq	(%r12,%r9,8), %rdx
	addq	$8, %rdx
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_35:                                ## =>This Inner Loop Header: Depth=1
	movq	-8(%rdx,%rdi,8), %rsi
	movq	%rsi, (%rax,%rdi,8)
	movq	32(%r15), %rax
	movq	(%rax,%rdi,8), %rsi
	movl	%edi, 4(%rsi)
	movq	(%rdx,%rdi,8), %rsi
	movq	%rsi, 8(%rax,%rdi,8)
	movq	32(%r15), %rax
	movq	8(%rax,%rdi,8), %rsi
	leal	1(%rdi), %ebx
	movl	%ebx, 4(%rsi)
	addq	$2, %rdi
	cmpq	%rcx, %rdi
	jne	LBB0_35
LBB0_36:
	testb	$1, %r10b
	je	LBB0_38
## %bb.37:
	addq	%rdi, %r9
	movq	(%r12,%r9,8), %rcx
	movq	%rcx, (%rax,%rdi,8)
	movq	32(%r15), %rax
	movq	(%rax,%rdi,8), %rax
	movl	%edi, 4(%rax)
LBB0_38:
	addl	%r8d, %r10d
	movl	%r10d, 24(%r15)
	xorl	%r15d, %r15d
	jmp	LBB0_43
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Couldn't allocate all sub-crqs\n"

L_.str.1:                               ## @.str.1
	.asciz	"Fatal: Couldn't init  min number of sub-crqs\n"

L_.str.2:                               ## @.str.2
	.asciz	"Reducing number of queues\n"

	.no_dead_strip	_init_sub_crqs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function init_sub_crqs
_init_sub_crqs:                         ; @init_sub_crqs
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x0
	ldr	x21, [x0, #48]
	ldp	w8, w9, [x0]
	add	w22, w9, w8
Lloh0:
	adrp	x24, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x24, [x24, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w2, [x24]
	mov	x0, x22
	mov	w1, #8
	bl	_kcalloc
	cbz	x0, LBB0_6
; %bb.1:
	mov	x19, x0
	cmp	w22, #1
	b.lt	LBB0_7
; %bb.2:
	mov	x23, #0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_init_sub_crq_queue
	str	x0, [x19, x23, lsl #3]
	cbz	x0, LBB0_8
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x23, x23, #1
	cmp	x22, x23
	b.ne	LBB0_3
; %bb.5:
	mov	x23, x22
	b	LBB0_9
LBB0_6:
	mov	w21, #-1
	b	LBB0_37
LBB0_7:
	mov	w23, #0
	b	LBB0_9
LBB0_8:
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_dev_warn
LBB0_9:
	ldp	w8, w9, [x20, #8]
	add	w8, w9, w8
	cmp	w23, w8
	b.ge	LBB0_11
; %bb.10:
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	bl	_dev_err
	b	LBB0_32
LBB0_11:
	sub	w22, w22, w23
	cmp	w22, #1
	b.lt	LBB0_21
; %bb.12:
	mov	w25, #0
	mov	w26, #0
	mov	w27, #43691
	movk	w27, #43690, lsl #16
Lloh6:
	adrp	x21, l_.str.2@PAGE
Lloh7:
	add	x21, x21, l_.str.2@PAGEOFF
	b	LBB0_15
LBB0_13:                                ;   in Loop: Header=BB0_15 Depth=1
	add	w26, w26, #1
LBB0_14:                                ;   in Loop: Header=BB0_15 Depth=1
	add	w25, w25, #1
	add	w8, w22, w26
	cmp	w25, w8
	b.ge	LBB0_21
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	umull	x8, w25, w27
	lsr	x8, x8, #33
	sub	w28, w8, w8, lsl #2
	ldr	w0, [x20, #44]
	mov	x1, x21
	bl	_netdev_dbg
	add	w8, w25, w28
	cmp	w8, #1
	b.eq	LBB0_19
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=1
	cbnz	w8, LBB0_14
; %bb.17:                               ;   in Loop: Header=BB0_15 Depth=1
	ldr	w8, [x20, #4]
	ldr	w9, [x20, #12]
	cmp	w8, w9
	b.le	LBB0_13
; %bb.18:                               ;   in Loop: Header=BB0_15 Depth=1
	sub	w8, w8, #1
	str	w8, [x20, #4]
	b	LBB0_14
LBB0_19:                                ;   in Loop: Header=BB0_15 Depth=1
	ldr	w8, [x20]
	ldr	w9, [x20, #8]
	cmp	w8, w9
	b.le	LBB0_13
; %bb.20:                               ;   in Loop: Header=BB0_15 Depth=1
	sub	w8, w8, #1
	str	w8, [x20]
	b	LBB0_14
LBB0_21:
	ldr	w0, [x20]
	ldr	w2, [x24]
	mov	w1, #8
	bl	_kcalloc
	str	x0, [x20, #16]
	cbz	x0, LBB0_32
; %bb.22:
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_26
; %bb.23:
	mov	x9, #0
	ldr	w10, [x20, #40]
LBB0_24:                                ; =>This Inner Loop Header: Depth=1
	lsl	x11, x9, #3
	ldr	x12, [x19, x11]
	str	x12, [x0, x11]
	ldr	x0, [x20, #16]
	ldr	x11, [x0, x11]
	str	w9, [x11]
	add	x9, x9, #1
	cmp	x8, x9
	b.ne	LBB0_24
; %bb.25:
	add	w8, w8, w10
	str	w8, [x20, #40]
LBB0_26:
	ldr	w0, [x20, #4]
	ldr	w2, [x24]
	mov	w1, #8
	bl	_kcalloc
	str	x0, [x20, #32]
	cbz	x0, LBB0_31
; %bb.27:
	ldr	w8, [x20, #4]
	cmp	w8, #1
	b.lt	LBB0_38
; %bb.28:
	mov	x9, #0
	ldrsw	x11, [x20]
	ldr	w10, [x20, #24]
	add	x11, x19, x11, lsl #3
LBB0_29:                                ; =>This Inner Loop Header: Depth=1
	lsl	x12, x9, #3
	ldr	x13, [x11, x12]
	str	x13, [x0, x12]
	ldr	x0, [x20, #32]
	ldr	x12, [x0, x12]
	str	w9, [x12, #4]
	add	x9, x9, #1
	cmp	x8, x9
	b.ne	LBB0_29
; %bb.30:
	mov	w21, #0
	add	w8, w8, w10
	str	w8, [x20, #24]
	b	LBB0_36
LBB0_31:
	ldr	x0, [x20, #16]
	bl	_kfree
	str	xzr, [x20, #16]
LBB0_32:
	cbz	w23, LBB0_35
; %bb.33:
	mov	w21, w23
	mov	x22, x19
LBB0_34:                                ; =>This Inner Loop Header: Depth=1
	ldr	x1, [x22], #8
	mov	x0, x20
	mov	w2, #1
	bl	_release_sub_crq_queue
	subs	x21, x21, #1
	b.ne	LBB0_34
LBB0_35:
	mov	w21, #-1
LBB0_36:
	mov	x0, x19
	bl	_kfree
LBB0_37:
	mov	x0, x21
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_38:
	mov	w21, #0
	b	LBB0_36
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Couldn't allocate all sub-crqs\n"

l_.str.1:                               ; @.str.1
	.asciz	"Fatal: Couldn't init  min number of sub-crqs\n"

l_.str.2:                               ; @.str.2
	.asciz	"Reducing number of queues\n"

	.no_dead_strip	_init_sub_crqs
.subsections_via_symbols
