	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rpc_execute_handshake          ## -- Begin function rpc_execute_handshake
	.p2align	4, 0x90
_rpc_execute_handshake:                 ## @rpc_execute_handshake
	.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
	movl	%edx, %ebx
	movq	%rsi, %r15
	movq	%rdi, %r14
	movl	(%rsi), %edx
	leaq	L_.str(%rip), %rsi
	movl	$2, %edi
	movl	%ebx, %ecx
	callq	_vkprintf
	cmpl	$12, %ebx
	jne	LBB0_1
## %bb.2:
	movl	4(%r14), %esi
	movl	(%r15), %eax
	movl	8(%r15), %edi
	shlq	$32, %rdi
	orq	%rax, %rdi
	movq	%r14, %rdx
	callq	_add_parent
	movl	(%r15), %edi
	movl	4(%r15), %esi
	callq	_update_relatives_binlog_position
	xorl	%edi, %edi
	testl	%eax, %eax
	setg	%dil
	callq	_assert
	movq	_precise_now@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r14)
	movq	_STATS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	incl	(%rax)
	movl	(%r15), %esi
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rpc_send_handshake_accept      ## TAILCALL
LBB0_1:
	xorl	%eax, %eax
	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_execute_handshake: remote_id = %lld, len = %d\n"

	.comm	_precise_now,4,2                ## @precise_now
	.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_execute_handshake          ; -- Begin function rpc_execute_handshake
	.p2align	2
_rpc_execute_handshake:                 ; @rpc_execute_handshake
	.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	x21, x2
	mov	x20, x1
	mov	x19, x0
	ldr	w2, [x1]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #2
	mov	x3, x21
	bl	_vkprintf
	cmp	w21, #12
	b.ne	LBB0_2
; %bb.1:
	ldr	w1, [x19, #4]
	ldr	w0, [x20]
	ldr	w8, [x20, #8]
	bfi	x0, x8, #32, #32
	mov	x2, x19
	bl	_add_parent
	ldp	w0, w1, [x20]
	bl	_update_relatives_binlog_position
	cmp	w0, #0
	cset	w0, gt
	bl	_assert
Lloh2:
	adrp	x8, _precise_now@GOTPAGE
Lloh3:
	ldr	x8, [x8, _precise_now@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	str	w8, [x19]
Lloh5:
	adrp	x8, _STATS@GOTPAGE
Lloh6:
	ldr	x8, [x8, _STATS@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
	ldr	w1, [x20]
	mov	x0, 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_handshake_accept
LBB0_2:
	mov	w0, #0
	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
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"rpc_execute_handshake: remote_id = %lld, len = %d\n"

	.comm	_precise_now,4,2                ; @precise_now
	.comm	_STATS,8,3                      ; @STATS
.subsections_via_symbols
