	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qat_uclo_create_batch_init_list
_qat_uclo_create_batch_init_list:       ## @qat_uclo_create_batch_init_list
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movl	%edx, -48(%rbp)                 ## 4-byte Spill
	movq	%rsi, %r13
	movq	(%rcx), %r15
	movq	%r15, %rcx
	testq	%r15, %r15
	jne	LBB0_3
## %bb.1:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$32, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_13
## %bb.2:
	movq	%rax, %rcx
	movl	$1, (%rax)
	movq	%rax, (%r14)
LBB0_3:
	leaq	16(%r13), %r12
	movq	%rcx, %rax
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rax, %rbx
	movq	8(%rax), %rax
	testq	%rax, %rax
	jne	LBB0_4
## %bb.5:
	cmpl	$0, (%r13)
	je	LBB0_6
## %bb.7:
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	xorl	%r13d, %r13d
	movq	%rbx, %r14
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$32, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_9
## %bb.15:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	%rax, %r15
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 4(%r15)
	movq	8(%r12), %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	addq	8(%rcx), %rax
	movq	%rax, 24(%r15)
	movq	%r12, 16(%r15)
	movl	$4, (%r15)
	movq	$0, 8(%r15)
	movq	%r15, 8(%r14)
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	xorl	%eax, %eax
	callq	_qat_hal_get_ins_num
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	addl	%eax, (%rcx)
	addq	$16, %r12
	incl	%r13d
	movq	%r15, %r14
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	cmpl	(%rax), %r13d
	jb	LBB0_8
	jmp	LBB0_14
LBB0_6:
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_14
LBB0_9:
	testq	%rbx, %rbx
	je	LBB0_11
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%rbx), %r14
	movq	%rbx, %rdi
	callq	_kfree
	movq	%r14, %rbx
	testq	%r14, %r14
	jne	LBB0_10
LBB0_11:
	cmpq	$0, -72(%rbp)                   ## 8-byte Folded Reload
	jne	LBB0_13
## %bb.12:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rdi
	callq	_kfree
LBB0_13:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ecx, %ecx
	subl	(%rax), %ecx
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
LBB0_14:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	addq	$40, %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
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_qat_uclo_create_batch_init_list
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qat_uclo_create_batch_init_list
_qat_uclo_create_batch_init_list:       ; @qat_uclo_create_batch_init_list
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x19, x3
	mov	x20, x2
	mov	x21, x1
	ldr	x24, [x3]
	mov	x22, x24
	cbnz	x24, LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #32
	bl	_kzalloc
	cbz	x0, LBB0_14
; %bb.2:
	mov	x22, x0
	mov	w8, #1
	str	w8, [x0]
	str	x0, [x19]
LBB0_3:
	add	x26, x21, #16
	mov	x8, x22
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x23, x8
	ldr	x8, [x8, #8]
	cbnz	x8, LBB0_4
; %bb.5:
	ldr	w8, [x21]
	cbz	w8, LBB0_9
; %bb.6:
	stp	x19, x24, [sp]                  ; 16-byte Folded Spill
	mov	w27, #0
Lloh3:
	adrp	x28, _GFP_KERNEL@GOTPAGE
Lloh4:
	ldr	x28, [x28, _GFP_KERNEL@GOTPAGEOFF]
	mov	w19, #4
	mov	x25, x23
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x28]
	mov	w0, #32
	bl	_kzalloc
	cbz	x0, LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x24, x0
	ldr	x8, [x21, #8]
	ldr	x9, [x26, #8]
	add	x8, x9, x8
	stp	x26, x8, [x0, #16]
	stp	w19, w20, [x0]
	str	xzr, [x0, #8]
	str	x0, [x25, #8]
	bl	_qat_hal_get_ins_num
	ldr	w8, [x22]
	add	w8, w8, w0
	str	w8, [x22]
	add	x26, x26, #16
	add	w27, w27, #1
	ldr	w8, [x21]
	mov	x25, x24
	cmp	w27, w8
	b.lo	LBB0_7
LBB0_9:
	mov	w0, #0
	b	LBB0_15
LBB0_10:
	cbz	x23, LBB0_12
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	x19, [x23, #8]
	mov	x0, x23
	bl	_kfree
	mov	x23, x19
	cbnz	x19, LBB0_11
LBB0_12:
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	cbnz	x8, LBB0_14
; %bb.13:
	ldr	x8, [sp]                        ; 8-byte Folded Reload
	ldr	x0, [x8]
	bl	_kfree
LBB0_14:
Lloh5:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_15:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_qat_uclo_create_batch_init_list
.subsections_via_symbols
