	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tcp_rpcc_process_nonce_packet
_tcp_rpcc_process_nonce_packet:         ## @tcp_rpcc_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, %r15
	callq	_TCP_RPC_DATA
	movl	$-2, %r14d
	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, %r14d
	cmpl	$24, 16(%r12)
	jne	LBB0_17
## %bb.3:
	leaq	_tcp_rpcc_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_rpcc_process_nonce_packet.P(%rip), %edx
	movl	_tcp_rpcc_process_nonce_packet.P+4(%rip), %ecx
	leaq	L_.str(%rip), %rsi
	movl	$2, %edi
	xorl	%eax, %eax
	callq	_vkprintf
	movl	_tcp_rpcc_process_nonce_packet.P(%rip), %eax
	cmpl	$129, %eax
	je	LBB0_10
## %bb.4:
	movl	$-4, %r14d
	cmpl	$128, %eax
	jne	LBB0_17
## %bb.5:
	cmpl	$0, _tcp_rpcc_process_nonce_packet.P+4(%rip)
	movl	$-3, %r14d
	jne	LBB0_17
## %bb.6:
	movl	20(%r12), %eax
	movl	$-5, %r14d
	testb	$1, %al
	je	LBB0_17
## %bb.7:
	testb	$2, %al
	je	LBB0_9
## %bb.8:
	xorl	%edi, %edi
	cmpl	$0, (%r15)
	sete	%dil
	callq	_assert
LBB0_9:
	movl	$1, 20(%r12)
	movl	$1, %edx
	jmp	LBB0_16
LBB0_10:
	movl	_tcp_rpcc_process_nonce_packet.P+4(%rip), %ebx
	testl	%ebx, %ebx
	je	LBB0_17
## %bb.11:
	xorl	%eax, %eax
	callq	_get_crypto_key_id
	cmpl	%eax, %ebx
	jne	LBB0_17
## %bb.12:
	movl	$-5, %r14d
	testb	$2, 20(%r12)
	je	LBB0_17
## %bb.13:
	movq	_tcp_rpcc_process_nonce_packet.P+16(%rip), %rdi
	subq	24(%r12), %rdi
	callq	_abs
	movl	$-6, %r14d
	cmpl	$30, %eax
	jg	LBB0_17
## %bb.14:
	movq	%r15, %rdi
	callq	_TCP_RPCC_FUNC
	movl	_tcp_rpcc_process_nonce_packet.P+8(%rip), %esi
	movl	_tcp_rpcc_process_nonce_packet.P+4(%rip), %edx
	movq	%r15, %rdi
	callq	*(%rax)
	testl	%eax, %eax
	js	LBB0_17
## %bb.15:
	movl	20(%r12), %edx
LBB0_16:
	leaq	L_.str.1(%rip), %rsi
	xorl	%r14d, %r14d
	movl	$2, %edi
	xorl	%eax, %eax
	callq	_vkprintf
LBB0_17:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_tcp_rpcc_process_nonce_packet.P,24,3 ## @tcp_rpcc_process_nonce_packet.P
	.comm	_RPC_NONCE,8,3                  ## @RPC_NONCE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Processing nonce packet, crypto schema: %d, key select: %d\n"

L_.str.1:                               ## @.str.1
	.asciz	"Processed nonce packet, crypto flags = %d\n"

	.no_dead_strip	_tcp_rpcc_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_rpcc_process_nonce_packet
_tcp_rpcc_process_nonce_packet:         ; @tcp_rpcc_process_nonce_packet
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x20, x0
	bl	_TCP_RPC_DATA
	ldr	w8, [x0]
	cmn	w8, #2
	b.ne	LBB0_10
; %bb.1:
	mov	x19, 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_10
