	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ionic_qcq_alloc
_ionic_qcq_alloc:                       ## @ionic_qcq_alloc
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %r12d
	movl	%r8d, -80(%rbp)                 ## 4-byte Spill
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movl	%edx, -92(%rbp)                 ## 4-byte Spill
	movl	%esi, -88(%rbp)                 ## 4-byte Spill
	movq	%rdi, %r14
	movq	48(%rbp), %rcx
	movl	24(%rbp), %edx
	movl	16(%rbp), %edi
	movq	8(%r14), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	$0, (%rcx)
                                        ## kill: def $edi killed $edi killed $rdi def $rdi
	imull	%r9d, %edi
	movl	%edx, %ebx
	imull	%r9d, %ebx
	movq	_PAGE_SIZE@GOTPCREL(%rip), %r13
	movq	(%r13), %rsi
	movq	%rdi, -120(%rbp)                ## 8-byte Spill
	callq	_ALIGN
	movq	%rax, %r15
	movq	(%r13), %rsi
	movq	%rbx, -112(%rbp)                ## 8-byte Spill
	movq	%rbx, %rdi
	movq	%r13, %rbx
	callq	_ALIGN
	movq	%rax, %r13
	addq	%r15, %r13
	movq	(%rbx), %rsi
	addq	%rsi, %r13
	movq	_IONIC_QCQ_F_SG@GOTPCREL(%rip), %rax
	movl	-80(%rbp), %ecx                 ## 4-byte Reload
	testl	%ecx, (%rax)
	je	LBB0_1
## %bb.2:
	movq	%r14, %r15
	movl	32(%rbp), %edi
                                        ## kill: def $edi killed $edi killed $rdi def $rdi
	imull	%r12d, %edi
	callq	_ALIGN
	addq	%r13, %rax
	addq	(%rbx), %rax
	movq	%rax, %r13
	jmp	LBB0_3
LBB0_1:
	movq	%r14, %r15
LBB0_3:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	_GFP_KERNEL@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	movq	%rbx, %rdi
	movl	$72, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_4
