	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tcp_rpcs_process_nonce_packet
_tcp_rpcs_process_nonce_packet:         ## @tcp_rpcs_process_nonce_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	callq	_TCP_RPC_DATA
	movl	$-2, %r15d
	cmpl	$-2, (%rax)
	jne	LBB0_17
## %bb.1:
	movq	%rax, %r12
	movq	8(%rax), %rax
	movq	_RPC_NONCE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_17
## %bb.2:
	movl	$-3, %r15d
	cmpl	$24, 16(%r12)
	jne	LBB0_17
## %bb.3:
	leaq	_tcp_rpcs_process_nonce_packet.P(%rip), %rsi
	movq	%rbx, %rdi
	movl	$24, %edx
	callq	_rwm_fetch_data
	xorl	%edi, %edi
	cmpl	16(%r12), %eax
	sete	%dil
	callq	_assert
	movl	_tcp_rpcs_process_nonce_packet.P(%rip), %eax
	cmpl	$129, %eax
	je	LBB0_7
## %bb.4:
	cmpl	$128, %eax
	jne	LBB0_13
## %bb.5:
	cmpl	$0, _tcp_rpcs_process_nonce_packet.P+16(%rip)
	jne	LBB0_17
## %bb.6:
	movl	$-5, %r15d
	jmp	LBB0_14
LBB0_7:
	movl	_tcp_rpcs_process_nonce_packet.P+16(%rip), %ebx
	testl	%ebx, %ebx
	je	LBB0_14
## %bb.8:
	xorl	%eax, %eax
	callq	_get_crypto_key_id
	cmpl	%eax, %ebx
	jne	LBB0_14
## %bb.9:
	movl	20(%r12), %eax
	testb	$2, %al
	jne	LBB0_11
## %bb.10:
	movl	$-5, %r15d
	testb	$1, %al
	jne	LBB0_15
	jmp	LBB0_17
LBB0_13:
	movl	$-4, %r15d
LBB0_14:
	testb	$1, 20(%r12)
	je	LBB0_17
LBB0_15:
	movl	$1, 20(%r12)
LBB0_16:
	movq	%r14, %rdi
	callq	_TCP_RPCS_FUNC
	leaq	_tcp_rpcs_process_nonce_packet.P(%rip), %rsi
	movq	%r14, %rdi
	callq	*(%rax)
	movl	%eax, %r15d
	sarl	$31, %r15d
	andl	$-6, %r15d
LBB0_17:
	movl	%r15d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	xorl	%edi, %edi
	callq	_time
	movq	%rax, 24(%r12)
	movq	_tcp_rpcs_process_nonce_packet.P+8(%rip), %rdi
	subq	%rax, %rdi
	callq	_abs
	movl	$-6, %r15d
	cmpl	$30, %eax
	jg	LBB0_17
## %bb.12:
	andb	$-2, 20(%r12)
	jmp	LBB0_16
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_tcp_rpcs_process_nonce_packet.P,24,3 ## @tcp_rpcs_process_nonce_packet.P
	.comm	_RPC_NONCE,8,3                  ## @RPC_NONCE
	.no_dead_strip	_tcp_rpcs_process_nonce_packet
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tcp_rpcs_process_nonce_packet
_tcp_rpcs_process_nonce_packet:         ; @tcp_rpcs_process_nonce_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	x21, x1
	mov	x19, x0
	bl	_TCP_RPC_DATA
	ldr	w8, [x0]
	cmn	w8, #2
	b.ne	LBB0_7
; %bb.1:
	mov	x20, x0
	ldr	x8, [x0, #8]
Lloh0:
	adrp	x9, _RPC_NONCE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _RPC_NONCE@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.2:
	ldr	w8, [x20, #16]
	cmp	w8, #24
	b.ne	LBB0_17
; %bb.3:
Lloh3:
	adrp	x22, _tcp_rpcs_process_nonce_packet.P@PAGE
Lloh4:
	add	x22, x22, _tcp_rpcs_process_nonce_packet.P@PAGEOFF
	mov	x0, x21
	mov	x1, x22
	mov	w2, #24
	bl	_rwm_fetch_data
	ldr	w8, [x20, #16]
	cmp	w0, w8
	cset	w0, eq
	bl	_assert
	ldr	w8, [x22]
	cmp	w8, #129
	b.eq	LBB0_9
; %bb.4:
	cmp	w8, #128
	b.ne	LBB0_14
; %bb.5:
Lloh5:
	adrp	x8, _tcp_rpcs_process_nonce_packet.P@PAGE+16
Lloh6:
	ldr	w8, [x8, _tcp_rpcs_process_nonce_packet.P@PAGEOFF+16]
	cbnz	w8, LBB0_17
; %bb.6:
	ldrb	w8, [x20, #20]
	tbnz	w8, #0, LBB0_18
	b	LBB0_13
LBB0_7:
	mov	w0, #-2
LBB0_8:
	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
LBB0_9:
Lloh7:
	adrp	x8, _tcp_rpcs_process_nonce_packet.P@PAGE+16
Lloh8:
	ldr	w21, [x8, _tcp_rpcs_process_nonce_packet.P@PAGEOFF+16]
	cbz	w21, LBB0_16
; %bb.10:
	bl	_get_crypto_key_id
	cmp	w21, w0
	b.ne	LBB0_16
; %bb.11:
	ldr	w8, [x20, #20]
	tbnz	w8, #1, LBB0_20
; %bb.12:
	tbnz	w8, #0, LBB0_18
LBB0_13:
	mov	w0, #-5
	b	LBB0_8
LBB0_14:
	ldrb	w8, [x20, #20]
	tbnz	w8, #0, LBB0_18
; %bb.15:
	mov	w0, #-4
	b	LBB0_8
LBB0_16:
	ldrb	w8, [x20, #20]
	tbnz	w8, #0, LBB0_18
LBB0_17:
	mov	w0, #-3
	b	LBB0_8
LBB0_18:
	mov	w8, #1
LBB0_19:
	str	w8, [x20, #20]
	mov	x0, x19
	bl	_TCP_RPCS_FUNC
	ldr	x8, [x0]
Lloh9:
	adrp	x1, _tcp_rpcs_process_nonce_packet.P@PAGE
Lloh10:
	add	x1, x1, _tcp_rpcs_process_nonce_packet.P@PAGEOFF
	mov	x0, x19
	blr	x8
	mov	w8, #-6
	and	w0, w8, w0, asr #31
	b	LBB0_8
LBB0_20:
	mov	w0, #0
	bl	_time
	str	x0, [x20, #24]
Lloh11:
	adrp	x8, _tcp_rpcs_process_nonce_packet.P@PAGE+8
Lloh12:
	ldr	x8, [x8, _tcp_rpcs_process_nonce_packet.P@PAGEOFF+8]
	sub	x0, x8, x0
	bl	_abs
	cmp	w0, #30
	b.le	LBB0_22
; %bb.21:
	mov	w0, #-6
	b	LBB0_8
LBB0_22:
	ldr	w8, [x20, #20]
	and	w8, w8, #0xfffffffe
	b	LBB0_19
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdr	Lloh5, Lloh6
	.loh AdrpLdr	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdr	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_tcp_rpcs_process_nonce_packet.P,24,3 ; @tcp_rpcs_process_nonce_packet.P
	.comm	_RPC_NONCE,8,3                  ; @RPC_NONCE
	.no_dead_strip	_tcp_rpcs_process_nonce_packet
.subsections_via_symbols
