	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qat_uclo_init_globals
_qat_uclo_init_globals:                 ## @qat_uclo_init_globals
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	8(%rdi), %r12
	xorl	%eax, %eax
	cmpl	$0, (%r12)
	jne	LBB0_16
## %bb.1:
	movq	%rdi, %r15
	cmpq	$0, 16(%r12)
	je	LBB0_5
## %bb.2:
	movq	%r15, %rdi
	callq	_qat_uclo_init_memory
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	leaq	L_.str(%rip), %rdi
	callq	_pr_err
	jmp	LBB0_4
LBB0_5:
	movq	(%r15), %rcx
	cmpl	$0, (%rcx)
	je	LBB0_15
## %bb.6:
	movq	8(%r12), %rax
	xorl	%r13d, %r13d
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	(%r15), %rcx
LBB0_14:                                ##   in Loop: Header=BB0_7 Depth=1
	incq	%r13
	movl	(%rcx), %edx
	cmpq	%rdx, %r13
	jae	LBB0_15
LBB0_7:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_9 Depth 2
	movq	%r13, %rbx
	shlq	$4, %rbx
	cmpl	$0, (%rax,%rbx)
	je	LBB0_14
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	xorl	%r14d, %r14d
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_9 Depth=2
	movq	8(%r12), %rax
LBB0_12:                                ##   in Loop: Header=BB0_9 Depth=2
	incq	%r14
	movl	(%rax,%rbx), %ecx
	cmpq	%rcx, %r14
	jae	LBB0_13
LBB0_9:                                 ##   Parent Loop BB0_7 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	8(%rax,%rbx), %rcx
	movl	(%rcx,%r14,4), %edx
	testl	%edx, %edx
	je	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=2
	movq	%r15, %rdi
	movl	%r13d, %esi
	callq	_qat_uclo_init_reg_sym
	testq	%rax, %rax
	je	LBB0_11
LBB0_4:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_16
LBB0_15:
	movl	$1, (%r12)
	xorl	%eax, %eax
LBB0_16:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"QAT: initialize memory failed\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_qat_uclo_init_globals
.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_globals
_qat_uclo_init_globals:                 ; @qat_uclo_init_globals
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	ldr	x21, [x0, #8]
	ldr	w8, [x21]
	cbz	w8, LBB0_2
; %bb.1:
	mov	w0, #0
	b	LBB0_17
LBB0_2:
	mov	x19, x0
	ldr	x8, [x21, #16]
	cbz	x8, LBB0_5
; %bb.3:
	mov	x0, x19
	bl	_qat_uclo_init_memory
	cbz	x0, LBB0_5
; %bb.4:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_err
	b	LBB0_15
LBB0_5:
	ldr	x9, [x19]
	ldr	w8, [x9]
	cbz	w8, LBB0_16
; %bb.6:
	mov	x20, #0
	ldr	x8, [x21, #8]
	b	LBB0_9
LBB0_7:                                 ;   in Loop: Header=BB0_9 Depth=1
	ldr	x9, [x19]
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	add	x20, x20, #1
	ldr	w10, [x9]
	cmp	x20, x10
	b.hs	LBB0_16
LBB0_9:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_13 Depth 2
	lsl	x22, x20, #4
	ldr	w10, [x8, x22]
	cbz	w10, LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x23, #0
	b	LBB0_13
LBB0_11:                                ;   in Loop: Header=BB0_13 Depth=2
	ldr	x8, [x21, #8]
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=2
	add	x23, x23, #1
	ldr	w9, [x8, x22]
	cmp	x23, x9
	b.hs	LBB0_7
LBB0_13:                                ;   Parent Loop BB0_9 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	x9, x8, x20, lsl #4
	ldr	x9, [x9, #8]
	ldr	w2, [x9, x23, lsl #2]
	cbz	w2, LBB0_12
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=2
	mov	x0, x19
	mov	x1, x20
	bl	_qat_uclo_init_reg_sym
	cbz	x0, LBB0_11
LBB0_15:
Lloh2:
	adrp	x8, _EINVAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_17
LBB0_16:
	mov	w0, #0
	mov	w8, #1
	str	w8, [x21]
LBB0_17:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"QAT: initialize memory failed\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_qat_uclo_init_globals
.subsections_via_symbols
