	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function kgdb_thr_add_procs
_kgdb_thr_add_procs:                    ## @kgdb_thr_add_procs
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rdi, %rdi
	je	LBB0_16
## %bb.1:
	movq	%rdi, %r13
	leaq	-120(%rbp), %rbx
	leaq	-80(%rbp), %r12
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_kvm@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_kvm_geterr
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_warnx
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_p_list@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_LIST_NEXT
	movq	%rax, %r13
	testq	%rax, %rax
	je	LBB0_16
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
	movq	_kvm@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r13, %rsi
	movq	%rbx, %rdx
	movl	$40, %ecx
	callq	_kvm_read
	cmpl	$40, %eax
	jne	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	-88(%rbp), %rdi
	callq	_TAILQ_FIRST
	testq	%rax, %rax
	je	LBB0_15
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %r15
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_6 Depth=2
	movq	_dumppcb@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_14:                                ##   in Loop: Header=BB0_6 Depth=2
	movq	%rax, 8(%r14)
	movl	-60(%rbp), %eax
	movl	%eax, 44(%r14)
	movq	-80(%rbp), %rax
	movq	%rax, 16(%r14)
	movl	-104(%rbp), %eax
	movl	%eax, 40(%r14)
	movq	%r13, 24(%r14)
	movq	-72(%rbp), %rax
	movq	%rax, 32(%r14)
	movq	_first@GOTPCREL(%rip), %rax
	movq	%r14, (%rax)
	movq	_td_plist@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_TAILQ_NEXT
	movq	%rax, %r15
	testq	%rax, %rax
	je	LBB0_15
LBB0_6:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	_kvm@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	movq	%r12, %rdx
	movl	$40, %ecx
	callq	_kvm_read
	cmpl	$40, %eax
	jne	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=2
	movl	$56, %edi
	callq	_malloc
	movq	%rax, %r14
	movq	_first@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 48(%r14)
	movq	%r15, (%r14)
	movq	-80(%rbp), %rax
	movq	_dumptid@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_6 Depth=2
	movq	-72(%rbp), %rdi
	movq	_NOCPU@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdi
	je	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_6 Depth=2
	movq	_stopped_cpus@GOTPCREL(%rip), %rsi
	callq	_CPU_ISSET
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_6 Depth=2
	movq	-72(%rbp), %rdi
	callq	_kgdb_trgt_core_pcb
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_6 Depth=2
	movq	-56(%rbp), %rax
	jmp	LBB0_14
LBB0_3:
	movq	_kvm@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_kvm_geterr
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_warnx
LBB0_16:
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_kvm,4,2                        ## @kvm
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"kvm_read: %s"

	.comm	_first,8,3                      ## @first
	.comm	_dumptid,8,3                    ## @dumptid
	.comm	_dumppcb,8,3                    ## @dumppcb
	.comm	_NOCPU,8,3                      ## @NOCPU
	.comm	_stopped_cpus,4,2               ## @stopped_cpus
	.comm	_td_plist,4,2                   ## @td_plist
	.comm	_p_list,4,2                     ## @p_list
	.no_dead_strip	_kgdb_thr_add_procs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function kgdb_thr_add_procs
