	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function efa_com_get_comp_ctx
_efa_com_get_comp_ctx:                  ## @efa_com_get_comp_ctx
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %eax
	movq	%rdi, %r14
	movslq	(%rdi), %rcx
	decq	%rcx
	movslq	%esi, %rbx
	andq	%rcx, %rbx
	movq	8(%rdi), %rcx
	testl	%edx, %edx
	je	LBB0_3
## %bb.1:
	cmpl	$0, (%rcx,%rbx,4)
	je	LBB0_3
## %bb.2:
	movl	16(%r14), %edi
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edx
	callq	_ibdev_err_ratelimited
	xorl	%eax, %eax
	jmp	LBB0_6
LBB0_3:
	testl	%edx, %edx
	je	LBB0_5
## %bb.4:
	movl	$1, (%rcx,%rbx,4)
	movl	16(%r14), %edi
	leaq	L_.str.1(%rip), %rsi
	movl	%eax, %edx
	callq	_ibdev_dbg
	movq	8(%r14), %rcx
LBB0_5:
	leaq	(%rcx,%rbx,4), %rax
LBB0_6:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Completion context for command_id %#x is occupied\n"

L_.str.1:                               ## @.str.1
	.asciz	"Take completion ctxt for command_id %#x\n"

	.no_dead_strip	_efa_com_get_comp_ctx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function efa_com_get_comp_ctx
_efa_com_get_comp_ctx:                  ; @efa_com_get_comp_ctx
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x8, x1
	mov	x19, x0
	ldrsw	x9, [x0]
	sub	x9, x9, #1
	sxtw	x10, w8
	and	x20, x9, x10
	ldr	x9, [x0, #8]
	cbz	w2, LBB0_3
; %bb.1:
	ldr	w10, [x9, x20, lsl #2]
	cbz	w10, LBB0_3
; %bb.2:
	ldr	w0, [x19, #16]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x8
	bl	_ibdev_err_ratelimited
	mov	x0, #0
	b	LBB0_6
LBB0_3:
	cbz	w2, LBB0_5
; %bb.4:
	mov	w10, #1
	str	w10, [x9, x20, lsl #2]
	ldr	w0, [x19, #16]
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x8
	bl	_ibdev_dbg
	ldr	x9, [x19, #8]
LBB0_5:
	add	x0, x9, x20, lsl #2
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Completion context for command_id %#x is occupied\n"

l_.str.1:                               ; @.str.1
	.asciz	"Take completion ctxt for command_id %#x\n"

	.no_dead_strip	_efa_com_get_comp_ctx
.subsections_via_symbols
