	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function kvp_send_key
_kvp_send_key:                          ## @kvp_send_key
	.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	_kvp_transaction@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movq	_HVUTIL_HOSTMSG_RECEIVED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_22
## %bb.1:
	movq	8(%r15), %rax
	movl	80(%rax), %ebx
	movq	88(%rax), %r14
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$96, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_22
## %bb.2:
	movq	%rax, %r12
	movl	%ebx, 80(%rax)
	movq	%r14, 88(%rax)
	addl	$-131, %ebx
	cmpl	$5, %ebx
	ja	LBB0_18
## %bb.3:
	movq	8(%r15), %r14
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rbx,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_4:
	movq	%r14, %rdi
	movq	%r12, %rsi
	movl	$131, %edx
	callq	_process_ib_ipinfo
	jmp	LBB0_18
LBB0_22:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movl	76(%r14), %eax
	cmpl	$128, %eax
	je	LBB0_11
## %bb.7:
	cmpl	$129, %eax
	je	LBB0_10
## %bb.8:
	cmpl	$130, %eax
	jne	LBB0_14
## %bb.9:
	movq	64(%r14), %rdi
	movl	72(%r14), %esi
	movq	_UTF16_LITTLE_ENDIAN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	64(%r12), %rcx
	movq	_HV_KVP_EXCHANGE_MAX_VALUE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	decl	%r8d
	callq	_utf16s_to_utf8s
	jmp	LBB0_13
LBB0_5:
	movq	%r14, %rdi
	movq	%r12, %rsi
	movl	$133, %edx
	callq	_process_ib_ipinfo
	jmp	LBB0_18
LBB0_15:
	movq	24(%r14), %rdi
	movl	32(%r14), %esi
	movq	_UTF16_LITTLE_ENDIAN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	24(%r12), %rcx
	movq	_HV_KVP_EXCHANGE_MAX_KEY_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	decl	%r8d
	callq	_utf16s_to_utf8s
	incl	%eax
	movl	%eax, 32(%r12)
	jmp	LBB0_18
LBB0_17:
	movl	(%r14), %eax
	movl	%eax, (%r12)
	jmp	LBB0_18
LBB0_16:
	movq	8(%r14), %rdi
	movl	16(%r14), %esi
	movq	_UTF16_LITTLE_ENDIAN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	8(%r12), %rcx
	movq	_HV_KVP_EXCHANGE_MAX_KEY_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	decl	%r8d
	callq	_utf16s_to_utf8s
	incl	%eax
	movl	%eax, 16(%r12)
	jmp	LBB0_18
LBB0_11:
	movl	44(%r14), %edx
	movq	64(%r12), %rdi
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_12
LBB0_10:
	movl	40(%r14), %edx
	movq	64(%r12), %rdi
	leaq	L_.str(%rip), %rsi
LBB0_12:
	callq	_sprintf
LBB0_13:
	incl	%eax
	movl	%eax, 72(%r12)
LBB0_14:
	movq	48(%r14), %rdi
	movl	56(%r14), %esi
	movq	_UTF16_LITTLE_ENDIAN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	48(%r12), %rcx
	movq	_HV_KVP_EXCHANGE_MAX_KEY_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	decl	%r8d
	callq	_utf16s_to_utf8s
	incl	%eax
	movl	%eax, 56(%r12)
LBB0_18:
	movq	_HVUTIL_USERSPACE_REQ@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r15)
	movq	_hvt@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r12, %rsi
	movl	$96, %edx
	xorl	%ecx, %ecx
	callq	_hvutil_transport_send
	testl	%eax, %eax
	je	LBB0_21
## %bb.19:
	leaq	L_.str.2(%rip), %rdi
	movl	%eax, %esi
	callq	_pr_debug
	movq	_kvp_timeout_work@GOTPCREL(%rip), %rdi
	callq	_cancel_delayed_work_sync
	testq	%rax, %rax
	je	LBB0_21
## %bb.20:
	movq	_HV_E_FAIL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_kvp_respond_to_host
	movq	_HVUTIL_READY@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r15)
LBB0_21:
	movq	%r12, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_kfree                          ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
LJTI0_0:
	.long	L0_0_set_4
	.long	L0_0_set_6
	.long	L0_0_set_5
	.long	L0_0_set_15
	.long	L0_0_set_17
	.long	L0_0_set_16
	.end_data_region
                                        ## -- End function
	.comm	_kvp_transaction,16,3           ## @kvp_transaction
	.comm	_HVUTIL_HOSTMSG_RECEIVED,8,3    ## @HVUTIL_HOSTMSG_RECEIVED
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_UTF16_LITTLE_ENDIAN,4,2        ## @UTF16_LITTLE_ENDIAN
	.comm	_HV_KVP_EXCHANGE_MAX_VALUE_SIZE,4,2 ## @HV_KVP_EXCHANGE_MAX_VALUE_SIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%u"

