	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_scif_recv_wait_resp            ## -- Begin function scif_recv_wait_resp
	.p2align	4, 0x90
_scif_recv_wait_resp:                   ## @scif_recv_wait_resp
	.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	%rsi, %rbx
	movq	8(%rsi), %rax
	movq	(%rax), %r15
	movq	8(%rax), %r14
	movq	%r15, %rdi
	callq	_mutex_lock
	movq	(%rbx), %rax
	movq	_SCIF_WAIT_ACK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.2:
	movq	_OP_COMPLETED@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_OP_FAILED@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	movl	%eax, 4(%r14)
	movq	%r15, %rdi
	callq	_mutex_unlock
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_complete                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SCIF_WAIT_ACK,8,3              ## @SCIF_WAIT_ACK
	.comm	_OP_COMPLETED,4,2               ## @OP_COMPLETED
	.comm	_OP_FAILED,4,2                  ## @OP_FAILED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_scif_recv_wait_resp            ; -- Begin function scif_recv_wait_resp
	.p2align	2
_scif_recv_wait_resp:                   ; @scif_recv_wait_resp
	.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, x1
	ldr	x8, [x1, #8]
	ldp	x20, x21, [x8]
	mov	x0, x20
	bl	_mutex_lock
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _SCIF_WAIT_ACK@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SCIF_WAIT_ACK@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _OP_COMPLETED@GOTPAGE
Lloh4:
	ldr	x10, [x10, _OP_COMPLETED@GOTPAGEOFF]
Lloh5:
	adrp	x11, _OP_FAILED@GOTPAGE
Lloh6:
	ldr	x11, [x11, _OP_FAILED@GOTPAGEOFF]
	cmp	x8, x9
	csel	x8, x10, x11, eq
	ldr	w8, [x8]
	str	w8, [x21, #4]
	mov	x0, x20
	bl	_mutex_unlock
	mov	x0, x21
	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
	b	_complete
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SCIF_WAIT_ACK,8,3              ; @SCIF_WAIT_ACK
	.comm	_OP_COMPLETED,4,2               ; @OP_COMPLETED
	.comm	_OP_FAILED,4,2                  ; @OP_FAILED
.subsections_via_symbols
