	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function kresolve_list
_kresolve_list:                         ## @kresolve_list
	.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, %rbx
	movq	_kvmd@GOTPCREL(%rip), %r15
	cmpq	$0, (%r15)
	je	LBB0_1
LBB0_2:
	xorl	%r14d, %r14d
	cmpq	$0, (%rbx)
	jne	LBB0_7
## %bb.3:
	movq	(%r15), %rdi
	movq	%rbx, %rsi
	callq	_kvm_nlist
	testq	%rax, %rax
	jns	LBB0_7
## %bb.4:
	movq	_nlistf@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	testq	%rbx, %rbx
	je	LBB0_6
## %bb.5:
	movq	(%r15), %rdi
	callq	_kvm_geterr
	leaq	L_.str(%rip), %rsi
	xorl	%r14d, %r14d
	movl	$1, %edi
	movl	%ebx, %edx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_xo_errx
	jmp	LBB0_7
LBB0_1:
	xorl	%eax, %eax
	callq	_kvmd_init
	movl	$-1, %r14d
	testq	%rax, %rax
	je	LBB0_2
LBB0_7:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	(%r15), %rdi
	callq	_kvm_geterr
	leaq	L_.str.1(%rip), %rsi
	xorl	%r14d, %r14d
	movl	$1, %edi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_xo_errx
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_kvmd,8,3                       ## @kvmd
	.comm	_nlistf,8,3                     ## @nlistf
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: kvm_nlist: %s"

L_.str.1:                               ## @.str.1
	.asciz	"kvm_nlist: %s"

	.no_dead_strip	_kresolve_list
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function kresolve_list
_kresolve_list:                         ; @kresolve_list
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
Lloh0:
	adrp	x20, _kvmd@GOTPAGE
Lloh1:
	ldr	x20, [x20, _kvmd@GOTPAGEOFF]
	ldr	x8, [x20]
	cbz	x8, LBB0_5
LBB0_1:
	ldr	x8, [x19]
	cbnz	x8, LBB0_9
; %bb.2:
	ldr	x0, [x20]
	mov	x1, x19
	bl	_kvm_nlist
	tbz	x0, #63, LBB0_9
; %bb.3:
Lloh2:
	adrp	x8, _nlistf@GOTPAGE
Lloh3:
	ldr	x8, [x8, _nlistf@GOTPAGEOFF]
Lloh4:
	ldr	x19, [x8]
	cbz	x19, LBB0_7
; %bb.4:
	ldr	x0, [x20]
	bl	_kvm_geterr
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	mov	x2, x19
	b	LBB0_8
LBB0_5:
	bl	_kvmd_init
	cbz	x0, LBB0_1
; %bb.6:
	mov	w0, #-1
	b	LBB0_10
LBB0_7:
	ldr	x0, [x20]
	bl	_kvm_geterr
	mov	x2, x0
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #1
LBB0_8:
	bl	_xo_errx
LBB0_9:
	mov	w0, #0
LBB0_10:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_kvmd,8,3                       ; @kvmd
	.comm	_nlistf,8,3                     ; @nlistf
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: kvm_nlist: %s"

l_.str.1:                               ; @.str.1
	.asciz	"kvm_nlist: %s"

	.no_dead_strip	_kresolve_list
.subsections_via_symbols
