	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qat_uclo_init_ustore
_qat_uclo_init_ustore:                  ## @qat_uclo_init_ustore
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r13
	movq	%rdi, %rbx
	movq	8(%rdi), %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	8(%rsi), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	_ICP_QAT_UCLO_MAX_USTORE@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$4, %esi
	callq	_kcalloc
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	je	LBB0_11
## %bb.1:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	cmpl	$0, (%r14)
	je	LBB0_4
## %bb.2:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	leaq	4(%rax), %r12
	xorl	%ebx, %ebx
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movq	%r12, %rsi
	movl	$4, %edx
	callq	_memcpy
	incq	%rbx
	movl	(%r14), %eax
	addq	$4, %r15
	cmpq	%rax, %rbx
	jb	LBB0_3
LBB0_4:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	(%rbx), %rax
	cmpb	$0, (%rax)
	je	LBB0_9
## %bb.5:
	movq	(%r13), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	xorl	%r13d, %r13d
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=1
	incq	%r13
	movq	(%rbx), %rax
	movzbl	(%rax), %eax
	cmpq	%rax, %r13
	jae	LBB0_9
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	%r13b, %edi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	callq	_test_bit
	testl	%eax, %eax
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movl	(%rax,%r13,4), %ebx
	movl	(%r14), %ecx
	movl	4(%r14), %r15d
	addl	%ecx, %r15d
	movzbl	%r13b, %esi
	movl	%esi, -60(%rbp)                 ## 4-byte Spill
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	xorl	%edx, %edx
	movq	%r12, %r8
	callq	_qat_hal_wr_uwords
	subl	%r15d, %ebx
	incl	%ebx
	movl	(%r14), %eax
	leaq	(%r12,%rax,4), %r8
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	-60(%rbp), %esi                 ## 4-byte Reload
	movl	%r15d, %edx
	movl	%ebx, %ecx
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	callq	_qat_hal_wr_uwords
	jmp	LBB0_8
LBB0_9:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_kfree
	xorl	%eax, %eax
	jmp	LBB0_10
LBB0_11:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_10:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ICP_QAT_UCLO_MAX_USTORE,4,2    ## @ICP_QAT_UCLO_MAX_USTORE
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_qat_uclo_init_ustore
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qat_uclo_init_ustore
_qat_uclo_init_ustore:                  ; @qat_uclo_init_ustore
	.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	x22, x1
	mov	x19, x0
	ldr	x25, [x0, #8]
	ldr	x20, [x1, #8]
Lloh0:
	adrp	x26, _ICP_QAT_UCLO_MAX_USTORE@GOTPAGE
Lloh1:
	ldr	x26, [x26, _ICP_QAT_UCLO_MAX_USTORE@GOTPAGEOFF]
	ldr	w0, [x26]
Lloh2:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	mov	w1, #4
	bl	_kcalloc
	cbz	x0, LBB0_10
; %bb.1:
	mov	x21, x0
	ldr	w8, [x26]
	cbz	w8, LBB0_4
; %bb.2:
	mov	x27, #0
	add	x23, x20, #4
	mov	x24, x21
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x24
	mov	x1, x23
	mov	w2, #4
	bl	_memcpy
	add	x27, x27, #1
	ldr	w8, [x26]
	add	x24, x24, #4
	cmp	x27, x8
	b.lo	LBB0_3
LBB0_4:
	ldr	x8, [x19]
	ldrb	w8, [x8]
	cbz	w8, LBB0_9
; %bb.5:
	mov	x24, #0
	ldr	x26, [x22]
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	x24, x24, #1
	ldr	x8, [x19]
	ldrb	w8, [x8]
	cmp	x24, x8
	b.hs	LBB0_9
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	and	w22, w24, #0xff
	mov	x0, x22
	mov	x1, x20
	bl	_test_bit
	cbz	w0, LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [x25]
	ldr	w27, [x8, x24, lsl #2]
	ldp	w3, w8, [x26]
	add	w23, w8, w3
	mov	x0, x19
	mov	x1, x22
	mov	w2, #0
	mov	x4, x21
	bl	_qat_hal_wr_uwords
	sub	w8, w27, w23
	add	w3, w8, #1
	ldr	w8, [x26]
	add	x4, x21, x8, lsl #2
	mov	x0, x19
	mov	x1, x22
	mov	x2, x23
	bl	_qat_hal_wr_uwords
	b	LBB0_6
LBB0_9:
	mov	x0, x21
	bl	_kfree
	mov	w0, #0
	b	LBB0_11
LBB0_10:
Lloh5:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_11:
	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
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_ICP_QAT_UCLO_MAX_USTORE,4,2    ; @ICP_QAT_UCLO_MAX_USTORE
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_qat_uclo_init_ustore
.subsections_via_symbols
