	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function kvp_respond_to_host
_kvp_respond_to_host:                   ## @kvp_respond_to_host
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_kvp_transaction@GOTPCREL(%rip), %rax
	movq	16(%rax), %rbx
	cmpq	$0, (%rbx)
	je	LBB0_13
## %bb.1:
	movl	24(%rax), %r14d
	movl	8(%rax), %r15d
	movq	_recv_buffer@GOTPCREL(%rip), %rdx
	movq	(%rdx), %r12
	movl	%esi, 16(%r12)
	testl	%esi, %esi
	jne	LBB0_12
## %bb.2:
	movq	%rdi, %r13
	leaq	48(%r12), %rsi
	movq	(%rax), %rax
	movl	(%rax), %eax
	addl	$-128, %eax
	cmpl	$4, %eax
	ja	LBB0_7
## %bb.3:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_4:
	movq	%r13, %rdi
	movq	%rdx, %r13
	movl	$130, %edx
	callq	_process_ob_ipinfo
	movq	%r13, %rdx
	testl	%eax, %eax
	jns	LBB0_12
## %bb.5:
	movq	_HV_E_FAIL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r12)
	jmp	LBB0_12
LBB0_13:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	(%r13), %rdi
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	callq	_strlen
	movq	_UTF16_HOST_ENDIAN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	48(%r12), %rcx
	movq	_HV_KVP_EXCHANGE_MAX_KEY_SIZE@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	movl	%esi, %r8d
	shrl	$31, %r8d
	addl	%esi, %r8d
	sarl	%r8d
	addl	$-2, %r8d
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%eax, %esi
	callq	_utf8s_to_utf16s
                                        ## kill: def $eax killed $eax def $rax
	leal	(%rax,%rax), %ecx
	addl	$2, %ecx
	movl	%ecx, 56(%r12)
	shrl	$31, %eax
	jmp	LBB0_8
LBB0_6:
	leaq	80(%r12), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
LBB0_8:
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	16(%r13), %rdi
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	callq	_strlen
	movq	_UTF16_HOST_ENDIAN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	movq	16(%r13), %rcx
	movq	_HV_KVP_EXCHANGE_MAX_VALUE_SIZE@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	movl	%esi, %r8d
	shrl	$31, %r8d
	addl	%esi, %r8d
	sarl	%r8d
	addl	$-2, %r8d
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	%eax, %esi
	callq	_utf8s_to_utf16s
                                        ## kill: def $eax killed $eax def $rax
	leal	(%rax,%rax), %ecx
	addl	$2, %ecx
	movl	%ecx, 24(%r13)
	cmpb	$0, -48(%rbp)                   ## 1-byte Folded Reload
	jne	LBB0_10
## %bb.9:
	testl	%eax, %eax
	jns	LBB0_11
LBB0_10:
	movq	_HV_E_FAIL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r12)
LBB0_11:
	movq	_REG_SZ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%r13)
	movq	_recv_buffer@GOTPCREL(%rip), %rdx
LBB0_12:
	movq	_ICMSGHDRFLAG_TRANSACTION@GOTPCREL(%rip), %rax
	movq	_ICMSGHDRFLAG_RESPONSE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movl	%ecx, 20(%r12)
	movq	(%rdx), %rsi
	movq	_VM_PKT_DATA_INBAND@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%rbx, %rdi
	movl	%r14d, %edx
	movl	%r15d, %ecx
	xorl	%r9d, %r9d
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_vmbus_sendpacket               ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
LJTI0_0:
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_4
	.long	L0_0_set_6
	.long	L0_0_set_12
	.end_data_region
                                        ## -- End function
	.comm	_kvp_transaction,32,3           ## @kvp_transaction
	.comm	_recv_buffer,8,3                ## @recv_buffer
	.comm	_HV_E_FAIL,8,3                  ## @HV_E_FAIL
	.comm	_UTF16_HOST_ENDIAN,4,2          ## @UTF16_HOST_ENDIAN
	.comm	_HV_KVP_EXCHANGE_MAX_KEY_SIZE,4,2 ## @HV_KVP_EXCHANGE_MAX_KEY_SIZE
	.comm	_HV_KVP_EXCHANGE_MAX_VALUE_SIZE,4,2 ## @HV_KVP_EXCHANGE_MAX_VALUE_SIZE
	.comm	_REG_SZ,4,2                     ## @REG_SZ
	.comm	_ICMSGHDRFLAG_TRANSACTION,4,2   ## @ICMSGHDRFLAG_TRANSACTION
	.comm	_ICMSGHDRFLAG_RESPONSE,4,2      ## @ICMSGHDRFLAG_RESPONSE
	.comm	_VM_PKT_DATA_INBAND,4,2         ## @VM_PKT_DATA_INBAND
	.no_dead_strip	_kvp_respond_to_host
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function kvp_respond_to_host
_kvp_respond_to_host:                   ; @kvp_respond_to_host
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
Lloh0:
	adrp	x8, _kvp_transaction@GOTPAGE
