	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rpc_handshake_execute
_rpc_handshake_execute:                 ## @rpc_handshake_execute
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpl	$32, %edx
	jne	LBB0_2
## %bb.1:
	cmpq	$0, (%rdi)
	je	LBB0_3
LBB0_2:
	leaq	L_.str(%rip), %rsi
LBB0_13:
	xorl	%edx, %edx
	callq	_rpc_server_seterror
	movl	$-1, %eax
LBB0_14:
	popq	%rbp
	retq
LBB0_3:
	movq	16(%rsi), %rcx
	movq	_PID@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	jne	LBB0_12
## %bb.4:
	movq	24(%rsi), %rcx
	movq	8(%rax), %rax
	cmpq	%rax, %rcx
	je	LBB0_7
## %bb.5:
	testq	%rcx, %rcx
	je	LBB0_7
## %bb.6:
	testq	%rax, %rax
	jne	LBB0_12
LBB0_7:
	movq	(%rsi), %rax
	cmpq	8(%rdi), %rax
	jne	LBB0_12
## %bb.8:
	movl	16(%rdi), %ecx
	xorl	%eax, %eax
	cmpl	$2130706433, %ecx               ## imm = 0x7F000001
	je	LBB0_14
## %bb.9:
	testl	%ecx, %ecx
	je	LBB0_14
## %bb.10:
	movl	8(%rsi), %edx
	testl	%edx, %edx
	je	LBB0_14
## %bb.11:
	cmpl	%ecx, %edx
	je	LBB0_14
LBB0_12:
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Bad handshake packet"

	.comm	_PID,16,3                       ## @PID
L_.str.1:                               ## @.str.1
	.asciz	"Bad pid in handshake packet"

	.no_dead_strip	_rpc_handshake_execute
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rpc_handshake_execute
_rpc_handshake_execute:                 ; @rpc_handshake_execute
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	cmp	w2, #32
	b.ne	LBB0_2
; %bb.1:
	ldr	x8, [x0]
	cbz	x8, LBB0_5
LBB0_2:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
LBB0_3:
	mov	w2, #0
	bl	_rpc_server_seterror
	mov	w8, #-1
LBB0_4:
	mov	x0, x8
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_5:
	ldr	x9, [x1, #16]
Lloh2:
	adrp	x8, _PID@GOTPAGE
Lloh3:
	ldr	x8, [x8, _PID@GOTPAGEOFF]
	ldr	x10, [x8]
	cmp	x9, x10
	b.ne	LBB0_12
; %bb.6:
	ldr	x9, [x1, #24]
	ldr	x8, [x8, #8]
	cmp	x9, x8
	ccmp	x9, #0, #4, ne
	ccmp	x8, #0, #4, ne
	b.ne	LBB0_12
; %bb.7:
	ldr	x8, [x1]
	ldr	x9, [x0, #8]
	cmp	x8, x9
	b.ne	LBB0_12
; %bb.8:
	mov	w8, #0
	ldr	w9, [x0, #16]
	mov	w10, #1
	movk	w10, #32512, lsl #16
	cmp	w9, w10
	b.eq	LBB0_4
; %bb.9:
	cbz	w9, LBB0_4
; %bb.10:
	ldr	w10, [x1, #8]
	cbz	w10, LBB0_4
; %bb.11:
	cmp	w10, w9
	b.eq	LBB0_4
LBB0_12:
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Bad handshake packet"

	.comm	_PID,16,3                       ; @PID
l_.str.1:                               ; @.str.1
	.asciz	"Bad pid in handshake packet"

	.no_dead_strip	_rpc_handshake_execute
.subsections_via_symbols
