	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qat_uclo_map_chunk
_qat_uclo_map_chunk:                    ## @qat_uclo_map_chunk
	.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
	xorl	%eax, %eax
	cmpl	$0, (%rsi)
	jle	LBB0_8
## %bb.1:
	movq	%rdx, %r12
	movq	%rsi, %r13
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	leaq	24(%rdi), %rbx
	movq	_ICP_QAT_UOF_OBJID_LEN@GOTPCREL(%rip), %r14
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %edi
	movl	(%r14), %edx
	movq	%r12, %rsi
	callq	_strncmp
	testl	%eax, %eax
	je	LBB0_3
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	incl	%r15d
	addq	$24, %rbx
	cmpl	(%r13), %r15d
	jl	LBB0_2
	jmp	LBB0_7
LBB0_3:
	movslq	-20(%rbx), %rax
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	addq	%rax, %r15
	movq	-12(%rbx), %r14
	movl	-4(%rbx), %esi
	movq	%r15, %rdi
	callq	_qat_uclo_calc_str_checksum
	cmpq	%rax, %r14
	jne	LBB0_7
## %bb.4:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$24, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:
	movq	%r15, (%rax)
	movq	-12(%rbx), %rcx
	movq	%rcx, 8(%rax)
	movl	-4(%rbx), %ecx
	movl	%ecx, 16(%rax)
	jmp	LBB0_8
LBB0_7:
	xorl	%eax, %eax
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ICP_QAT_UOF_OBJID_LEN,4,2      ## @ICP_QAT_UOF_OBJID_LEN
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.no_dead_strip	_qat_uclo_map_chunk
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qat_uclo_map_chunk
_qat_uclo_map_chunk:                    ; @qat_uclo_map_chunk
	.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	w8, [x1]
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.1:
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	mov	w23, #0
	add	x22, x0, #12
Lloh0:
	adrp	x24, _ICP_QAT_UOF_OBJID_LEN@GOTPAGE
Lloh1:
	ldr	x24, [x24, _ICP_QAT_UOF_OBJID_LEN@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x22, #12]
	ldr	w2, [x24]
	mov	x1, x20
	bl	_strncmp
	cbz	w0, LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	w23, w23, #1
	ldr	w8, [x21]
	add	x22, x22, #24
	cmp	w23, w8
	b.lt	LBB0_2
	b	LBB0_7
LBB0_4:
	ldursw	x8, [x22, #-8]
	add	x19, x19, x8
	ldr	x20, [x22]
	ldr	w1, [x22, #8]
	mov	x0, x19
	bl	_qat_uclo_calc_str_checksum
	cmp	x20, x0
	b.ne	LBB0_7
; %bb.5:
Lloh2:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	w0, #24
	bl	_kzalloc
	cbz	x0, LBB0_8
; %bb.6:
	ldr	x8, [x22]
	stp	x19, x8, [x0]
	ldr	w8, [x22, #8]
	str	w8, [x0, #16]
	b	LBB0_8
LBB0_7:
	mov	x0, #0
LBB0_8:
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_ICP_QAT_UOF_OBJID_LEN,4,2      ; @ICP_QAT_UOF_OBJID_LEN
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.no_dead_strip	_qat_uclo_map_chunk
.subsections_via_symbols
