	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dpaa_fq_alloc
_dpaa_fq_alloc:                         ## @dpaa_fq_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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %r12d
	movq	%rcx, %r13
	movl	%edx, %ebx
	movl	%esi, %r15d
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%edx, %esi
	movl	$12, %edx
	callq	_devm_kcalloc
	movq	%rax, %r14
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	testl	%ebx, %ebx
	jle	LBB0_6
## %bb.2:
	movl	%r12d, -44(%rbp)                ## 4-byte Spill
	movl	%ebx, %eax
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movq	%r14, %rbx
	addq	$8, %rbx
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%rax, %r14
	movq	%r13, %r12
	movl	%r15d, %r13d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	testl	%r15d, %r15d
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, -8(%rbx)
	movl	%r13d, %eax
	cmovel	%r15d, %eax
	movl	%eax, -4(%rbx)
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_list_add_tail
	incl	%r13d
	addq	$12, %rbx
	decq	%r14
	jne	LBB0_3
## %bb.4:
	xorl	%ebx, %ebx
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %r15
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_dpaa_assign_wq
	incq	%rbx
	addq	$12, %r15
	cmpq	%rbx, %r12
	jne	LBB0_5
LBB0_6:
	movq	%r14, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.no_dead_strip	_dpaa_fq_alloc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dpaa_fq_alloc
_dpaa_fq_alloc:                         ; @dpaa_fq_alloc
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x20, x4
	mov	x21, x3
	mov	x23, x2
	mov	x22, x1
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
	mov	x1, x2
	mov	w2, #12
	bl	_devm_kcalloc
	mov	x19, x0
	cmp	x0, #0
	ccmp	w23, #1, #8, ne
	b.lt	LBB0_5
; %bb.1:
	mov	w24, w23
	add	x23, x19, #8
	mov	x25, x24
	mov	x26, x22
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w22, #0
	csel	w8, wzr, w26, eq
	stp	w20, w8, [x23, #-8]
	mov	x0, x23
	mov	x1, x21
	bl	_list_add_tail
	add	w26, w26, #1
	add	x23, x23, #12
	subs	x25, x25, #1
	b.ne	LBB0_2
; %bb.3:
	mov	x20, #0
	mov	x21, x19
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	mov	x1, x20
	bl	_dpaa_assign_wq
	add	x20, x20, #1
	add	x21, x21, #12
	cmp	x24, x20
	b.ne	LBB0_4
LBB0_5:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.no_dead_strip	_dpaa_fq_alloc
.subsections_via_symbols
