	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qat_uclo_map_uof_obj
_qat_uclo_map_uof_obj:                  ## @qat_uclo_map_uof_obj
	.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
	movl	%edx, %r12d
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	_GFP_KERNEL@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movl	$16, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_10
## %bb.1:
	movq	%rax, %r15
	movl	(%r13), %edx
	movq	%rbx, %rdi
	movl	%r12d, %esi
	callq	_kmemdup
	movq	%rax, (%r15)
	testq	%rax, %rax
	je	LBB0_9
## %bb.2:
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_qat_uclo_check_uof_format
	testq	%rax, %rax
	je	LBB0_3
LBB0_8:
	movq	(%r15), %rdi
	callq	_kfree
LBB0_9:
	movq	%r15, %rdi
	callq	_kfree
LBB0_10:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	(%r15), %rdi
	movq	_ICP_QAT_UOF_OBJS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rsi
	callq	_qat_uclo_map_chunk
	movq	%rax, 8(%r15)
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%r15, (%r14)
	movq	%r14, %rdi
	callq	_qat_uclo_parse_uof_obj
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movq	$0, (%r14)
	movq	8(%r15), %rdi
	callq	_kfree
	jmp	LBB0_8
LBB0_4:
	leaq	L_.str(%rip), %rdi
	callq	_pr_err
	jmp	LBB0_8
LBB0_6:
	xorl	%eax, %eax
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_ICP_QAT_UOF_OBJS,4,2           ## @ICP_QAT_UOF_OBJS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"QAT: object file chunk is null\n"

	.no_dead_strip	_qat_uclo_map_uof_obj
.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_uof_obj
_qat_uclo_map_uof_obj:                  ; @qat_uclo_map_uof_obj
	.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
	mov	x21, x2
	mov	x22, x1
	mov	x20, x0
Lloh0:
	adrp	x23, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x23, [x23, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w1, [x23]
	mov	w0, #16
	bl	_kzalloc
	cbz	x0, LBB0_5
; %bb.1:
	mov	x19, x0
	ldr	w2, [x23]
	mov	x0, x22
	mov	x1, x21
	bl	_kmemdup
	str	x0, [x19]
	cbz	x0, LBB0_4
; %bb.2:
	mov	x21, x0
	bl	_qat_uclo_check_uof_format
	cbz	x0, LBB0_7
LBB0_3:
	ldr	x0, [x19]
	bl	_kfree
LBB0_4:
	mov	x0, x19
	bl	_kfree
LBB0_5:
Lloh2:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_6:
	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
LBB0_7:
	ldr	x0, [x19]
Lloh5:
	adrp	x8, _ICP_QAT_UOF_OBJS@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ICP_QAT_UOF_OBJS@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	mov	x1, x21
	bl	_qat_uclo_map_chunk
	str	x0, [x19, #8]
	cbz	x0, LBB0_10
; %bb.8:
	str	x19, [x20]
	mov	x0, x20
	bl	_qat_uclo_parse_uof_obj
	cbz	x0, LBB0_6
; %bb.9:
	str	xzr, [x20]
	ldr	x0, [x19, #8]
	bl	_kfree
	b	LBB0_3
LBB0_10:
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_err
	b	LBB0_3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_ICP_QAT_UOF_OBJS,4,2           ; @ICP_QAT_UOF_OBJS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"QAT: object file chunk is null\n"

	.no_dead_strip	_qat_uclo_map_uof_obj
.subsections_via_symbols
