	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rpcc_send_handshake_packet
_rpcc_send_handshake_packet:            ## @rpcc_send_handshake_packet
	.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	%rdi, %rbx
	callq	_RPCC_DATA
	movq	%rax, %r14
	movq	_PID@GOTPCREL(%rip), %r15
	cmpl	$0, (%r15)
	jne	LBB0_3
## %bb.1:
	movl	16(%rbx), %edi
	callq	_init_client_PID
	cmpl	$0, (%r15)
	jne	LBB0_3
## %bb.2:
	xorl	%eax, %eax
	callq	_get_my_ipv4
	movl	%eax, (%r15)
LBB0_3:
	leaq	_rpcc_send_handshake_packet.P(%rip), %rdi
	xorl	%r15d, %r15d
	xorl	%esi, %esi
	movl	$40, %edx
	callq	_memset
	movabsq	$-4294967256, %rax              ## imm = 0xFFFFFFFF00000028
	movq	%rax, _rpcc_send_handshake_packet.P(%rip)
	movq	_RPC_HANDSHAKE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, _rpcc_send_handshake_packet.P+32(%rip)
	movq	$0, _rpcc_send_handshake_packet.P+24(%rip)
	cmpq	$0, 8(%r14)
	jne	LBB0_5
## %bb.4:
	movl	(%rbx), %eax
	cmpl	$2130706433, %eax               ## imm = 0x7F000001
	cmovnel	%eax, %r15d
	movl	%r15d, (%r14)
	movq	8(%rbx), %rax
	movq	%rax, 8(%r14)
LBB0_5:
	leaq	_rpcc_send_handshake_packet.P+16(%rip), %rdi
	movq	_PID@GOTPCREL(%rip), %rsi
	movl	$4, %edx
	callq	_memcpy
	leaq	_rpcc_send_handshake_packet.P(%rip), %r15
	leaq	_rpcc_send_handshake_packet.P+12(%rip), %rdi
	movq	%r14, %rsi
	movl	$4, %edx
	callq	_memcpy
	movq	%r15, %rdi
	movl	$36, %esi
	callq	_compute_crc32
	movl	%eax, _rpcc_send_handshake_packet.P+8(%rip)
	leaq	4(%rbx), %rdi
	movq	%r15, %rsi
	movl	$40, %edx
	callq	_write_out
	movq	%rbx, %rdi
	callq	_RPCC_FUNC
	movq	%rbx, %rdi
	callq	*(%rax)
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_rpcc_send_handshake_packet.P,40,3 ## @rpcc_send_handshake_packet.P
	.comm	_PID,16,3                       ## @PID
	.comm	_RPC_HANDSHAKE,4,2              ## @RPC_HANDSHAKE
	.no_dead_strip	_rpcc_send_handshake_packet
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function rpcc_send_handshake_packet
lCPI0_0:
	.long	40                              ; 0x28
	.long	4294967295                      ; 0xffffffff
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_rpcc_send_handshake_packet:            ; @rpcc_send_handshake_packet
	.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	x19, x0
	bl	_RPCC_DATA
	mov	x20, x0
Lloh0:
	adrp	x21, _PID@GOTPAGE
Lloh1:
	ldr	x21, [x21, _PID@GOTPAGEOFF]
	ldr	w8, [x21]
	cbnz	w8, LBB0_3
; %bb.1:
	ldr	w0, [x19, #16]
	bl	_init_client_PID
	ldr	w8, [x21]
	cbnz	w8, LBB0_3
; %bb.2:
	bl	_get_my_ipv4
	str	w0, [x21]
LBB0_3:
Lloh2:
	adrp	x21, _rpcc_send_handshake_packet.P@PAGE
Lloh3:
	add	x21, x21, _rpcc_send_handshake_packet.P@PAGEOFF
	mov	x0, x21
	mov	w1, #0
	mov	w2, #40
	bl	_memset
Lloh4:
	adrp	x8, lCPI0_0@PAGE
Lloh5:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [x21]
Lloh6:
	adrp	x8, _RPC_HANDSHAKE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _RPC_HANDSHAKE@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [x21, #32]
	str	xzr, [x21, #24]
	ldr	x8, [x20, #8]
	cbnz	x8, LBB0_5
; %bb.4:
	ldr	w8, [x19]
	mov	w9, #1
	movk	w9, #32512, lsl #16
	cmp	w8, w9
	csel	w8, wzr, w8, eq
	str	w8, [x20]
	ldr	x8, [x19, #8]
	str	x8, [x20, #8]
LBB0_5:
	add	x0, x21, #16
Lloh9:
	adrp	x1, _PID@GOTPAGE
Lloh10:
	ldr	x1, [x1, _PID@GOTPAGEOFF]
	mov	w2, #4
	bl	_memcpy
	add	x0, x21, #12
	mov	x1, x20
	mov	w2, #4
	bl	_memcpy
	mov	x0, x21
	mov	w1, #36
	bl	_compute_crc32
	str	w0, [x21, #8]
	add	x0, x19, #4
	mov	x1, x21
	mov	w2, #40
	bl	_write_out
	mov	x0, x19
	bl	_RPCC_FUNC
	ldr	x8, [x0]
	mov	x0, x19
	blr	x8
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdrp	Lloh4, Lloh6
	.loh AdrpLdr	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_rpcc_send_handshake_packet.P,40,3 ; @rpcc_send_handshake_packet.P
	.comm	_PID,16,3                       ; @PID
	.comm	_RPC_HANDSHAKE,4,2              ; @RPC_HANDSHAKE
	.no_dead_strip	_rpcc_send_handshake_packet
.subsections_via_symbols
