	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function kv_get_acp_boot_level
_kv_get_acp_boot_level:                 ## @kv_get_acp_boot_level
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	8(%rdi), %rsi
	cmpq	$0, (%rsi)
	js	LBB0_4
## %bb.3:
	movb	$1, %dl
	xorl	%ecx, %ecx
	jmp	LBB0_10
LBB0_1:
	movq	$-1, %rax
	popq	%rbp
	retq
LBB0_4:
	movl	$1, %ecx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rcx, %rdx
	cmpq	%rcx, %rax
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_6 Depth=1
	leaq	1(%rdx), %rcx
	cmpq	$0, (%rsi,%rdx,8)
	js	LBB0_6
## %bb.8:
	decq	%rcx
	jmp	LBB0_9
LBB0_7:
	movq	%rax, %rcx
LBB0_9:
	cmpq	%rax, %rdx
	setb	%dl
LBB0_10:
	decq	%rax
	testb	%dl, %dl
	cmovneq	%rcx, %rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_kv_get_acp_boot_level
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function kv_get_acp_boot_level
_kv_get_acp_boot_level:                 ; @kv_get_acp_boot_level
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
	cbz	x8, LBB0_3
; %bb.1:
	ldr	x9, [x0, #8]
	ldr	x10, [x9]
	tbnz	x10, #63, LBB0_4
; %bb.2:
	mov	x9, #0
	mov	w10, #1
	b	LBB0_10
LBB0_3:
	mov	x0, #-1
	ret
LBB0_4:
	mov	w11, #1
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x10, x11
	cmp	x8, x11
	b.eq	LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x12, [x9, x10, lsl #3]
	add	x11, x10, #1
	tbnz	x12, #63, LBB0_5
; %bb.7:
	sub	x9, x11, #1
	b	LBB0_9
LBB0_8:
	mov	x9, x8
LBB0_9:
	cmp	x10, x8
	cset	w10, lo
LBB0_10:
	sub	x8, x8, #1
	cmp	w10, #0
	csel	x0, x9, x8, ne
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_kv_get_acp_boot_level
.subsections_via_symbols
