	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_procfs_pidlist                 ## -- Begin function procfs_pidlist
	.p2align	4, 0x90
_procfs_pidlist:                        ## @procfs_pidlist
	.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	$1048, %rsp                     ## imm = 0x418
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_nto_procfs_path@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	callq	_opendir
	testq	%rax, %rax
	je	LBB0_16
## %bb.1:
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_rewinddir
	leaq	-560(%rbp), %r13
	movq	_EOK@GOTPCREL(%rip), %r12
	movq	%r14, -1080(%rbp)               ## 8-byte Spill
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	%r14d, %edi
	callq	_close
	movq	-1080(%rbp), %r14               ## 8-byte Reload
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_13 Depth 2
	movq	%r14, %rdi
	callq	_readdir
	testq	%rax, %rax
	je	LBB0_18
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rax, %rbx
	movq	_nto_procfs_path@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	(%rbx), %r8
	movq	%r13, %rdi
	movl	$511, %esi                      ## imm = 0x1FF
	leaq	L_.str.1(%rip), %rdx
	callq	_snprintf
	movq	(%rbx), %rdi
	callq	_atoi
	testq	%rax, %rax
	je	LBB0_3
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rax, %r15
	movq	_O_RDONLY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_open
	cmpl	$-1, %eax
	je	LBB0_19
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	%eax, %r14d
	movq	_DCMD_PROC_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edi
	movq	%r13, %rdx
	movl	$512, %ecx                      ## imm = 0x200
	xorl	%r8d, %r8d
	callq	_devctl
	cmpq	(%r12), %rax
	jne	LBB0_20
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	-560(%rbp), %rbx
	movq	_DCMD_PROC_MAPDEBUG_BASE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edi
	movq	%r13, %rdx
	movl	$512, %ecx                      ## imm = 0x200
	xorl	%r8d, %r8d
	callq	_devctl
	leaq	L_.str.4(%rip), %rsi
	cmpq	(%r12), %rax
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	-552(%rbp), %rsi
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	leaq	-1072(%rbp), %rdi
	callq	_strcpy
	movl	$1, -544(%rbp)
	testq	%rbx, %rbx
	jg	LBB0_13
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_13 Depth=2
	testl	%ecx, %ecx
	je	LBB0_15
## %bb.11:                              ##   in Loop: Header=BB0_13 Depth=2
	movslq	%ecx, %rcx
	leaq	L_.str.5(%rip), %rdi
	leaq	-1072(%rbp), %rsi
	movq	%r15, %rdx
	callq	_printf_filtered
	movl	-544(%rbp), %eax
LBB0_12:                                ##   in Loop: Header=BB0_13 Depth=2
	incl	%eax
	movl	%eax, -544(%rbp)
	cltq
	cmpq	%rax, %rbx
	jl	LBB0_2
LBB0_13:                                ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	_DCMD_PROC_TIDSTATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edi
	movq	%r13, %rdx
	movl	$512, %ecx                      ## imm = 0x200
	xorl	%r8d, %r8d
	callq	_devctl
	movl	-544(%rbp), %ecx
	cmpq	(%r12), %rax
	je	LBB0_10
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=2
	testl	%ecx, %ecx
	je	LBB0_10
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_13 Depth=2
	xorl	%eax, %eax
	jmp	LBB0_12
LBB0_16:
	movq	_gdb_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	(%rbx), %r14
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%ebx, %edi
	callq	_safe_strerror
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_24
## %bb.17:
	leaq	L_.str(%rip), %rsi
	movl	%r15d, %edi
	movq	%r14, %rdx
	movl	%ebx, %ecx
	movl	%eax, %r8d
	xorl	%eax, %eax
	addq	$1048, %rsp                     ## imm = 0x418
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_fprintf_unfiltered             ## TAILCALL
LBB0_18:
	movq	%r14, %rdi
	jmp	LBB0_22
LBB0_19:
	movq	_gdb_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%ebx, %edi
	callq	_safe_strerror
	leaq	L_.str.2(%rip), %rsi
	leaq	-560(%rbp), %rdx
	movl	%r14d, %edi
	movl	%ebx, %ecx
	movl	%eax, %r8d
	xorl	%eax, %eax
	callq	_fprintf_unfiltered
	jmp	LBB0_21
LBB0_20:
	movq	_gdb_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movslq	%eax, %rbx
	movl	%ebx, %edi
	callq	_safe_strerror
	leaq	L_.str.3(%rip), %rsi
	movl	%r15d, %edi
	movq	%rbx, %rdx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_fprintf_unfiltered
	movl	%r14d, %edi
	callq	_close