_kgdb_thr_add_procs:                    ; @kgdb_thr_add_procs
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #192
	.cfi_def_cfa_offset 192
	stp	x28, x27, [sp, #96]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #112]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #128]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #144]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #160]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #176]            ; 16-byte Folded Spill
	add	x29, sp, #176
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	cbz	x0, LBB0_16
; %bb.1:
	mov	x22, x0
	add	x8, sp, #56
	add	x8, x8, #32
	str	x8, [sp, #8]                    ; 8-byte Folded Spill
Lloh0:
	adrp	x25, _kvm@GOTPAGE
Lloh1:
	ldr	x25, [x25, _kvm@GOTPAGEOFF]
Lloh2:
	adrp	x27, _first@GOTPAGE
Lloh3:
	ldr	x27, [x27, _first@GOTPAGEOFF]
Lloh4:
	adrp	x28, _dumptid@GOTPAGE
Lloh5:
	ldr	x28, [x28, _dumptid@GOTPAGEOFF]
Lloh6:
	adrp	x20, _dumppcb@GOTPAGE
Lloh7:
	ldr	x20, [x20, _dumppcb@GOTPAGEOFF]
Lloh8:
	adrp	x26, _td_plist@GOTPAGE
Lloh9:
	ldr	x26, [x26, _td_plist@GOTPAGEOFF]
Lloh10:
	adrp	x19, _NOCPU@GOTPAGE
Lloh11:
	ldr	x19, [x19, _NOCPU@GOTPAGEOFF]
Lloh12:
	adrp	x21, _stopped_cpus@GOTPAGE
Lloh13:
	ldr	x21, [x21, _stopped_cpus@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x25]
	bl	_kvm_geterr
	mov	x1, x0
Lloh14:
	adrp	x0, l_.str@PAGE
Lloh15:
	add	x0, x0, l_.str@PAGEOFF
	bl	_warnx
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
Lloh16:
	adrp	x8, _p_list@GOTPAGE
Lloh17:
	ldr	x8, [x8, _p_list@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	add	x0, sp, #56
	bl	_LIST_NEXT
	mov	x22, x0
	cbz	x0, LBB0_16
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
	ldr	w0, [x25]
	add	x2, sp, #56
	mov	x1, x22
	mov	w3, #40
	bl	_kvm_read
	cmp	w0, #40
	b.ne	LBB0_15
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
	bl	_TAILQ_FIRST
	cbz	x0, LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x24, x0
	b	LBB0_9
LBB0_7:                                 ;   in Loop: Header=BB0_9 Depth=2
	ldr	x0, [x20]
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=2
	str	x0, [x23, #8]
	ldr	w8, [sp, #36]
	ldp	x9, x10, [sp, #16]
	stp	x9, x22, [x23, #16]
	ldr	w9, [sp, #72]
	stp	w9, w8, [x23, #40]
	str	x10, [x23, #32]
	str	x23, [x27]
	ldr	w1, [x26]
	add	x0, sp, #16
	bl	_TAILQ_NEXT
	mov	x24, x0
	cbz	x0, LBB0_3
LBB0_9:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w0, [x25]
	add	x2, sp, #16
	mov	x1, x24
	mov	w3, #40
	bl	_kvm_read
	cmp	w0, #40
	b.ne	LBB0_2
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=2
	mov	w0, #56
	bl	_malloc
	mov	x23, x0
	ldr	x8, [x27]
	str	x8, [x0, #48]
	str	x24, [x0]
	ldr	x8, [sp, #16]
	ldr	x9, [x28]
	cmp	x8, x9
	b.eq	LBB0_7
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=2
	ldr	x0, [sp, #24]
	ldr	x8, [x19]
	cmp	x0, x8
	b.eq	LBB0_14
; %bb.12:                               ;   in Loop: Header=BB0_9 Depth=2
	mov	x1, x21
	bl	_CPU_ISSET
	cbz	x0, LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_9 Depth=2
	ldr	x0, [sp, #24]
	bl	_kgdb_trgt_core_pcb
	b	LBB0_8
LBB0_14:                                ;   in Loop: Header=BB0_9 Depth=2
	ldr	x0, [sp, #40]
	b	LBB0_8
LBB0_15:
	ldr	w0, [x25]
	bl	_kvm_geterr
	mov	x1, x0
Lloh19:
	adrp	x0, l_.str@PAGE
Lloh20:
	add	x0, x0, l_.str@PAGEOFF
	bl	_warnx
LBB0_16:
	ldp	x29, x30, [sp, #176]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #160]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #144]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #128]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #112]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #192
	ret
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_kvm,4,2                        ; @kvm
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"kvm_read: %s"

	.comm	_first,8,3                      ; @first
	.comm	_dumptid,8,3                    ; @dumptid
	.comm	_dumppcb,8,3                    ; @dumppcb
	.comm	_NOCPU,8,3                      ; @NOCPU
	.comm	_stopped_cpus,4,2               ; @stopped_cpus
	.comm	_td_plist,4,2                   ; @td_plist
	.comm	_p_list,4,2                     ; @p_list
	.no_dead_strip	_kgdb_thr_add_procs
.subsections_via_symbols
