	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function kvm_fdnlist
_kvm_fdnlist:                           ## @kvm_fdnlist
	.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	%rsi, %r13
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	cmpq	$0, (%rdi)
	movq	(%rsi), %rbx
	je	LBB0_3
## %bb.1:
	testq	%rbx, %rbx
	je	LBB0_2
## %bb.24:
	addq	$16, %r13
	xorl	%r12d, %r12d
	leaq	-52(%rbp), %r15
	movq	_N_EXT@GOTPCREL(%rip), %r14
	jmp	LBB0_25
	.p2align	4, 0x90
LBB0_28:                                ##   in Loop: Header=BB0_25 Depth=1
	movl	-52(%rbp), %eax
	movl	(%r14), %ecx
	movq	_N_DATA@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
LBB0_29:                                ##   in Loop: Header=BB0_25 Depth=1
	movl	%eax, -4(%r13)
	movl	%ecx, -8(%r13)
	movq	(%r13), %rbx
	addq	$16, %r13
	testq	%rbx, %rbx
	je	LBB0_30
LBB0_25:                                ## =>This Inner Loop Header: Depth=1
	cmpb	$0, (%rbx)
	je	LBB0_30
## %bb.26:                              ##   in Loop: Header=BB0_25 Depth=1
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	callq	*(%rax)
	testl	%eax, %eax
	je	LBB0_28
## %bb.27:                              ##   in Loop: Header=BB0_25 Depth=1
	incl	%r12d
	xorl	%eax, %eax
	xorl	%ecx, %ecx
	jmp	LBB0_29
LBB0_3:
	testq	%rbx, %rbx
	je	LBB0_17
## %bb.4:
	leaq	16(%r13), %rax
	xorl	%r14d, %r14d
	movq	%rbx, %rcx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	cmpb	$0, (%rcx)
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	incq	%r14
	movq	(%rax), %rcx
	addq	$16, %rax
	testq	%rcx, %rcx
	jne	LBB0_5
LBB0_7:
	leal	1(%r14), %edi
	movl	$16, %esi
	callq	_calloc
	movq	%rax, %r15
	testl	%r14d, %r14d
	je	LBB0_18
## %bb.8:
	movl	%r14d, %eax
	movq	%rbx, (%r15)
	movq	%rax, %rbx
	cmpq	$1, %rax
	je	LBB0_15
## %bb.9:
	leaq	-1(%rbx), %rdx
	leaq	-2(%rbx), %rsi
	movl	%edx, %eax
	andl	$3, %eax
	movl	$1, %ecx
	cmpq	$3, %rsi
	jb	LBB0_12
## %bb.10:
	andq	$-4, %rdx
	negq	%rdx
	movl	$1, %ecx
	movl	$64, %esi
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	-48(%r13,%rsi), %rdi
	movq	%rdi, -48(%r15,%rsi)
	movq	-32(%r13,%rsi), %rdi
	movq	%rdi, -32(%r15,%rsi)
	movq	-16(%r13,%rsi), %rdi
	movq	%rdi, -16(%r15,%rsi)
	movq	(%r13,%rsi), %rdi
	movq	%rdi, (%r15,%rsi)
	addq	$64, %rsi
	leaq	(%rdx,%rcx), %rdi
	addq	$4, %rdi
	addq	$4, %rcx
	cmpq	$1, %rdi
	jne	LBB0_11
LBB0_12:
	testq	%rax, %rax
	je	LBB0_15
## %bb.13:
	shlq	$4, %rcx
	movq	%r15, %rdx
	addq	%rcx, %rdx
	addq	%r13, %rcx
	shlq	$4, %rax
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rcx,%rsi), %rdi
	movq	%rdi, (%rdx,%rsi)
	addq	$16, %rsi
	cmpq	%rsi, %rax
	jne	LBB0_14
LBB0_15:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	8(%rax), %edi
	movq	%r15, %rsi
	callq	___fdnlist
	movl	%eax, %r12d
	andl	$1, %r14d
	cmpl	$1, %ebx
	jne	LBB0_19
## %bb.16:
	xorl	%eax, %eax
	jmp	LBB0_21
LBB0_2:
	xorl	%r12d, %r12d
	jmp	LBB0_30
LBB0_17:
	movl	$1, %edi
	movl	$16, %esi
	callq	_calloc
	movq	%rax, %r15
LBB0_18:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	8(%rax), %edi
	movq	%r15, %rsi
	callq	___fdnlist
	movl	%eax, %r12d
	jmp	LBB0_23
LBB0_19:
	subq	%r14, %rbx
	movl	$28, %ecx
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	movl	-20(%r15,%rcx), %edx
	movl	%edx, -20(%r13,%rcx)
	movl	-16(%r15,%rcx), %edx
	movl	%edx, -16(%r13,%rcx)
	movl	-4(%r15,%rcx), %edx
	movl	%edx, -4(%r13,%rcx)
	movl	(%r15,%rcx), %edx
	movl	%edx, (%r13,%rcx)
	addq	$2, %rax
	addq	$32, %rcx
	cmpq	%rax, %rbx
	jne	LBB0_20
LBB0_21:
	testq	%r14, %r14
	je	LBB0_23