LBB0_21:
	movq	-1080(%rbp), %rdi               ## 8-byte Reload
LBB0_22:
	callq	_closedir
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_24
## %bb.23:
	addq	$1048, %rsp                     ## imm = 0x418
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_24:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_nto_procfs_path,8,3            ## @nto_procfs_path
	.comm	_gdb_stderr,4,2                 ## @gdb_stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"failed to opendir \"%s\" - %d (%s)"

	.comm	_errno,4,2                      ## @errno
L_.str.1:                               ## @.str.1
	.asciz	"%s/%s/as"

	.comm	_O_RDONLY,4,2                   ## @O_RDONLY
L_.str.2:                               ## @.str.2
	.asciz	"failed to open %s - %d (%s)\n"

	.comm	_DCMD_PROC_INFO,4,2             ## @DCMD_PROC_INFO
	.comm	_EOK,8,3                        ## @EOK
L_.str.3:                               ## @.str.3
	.asciz	"devctl DCMD_PROC_INFO failed - %d (%s)\n"

	.comm	_DCMD_PROC_MAPDEBUG_BASE,4,2    ## @DCMD_PROC_MAPDEBUG_BASE
L_.str.4:                               ## @.str.4
	.asciz	"unavailable"

	.comm	_DCMD_PROC_TIDSTATUS,4,2        ## @DCMD_PROC_TIDSTATUS
L_.str.5:                               ## @.str.5
	.asciz	"%s - %d/%d\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_procfs_pidlist                 ; -- Begin function procfs_pidlist
	.p2align	2
_procfs_pidlist:                        ; @procfs_pidlist
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #1056
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
Lloh3:
	adrp	x24, _nto_procfs_path@GOTPAGE
Lloh4:
	ldr	x24, [x24, _nto_procfs_path@GOTPAGEOFF]
	ldr	x0, [x24]
	bl	_opendir
	cbz	x0, LBB0_13
; %bb.1:
	mov	x19, x0
	bl	_rewinddir
Lloh5:
	adrp	x20, l_.str.1@PAGE
Lloh6:
	add	x20, x20, l_.str.1@PAGEOFF
Lloh7:
	adrp	x25, _O_RDONLY@GOTPAGE
Lloh8:
	ldr	x25, [x25, _O_RDONLY@GOTPAGEOFF]
Lloh9:
	adrp	x27, _EOK@GOTPAGE
Lloh10:
	ldr	x27, [x27, _EOK@GOTPAGEOFF]
Lloh11:
	adrp	x26, _DCMD_PROC_TIDSTATUS@GOTPAGE
Lloh12:
	ldr	x26, [x26, _DCMD_PROC_TIDSTATUS@GOTPAGEOFF]
Lloh13:
	adrp	x21, l_.str.5@PAGE
Lloh14:
	add	x21, x21, l_.str.5@PAGEOFF
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x22
	bl	_close
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_10 Depth 2
	mov	x0, x19
	bl	_readdir
	cbz	x0, LBB0_16
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x22, x0
	ldr	x3, [x24]
	ldr	x4, [x0]
	add	x0, sp, #528
	mov	w1, #511
	mov	x2, x20
	bl	_snprintf
	ldr	x0, [x22]
	bl	_atoi
	cbz	x0, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x23, x0
	ldr	w1, [x25]
	add	x0, sp, #528
	bl	_open
	cmn	w0, #1
	b.eq	LBB0_14
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x22, x0
Lloh15:
	adrp	x8, _DCMD_PROC_INFO@GOTPAGE
