	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function efa_com_init_comp_ctxt
_efa_com_init_comp_ctxt:                ## @efa_com_init_comp_ctxt
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movslq	(%rdi), %rsi
	leaq	(,%rsi,8), %rbx
	shlq	$2, %rsi
	movl	36(%rdi), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	callq	_devm_kzalloc
	movq	%rax, 8(%r14)
	movl	36(%r14), %edi
	movl	(%r15), %edx
	movq	%rbx, %rsi
	callq	_devm_kzalloc
	movq	%rax, 16(%r14)
	cmpq	$0, 8(%r14)
	je	LBB0_9
## %bb.1:
	testq	%rax, %rax
	je	LBB0_9
## %bb.2:
	cmpl	$0, (%r14)
	je	LBB0_7
## %bb.3:
	xorl	%ebx, %ebx
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	16(%r14), %rax
	movq	%rbx, (%rax,%rbx,8)
	incq	%rbx
	movslq	(%r14), %rax
	cmpq	%rax, %rbx
	jae	LBB0_7
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	_efa_com_get_comp_ctx
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%rax, %rdi
	callq	_init_completion
	jmp	LBB0_6
LBB0_9:
	movl	36(%r14), %edi
	movq	%rax, %rsi
	callq	_devm_kfree
	movl	36(%r14), %edi
	movq	8(%r14), %rsi
	callq	_devm_kfree
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_8
LBB0_7:
	leaq	32(%r14), %rdi
	callq	_spin_lock_init
	movq	$0, 24(%r14)
	xorl	%eax, %eax
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_efa_com_init_comp_ctxt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function efa_com_init_comp_ctxt
_efa_com_init_comp_ctxt:                ; @efa_com_init_comp_ctxt
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
	ldrsw	x8, [x0]
	lsl	x20, x8, #3
	lsl	x1, x8, #2
	ldr	w0, [x0, #36]
Lloh0:
	adrp	x21, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x21, [x21, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w2, [x21]
	bl	_devm_kzalloc
	str	x0, [x19, #8]
	ldr	w0, [x19, #36]
	ldr	w2, [x21]
	mov	x1, x20
	bl	_devm_kzalloc
	mov	x1, x0
	str	x0, [x19, #16]
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_7
; %bb.1:
	cbz	x1, LBB0_7
; %bb.2:
	ldr	w8, [x19]
	cbz	w8, LBB0_8
; %bb.3:
	mov	x20, #0
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x19, #16]
	str	x20, [x8, x20, lsl #3]
	add	x20, x20, #1
	ldrsw	x8, [x19]
	cmp	x20, x8
	b.hs	LBB0_8
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x20
	mov	w2, #0
	bl	_efa_com_get_comp_ctx
	cbz	x0, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	bl	_init_completion
	b	LBB0_4
LBB0_7:
	ldr	w0, [x19, #36]
	bl	_devm_kfree
	ldr	w0, [x19, #36]
	ldr	x1, [x19, #8]
	bl	_devm_kfree
Lloh2:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_9
LBB0_8:
	add	x0, x19, #32
	bl	_spin_lock_init
	mov	w0, #0
	str	xzr, [x19, #24]
LBB0_9:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_efa_com_init_comp_ctxt
.subsections_via_symbols
