	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function kvp_cn_callback
_kvp_cn_callback:                       ## @kvp_cn_callback
	.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), %r15
	movq	_in_hand_shake@GOTPCREL(%rip), %rbx
	cmpl	$0, (%rbx)
	je	LBB0_3
## %bb.1:
	movq	%r15, %rdi
	callq	_kvp_handle_handshake
	testq	%rax, %rax
	je	LBB0_9
## %bb.2:
	movl	$0, (%rbx)
	jmp	LBB0_9
LBB0_3:
	movq	_dm_reg_value@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	$128, %eax
	je	LBB0_7
## %bb.4:
	xorl	%r14d, %r14d
	cmpl	$129, %eax
	jne	LBB0_8
## %bb.5:
	movq	8(%r15), %rax
	xorl	%r14d, %r14d
	cmpl	$0, (%rax)
	jne	LBB0_8
## %bb.6:
	movq	_HV_S_CONT@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	jmp	LBB0_8
LBB0_7:
	movl	(%r15), %r14d
LBB0_8:
	movq	_kvp_work@GOTPCREL(%rip), %rdi
	callq	_cancel_delayed_work_sync
	testq	%rax, %rax
	je	LBB0_9
## %bb.10:
	movq	%r15, %rdi
	movl	%r14d, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_kvp_respond_to_host            ## TAILCALL
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_in_hand_shake,4,2              ## @in_hand_shake
	.comm	_dm_reg_value,4,2               ## @dm_reg_value
	.comm	_HV_S_CONT,4,2                  ## @HV_S_CONT
	.comm	_kvp_work,4,2                   ## @kvp_work
	.no_dead_strip	_kvp_cn_callback
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function kvp_cn_callback
_kvp_cn_callback:                       ; @kvp_cn_callback
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x19, [x0]
Lloh0:
	adrp	x20, _in_hand_shake@GOTPAGE
Lloh1:
	ldr	x20, [x20, _in_hand_shake@GOTPAGEOFF]
	ldr	w8, [x20]
	cbz	w8, LBB0_3
; %bb.1:
	mov	x0, x19
	bl	_kvp_handle_handshake
	cbz	x0, LBB0_10
; %bb.2:
	str	wzr, [x20]
	b	LBB0_10
LBB0_3:
Lloh2:
	adrp	x8, _dm_reg_value@GOTPAGE
Lloh3:
	ldr	x8, [x8, _dm_reg_value@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cmp	w8, #128
	b.eq	LBB0_6
; %bb.4:
	cmp	w8, #129
	b.ne	LBB0_7
; %bb.5:
	ldr	x8, [x19, #8]
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _HV_S_CONT@GOTPAGE
Lloh6:
	ldr	x9, [x9, _HV_S_CONT@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	cmp	w8, #0
	csel	w20, w9, wzr, eq
	b	LBB0_8
LBB0_6:
	ldr	w20, [x19]
	b	LBB0_8
LBB0_7:
	mov	w20, #0
LBB0_8:
Lloh8:
	adrp	x0, _kvp_work@GOTPAGE
Lloh9:
	ldr	x0, [x0, _kvp_work@GOTPAGEOFF]
	bl	_cancel_delayed_work_sync
	cbz	x0, LBB0_10
; %bb.9:
	mov	x0, x19
	mov	x1, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_kvp_respond_to_host
LBB0_10:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_in_hand_shake,4,2              ; @in_hand_shake
	.comm	_dm_reg_value,4,2               ; @dm_reg_value
	.comm	_HV_S_CONT,4,2                  ; @HV_S_CONT
	.comm	_kvp_work,4,2                   ; @kvp_work
	.no_dead_strip	_kvp_cn_callback
.subsections_via_symbols
