	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cluster_send_slot              ## -- Begin function cluster_send_slot
	.p2align	4, 0x90
_cluster_send_slot:                     ## @cluster_send_slot
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r14
	movl	%ecx, %r15d
	movq	%rdx, %r12
	movl	%esi, %r13d
	movq	%rdi, %rbx
	movw	%r13w, (%rdi)
	callq	_SLOT_SOCK
	movq	%rax, 16(%rbx)
	movq	24(%rbx), %rcx
	movq	(%rcx), %rcx
	movq	_MULTI@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_4
## %bb.1:
	cmpq	%rcx, (%rax)
	je	LBB0_4
## %bb.2:
	movswl	%r13w, %esi
	movq	%rbx, %rdi
	callq	_cluster_send_multi
	cmpl	$-1, %eax
	je	LBB0_3
LBB0_4:
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movl	%r15d, %edx
	movl	$1, %ecx
	callq	_cluster_sock_write
	movl	$-1, %r15d
	cmpl	$-1, %eax
	je	LBB0_9
## %bb.5:
	leaq	8(%rbx), %r12
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_cluster_check_response
	testq	%rax, %rax
	jne	LBB0_9
## %bb.6:
	movq	_TYPE_EOF@GOTPCREL(%rip), %rax
	cmpq	%r14, (%rax)
	je	LBB0_8
## %bb.7:
	cmpq	%r14, (%r12)
	jne	LBB0_9
LBB0_8:
	xorl	%r15d, %r15d
	jmp	LBB0_9
LBB0_3:
	leaq	L_.str(%rip), %rdi
	xorl	%esi, %esi
	callq	_CLUSTER_THROW_EXCEPTION
	movl	$-1, %r15d
LBB0_9:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MULTI,8,3                      ## @MULTI
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unable to enter MULTI mode on requested slot"

	.comm	_TYPE_EOF,8,3                   ## @TYPE_EOF
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cluster_send_slot              ; -- Begin function cluster_send_slot
	.p2align	2
_cluster_send_slot:                     ; @cluster_send_slot
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x19, x4
	mov	x21, x3
	mov	x22, x2
	mov	x23, x1
	mov	x20, x0
	strh	w1, [x0]
	bl	_SLOT_SOCK
	str	x0, [x20, #16]
	ldr	x8, [x20, #24]
	ldr	x8, [x8]
Lloh0:
	adrp	x9, _MULTI@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MULTI@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.1:
	ldr	x9, [x0]
	cmp	x9, x8
	b.eq	LBB0_3
; %bb.2:
	mov	x0, x20
	mov	x1, x23
	bl	_cluster_send_multi
	cmn	w0, #1
	b.eq	LBB0_8
LBB0_3:
	mov	x0, x20
	mov	x1, x22
	mov	x2, x21
	mov	w3, #1
	bl	_cluster_sock_write
	cmn	w0, #1
	b.eq	LBB0_10
; %bb.4:
	add	x21, x20, #8
	mov	x0, x20
	mov	x1, x21
	bl	_cluster_check_response
	cbnz	x0, LBB0_9
; %bb.5:
Lloh3:
	adrp	x8, _TYPE_EOF@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TYPE_EOF@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x8, x19
	b.eq	LBB0_7
; %bb.6:
	ldr	x8, [x21]
	cmp	x8, x19
	b.ne	LBB0_9
LBB0_7:
	mov	w0, #0
	b	LBB0_10
LBB0_8:
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	mov	w1, #0
	bl	_CLUSTER_THROW_EXCEPTION
LBB0_9:
	mov	w0, #-1
LBB0_10:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_MULTI,8,3                      ; @MULTI
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unable to enter MULTI mode on requested slot"

	.comm	_TYPE_EOF,8,3                   ; @TYPE_EOF
.subsections_via_symbols