Lloh16:
	ldr	x8, [x8, _DCMD_PROC_INFO@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	add	x2, sp, #528
	mov	w3, #512
	mov	w4, #0
	bl	_devctl
	ldr	x8, [x27]
	cmp	x0, x8
	b.ne	LBB0_15
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x28, [sp, #528]
Lloh18:
	adrp	x8, _DCMD_PROC_MAPDEBUG_BASE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _DCMD_PROC_MAPDEBUG_BASE@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	add	x2, sp, #528
	mov	x0, x22
	mov	w3, #512
	mov	w4, #0
	bl	_devctl
	ldr	x8, [x27]
	ldr	x9, [sp, #536]
	cmp	x0, x8
Lloh21:
	adrp	x8, l_.str.4@PAGE
Lloh22:
	add	x8, x8, l_.str.4@PAGEOFF
	csel	x1, x9, x8, eq
	add	x0, sp, #16
	bl	_strcpy
	mov	w8, #1
	str	w8, [sp, #544]
	cmp	x28, #1
	b.ge	LBB0_10
	b	LBB0_2
LBB0_8:                                 ;   in Loop: Header=BB0_10 Depth=2
	add	x1, sp, #16
	mov	x0, x21
	mov	x2, x23
	bl	_printf_filtered
	ldr	w8, [sp, #544]
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=2
	add	w8, w8, #1
	str	w8, [sp, #544]
	cmp	x28, w8, sxtw
	b.lt	LBB0_2
LBB0_10:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w1, [x26]
	add	x2, sp, #528
	mov	x0, x22
	mov	w3, #512
	mov	w4, #0
	bl	_devctl
	ldr	x9, [x27]
	ldr	w8, [sp, #544]
	cmp	x0, x9
	ccmp	w8, #0, #4, ne
	b.ne	LBB0_2
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=2
	sxtw	x3, w8
	cbnz	w3, LBB0_8
; %bb.12:                               ;   in Loop: Header=BB0_10 Depth=2
	mov	w8, #0
	b	LBB0_9
LBB0_13:
Lloh23:
	adrp	x8, _gdb_stderr@GOTPAGE
Lloh24:
	ldr	x8, [x8, _gdb_stderr@GOTPAGEOFF]
Lloh25:
	ldr	w19, [x8]
	ldr	x20, [x24]
Lloh26:
	adrp	x8, _errno@GOTPAGE
Lloh27:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh28:
	ldr	w21, [x8]
	mov	x0, x21
	bl	_safe_strerror
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh29:
	adrp	x1, l_.str@PAGE
Lloh30:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x2, x20
	mov	x3, x21
	bl	_fprintf_unfiltered
	b	LBB0_17
LBB0_14:
Lloh31:
	adrp	x8, _gdb_stderr@GOTPAGE
Lloh32:
	ldr	x8, [x8, _gdb_stderr@GOTPAGEOFF]
Lloh33:
	ldr	w20, [x8]
Lloh34:
	adrp	x8, _errno@GOTPAGE
Lloh35:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh36:
	ldr	w21, [x8]
	mov	x0, x21
	bl	_safe_strerror
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh37:
	adrp	x1, l_.str.2@PAGE
Lloh38:
	add	x1, x1, l_.str.2@PAGEOFF
	add	x2, sp, #528
	mov	x0, x20
	mov	x3, x21
	bl	_fprintf_unfiltered
	b	LBB0_16
LBB0_15:
Lloh39:
	adrp	x8, _gdb_stderr@GOTPAGE
Lloh40:
	ldr	x8, [x8, _gdb_stderr@GOTPAGEOFF]
Lloh41:
	ldr	w20, [x8]
Lloh42:
	adrp	x8, _errno@GOTPAGE
Lloh43:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh44:
	ldr	w0, [x8]
	sxtw	x21, w0
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_safe_strerror
	mov	x3, x0
Lloh45:
	adrp	x1, l_.str.3@PAGE
Lloh46:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	mov	x2, x21
	bl	_fprintf_unfiltered
	mov	x0, x22
	bl	_close
LBB0_16:
	mov	x0, x19
	bl	_closedir
LBB0_17:
	ldur	x8, [x29, #-96]
Lloh47:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh48:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh49:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_19
; %bb.18:
	add	sp, sp, #1056
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_19:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.cfi_endproc
                                        ; -- End function
	.comm	_nto_procfs_path,8,3            ; @nto_procfs_path
	.comm	_gdb_stderr,4,2                 ; @gdb_stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"failed to opendir \"%s\" - %d (%s)"

	.comm	_errno,4,2                      ; @errno
l_.str.1:                               ; @.str.1
	.asciz	"%s/%s/as"

	.comm	_O_RDONLY,4,2                   ; @O_RDONLY
l_.str.2:                               ; @.str.2
	.asciz	"failed to open %s - %d (%s)\n"

	.comm	_DCMD_PROC_INFO,4,2             ; @DCMD_PROC_INFO
	.comm	_EOK,8,3                        ; @EOK
l_.str.3:                               ; @.str.3
	.asciz	"devctl DCMD_PROC_INFO failed - %d (%s)\n"

	.comm	_DCMD_PROC_MAPDEBUG_BASE,4,2    ; @DCMD_PROC_MAPDEBUG_BASE
l_.str.4:                               ; @.str.4
	.asciz	"unavailable"

	.comm	_DCMD_PROC_TIDSTATUS,4,2        ; @DCMD_PROC_TIDSTATUS
l_.str.5:                               ; @.str.5
	.asciz	"%s - %d/%d\n"

.subsections_via_symbols
