	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_do_fstat                       ## -- Begin function do_fstat
	.p2align	4, 0x90
_do_fstat:                              ## @do_fstat
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movl	%edi, %r15d
	movq	_KERN_PROC_PROC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_memf@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_nlistf@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	leaq	L_.str(%rip), %rdx
	callq	_getopt
	cmpl	$-1, %eax
	je	LBB0_1
## %bb.2:
	leaq	L_.str(%rip), %r13
	leaq	LJTI0_0(%rip), %r12
	xorl	%ebx, %ebx
	jmp	LBB0_3
LBB0_22:                                ##   in Loop: Header=BB0_3 Depth=1
	xorl	%eax, %eax
	callq	_usage
	.p2align	4, 0x90
LBB0_23:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	%r15d, %edi
	movq	%r14, %rsi
	movq	%r13, %rdx
	callq	_getopt
	cmpl	$-1, %eax
	je	LBB0_24
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movsbl	%al, %eax
	addl	$-77, %eax
	cmpl	$41, %eax
	ja	LBB0_22
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movslq	(%r12,%rax,4), %rax
	addq	%r12, %rax
	jmpq	*%rax
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	_optarg@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_memf@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	jmp	LBB0_23
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	_optarg@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_nlistf@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	jmp	LBB0_23
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	_fsflg@GOTPCREL(%rip), %rax
	movq	$1, (%rax)
	jmp	LBB0_23
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	_mflg@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	jmp	LBB0_23
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	_nflg@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	jmp	LBB0_23
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_pflg@GOTPCREL(%rip), %rdx
	movl	(%rdx), %eax
	leal	1(%rax), %ecx
	movl	%ecx, (%rdx)
	testl	%eax, %eax
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_3 Depth=1
	xorl	%eax, %eax
	callq	_usage
LBB0_12:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_optarg@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movl	(%rdi), %eax
	addl	$-48, %eax
	cmpl	$10, %eax
	jb	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_3 Depth=1
	leaq	L_.str.1(%rip), %rdi
	callq	_warnx
	xorl	%eax, %eax
	callq	_usage
	movq	_optarg@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
LBB0_14:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_KERN_PROC_PID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	callq	_atoi
	movl	%eax, %ebx
	jmp	LBB0_23
LBB0_15:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_sflg@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	jmp	LBB0_23
LBB0_16:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_uflg@GOTPCREL(%rip), %rdx
	movl	(%rdx), %eax
	leal	1(%rax), %ecx
	movl	%ecx, (%rdx)
	testl	%eax, %eax
	je	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_3 Depth=1
	xorl	%eax, %eax
	callq	_usage
LBB0_18:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_optarg@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_getpwnam
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	_optarg@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movl	$1, %edi
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_errx
LBB0_20:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_KERN_PROC_UID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	(%rbx), %ebx
	jmp	LBB0_23
LBB0_21:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_vflg@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	jmp	LBB0_23
LBB0_1:
	xorl	%ebx, %ebx
