	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qat_uclo_fetch_initmem_ae
_qat_uclo_fetch_initmem_ae:             ## @qat_uclo_fetch_initmem_ae
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	4(%rsi), %eax
	addl	(%rsi), %eax
	shll	$2, %edx
	cmpl	%edx, %eax
	jbe	LBB0_3
## %bb.1:
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_2
LBB0_3:
	movq	%rcx, %rbx
	movq	8(%rsi), %rax
	movq	_ICP_QAT_UOF_LOCAL_SCOPE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.5:
	movq	(%rdi), %rdi
	movl	16(%rsi), %esi
	callq	_qat_uclo_get_string
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movq	%rax, %rdi
	movq	%rbx, %rsi
	callq	_qat_uclo_parse_num
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	leaq	L_.str.3(%rip), %rdi
	jmp	LBB0_2
LBB0_4:
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_2
LBB0_6:
	leaq	L_.str.2(%rip), %rdi
LBB0_2:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_pr_err
LBB0_11:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
LBB0_12:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_9:
	movl	(%rbx), %esi
	movq	_ICP_QAT_UCLO_MAX_AE@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	cmpl	(%rax), %esi
	jb	LBB0_12
## %bb.10:
	leaq	L_.str.4(%rip), %rdi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_pr_err
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"QAT: initmem is out of range"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_ICP_QAT_UOF_LOCAL_SCOPE,8,3    ## @ICP_QAT_UOF_LOCAL_SCOPE
L_.str.1:                               ## @.str.1
	.asciz	"QAT: Memory scope for init_mem error\n"

L_.str.2:                               ## @.str.2
	.asciz	"QAT: AE name assigned in UOF init table is NULL\n"

L_.str.3:                               ## @.str.3
	.asciz	"QAT: Parse num for AE number failed\n"

	.comm	_ICP_QAT_UCLO_MAX_AE,4,2        ## @ICP_QAT_UCLO_MAX_AE
L_.str.4:                               ## @.str.4
	.asciz	"QAT: ae %d out of range\n"

	.no_dead_strip	_qat_uclo_fetch_initmem_ae
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qat_uclo_fetch_initmem_ae
_qat_uclo_fetch_initmem_ae:             ; @qat_uclo_fetch_initmem_ae
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldp	w8, w9, [x1]
	add	w8, w9, w8
	cmp	w8, w2, lsl #2
	b.ls	LBB0_2
; %bb.1:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_11
LBB0_2:
	ldr	x8, [x1, #8]
Lloh2:
	adrp	x9, _ICP_QAT_UOF_LOCAL_SCOPE@GOTPAGE
Lloh3:
	ldr	x9, [x9, _ICP_QAT_UOF_LOCAL_SCOPE@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.3:
	mov	x19, x3
	ldr	x0, [x0]
	ldr	w1, [x1, #16]
	bl	_qat_uclo_get_string
	cbz	x0, LBB0_7
; %bb.4:
	mov	x1, x19
	bl	_qat_uclo_parse_num
	cbz	x0, LBB0_8
; %bb.5:
Lloh5:
	adrp	x0, l_.str.3@PAGE
Lloh6:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_11
LBB0_6:
Lloh7:
	adrp	x0, l_.str.1@PAGE
Lloh8:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_11
LBB0_7:
Lloh9:
	adrp	x0, l_.str.2@PAGE
Lloh10:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_11
LBB0_8:
	ldr	w8, [x19]
Lloh11:
	adrp	x9, _ICP_QAT_UCLO_MAX_AE@GOTPAGE
Lloh12:
	ldr	x9, [x9, _ICP_QAT_UCLO_MAX_AE@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	cmp	w8, w9
	b.hs	LBB0_10
; %bb.9:
	mov	w0, #0
	b	LBB0_12
LBB0_10:
	str	x8, [sp]
Lloh14:
	adrp	x0, l_.str.4@PAGE
Lloh15:
	add	x0, x0, l_.str.4@PAGEOFF
LBB0_11:
	bl	_pr_err
Lloh16:
	adrp	x8, _EINVAL@GOTPAGE
Lloh17:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_12:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"QAT: initmem is out of range"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_ICP_QAT_UOF_LOCAL_SCOPE,8,3    ; @ICP_QAT_UOF_LOCAL_SCOPE
l_.str.1:                               ; @.str.1
	.asciz	"QAT: Memory scope for init_mem error\n"

l_.str.2:                               ; @.str.2
	.asciz	"QAT: AE name assigned in UOF init table is NULL\n"

l_.str.3:                               ; @.str.3
	.asciz	"QAT: Parse num for AE number failed\n"

	.comm	_ICP_QAT_UCLO_MAX_AE,4,2        ; @ICP_QAT_UCLO_MAX_AE
l_.str.4:                               ; @.str.4
	.asciz	"QAT: ae %d out of range\n"

	.no_dead_strip	_qat_uclo_fetch_initmem_ae
.subsections_via_symbols
