	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rpc_send_handshake_reject      ## -- Begin function rpc_send_handshake_reject
	.p2align	4, 0x90
_rpc_send_handshake_reject:             ## @rpc_send_handshake_reject
	.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	%rdi, %r14
	leaq	L_.str(%rip), %rsi
	movl	$2, %edi
	movq	%rbx, %rdx
	callq	_vkprintf
	testq	%rbx, %rbx
	je	LBB0_1
## %bb.2:
	movq	_Q@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movq	_RPC_TYPE_HANDSHAKE_REJECT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdi
	movl	$16, %esi
	movq	%r14, %rdx
	callq	_rpc_create_query
	testq	%rax, %rax
	js	LBB0_3
## %bb.5:
	movq	_NODE_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r15)
	movq	%rbx, (%r15)
	movq	_STATS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	incl	(%rax)
	movq	%r15, %rdi
	movq	%r14, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rpc_send_query                 ## TAILCALL
LBB0_1:
	xorl	%eax, %eax
	jmp	LBB0_4
LBB0_3:
	movl	$-1, %eax
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"rpc_send_handshake_reject: remote_id = %lld\n"

	.comm	_Q,8,3                          ## @Q
	.comm	_RPC_TYPE_HANDSHAKE_REJECT,4,2  ## @RPC_TYPE_HANDSHAKE_REJECT
	.comm	_NODE_ID,4,2                    ## @NODE_ID
	.comm	_STATS,8,3                      ## @STATS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rpc_send_handshake_reject      ; -- Begin function rpc_send_handshake_reject
	.p2align	2
_rpc_send_handshake_reject:             ; @rpc_send_handshake_reject
	.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
	mov	x19, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #2
	mov	x2, x20
	bl	_vkprintf
	cbz	x20, LBB0_3
; %bb.1:
Lloh2:
	adrp	x8, _Q@GOTPAGE
Lloh3:
	ldr	x8, [x8, _Q@GOTPAGEOFF]
Lloh4:
	ldr	x21, [x8]
Lloh5:
	adrp	x8, _RPC_TYPE_HANDSHAKE_REJECT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _RPC_TYPE_HANDSHAKE_REJECT@GOTPAGEOFF]
Lloh7:
	ldr	w3, [x8]
	mov	x0, x21
	mov	w1, #16
	mov	x2, x19
	bl	_rpc_create_query
	tbnz	x0, #63, LBB0_4
; %bb.2:
Lloh8:
	adrp	x8, _NODE_ID@GOTPAGE
Lloh9:
	ldr	x8, [x8, _NODE_ID@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	str	w8, [x21, #8]
	str	x20, [x21]
Lloh11:
	adrp	x8, _STATS@GOTPAGE
Lloh12:
	ldr	x8, [x8, _STATS@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
	mov	x0, x21
	mov	x1, x19
	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	_rpc_send_query
LBB0_3:
	mov	w0, #0
	b	LBB0_5
LBB0_4:
	mov	w0, #-1
LBB0_5:
	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
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"rpc_send_handshake_reject: remote_id = %lld\n"

	.comm	_Q,8,3                          ; @Q
	.comm	_RPC_TYPE_HANDSHAKE_REJECT,4,2  ; @RPC_TYPE_HANDSHAKE_REJECT
	.comm	_NODE_ID,4,2                    ; @NODE_ID
	.comm	_STATS,8,3                      ; @STATS
.subsections_via_symbols