## %bb.22:
	shlq	$4, %rax
	movl	8(%r15,%rax), %ecx
	movl	%ecx, 8(%r13,%rax)
	movl	12(%r15,%rax), %ecx
	movl	%ecx, 12(%r13,%rax)
LBB0_23:
	movq	%r15, %rdi
	callq	_free
LBB0_30:
	movl	%r12d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_N_DATA,4,2                     ## @N_DATA
	.comm	_N_EXT,4,2                      ## @N_EXT
	.no_dead_strip	_kvm_fdnlist
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function kvm_fdnlist
_kvm_fdnlist:                           ; @kvm_fdnlist
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x20, x1
	mov	x19, x0
	ldr	x8, [x0]
	ldr	x23, [x1]
	cbz	x8, LBB0_8
; %bb.1:
	mov	w22, #0
	cbz	x23, LBB0_31
; %bb.2:
	add	x20, x20, #16
Lloh0:
	adrp	x21, _N_DATA@GOTPAGE
Lloh1:
	ldr	x21, [x21, _N_DATA@GOTPAGEOFF]
Lloh2:
	adrp	x24, _N_EXT@GOTPAGE
Lloh3:
	ldr	x24, [x24, _N_EXT@GOTPAGEOFF]
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [sp, #12]
	ldr	w9, [x21]
	ldr	w10, [x24]
	orr	w9, w10, w9
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	stp	w9, w8, [x20, #-8]
	ldr	x23, [x20], #16
	cbz	x23, LBB0_31
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w8, [x23]
	cbz	w8, LBB0_31
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x19]
	add	x1, sp, #12
	mov	x0, x23
	blr	x8
	cbz	w0, LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	w8, #0
	mov	w9, #0
	add	w22, w22, #1
	b	LBB0_4
LBB0_8:
	cbz	x23, LBB0_16
; %bb.9:
	mov	x24, #0
	add	x8, x20, #16
	mov	x9, x23
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w9, [x9]
	cbz	w9, LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	add	x24, x24, #1
	ldr	x9, [x8], #16
	cbnz	x9, LBB0_10
LBB0_12:
	add	w0, w24, #1
	mov	w1, #16
	bl	_calloc
	mov	x21, x0
	cbz	w24, LBB0_17
; %bb.13:
	and	x25, x24, #0xffffffff
	str	x23, [x21]
	subs	x9, x25, #1
	b.eq	LBB0_23
; %bb.14:
	cmp	x9, #4
	b.hs	LBB0_18
; %bb.15:
	mov	w8, #1
	b	LBB0_21
LBB0_16:
	mov	w0, #1
	mov	w1, #16
	bl	_calloc
	mov	x21, x0
LBB0_17:
	ldr	w0, [x19, #8]
	mov	x1, x21
	bl	___fdnlist
	mov	x22, x0
	b	LBB0_30
LBB0_18:
	and	x10, x9, #0xfffffffffffffffc
	orr	x8, x10, #0x1
	add	x11, x20, #32
	add	x12, x21, #32
	mov	x13, x10
LBB0_19:                                ; =>This Inner Loop Header: Depth=1
	ldur	x14, [x11, #-16]
	ldr	x15, [x11]
	ldr	x16, [x11, #16]
	ldr	x17, [x11, #32]
	stur	x14, [x12, #-16]
	str	x15, [x12]
	str	x16, [x12, #16]
	str	x17, [x12, #32]
	add	x11, x11, #64
	add	x12, x12, #64
	subs	x13, x13, #4
	b.ne	LBB0_19
; %bb.20:
	cmp	x9, x10
	b.eq	LBB0_23
LBB0_21:
	sub	x9, x25, x8
	lsl	x10, x8, #4
	add	x8, x21, x10
	add	x10, x20, x10
LBB0_22:                                ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x10], #16
	str	x11, [x8], #16
	subs	x9, x9, #1
	b.ne	LBB0_22
LBB0_23:
	ldr	w0, [x19, #8]
	mov	x1, x21
	bl	___fdnlist
	mov	x22, x0
	cmp	x25, #2
	b.hs	LBB0_25
; %bb.24:
	mov	x8, #0
	b	LBB0_28
LBB0_25:
	mov	x10, #0
	and	x9, x24, #0x1
	sub	x8, x25, x9
	mov	x11, x8
LBB0_26:                                ; =>This Inner Loop Header: Depth=1
	add	x12, x21, x10
	ldr	d0, [x12, #8]
	add	x13, x20, x10
	str	d0, [x13, #8]
	ldr	d0, [x12, #24]
	str	d0, [x13, #24]
	add	x10, x10, #32
	subs	x11, x11, #2
	b.ne	LBB0_26
; %bb.27:
	cbz	x9, LBB0_30
LBB0_28:
	mov	w9, #8
	bfi	x9, x8, #4, #60
	sub	x8, x25, x8
LBB0_29:                                ; =>This Inner Loop Header: Depth=1
	ldr	d0, [x21, x9]
	str	d0, [x20, x9]
	add	x9, x9, #16
	subs	x8, x8, #1
	b.ne	LBB0_29
LBB0_30:
	mov	x0, x21
	bl	_free
LBB0_31:
	mov	x0, x22
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_N_DATA,4,2                     ; @N_DATA
	.comm	_N_EXT,4,2                      ; @N_EXT
	.no_dead_strip	_kvm_fdnlist
.subsections_via_symbols