; %bb.2:
	ldr	w8, [x19, #16]
	cmp	w8, #24
	b.ne	LBB0_16
; %bb.3:
Lloh3:
	adrp	x22, _tcp_rpcc_process_nonce_packet.P@PAGE
Lloh4:
	add	x22, x22, _tcp_rpcc_process_nonce_packet.P@PAGEOFF
	mov	x0, x21
	mov	x1, x22
	mov	w2, #24
	bl	_rwm_fetch_data
	ldr	w8, [x19, #16]
	cmp	w0, w8
	cset	w0, eq
	bl	_assert
	ldp	w2, w8, [x22]
	str	x8, [sp]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #2
	bl	_vkprintf
	ldr	w8, [x22]
	cmp	w8, #129
	b.eq	LBB0_12
; %bb.4:
	cmp	w8, #128
	b.ne	LBB0_17
; %bb.5:
Lloh7:
	adrp	x8, _tcp_rpcc_process_nonce_packet.P@PAGE+4
Lloh8:
	ldr	w8, [x8, _tcp_rpcc_process_nonce_packet.P@PAGEOFF+4]
	cbnz	w8, LBB0_16
; %bb.6:
	ldr	w8, [x19, #20]
	tbz	w8, #0, LBB0_15
; %bb.7:
	tbz	w8, #1, LBB0_9
; %bb.8:
	ldr	w8, [x20]
	cmp	w8, #0
	cset	w0, eq
	bl	_assert
LBB0_9:
	mov	w2, #1
	str	w2, [x19, #20]
	b	LBB0_21
LBB0_10:
	mov	w0, #-2
LBB0_11:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_12:
Lloh9:
	adrp	x8, _tcp_rpcc_process_nonce_packet.P@PAGE+4
Lloh10:
	ldr	w21, [x8, _tcp_rpcc_process_nonce_packet.P@PAGEOFF+4]
	cbz	w21, LBB0_16
; %bb.13:
	bl	_get_crypto_key_id
	cmp	w21, w0
	b.ne	LBB0_16
; %bb.14:
	ldrb	w8, [x19, #20]
	tbnz	w8, #1, LBB0_18
LBB0_15:
	mov	w0, #-5
	b	LBB0_11
LBB0_16:
	mov	w0, #-3
	b	LBB0_11
LBB0_17:
	mov	w0, #-4
	b	LBB0_11
LBB0_18:
Lloh11:
	adrp	x8, _tcp_rpcc_process_nonce_packet.P@PAGE+16
Lloh12:
	ldr	x8, [x8, _tcp_rpcc_process_nonce_packet.P@PAGEOFF+16]
	ldr	x9, [x19, #24]
	sub	x0, x8, x9
	bl	_abs
	cmp	w0, #30
	b.gt	LBB0_22
; %bb.19:
	mov	x0, x20
	bl	_TCP_RPCC_FUNC
	ldr	x8, [x0]
Lloh13:
	adrp	x9, _tcp_rpcc_process_nonce_packet.P@PAGE+4
Lloh14:
	add	x9, x9, _tcp_rpcc_process_nonce_packet.P@PAGEOFF+4
	ldp	w2, w1, [x9]
	mov	x0, x20
	blr	x8
	tbnz	w0, #31, LBB0_22
; %bb.20:
	ldr	w2, [x19, #20]
LBB0_21:
Lloh15:
	adrp	x1, l_.str.1@PAGE
Lloh16:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #2
	bl	_vkprintf
	mov	w0, #0
	b	LBB0_11
LBB0_22:
	mov	w0, #-6
	b	LBB0_11
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdr	Lloh7, Lloh8
	.loh AdrpLdr	Lloh9, Lloh10
	.loh AdrpLdr	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_tcp_rpcc_process_nonce_packet.P,24,3 ; @tcp_rpcc_process_nonce_packet.P
	.comm	_RPC_NONCE,8,3                  ; @RPC_NONCE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Processing nonce packet, crypto schema: %d, key select: %d\n"

l_.str.1:                               ; @.str.1
	.asciz	"Processed nonce packet, crypto flags = %d\n"

	.no_dead_strip	_tcp_rpcc_process_nonce_packet
.subsections_via_symbols