LBB0_24:
	movl	%ebx, %r12d
	movq	_optind@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movq	(%r14,%rax,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_31
## %bb.25:
	leaq	(%r14,%rax,8), %rbx
	addq	$8, %rbx
	movq	_checkfile@GOTPCREL(%rip), %r14
	jmp	LBB0_26
	.p2align	4, 0x90
LBB0_28:                                ##   in Loop: Header=BB0_26 Depth=1
	movq	(%rbx), %rdi
	addq	$8, %rbx
	testq	%rdi, %rdi
	je	LBB0_29
LBB0_26:                                ## =>This Inner Loop Header: Depth=1
	callq	_getfname
	testq	%rax, %rax
	je	LBB0_28
## %bb.27:                              ##   in Loop: Header=BB0_26 Depth=1
	movl	$1, (%r14)
	jmp	LBB0_28
LBB0_29:
	cmpl	$0, (%r14)
	jne	LBB0_35
LBB0_30:
	movl	$1, %edi
	callq	_exit
LBB0_31:
	movq	_fsflg@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_35
## %bb.32:
	movq	_checkfile@GOTPCREL(%rip), %rbx
	cmpl	$0, (%rbx)
	jne	LBB0_35
## %bb.33:
	leaq	L_.str.3(%rip), %rdi
	callq	_getfname
	testq	%rax, %rax
	je	LBB0_30
## %bb.34:
	movl	$1, (%rbx)
LBB0_35:
	movq	_memf@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	testq	%rsi, %rsi
	je	LBB0_37
## %bb.36:
	movq	_nlistf@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_procstat_open_kvm
	jmp	LBB0_38
LBB0_37:
	xorl	%eax, %eax
	callq	_procstat_open_sysctl
LBB0_38:
	movq	%rax, %r15
	movl	%r12d, %ebx
	testq	%rax, %rax
	jne	LBB0_40
## %bb.39:
	leaq	L_.str.4(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	callq	_errx
LBB0_40:
	leaq	-48(%rbp), %rcx
	movq	%r15, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	%ebx, %edx
	callq	_procstat_getprocs
	movq	%rax, %r14
	testq	%rax, %rax
	jne	LBB0_42
## %bb.41:
	leaq	L_.str.5(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	callq	_errx
LBB0_42:
	movq	_nflg@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	leaq	L_.str.8(%rip), %rax
	leaq	L_.str.7(%rip), %rsi
	cmoveq	%rax, %rsi
	leaq	L_.str.6(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movq	_checkfile@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_45
## %bb.43:
	movq	_fsflg@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_45
## %bb.44:
	leaq	L_str(%rip), %rdi
	callq	_puts
	jmp	LBB0_46
LBB0_45:
	movl	$10, %edi
	callq	_putchar
LBB0_46:
	movl	-48(%rbp), %eax
	testl	%eax, %eax
	jle	LBB0_51
## %bb.47:
	xorl	%r12d, %r12d
	movq	_SZOMB@GOTPCREL(%rip), %r13
	movq	%r14, %rbx
	jmp	LBB0_48
	.p2align	4, 0x90
LBB0_50:                                ##   in Loop: Header=BB0_48 Depth=1
	incq	%r12
	movslq	%eax, %rcx
	addq	$8, %rbx
	cmpq	%rcx, %r12
	jge	LBB0_51
LBB0_48:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rcx
	cmpq	(%r13), %rcx
	je	LBB0_50
## %bb.49:                              ##   in Loop: Header=BB0_48 Depth=1
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_dofiles
	movl	-48(%rbp), %eax
	jmp	LBB0_50
LBB0_51:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_procstat_freeprocs
	movq	%r15, %rdi
	callq	_procstat_close
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_22, LBB0_22-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_21, LBB0_21-LJTI0_0
LJTI0_0:
	.long	L0_0_set_6
	.long	L0_0_set_7
	.long	L0_0_set_22
	.long	L0_0_set_22
	.long	L0_0_set_22
	.long	L0_0_set_22
	.long	L0_0_set_22
	.long	L0_0_set_22
	.long	L0_0_set_22
	.long	L0_0_set_22
	.long	L0_0_set_22
	.long	L0_0_set_22
	.long	L0_0_set_22
	.long	L0_0_set_22
	.long	L0_0_set_22
	.long	L0_0_set_22
	.long	L0_0_set_22
	.long	L0_0_set_22
	.long	L0_0_set_22
	.long	L0_0_set_22
	.long	L0_0_set_22
	.long	L0_0_set_22
	.long	L0_0_set_22
	.long	L0_0_set_22
	.long	L0_0_set_22
	.long	L0_0_set_5
	.long	L0_0_set_22
	.long	L0_0_set_22
	.long	L0_0_set_22
	.long	L0_0_set_22
	.long	L0_0_set_22
	.long	L0_0_set_22
	.long	L0_0_set_8
	.long	L0_0_set_9
	.long	L0_0_set_22
	.long	L0_0_set_10
	.long	L0_0_set_22
	.long	L0_0_set_22
	.long	L0_0_set_15
	.long	L0_0_set_22
	.long	L0_0_set_16
	.long	L0_0_set_21
	.end_data_region
                                        ## -- End function
	.comm	_KERN_PROC_PROC,4,2             ## @KERN_PROC_PROC
	.comm	_memf,8,3                       ## @memf
	.comm	_nlistf,8,3                     ## @nlistf
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"fmnp:su:vN:M:"

	.comm	_fsflg,8,3                      ## @fsflg
	.comm	_optarg,8,3                     ## @optarg
	.comm	_mflg,4,2                       ## @mflg
	.comm	_nflg,4,2                       ## @nflg
	.comm	_pflg,4,2                       ## @pflg
L_.str.1:                               ## @.str.1
	.asciz	"-p requires a process id"

	.comm	_KERN_PROC_PID,4,2              ## @KERN_PROC_PID
	.comm	_sflg,4,2                       ## @sflg
	.comm	_uflg,4,2                       ## @uflg
L_.str.2:                               ## @.str.2
	.asciz	"%s: unknown uid"

	.comm	_KERN_PROC_UID,4,2              ## @KERN_PROC_UID
	.comm	_vflg,4,2                       ## @vflg
	.comm	_optind,4,2                     ## @optind
	.comm	_checkfile,4,2                  ## @checkfile
L_.str.3:                               ## @.str.3
	.asciz	"."

L_.str.4:                               ## @.str.4
	.asciz	"procstat_open()"

L_.str.5:                               ## @.str.5
	.asciz	"procstat_getprocs()"

L_.str.6:                               ## @.str.6
	.asciz	"%s"

L_.str.7:                               ## @.str.7
	.asciz	"USER     CMD          PID   FD  DEV    INUM       MODE SZ|DV R/W"

L_.str.8:                               ## @.str.8
	.asciz	"USER     CMD          PID   FD MOUNT      INUM MODE         SZ|DV R/W"

	.comm	_SZOMB,8,3                      ## @SZOMB
L_str:                                  ## @str
	.asciz	" NAME"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_do_fstat                       ; -- Begin function do_fstat
	.p2align	2
_do_fstat:                              ; @do_fstat
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	mov	x20, x1
	mov	x22, x0
Lloh0:
	adrp	x8, _KERN_PROC_PROC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _KERN_PROC_PROC@GOTPAGEOFF]
Lloh2:
	ldr	w19, [x8]
Lloh3:
	adrp	x8, _memf@GOTPAGE
Lloh4:
	ldr	x8, [x8, _memf@GOTPAGEOFF]
Lloh5:
	str	xzr, [x8]
Lloh6:
	adrp	x8, _nlistf@GOTPAGE
Lloh7:
	ldr	x8, [x8, _nlistf@GOTPAGEOFF]
Lloh8:
	str	xzr, [x8]
Lloh9:
	adrp	x2, l_.str@PAGE
Lloh10:
	add	x2, x2, l_.str@PAGEOFF
	bl	_getopt
	cmn	w0, #1
	b.eq	LBB0_23
; %bb.1:
	mov	w21, #0
Lloh11:
	adrp	x24, _optarg@GOTPAGE
Lloh12:
	ldr	x24, [x24, _optarg@GOTPAGEOFF]
	mov	w26, #1
Lloh13:
	adrp	x23, l_.str@PAGE
Lloh14:
	add	x23, x23, l_.str@PAGEOFF
Lloh15:
	adrp	x27, _pflg@GOTPAGE
Lloh16:
	ldr	x27, [x27, _pflg@GOTPAGEOFF]
Lloh17:
	adrp	x28, lJTI0_0@PAGE
Lloh18:
	add	x28, x28, lJTI0_0@PAGEOFF
Lloh19:
	adrp	x25, _uflg@GOTPAGE
Lloh20:
	ldr	x25, [x25, _uflg@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	bl	_usage
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x22
	mov	x1, x20
	mov	x2, x23
	bl	_getopt
	cmn	w0, #1
	b.eq	LBB0_24
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	sxtb	w8, w0
	sub	w8, w8, #77
	cmp	w8, #41
	b.hi	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	adr	x9, LBB0_2
	ldrb	w10, [x28, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x24]
Lloh21:
	adrp	x9, _memf@GOTPAGE
Lloh22:
	ldr	x9, [x9, _memf@GOTPAGEOFF]
Lloh23:
	str	x8, [x9]
	b	LBB0_3
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x24]
Lloh24:
	adrp	x9, _nlistf@GOTPAGE
Lloh25:
	ldr	x9, [x9, _nlistf@GOTPAGEOFF]
Lloh26:
	str	x8, [x9]
	b	LBB0_3
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
Lloh27:
	adrp	x8, _fsflg@GOTPAGE
Lloh28:
	ldr	x8, [x8, _fsflg@GOTPAGEOFF]
Lloh29:
	str	x26, [x8]
	b	LBB0_3
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
Lloh30:
	adrp	x8, _mflg@GOTPAGE
Lloh31:
	ldr	x8, [x8, _mflg@GOTPAGEOFF]
Lloh32:
	str	w26, [x8]
	b	LBB0_3
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh33:
	adrp	x8, _nflg@GOTPAGE
Lloh34:
	ldr	x8, [x8, _nflg@GOTPAGEOFF]
Lloh35:
	str	w26, [x8]
	b	LBB0_3
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x27]
	add	w9, w8, #1
	str	w9, [x27]
	cbz	w8, LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_4 Depth=1
	bl	_usage
LBB0_13:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [x24]
	ldr	w8, [x0]
	sub	w8, w8, #48
	cmp	w8, #10
	b.lo	LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_4 Depth=1
Lloh36:
	adrp	x0, l_.str.1@PAGE
Lloh37:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_warnx
	bl	_usage
	ldr	x0, [x24]
LBB0_15:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh38:
	adrp	x8, _KERN_PROC_PID@GOTPAGE
Lloh39:
	ldr	x8, [x8, _KERN_PROC_PID@GOTPAGEOFF]
Lloh40:
	ldr	w19, [x8]
	bl	_atoi
	mov	x21, x0
	b	LBB0_3
LBB0_16:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh41:
	adrp	x8, _sflg@GOTPAGE
Lloh42:
	ldr	x8, [x8, _sflg@GOTPAGEOFF]
Lloh43:
	str	w26, [x8]
	b	LBB0_3
LBB0_17:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x25]
	add	w9, w8, #1
	str	w9, [x25]
	cbz	w8, LBB0_19
; %bb.18:                               ;   in Loop: Header=BB0_4 Depth=1
	bl	_usage
LBB0_19:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [x24]
	bl	_getpwnam
	mov	x21, x0
	cbnz	x0, LBB0_21
; %bb.20:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x24]
	str	x8, [sp]
	mov	w0, #1
