	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function scif_send_fence_signal
_scif_send_fence_signal:                ## @scif_send_fence_signal
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %r12d
	movq	%r8, %r15
	movq	%rcx, %rbx
	movq	%rdi, %r14
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$16, %edi
	callq	_kmalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r13
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	movq	_OP_IN_PROGRESS@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movq	%rax, (%r13)
	movq	%r13, %rdi
	addq	$8, %rdi
	callq	_init_completion
	movl	24(%r14), %eax
	movl	%eax, -44(%rbp)
	movq	(%r15), %rax
	movq	%rax, (%r13)
	movq	_SCIF_SIGNAL_REMOTE@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_3
## %bb.4:
	movq	_SCIF_SIG_REMOTE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)
	movq	16(%r14), %rax
	movq	-56(%rbp), %rcx
	movq	%rax, (%rcx)
	movq	-56(%rbp), %rax
	movq	%rbx, 8(%rax)
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, 16(%rax)
	movq	%r13, 24(%rax)
	leaq	8(%r14), %r15
	movq	%r15, %rdi
	callq	_spin_lock
	movq	(%r14), %rax
	movq	_SCIFEP_CONNECTED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.5:
	movl	12(%r14), %edi
	leaq	-56(%rbp), %rsi
	callq	_scif_nodeqp_send
	movl	%eax, %ebx
	jmp	LBB0_7
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_10
LBB0_3:
	xorl	%ebx, %ebx
	jmp	LBB0_9
LBB0_6:
	movq	_ENOTCONN@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_7:
	movq	%r15, %rdi
	callq	_spin_unlock
	testl	%ebx, %ebx
	jne	LBB0_9
## %bb.8:
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	__scif_send_fence_signal_wait
	movl	%eax, %ebx
LBB0_9:
	movq	%r13, %rdi
	callq	_kfree
LBB0_10:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_OP_IN_PROGRESS,8,3             ## @OP_IN_PROGRESS
	.comm	_SCIF_SIGNAL_LOCAL,4,2          ## @SCIF_SIGNAL_LOCAL
	.comm	_SCIF_SIG_LOCAL,4,2             ## @SCIF_SIG_LOCAL
	.comm	_SCIFEP_CONNECTED,8,3           ## @SCIFEP_CONNECTED
	.comm	_ENOTCONN,4,2                   ## @ENOTCONN
	.comm	_SCIF_SIGNAL_REMOTE,4,2         ## @SCIF_SIGNAL_REMOTE
	.comm	_SCIF_SIG_REMOTE,4,2            ## @SCIF_SIG_REMOTE
	.no_dead_strip	_scif_send_fence_signal
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function scif_send_fence_signal
_scif_send_fence_signal:                ; @scif_send_fence_signal
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x23, x5
	mov	x21, x4
	mov	x22, x3
	mov	x20, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #16
	bl	_kmalloc
	cbz	x0, LBB0_4
; %bb.1:
	mov	x19, x0
Lloh3:
	adrp	x24, _OP_IN_PROGRESS@GOTPAGE
Lloh4:
	ldr	x24, [x24, _OP_IN_PROGRESS@GOTPAGEOFF]
	ldr	x8, [x24]
	str	x8, [x0], #8
	bl	_init_completion
	ldr	w8, [x20, #24]
	str	w8, [sp, #12]
	ldr	x8, [x24]
	str	x8, [x19]
Lloh5:
	adrp	x8, _SCIF_SIGNAL_REMOTE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SCIF_SIGNAL_REMOTE@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	tst	w8, w23
	b.eq	LBB0_5
; %bb.2:
Lloh8:
	adrp	x8, _SCIF_SIG_REMOTE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SCIF_SIG_REMOTE@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	str	w8, [sp, #8]
	ldr	x8, [x20, #16]
	ldr	x9, [sp]
	str	x8, [x9]
	ldr	x8, [sp]
	stp	x22, x21, [x8, #8]
	str	x19, [x8, #24]
	add	x21, x20, #8
	mov	x0, x21
	bl	_spin_lock
	ldr	x8, [x20]
Lloh11:
	adrp	x9, _SCIFEP_CONNECTED@GOTPAGE
Lloh12:
	ldr	x9, [x9, _SCIFEP_CONNECTED@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.3:
	ldr	w0, [x20, #12]
	mov	x1, sp
	bl	_scif_nodeqp_send
	mov	x22, x0
	b	LBB0_7
LBB0_4:
Lloh14:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	neg	w22, w8
	b	LBB0_10
LBB0_5:
	mov	w22, #0
	b	LBB0_9
LBB0_6:
Lloh17:
	adrp	x8, _ENOTCONN@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ENOTCONN@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	neg	w22, w8
LBB0_7:
	mov	x0, x21
	bl	_spin_unlock
	cbnz	w22, LBB0_9
; %bb.8:
	mov	x0, x20
	mov	x1, x19
	bl	__scif_send_fence_signal_wait
	mov	x22, x0
LBB0_9:
	mov	x0, x19
	bl	_kfree
LBB0_10:
	mov	x0, x22
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_OP_IN_PROGRESS,8,3             ; @OP_IN_PROGRESS
	.comm	_SCIF_SIGNAL_LOCAL,4,2          ; @SCIF_SIGNAL_LOCAL
	.comm	_SCIF_SIG_LOCAL,4,2             ; @SCIF_SIG_LOCAL
	.comm	_SCIFEP_CONNECTED,8,3           ; @SCIFEP_CONNECTED
	.comm	_ENOTCONN,4,2                   ; @ENOTCONN
	.comm	_SCIF_SIGNAL_REMOTE,4,2         ; @SCIF_SIGNAL_REMOTE
	.comm	_SCIF_SIG_REMOTE,4,2            ; @SCIF_SIG_REMOTE
	.no_dead_strip	_scif_send_fence_signal
.subsections_via_symbols