L_.str.1:                               ## @.str.1
	.asciz	"%llu"

	.comm	_HV_KVP_EXCHANGE_MAX_KEY_SIZE,4,2 ## @HV_KVP_EXCHANGE_MAX_KEY_SIZE
	.comm	_HVUTIL_USERSPACE_REQ,8,3       ## @HVUTIL_USERSPACE_REQ
	.comm	_hvt,4,2                        ## @hvt
L_.str.2:                               ## @.str.2
	.asciz	"KVP: failed to communicate to the daemon: %d\n"

	.comm	_kvp_timeout_work,4,2           ## @kvp_timeout_work
	.comm	_HV_E_FAIL,4,2                  ## @HV_E_FAIL
	.comm	_HVUTIL_READY,8,3               ## @HVUTIL_READY
	.no_dead_strip	_kvp_send_key
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function kvp_send_key
_kvp_send_key:                          ; @kvp_send_key
	.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
Lloh0:
	adrp	x21, _kvp_transaction@GOTPAGE
Lloh1:
	ldr	x21, [x21, _kvp_transaction@GOTPAGEOFF]
	ldr	x8, [x21]
Lloh2:
	adrp	x9, _HVUTIL_HOSTMSG_RECEIVED@GOTPAGE
Lloh3:
	ldr	x9, [x9, _HVUTIL_HOSTMSG_RECEIVED@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.1:
	ldr	x8, [x21, #8]
	ldr	w20, [x8, #80]
	ldr	x22, [x8, #88]
Lloh5:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	w0, #96
	bl	_kzalloc
	cbz	x0, LBB0_5
; %bb.2:
	mov	x19, x0
	str	w20, [x0, #80]
	str	x22, [x0, #88]
	sub	w8, w20, #131
	cmp	w8, #5
	b.hi	LBB0_19
; %bb.3:
	ldr	x20, [x21, #8]
Lloh8:
	adrp	x9, lJTI0_0@PAGE
Lloh9:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_4
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_4:
	mov	x0, x20
	mov	x1, x19
	mov	w2, #131
	bl	_process_ib_ipinfo
	b	LBB0_19
LBB0_5:
	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_6:
	ldr	w8, [x20, #76]
	cmp	w8, #128
	b.eq	LBB0_14
; %bb.7:
	cmp	w8, #129
	b.eq	LBB0_15
; %bb.8:
	cmp	w8, #130
	b.ne	LBB0_18
; %bb.9:
	ldr	x0, [x20, #64]
	ldr	w1, [x20, #72]
Lloh10:
	adrp	x8, _UTF16_LITTLE_ENDIAN@GOTPAGE
Lloh11:
	ldr	x8, [x8, _UTF16_LITTLE_ENDIAN@GOTPAGEOFF]
Lloh12:
	ldr	w2, [x8]
	ldr	x3, [x19, #64]
Lloh13:
	adrp	x8, _HV_KVP_EXCHANGE_MAX_VALUE_SIZE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _HV_KVP_EXCHANGE_MAX_VALUE_SIZE@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	sub	w4, w8, #1
	bl	_utf16s_to_utf8s
	b	LBB0_17
LBB0_10:
	mov	x0, x20
	mov	x1, x19
	mov	w2, #133
	bl	_process_ib_ipinfo
	b	LBB0_19
LBB0_11:
	ldr	x0, [x20, #24]
	ldr	w1, [x20, #32]
Lloh16:
	adrp	x8, _UTF16_LITTLE_ENDIAN@GOTPAGE
Lloh17:
	ldr	x8, [x8, _UTF16_LITTLE_ENDIAN@GOTPAGEOFF]
Lloh18:
	ldr	w2, [x8]
	ldr	x3, [x19, #24]
Lloh19:
	adrp	x8, _HV_KVP_EXCHANGE_MAX_KEY_SIZE@GOTPAGE
Lloh20:
	ldr	x8, [x8, _HV_KVP_EXCHANGE_MAX_KEY_SIZE@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	sub	w4, w8, #1
	bl	_utf16s_to_utf8s
	add	w8, w0, #1
	str	w8, [x19, #32]
	b	LBB0_19
LBB0_12:
	ldr	w8, [x20]
	str	w8, [x19]
	b	LBB0_19
LBB0_13:
	ldr	x0, [x20, #8]
	ldr	w1, [x20, #16]
Lloh22:
	adrp	x8, _UTF16_LITTLE_ENDIAN@GOTPAGE
Lloh23:
	ldr	x8, [x8, _UTF16_LITTLE_ENDIAN@GOTPAGEOFF]
Lloh24:
	ldr	w2, [x8]
	ldr	x3, [x19, #8]
Lloh25:
	adrp	x8, _HV_KVP_EXCHANGE_MAX_KEY_SIZE@GOTPAGE
Lloh26:
	ldr	x8, [x8, _HV_KVP_EXCHANGE_MAX_KEY_SIZE@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
	sub	w4, w8, #1
	bl	_utf16s_to_utf8s
	add	w8, w0, #1
	str	w8, [x19, #16]
	b	LBB0_19
LBB0_14:
	ldr	w2, [x20, #44]
	ldr	x0, [x19, #64]
Lloh28:
	adrp	x1, l_.str.1@PAGE
Lloh29:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_16
LBB0_15:
	ldr	w2, [x20, #40]
	ldr	x0, [x19, #64]
Lloh30:
	adrp	x1, l_.str@PAGE
Lloh31:
	add	x1, x1, l_.str@PAGEOFF
LBB0_16:
	bl	_sprintf
LBB0_17:
	add	w8, w0, #1
	str	w8, [x19, #72]
LBB0_18:
	ldr	x0, [x20, #48]
	ldr	w1, [x20, #56]
Lloh32:
	adrp	x8, _UTF16_LITTLE_ENDIAN@GOTPAGE
Lloh33:
	ldr	x8, [x8, _UTF16_LITTLE_ENDIAN@GOTPAGEOFF]
Lloh34:
	ldr	w2, [x8]
	ldr	x3, [x19, #48]
Lloh35:
	adrp	x8, _HV_KVP_EXCHANGE_MAX_KEY_SIZE@GOTPAGE
Lloh36:
	ldr	x8, [x8, _HV_KVP_EXCHANGE_MAX_KEY_SIZE@GOTPAGEOFF]
Lloh37:
	ldr	w8, [x8]
	sub	w4, w8, #1
	bl	_utf16s_to_utf8s
	add	w8, w0, #1
	str	w8, [x19, #56]
LBB0_19:
Lloh38:
	adrp	x8, _HVUTIL_USERSPACE_REQ@GOTPAGE
Lloh39:
	ldr	x8, [x8, _HVUTIL_USERSPACE_REQ@GOTPAGEOFF]
Lloh40:
	ldr	x8, [x8]
	str	x8, [x21]
Lloh41:
	adrp	x8, _hvt@GOTPAGE
Lloh42:
	ldr	x8, [x8, _hvt@GOTPAGEOFF]
Lloh43:
	ldr	w0, [x8]
	mov	x1, x19
	mov	w2, #96
	mov	x3, #0
	bl	_hvutil_transport_send
	cbz	w0, LBB0_22
; %bb.20:
	mov	x1, x0
Lloh44:
	adrp	x0, l_.str.2@PAGE
Lloh45:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_pr_debug
Lloh46:
	adrp	x0, _kvp_timeout_work@GOTPAGE
Lloh47:
	ldr	x0, [x0, _kvp_timeout_work@GOTPAGEOFF]
	bl	_cancel_delayed_work_sync
	cbz	x0, LBB0_22
; %bb.21:
Lloh48:
	adrp	x8, _HV_E_FAIL@GOTPAGE
Lloh49:
	ldr	x8, [x8, _HV_E_FAIL@GOTPAGEOFF]
Lloh50:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_kvp_respond_to_host
Lloh51:
	adrp	x8, _HVUTIL_READY@GOTPAGE
Lloh52:
	ldr	x8, [x8, _HVUTIL_READY@GOTPAGEOFF]
Lloh53:
	ldr	x8, [x8]
	str	x8, [x21]
LBB0_22:
	mov	x0, x19
	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
	b	_kfree
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh46, Lloh47
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_6-LBB0_4)>>2
	.byte	(LBB0_10-LBB0_4)>>2
	.byte	(LBB0_11-LBB0_4)>>2
	.byte	(LBB0_12-LBB0_4)>>2
	.byte	(LBB0_13-LBB0_4)>>2
                                        ; -- End function
	.comm	_kvp_transaction,16,3           ; @kvp_transaction
	.comm	_HVUTIL_HOSTMSG_RECEIVED,8,3    ; @HVUTIL_HOSTMSG_RECEIVED
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_UTF16_LITTLE_ENDIAN,4,2        ; @UTF16_LITTLE_ENDIAN
	.comm	_HV_KVP_EXCHANGE_MAX_VALUE_SIZE,4,2 ; @HV_KVP_EXCHANGE_MAX_VALUE_SIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%u"

l_.str.1:                               ; @.str.1
	.asciz	"%llu"

	.comm	_HV_KVP_EXCHANGE_MAX_KEY_SIZE,4,2 ; @HV_KVP_EXCHANGE_MAX_KEY_SIZE
	.comm	_HVUTIL_USERSPACE_REQ,8,3       ; @HVUTIL_USERSPACE_REQ
	.comm	_hvt,4,2                        ; @hvt
l_.str.2:                               ; @.str.2
	.asciz	"KVP: failed to communicate to the daemon: %d\n"

	.comm	_kvp_timeout_work,4,2           ; @kvp_timeout_work
	.comm	_HV_E_FAIL,4,2                  ; @HV_E_FAIL
	.comm	_HVUTIL_READY,8,3               ; @HVUTIL_READY
	.no_dead_strip	_kvp_send_key
.subsections_via_symbols
