	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function kvp_get_value
_kvp_get_value:                         ## @kvp_get_value
	.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
	movl	%r8d, %ebx
	movq	%rcx, %r12
	movl	%edx, %r13d
	movq	%rsi, %r15
	movl	%edi, %r14d
	movq	_LOG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movl	%r14d, %edx
	movq	%r15, %rcx
	callq	_KVP_LOG
	movq	_HV_KVP_EXCHANGE_MAX_KEY_SIZE@GOTPCREL(%rip), %rcx
	movl	$1, %eax
	cmpl	%r13d, (%rcx)
	jl	LBB0_8
## %bb.1:
	movq	_HV_KVP_EXCHANGE_MAX_VALUE_SIZE@GOTPCREL(%rip), %rcx
	cmpl	%ebx, (%rcx)
	jl	LBB0_8
## %bb.2:
	movl	%r14d, %edi
	callq	_kvp_update_mem_state
	movq	_kvp_pools@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%r14d, %rcx
	shlq	$4, %rcx
	movl	(%rax,%rcx), %r14d
	testl	%r14d, %r14d
	jle	LBB0_7
## %bb.3:
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	movq	8(%rax,%rcx), %rbx
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	4(%rbx,%r12,8), %esi
	movq	%r15, %rdi
	movl	%r13d, %edx
	callq	_memcmp
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	incq	%r12
	cmpq	%r12, %r14
	jne	LBB0_4
LBB0_7:
	movl	$1, %eax
	jmp	LBB0_8
LBB0_5:
	movl	(%rbx,%r12,8), %esi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_memcpy
	xorl	%eax, %eax
LBB0_8:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LOG_DEBUG,4,2                  ## @LOG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"kvp_get_value: pool =  %d, key = %s\n,"

	.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	_kvp_pools,8,3                  ## @kvp_pools
	.no_dead_strip	_kvp_get_value
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function kvp_get_value
_kvp_get_value:                         ; @kvp_get_value
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x4
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
	mov	x23, x0
Lloh0:
	adrp	x8, _LOG_DEBUG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LOG_DEBUG@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x23
	mov	x3, x22
	bl	_KVP_LOG
Lloh5:
	adrp	x8, _HV_KVP_EXCHANGE_MAX_KEY_SIZE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _HV_KVP_EXCHANGE_MAX_KEY_SIZE@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	adrp	x9, _HV_KVP_EXCHANGE_MAX_VALUE_SIZE@GOTPAGE
Lloh9:
	ldr	x9, [x9, _HV_KVP_EXCHANGE_MAX_VALUE_SIZE@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	cmp	w8, w21
	ccmp	w9, w19, #8, ge
	b.lt	LBB0_5
; %bb.1:
	mov	x0, x23
	bl	_kvp_update_mem_state
Lloh11:
	adrp	x8, _kvp_pools@GOTPAGE
Lloh12:
	ldr	x8, [x8, _kvp_pools@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	add	x8, x8, w23, sxtw #4
	ldr	w23, [x8]
	cmp	w23, #1
	b.lt	LBB0_5
; %bb.2:
	ldr	x8, [x8, #8]
	add	x24, x8, #4
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x24]
	mov	x0, x22
	mov	x2, x21
	bl	_memcmp
	cbz	x0, LBB0_7
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x24, x24, #8
	subs	x23, x23, #1
	b.ne	LBB0_3
LBB0_5:
	mov	w0, #1
LBB0_6:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_7:
	ldur	w1, [x24, #-4]
	mov	x0, x20
	mov	x2, x19
	bl	_memcpy
	mov	w0, #0
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_LOG_DEBUG,4,2                  ; @LOG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"kvp_get_value: pool =  %d, key = %s\n,"

	.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	_kvp_pools,8,3                  ; @kvp_pools
	.no_dead_strip	_kvp_get_value
.subsections_via_symbols