Lloh1:
	ldr	x8, [x8, _kvp_transaction@GOTPAGEOFF]
	ldr	x19, [x8, #16]
	ldr	x9, [x19]
	cbz	x9, LBB0_6
; %bb.1:
	ldr	w20, [x8, #24]
	ldr	w21, [x8, #8]
Lloh2:
	adrp	x25, _recv_buffer@GOTPAGE
Lloh3:
	ldr	x25, [x25, _recv_buffer@GOTPAGEOFF]
	ldr	x26, [x25]
	str	w1, [x26, #16]
	cbnz	w1, LBB0_13
; %bb.2:
	mov	x23, x0
	add	x22, x26, #48
	ldr	x8, [x8]
	ldr	w8, [x8]
	sub	w8, w8, #128
	cmp	w8, #4
	b.hi	LBB0_7
; %bb.3:
Lloh4:
	adrp	x9, lJTI0_0@PAGE
Lloh5:
	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, x23
	mov	x1, x22
	mov	w2, #130
	bl	_process_ob_ipinfo
	tbz	w0, #31, LBB0_13
; %bb.5:
Lloh6:
	adrp	x8, _HV_E_FAIL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _HV_E_FAIL@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	str	w8, [x26, #16]
	b	LBB0_13
LBB0_6:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_7:
	ldr	x24, [x23]
	mov	x0, x24
	bl	_strlen
	mov	x1, x0
Lloh9:
	adrp	x8, _UTF16_HOST_ENDIAN@GOTPAGE
Lloh10:
	ldr	x8, [x8, _UTF16_HOST_ENDIAN@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
Lloh12:
	adrp	x8, _HV_KVP_EXCHANGE_MAX_KEY_SIZE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _HV_KVP_EXCHANGE_MAX_KEY_SIZE@GOTPAGEOFF]
	ldr	x3, [x26, #48]
Lloh14:
	ldr	w8, [x8]
	cmp	w8, #0
	cinc	w8, w8, lt
	asr	w8, w8, #1
	sub	w4, w8, #2
	mov	x0, x24
	bl	_utf8s_to_utf16s
	lsl	w8, w0, #1
	add	w8, w8, #2
	str	w8, [x26, #56]
	lsr	w24, w0, #31
	b	LBB0_9
LBB0_8:
	mov	w24, #0
	add	x22, x26, #80
LBB0_9:
	ldr	x23, [x23, #16]
	mov	x0, x23
	bl	_strlen
	mov	x1, x0
Lloh15:
	adrp	x8, _UTF16_HOST_ENDIAN@GOTPAGE
Lloh16:
	ldr	x8, [x8, _UTF16_HOST_ENDIAN@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
Lloh18:
	adrp	x8, _HV_KVP_EXCHANGE_MAX_VALUE_SIZE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _HV_KVP_EXCHANGE_MAX_VALUE_SIZE@GOTPAGEOFF]
	ldr	x3, [x22, #16]
Lloh20:
	ldr	w8, [x8]
	cmp	w8, #0
	cinc	w8, w8, lt
	asr	w8, w8, #1
	sub	w4, w8, #2
	mov	x0, x23
	bl	_utf8s_to_utf16s
	lsl	w8, w0, #1
	add	w8, w8, #2
	str	w8, [x22, #24]
	tbnz	w24, #0, LBB0_11
; %bb.10:
	tbz	w0, #31, LBB0_12
LBB0_11:
Lloh21:
	adrp	x8, _HV_E_FAIL@GOTPAGE
Lloh22:
	ldr	x8, [x8, _HV_E_FAIL@GOTPAGEOFF]
Lloh23:
	ldr	x8, [x8]
	str	w8, [x26, #16]
LBB0_12:
Lloh24:
	adrp	x8, _REG_SZ@GOTPAGE
Lloh25:
	ldr	x8, [x8, _REG_SZ@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	str	w8, [x22, #28]
LBB0_13:
Lloh27:
	adrp	x8, _ICMSGHDRFLAG_TRANSACTION@GOTPAGE
Lloh28:
	ldr	x8, [x8, _ICMSGHDRFLAG_TRANSACTION@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
Lloh30:
	adrp	x9, _ICMSGHDRFLAG_RESPONSE@GOTPAGE
Lloh31:
	ldr	x9, [x9, _ICMSGHDRFLAG_RESPONSE@GOTPAGEOFF]
Lloh32:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [x26, #20]
	ldr	x1, [x25]
Lloh33:
	adrp	x8, _VM_PKT_DATA_INBAND@GOTPAGE
Lloh34:
	ldr	x8, [x8, _VM_PKT_DATA_INBAND@GOTPAGEOFF]
Lloh35:
	ldr	w4, [x8]
	mov	x0, x19
	mov	x2, x20
	mov	x3, x21
	mov	w5, #0
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_vmbus_sendpacket
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_13-LBB0_4)>>2
	.byte	(LBB0_13-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_8-LBB0_4)>>2
	.byte	(LBB0_13-LBB0_4)>>2
                                        ; -- End function
	.comm	_kvp_transaction,32,3           ; @kvp_transaction
	.comm	_recv_buffer,8,3                ; @recv_buffer
	.comm	_HV_E_FAIL,8,3                  ; @HV_E_FAIL
	.comm	_UTF16_HOST_ENDIAN,4,2          ; @UTF16_HOST_ENDIAN
	.comm	_HV_KVP_EXCHANGE_MAX_KEY_SIZE,4,2 ; @HV_KVP_EXCHANGE_MAX_KEY_SIZE
	.comm	_HV_KVP_EXCHANGE_MAX_VALUE_SIZE,4,2 ; @HV_KVP_EXCHANGE_MAX_VALUE_SIZE
	.comm	_REG_SZ,4,2                     ; @REG_SZ
	.comm	_ICMSGHDRFLAG_TRANSACTION,4,2   ; @ICMSGHDRFLAG_TRANSACTION
	.comm	_ICMSGHDRFLAG_RESPONSE,4,2      ; @ICMSGHDRFLAG_RESPONSE
	.comm	_VM_PKT_DATA_INBAND,4,2         ; @VM_PKT_DATA_INBAND
	.no_dead_strip	_kvp_respond_to_host
.subsections_via_symbols
