	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_scif_recv_wait                 ## -- Begin function scif_recv_wait
	.p2align	4, 0x90
_scif_recv_wait:                        ## @scif_recv_wait
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	8(%rsi), %rax
	movq	(%rax), %r14
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$8, %edi
	callq	_kmalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	%rax, %rdi
	addq	$4, %rdi
	movq	%r15, %rsi
	movl	$16, %edx
	callq	_memcpy
	movq	%rbx, %rdi
	callq	_INIT_LIST_HEAD
	movq	_scif_info@GOTPCREL(%rip), %r15
	leaq	4(%r15), %r12
	movq	%r12, %rdi
	callq	_mutex_lock
	movq	%r14, %rdi
	callq	_atomic_inc
	leaq	8(%r15), %rsi
	movq	%rbx, %rdi
	callq	_list_add_tail
	movq	%r12, %rdi
	callq	_mutex_unlock
	movq	%r15, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_schedule_work                  ## TAILCALL
LBB0_1:
	movq	8(%r14), %rax
	movq	8(%r15), %rcx
	movq	%rax, (%rcx)
	movq	_SCIF_WAIT_NACK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r15)
	movl	4(%r14), %edi
	movq	%r15, %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_scif_nodeqp_send               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_SCIF_WAIT_NACK,4,2             ## @SCIF_WAIT_NACK
	.comm	_scif_info,12,2                 ## @scif_info
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_scif_recv_wait                 ; -- Begin function scif_recv_wait
	.p2align	2
_scif_recv_wait:                        ; @scif_recv_wait
	.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	x20, x1
	ldr	x8, [x1, #8]
	ldr	x19, [x8]
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #8
	bl	_kmalloc
	cbz	x0, LBB0_2
; %bb.1:
	mov	x21, x0
	add	x0, x0, #4
	mov	x1, x20
	mov	w2, #16
	bl	_memcpy
	mov	x0, x21
	bl	_INIT_LIST_HEAD
Lloh3:
	adrp	x20, _scif_info@GOTPAGE
Lloh4:
	ldr	x20, [x20, _scif_info@GOTPAGEOFF]
	add	x22, x20, #4
	mov	x0, x22
	bl	_mutex_lock
	mov	x0, x19
	bl	_atomic_inc
	add	x1, x20, #8
	mov	x0, x21
	bl	_list_add_tail
	mov	x0, x22
	bl	_mutex_unlock
	mov	x0, x20
	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	_schedule_work
LBB0_2:
	ldr	x8, [x19, #8]
	ldr	x9, [x20, #8]
Lloh5:
	adrp	x10, _SCIF_WAIT_NACK@GOTPAGE
Lloh6:
	ldr	x10, [x10, _SCIF_WAIT_NACK@GOTPAGEOFF]
	str	x8, [x9]
Lloh7:
	ldr	w8, [x10]
	str	w8, [x20]
	ldr	w0, [x19, #4]
	mov	x1, x20
	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	_scif_nodeqp_send
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_SCIF_WAIT_NACK,4,2             ; @SCIF_WAIT_NACK
	.comm	_scif_info,12,2                 ; @scif_info
.subsections_via_symbols