Lloh44:
	adrp	x1, l_.str.2@PAGE
Lloh45:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_errx
LBB0_21:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh46:
	adrp	x8, _KERN_PROC_UID@GOTPAGE
Lloh47:
	ldr	x8, [x8, _KERN_PROC_UID@GOTPAGEOFF]
Lloh48:
	ldr	w19, [x8]
	ldr	w21, [x21]
	b	LBB0_3
LBB0_22:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh49:
	adrp	x8, _vflg@GOTPAGE
Lloh50:
	ldr	x8, [x8, _vflg@GOTPAGEOFF]
Lloh51:
	str	w26, [x8]
	b	LBB0_3
LBB0_23:
	mov	w21, #0
LBB0_24:
Lloh52:
	adrp	x8, _optind@GOTPAGE
Lloh53:
	ldr	x8, [x8, _optind@GOTPAGEOFF]
Lloh54:
	ldrsw	x8, [x8]
	ldr	x0, [x20, x8, lsl #3]
Lloh55:
	adrp	x22, _checkfile@GOTPAGE
Lloh56:
	ldr	x22, [x22, _checkfile@GOTPAGEOFF]
	cbz	x0, LBB0_31
; %bb.25:
	add	x8, x20, x8, lsl #3
	add	x20, x8, #8
	mov	w23, #1
	b	LBB0_27
LBB0_26:                                ;   in Loop: Header=BB0_27 Depth=1
	ldr	x0, [x20], #8
	cbz	x0, LBB0_29
LBB0_27:                                ; =>This Inner Loop Header: Depth=1
	bl	_getfname
	cbz	x0, LBB0_26
; %bb.28:                               ;   in Loop: Header=BB0_27 Depth=1
	str	w23, [x22]
	b	LBB0_26
LBB0_29:
	ldr	w8, [x22]
	cbnz	w8, LBB0_34
LBB0_30:
	mov	w0, #1
	bl	_exit
LBB0_31:
	ldr	w8, [x22]
Lloh57:
	adrp	x9, _fsflg@GOTPAGE
Lloh58:
	ldr	x9, [x9, _fsflg@GOTPAGEOFF]
Lloh59:
	ldr	x9, [x9]
	cmp	x9, #0
	ccmp	w8, #0, #0, ne
	b.ne	LBB0_34
; %bb.32:
Lloh60:
	adrp	x0, l_.str.3@PAGE
Lloh61:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_getfname
	cbz	x0, LBB0_30
; %bb.33:
	mov	w8, #1
	str	w8, [x22]
LBB0_34:
Lloh62:
	adrp	x8, _memf@GOTPAGE
Lloh63:
	ldr	x8, [x8, _memf@GOTPAGEOFF]
Lloh64:
	ldr	x1, [x8]
	cbz	x1, LBB0_49
; %bb.35:
Lloh65:
	adrp	x8, _nlistf@GOTPAGE
Lloh66:
	ldr	x8, [x8, _nlistf@GOTPAGEOFF]
Lloh67:
	ldr	x0, [x8]
	bl	_procstat_open_kvm
	mov	x20, x0
	cbnz	x0, LBB0_37
LBB0_36:
Lloh68:
	adrp	x1, l_.str.4@PAGE
Lloh69:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	w0, #1
	bl	_errx
LBB0_37:
	add	x3, sp, #12
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	bl	_procstat_getprocs
	mov	x19, x0
	cbnz	x0, LBB0_39
; %bb.38:
Lloh70:
	adrp	x1, l_.str.5@PAGE
Lloh71:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	w0, #1
	bl	_errx
LBB0_39:
Lloh72:
	adrp	x8, _nflg@GOTPAGE
Lloh73:
	ldr	x8, [x8, _nflg@GOTPAGEOFF]
Lloh74:
	ldr	w8, [x8]
Lloh75:
	adrp	x9, l_.str.7@PAGE
Lloh76:
	add	x9, x9, l_.str.7@PAGEOFF
Lloh77:
	adrp	x10, l_.str.8@PAGE
Lloh78:
	add	x10, x10, l_.str.8@PAGEOFF
	cmp	w8, #0
	csel	x8, x10, x9, eq
	str	x8, [sp]
Lloh79:
	adrp	x0, l_.str.6@PAGE
Lloh80:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_printf
	ldr	w8, [x22]
	cbz	w8, LBB0_42
; %bb.40:
Lloh81:
	adrp	x8, _fsflg@GOTPAGE
Lloh82:
	ldr	x8, [x8, _fsflg@GOTPAGEOFF]
Lloh83:
	ldr	x8, [x8]
	cbnz	x8, LBB0_42
; %bb.41:
Lloh84:
	adrp	x0, l_str@PAGE
Lloh85:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
	b	LBB0_43
LBB0_42:
	mov	w0, #10
	bl	_putchar
LBB0_43:
	ldr	w8, [sp, #12]
	cmp	w8, #1
	b.lt	LBB0_48
; %bb.44:
	mov	x22, #0
Lloh86:
	adrp	x23, _SZOMB@GOTPAGE
Lloh87:
	ldr	x23, [x23, _SZOMB@GOTPAGEOFF]
	mov	x21, x19
	b	LBB0_46
LBB0_45:                                ;   in Loop: Header=BB0_46 Depth=1
	add	x22, x22, #1
	add	x21, x21, #8
	cmp	x22, w8, sxtw
	b.ge	LBB0_48
LBB0_46:                                ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x21]
	ldr	x10, [x23]
	cmp	x9, x10
	b.eq	LBB0_45
; %bb.47:                               ;   in Loop: Header=BB0_46 Depth=1
	mov	x0, x20
	mov	x1, x21
	bl	_dofiles
	ldr	w8, [sp, #12]
	b	LBB0_45
LBB0_48:
	mov	x0, x20
	mov	x1, x19
	bl	_procstat_freeprocs
	mov	x0, x20
	bl	_procstat_close
	mov	w0, #0
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_49:
	bl	_procstat_open_sysctl
	mov	x20, x0
	cbnz	x0, LBB0_37
	b	LBB0_36
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotStr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotStr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotStr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotStr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotStr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotStr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotStr	Lloh33, Lloh34, Lloh35
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotStr	Lloh41, Lloh42, Lloh43
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotStr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGot	Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpAdd	Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpAdd	Lloh68, Lloh69
	.loh AdrpAdd	Lloh70, Lloh71
	.loh AdrpAdd	Lloh79, Lloh80
	.loh AdrpAdd	Lloh77, Lloh78
	.loh AdrpAdd	Lloh75, Lloh76
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh81, Lloh82, Lloh83
	.loh AdrpAdd	Lloh84, Lloh85
	.loh AdrpLdrGot	Lloh86, Lloh87
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_11-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_16-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_17-LBB0_2)>>2
	.byte	(LBB0_22-LBB0_2)>>2
                                        ; -- End function
	.comm	_KERN_PROC_PROC,4,2             ; @KERN_PROC_PROC
	.comm	_memf,8,3                       ; @memf
	.comm	_nlistf,8,3                     ; @nlistf
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"fmnp:su:vN:M:"

	.comm	_fsflg,8,3                      ; @fsflg
	.comm	_optarg,8,3                     ; @optarg
	.comm	_mflg,4,2                       ; @mflg
	.comm	_nflg,4,2                       ; @nflg
	.comm	_pflg,4,2                       ; @pflg
l_.str.1:                               ; @.str.1
	.asciz	"-p requires a process id"

	.comm	_KERN_PROC_PID,4,2              ; @KERN_PROC_PID
	.comm	_sflg,4,2                       ; @sflg
	.comm	_uflg,4,2                       ; @uflg
l_.str.2:                               ; @.str.2
	.asciz	"%s: unknown uid"

	.comm	_KERN_PROC_UID,4,2              ; @KERN_PROC_UID
	.comm	_vflg,4,2                       ; @vflg
	.comm	_optind,4,2                     ; @optind
	.comm	_checkfile,4,2                  ; @checkfile
l_.str.3:                               ; @.str.3
	.asciz	"."

l_.str.4:                               ; @.str.4
	.asciz	"procstat_open()"

l_.str.5:                               ; @.str.5
	.asciz	"procstat_getprocs()"

l_.str.6:                               ; @.str.6
	.asciz	"%s"

l_.str.7:                               ; @.str.7
	.asciz	"USER     CMD          PID   FD  DEV    INUM       MODE SZ|DV R/W"

l_.str.8:                               ; @.str.8
	.asciz	"USER     CMD          PID   FD MOUNT      INUM MODE         SZ|DV R/W"

	.comm	_SZOMB,8,3                      ; @SZOMB
l_str:                                  ; @str
	.asciz	" NAME"

.subsections_via_symbols