## %bb.6:
	movl	-80(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, (%rax)
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	(%r14), %edx
	movq	%rbx, %rdi
	movl	%r12d, %esi
	callq	_devm_kzalloc
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, 48(%rcx)
	testq	%rax, %rax
	je	LBB0_7
## %bb.8:
	movl	40(%rbp), %eax
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	addq	$8, %r14
	leaq	40(%rcx), %rbx
	movl	-88(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, (%rbx)
	subq	$8, %rsp
	movl	%r12d, %r9d
	movq	%r15, %r12
	movq	%r15, %rdi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	movl	-92(%rbp), %ecx                 ## 4-byte Reload
	movq	-72(%rbp), %r8                  ## 8-byte Reload
	movl	%r9d, -64(%rbp)                 ## 4-byte Spill
	pushq	%rax
	movl	32(%rbp), %eax
	pushq	%rax
	movl	16(%rbp), %eax
	pushq	%rax
	callq	_ionic_q_init
	addq	$32, %rsp
	testl	%eax, %eax
	je	LBB0_11
## %bb.9:
	movl	%eax, %r15d
	movl	(%r12), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_netdev_err
	jmp	LBB0_10
LBB0_4:
	movl	(%r15), %edi
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_5
LBB0_7:
	movl	(%r15), %edi
	leaq	L_.str.1(%rip), %rsi
LBB0_5:
	callq	_netdev_err
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
LBB0_10:
	leaq	L_.str.8(%rip), %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	movl	-92(%rbp), %ecx                 ## 4-byte Reload
	movl	%r15d, %r8d
	callq	_dev_err
LBB0_30:
	movl	%r15d, %eax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	movq	%rbx, -104(%rbp)                ## 8-byte Spill
	movq	_IONIC_QCQ_F_INTR@GOTPCREL(%rip), %rax
	movl	-80(%rbp), %ecx                 ## 4-byte Reload
	testl	%ecx, (%rax)
	je	LBB0_19
## %bb.12:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leaq	24(%rax), %rbx
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_ionic_intr_alloc
	testl	%eax, %eax
	je	LBB0_14
## %bb.13:
	movl	%eax, %r15d
	movl	(%r12), %edi
	leaq	L_.str.3(%rip), %rsi
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	movl	%eax, %ecx
	callq	_netdev_warn
	jmp	LBB0_10
LBB0_19:
	movq	%r12, -88(%rbp)                 ## 8-byte Spill
	movq	_INTR_INDEX_NOT_ASSIGNED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movl	%eax, 24(%rbx)
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	movl	-64(%rbp), %r12d                ## 4-byte Reload
LBB0_20:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movl	%r12d, %esi
	callq	_devm_kzalloc
	movq	%rax, 56(%rbx)
	testq	%rax, %rax
	je	LBB0_21
## %bb.22:
	leaq	56(%rbx), %rax
	movl	%r12d, %ecx
	movq	%rax, %r12
	movq	%rbx, %r14
	leaq	24(%rbx), %rdx
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	%rax, %rsi
	movl	24(%rbp), %r8d
	callq	_ionic_cq_init
	testl	%eax, %eax
	je	LBB0_24
## %bb.23:
	movl	%eax, %r15d
	movl	(%rbx), %edi
	leaq	L_.str.6(%rip), %rsi
	callq	_netdev_err
	movq	%rbx, %r12
	jmp	LBB0_16
LBB0_14:
	movq	8(%r12), %rdi
	movl	(%rbx), %esi
	callq	_ionic_bus_get_irq
	movl	%eax, %r15d
	testl	%eax, %eax
	js	LBB0_15
## %bb.17:
	movq	%r12, -88(%rbp)                 ## 8-byte Spill
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movl	%r15d, 28(%rbx)
	movl	(%r14), %edi
	movl	24(%rbx), %esi
	movq	_IONIC_INTR_MASK_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_ionic_intr_mask_assert
	movl	24(%rbx), %r15d
	xorl	%eax, %eax
	callq	_num_online_cpus
	movl	%eax, %ecx
	movl	%r15d, %eax
	cltd
	idivl	%ecx
	movl	%edx, %edi
	movl	%edx, 32(%rbx)
	callq	_cpu_online
	testq	%rax, %rax
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	movl	-64(%rbp), %r12d                ## 4-byte Reload
	je	LBB0_20
## %bb.18:
	movl	32(%rbx), %edi
	leaq	36(%rbx), %rsi
	callq	_cpumask_set_cpu
	jmp	LBB0_20
LBB0_21:
	movq	-88(%rbp), %r12                 ## 8-byte Reload
	movl	(%r12), %edi
	leaq	L_.str.5(%rip), %rsi
LBB0_26:
	callq	_netdev_err
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
	jmp	LBB0_16
LBB0_24:
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdx
	addq	$8, %rdx
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	callq	_dma_alloc_coherent
	movq	%rax, 64(%r14)
	testq	%rax, %rax
	je	LBB0_25
## %bb.27:
	movq	%rax, %r15
	movq	%r13, 16(%r14)
	movq	8(%r14), %r14
	movq	%rax, %rdi
	movq	-120(%rbp), %rbx                ## 8-byte Reload
	addq	%rbx, %rdi
	movq	_PAGE_SIZE@GOTPCREL(%rip), %r13
	movq	(%r13), %rsi
	callq	_ALIGN
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%r14, -72(%rbp)                 ## 8-byte Spill
	addq	%r14, %rbx
	movq	(%r13), %rsi
	movq	%rbx, %rdi
	callq	_ALIGN
	movq	-104(%rbp), %r14                ## 8-byte Reload
	movq	%rax, %r12
	movl	-80(%rbp), %eax                 ## 4-byte Reload
	movq	_IONIC_QCQ_F_SG@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_29
## %bb.28:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	-112(%rbp), %rbx                ## 8-byte Reload
	addq	%rbx, %rdi
	movq	(%r13), %rsi
	callq	_ALIGN
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	addq	%rbx, %rdi
	movq	(%r13), %rsi
	callq	_ALIGN
	movq	%r14, %rdi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movq	%rax, %rdx
	callq	_ionic_q_sg_map
LBB0_29:
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	callq	_ionic_q_map
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	%r12, %rdx
	callq	_ionic_cq_map
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_ionic_cq_bind
	movq	48(%rbp), %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, (%rax)
	xorl	%r15d, %r15d
	jmp	LBB0_30
LBB0_15:
	movl	(%r12), %edi
	leaq	L_.str.4(%rip), %rsi
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	movl	%r15d, %ecx
	callq	_netdev_warn
	movq	-56(%rbp), %r14                 ## 8-byte Reload
LBB0_16:
	movl	24(%r14), %esi
	movq	%r12, %rdi
	callq	_ionic_intr_free
	jmp	LBB0_10
LBB0_25:
	movq	%rbx, %r12
	movl	(%rbx), %edi
	leaq	L_.str.7(%rip), %rsi
	jmp	LBB0_26
	.cfi_endproc
                                        ## -- End function
	.comm	_PAGE_SIZE,8,3                  ## @PAGE_SIZE
	.comm	_IONIC_QCQ_F_SG,4,2             ## @IONIC_QCQ_F_SG
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Cannot allocate queue structure\n"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
L_.str.1:                               ## @.str.1
	.asciz	"Cannot allocate queue info\n"

L_.str.2:                               ## @.str.2
	.asciz	"Cannot initialize queue\n"

	.comm	_IONIC_QCQ_F_INTR,4,2           ## @IONIC_QCQ_F_INTR
L_.str.3:                               ## @.str.3
	.asciz	"no intr for %s: %d\n"

L_.str.4:                               ## @.str.4
	.asciz	"no vector for %s: %d\n"

	.comm	_IONIC_INTR_MASK_SET,4,2        ## @IONIC_INTR_MASK_SET
	.comm	_INTR_INDEX_NOT_ASSIGNED,4,2    ## @INTR_INDEX_NOT_ASSIGNED
L_.str.5:                               ## @.str.5
	.asciz	"Cannot allocate completion queue info\n"

L_.str.6:                               ## @.str.6
	.asciz	"Cannot initialize completion queue\n"

L_.str.7:                               ## @.str.7
	.asciz	"Cannot allocate queue DMA memory\n"

L_.str.8:                               ## @.str.8
	.asciz	"qcq alloc of %s%d failed %d\n"

	.no_dead_strip	_ionic_qcq_alloc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ionic_qcq_alloc
_ionic_qcq_alloc:                       ; @ionic_qcq_alloc
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x28, x27, [sp, #80]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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	x25, x6
	mov	x28, x5
	mov	x22, x4
	str	x3, [sp, #72]                   ; 8-byte Folded Spill
	str	w2, [sp, #68]                   ; 4-byte Folded Spill
	str	w1, [sp, #60]                   ; 4-byte Folded Spill
	ldr	x8, [x29, #24]
	ldr	w26, [x29, #16]
	mov	x21, x0
	ldr	x20, [x0, #8]
	ldr	x23, [x20], #8
	str	x8, [sp, #32]                   ; 8-byte Folded Spill
	str	xzr, [x8]
	mul	w0, w6, w5
	str	w7, [sp, #44]                   ; 4-byte Folded Spill
	mul	w24, w7, w5
Lloh0:
	adrp	x27, _PAGE_SIZE@GOTPAGE
Lloh1:
	ldr	x27, [x27, _PAGE_SIZE@GOTPAGEOFF]
	ldr	x1, [x27]
	str	x0, [sp, #24]                   ; 8-byte Folded Spill
	bl	_ALIGN
	mov	x19, x0
	ldr	x1, [x27]
	str	x24, [sp, #16]                  ; 8-byte Folded Spill
	mov	x0, x24
	bl	_ALIGN
	ldr	x1, [x27]
	add	x8, x0, x19
	add	x24, x8, x1
Lloh2:
	adrp	x8, _IONIC_QCQ_F_SG@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IONIC_QCQ_F_SG@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	str	w22, [sp, #64]                  ; 4-byte Folded Spill
	tst	w8, w22
	b.eq	LBB0_2
; %bb.1:
	mul	w0, w26, w28
	bl	_ALIGN
	ldr	x8, [x27]
	add	x9, x0, x24
	add	x24, x9, x8
LBB0_2:
Lloh5:
	adrp	x22, _GFP_KERNEL@GOTPAGE
Lloh6:
	ldr	x22, [x22, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w2, [x22]
	mov	x0, x23
	mov	w1, #72
	bl	_devm_kzalloc
	cbz	x0, LBB0_6
; %bb.3:
	mov	x19, x0
	ldr	w8, [sp, #64]                   ; 4-byte Folded Reload
	str	w8, [x0]
	ldr	w2, [x22]
	str	x23, [sp, #48]                  ; 8-byte Folded Spill
	mov	x0, x23
	mov	x1, x28
	bl	_devm_kzalloc
	str	x0, [x19, #48]
	cbz	x0, LBB0_7
; %bb.4:
	mov	x22, x24
	ldr	w8, [x29, #20]
	add	x23, x19, #40
	ldr	w9, [sp, #60]                   ; 4-byte Folded Reload
	str	w9, [x23]
	str	w8, [sp]
	mov	x0, x21
	mov	x1, x20
	mov	x2, x23
	ldr	w27, [sp, #68]                  ; 4-byte Folded Reload
	mov	x3, x27
	ldr	x24, [sp, #72]                  ; 8-byte Folded Reload
	mov	x4, x24
	mov	x5, x28
	mov	x6, x25
	mov	x7, x26
	bl	_ionic_q_init
	cbz	w0, LBB0_8
; %bb.5:
	mov	x25, x0
	ldr	w0, [x21]
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_netdev_err
	b	LBB0_26
LBB0_6:
	ldr	w0, [x21]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	bl	_netdev_err
Lloh11:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	neg	w25, w8
	ldr	w27, [sp, #68]                  ; 4-byte Folded Reload
	ldr	x24, [sp, #72]                  ; 8-byte Folded Reload
	mov	x0, x23
	b	LBB0_27
LBB0_7:
	ldr	w0, [x21]
Lloh14:
	adrp	x1, l_.str.1@PAGE
Lloh15:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_netdev_err
Lloh16:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	neg	w25, w8
	ldr	w27, [sp, #68]                  ; 4-byte Folded Reload
	ldr	x24, [sp, #72]                  ; 8-byte Folded Reload
	b	LBB0_26
LBB0_8:
Lloh19:
	adrp	x8, _IONIC_QCQ_F_INTR@GOTPAGE
Lloh20:
	ldr	x8, [x8, _IONIC_QCQ_F_INTR@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	ldr	w9, [sp, #64]                   ; 4-byte Folded Reload
	tst	w8, w9
	b.eq	LBB0_11
; %bb.9:
	add	x26, x19, #24
	mov	x0, x21
	mov	x1, x26
	bl	_ionic_intr_alloc
	cbz	w0, LBB0_15
; %bb.10:
	mov	x25, x0
	ldr	w0, [x21]
Lloh22:
	adrp	x1, l_.str.3@PAGE
Lloh23:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x2, x24
	mov	x3, x25
	bl	_netdev_warn
	b	LBB0_26
LBB0_11:
Lloh24:
	adrp	x8, _INTR_INDEX_NOT_ASSIGNED@GOTPAGE
Lloh25:
	ldr	x8, [x8, _INTR_INDEX_NOT_ASSIGNED@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	str	w8, [x19, #24]
LBB0_12:
Lloh27:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh28:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh29:
	ldr	w2, [x8]
	ldr	x0, [sp, #48]                   ; 8-byte Folded Reload
	mov	x1, x28
	bl	_devm_kzalloc
	mov	x20, x19
	str	x0, [x20, #56]!
	cbz	x0, LBB0_18
; %bb.13:
	add	x2, x19, #24
	mov	x0, x21
	mov	x1, x20
	mov	x3, x28
	ldr	w4, [sp, #44]                   ; 4-byte Folded Reload
	bl	_ionic_cq_init
	cbz	w0, LBB0_20
; %bb.14:
	mov	x25, x0
	ldr	w0, [x21]
Lloh30:
	adrp	x1, l_.str.6@PAGE
Lloh31:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_netdev_err
	b	LBB0_25
LBB0_15:
	ldr	x0, [x21, #8]
	ldr	w1, [x26]
	bl	_ionic_bus_get_irq
	mov	x25, x0
	tbnz	w0, #31, LBB0_24
; %bb.16:
	str	w25, [x19, #28]
	ldr	w0, [x20]
	ldr	w1, [x19, #24]
Lloh32:
	adrp	x8, _IONIC_INTR_MASK_SET@GOTPAGE
Lloh33:
	ldr	x8, [x8, _IONIC_INTR_MASK_SET@GOTPAGEOFF]
Lloh34:
	ldr	w2, [x8]
	bl	_ionic_intr_mask_assert
	ldr	w20, [x19, #24]
	bl	_num_online_cpus
	sdiv	w8, w20, w0
	msub	w0, w8, w0, w20
	str	w0, [x19, #32]
	bl	_cpu_online
	cbz	x0, LBB0_12
; %bb.17:
	ldr	w0, [x19, #32]
	add	x1, x19, #36
	bl	_cpumask_set_cpu
	b	LBB0_12
LBB0_18:
	ldr	w0, [x21]
Lloh35:
	adrp	x1, l_.str.5@PAGE
Lloh36:
	add	x1, x1, l_.str.5@PAGEOFF
LBB0_19:
	bl	_netdev_err
Lloh37:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh38:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh39:
	ldr	w8, [x8]
	neg	w25, w8
	b	LBB0_25
LBB0_20:
	add	x2, x19, #8
Lloh40:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh41:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh42:
	ldr	w3, [x8]
	ldr	x0, [sp, #48]                   ; 8-byte Folded Reload
	mov	x1, x22
	bl	_dma_alloc_coherent
	str	x0, [x19, #64]
	cbz	x0, LBB0_29
; %bb.21:
	mov	x25, x0
	str	x22, [x19, #16]
	ldr	x27, [x19, #8]
	ldr	x26, [sp, #24]                  ; 8-byte Folded Reload
	add	x0, x0, x26
Lloh43:
	adrp	x24, _PAGE_SIZE@GOTPAGE
Lloh44:
	ldr	x24, [x24, _PAGE_SIZE@GOTPAGEOFF]
	ldr	x1, [x24]
	bl	_ALIGN
	mov	x21, x0
	add	x0, x27, x26
	ldr	x1, [x24]
	bl	_ALIGN
	mov	x22, x0
Lloh45:
	adrp	x8, _IONIC_QCQ_F_SG@GOTPAGE
Lloh46:
	ldr	x8, [x8, _IONIC_QCQ_F_SG@GOTPAGEOFF]
Lloh47:
	ldr	w8, [x8]
	ldr	w9, [sp, #64]                   ; 4-byte Folded Reload
	tst	w8, w9
	b.eq	LBB0_23
; %bb.22:
	ldr	x26, [sp, #16]                  ; 8-byte Folded Reload
	add	x0, x21, x26
	ldr	x1, [x24]
	bl	_ALIGN
	mov	x8, x24
	mov	x24, x0
	add	x0, x22, x26
	ldr	x1, [x8]
	bl	_ALIGN
	mov	x2, x0
	mov	x0, x23
	mov	x1, x24
	bl	_ionic_q_sg_map
LBB0_23:
	mov	x0, x23
	mov	x1, x25
	mov	x2, x27
	bl	_ionic_q_map
	mov	x0, x20
	mov	x1, x21
	mov	x2, x22
	bl	_ionic_cq_map
	mov	x0, x20
	mov	x1, x23
	bl	_ionic_cq_bind
	mov	w25, #0
	ldr	x8, [sp, #32]                   ; 8-byte Folded Reload
	str	x19, [x8]
	b	LBB0_28
LBB0_24:
	ldr	w0, [x21]
Lloh48:
	adrp	x1, l_.str.4@PAGE
Lloh49:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x2, x24
	mov	x3, x25
	bl	_netdev_warn
LBB0_25:
	ldr	w1, [x19, #24]
	mov	x0, x21
	bl	_ionic_intr_free
LBB0_26:
	ldr	x0, [sp, #48]                   ; 8-byte Folded Reload
LBB0_27:
Lloh50:
	adrp	x1, l_.str.8@PAGE
Lloh51:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x2, x24
	mov	x3, x27
	mov	x4, x25
	bl	_dev_err
LBB0_28:
	mov	x0, x25
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
LBB0_29:
	ldr	w0, [x21]
Lloh52:
	adrp	x1, l_.str.7@PAGE
Lloh53:
	add	x1, x1, l_.str.7@PAGEOFF
	b	LBB0_19
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGot	Lloh43, Lloh44
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpAdd	Lloh52, Lloh53
	.cfi_endproc
                                        ; -- End function
	.comm	_PAGE_SIZE,8,3                  ; @PAGE_SIZE
	.comm	_IONIC_QCQ_F_SG,4,2             ; @IONIC_QCQ_F_SG
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Cannot allocate queue structure\n"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
l_.str.1:                               ; @.str.1
	.asciz	"Cannot allocate queue info\n"

l_.str.2:                               ; @.str.2
	.asciz	"Cannot initialize queue\n"

	.comm	_IONIC_QCQ_F_INTR,4,2           ; @IONIC_QCQ_F_INTR
l_.str.3:                               ; @.str.3
	.asciz	"no intr for %s: %d\n"

l_.str.4:                               ; @.str.4
	.asciz	"no vector for %s: %d\n"

	.comm	_IONIC_INTR_MASK_SET,4,2        ; @IONIC_INTR_MASK_SET
	.comm	_INTR_INDEX_NOT_ASSIGNED,4,2    ; @INTR_INDEX_NOT_ASSIGNED
l_.str.5:                               ; @.str.5
	.asciz	"Cannot allocate completion queue info\n"

l_.str.6:                               ; @.str.6
	.asciz	"Cannot initialize completion queue\n"

l_.str.7:                               ; @.str.7
	.asciz	"Cannot allocate queue DMA memory\n"

l_.str.8:                               ; @.str.8
	.asciz	"qcq alloc of %s%d failed %d\n"

	.no_dead_strip	_ionic_qcq_alloc
.subsections_via_symbols
