	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_u_procstates                   ## -- Begin function u_procstates
	.p2align	4, 0x90
_u_procstates:                          ## @u_procstates
	.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	_u_procstates.new(%rip), %rdi
	xorl	%esi, %esi
	callq	_setup_buffer
	movq	%rax, _u_procstates.new(%rip)
	movq	_ltotal@GOTPCREL(%rip), %r12
	cmpl	%r15d, (%r12)
	je	LBB0_9
## %bb.1:
	movq	_x_procstate@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.3:
	movq	_lastline@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	cmpl	$1, (%rax)
	sete	%dil
	callq	_assert
	jmp	LBB0_4
LBB0_2:
	movq	_y_procstate@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edi, %edi
	callq	_Move_to
LBB0_4:
	leaq	L_.str(%rip), %rdi
	movl	%r15d, %esi
	xorl	%eax, %eax
	callq	_printf
	movl	%r15d, %edi
	callq	_digits
	movl	%eax, %ebx
	movl	(%r12), %edi
	callq	_digits
	cmpl	%eax, %ebx
	jne	LBB0_5
LBB0_8:
	movl	%r15d, (%r12)
LBB0_9:
	movq	_lprocstates@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movq	_num_procstates@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	shll	$2, %edx
	movq	%r14, %rsi
	callq	_memcmp
	testq	%rax, %rax
	je	LBB0_10
## %bb.11:
	movq	_u_procstates.new(%rip), %rdi
	movq	_procstate_names@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rsi
	callq	_summary_format
	movq	_procstates_buffer@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_u_procstates.new(%rip), %rsi
	movq	_x_brkdn@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_y_brkdn@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_line_update
	movl	(%r15), %edi
	movl	(%rbx), %edx
	shll	$2, %edx
	movq	%r14, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_memcpy                         ## TAILCALL
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	_ps@GOTPCREL(%rip), %r13
	cmpq	$0, (%r13)
	leaq	L_.str.3(%rip), %rax
	leaq	L_.str.2(%rip), %rsi
	cmoveq	%rax, %rsi
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movl	%r15d, %edi
	callq	_digits
	xorl	%ecx, %ecx
	cmpq	$0, (%r13)
	movl	%eax, %ebx
	setne	%cl
	leal	(%rcx,%rcx), %eax
	addl	$4, %eax
	cmpl	%eax, %ebx
	jge	LBB0_8
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	incl	%ebx
	movl	$32, %edi
	callq	_putchar
	xorl	%eax, %eax
	cmpq	$0, (%r13)
	setne	%al
	addl	%eax, %eax
	addl	$4, %eax
	cmpl	%eax, %ebx
	jl	LBB0_6
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_u_procstates.new,8,3 ## @u_procstates.new
	.comm	_ltotal,4,2                     ## @ltotal
	.comm	_x_procstate,8,3                ## @x_procstate
	.comm	_y_procstate,4,2                ## @y_procstate
	.comm	_lastline,4,2                   ## @lastline
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%d"

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

	.comm	_ps,8,3                         ## @ps
L_.str.2:                               ## @.str.2
	.asciz	"threads"

L_.str.3:                               ## @.str.3
	.asciz	"processes"

	.comm	_lprocstates,4,2                ## @lprocstates
	.comm	_num_procstates,4,2             ## @num_procstates
	.comm	_procstate_names,4,2            ## @procstate_names
	.comm	_procstates_buffer,4,2          ## @procstates_buffer
	.comm	_x_brkdn,4,2                    ## @x_brkdn
	.comm	_y_brkdn,4,2                    ## @y_brkdn
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_u_procstates                   ; -- Begin function u_procstates
	.p2align	2
_u_procstates:                          ; @u_procstates
	.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	x19, x1
	mov	x20, x0
	adrp	x22, _u_procstates.new@PAGE
	ldr	x0, [x22, _u_procstates.new@PAGEOFF]
	mov	w1, #0
	bl	_setup_buffer
	str	x0, [x22, _u_procstates.new@PAGEOFF]
Lloh0:
	adrp	x23, _ltotal@GOTPAGE
Lloh1:
	ldr	x23, [x23, _ltotal@GOTPAGEOFF]
	ldr	w8, [x23]
	cmp	w8, w20
	b.eq	LBB0_9
; %bb.1:
Lloh2:
	adrp	x8, _x_procstate@GOTPAGE
Lloh3:
	ldr	x8, [x8, _x_procstate@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cbz	x8, LBB0_3
; %bb.2:
Lloh5:
	adrp	x8, _lastline@GOTPAGE
Lloh6:
	ldr	x8, [x8, _lastline@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	cmp	w8, #1
	cset	w0, eq
	bl	_assert
	b	LBB0_4
LBB0_3:
Lloh8:
	adrp	x8, _y_procstate@GOTPAGE
Lloh9:
	ldr	x8, [x8, _y_procstate@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, #0
	bl	_Move_to
LBB0_4:
	str	x20, [sp]
Lloh11:
	adrp	x0, l_.str@PAGE
Lloh12:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printf
	mov	x0, x20
	bl	_digits
	mov	x21, x0
	ldr	w0, [x23]
	bl	_digits
	cmp	w21, w0
	b.eq	LBB0_8
; %bb.5:
Lloh13:
	adrp	x24, _ps@GOTPAGE
Lloh14:
	ldr	x24, [x24, _ps@GOTPAGEOFF]
	ldr	x8, [x24]
Lloh15:
	adrp	x9, l_.str.2@PAGE
Lloh16:
	add	x9, x9, l_.str.2@PAGEOFF
Lloh17:
	adrp	x10, l_.str.3@PAGE
Lloh18:
	add	x10, x10, l_.str.3@PAGEOFF
	cmp	x8, #0
	csel	x8, x10, x9, eq
	str	x8, [sp]
Lloh19:
	adrp	x0, l_.str.1@PAGE
Lloh20:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_printf
	mov	x0, x20
	bl	_digits
	ldr	x8, [x24]
	cmp	x8, #0
	mov	w25, #6
	mov	w26, #4
	csel	w8, w26, w25, eq
	cmp	w0, w8
	b.ge	LBB0_8
; %bb.6:
	mov	x21, x0
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	add	w21, w21, #1
	mov	w0, #32
	bl	_putchar
	ldr	x8, [x24]
	cmp	x8, #0
	csel	w8, w26, w25, eq
	cmp	w21, w8
	b.lt	LBB0_7
LBB0_8:
	str	w20, [x23]
LBB0_9:
Lloh21:
	adrp	x20, _lprocstates@GOTPAGE
Lloh22:
	ldr	x20, [x20, _lprocstates@GOTPAGEOFF]
	ldr	w0, [x20]
Lloh23:
	adrp	x21, _num_procstates@GOTPAGE
Lloh24:
	ldr	x21, [x21, _num_procstates@GOTPAGEOFF]
	ldr	w8, [x21]
	lsl	w2, w8, #2
	mov	x1, x19
	bl	_memcmp
	cbz	x0, LBB0_11
; %bb.10:
	ldr	x0, [x22, _u_procstates.new@PAGEOFF]
Lloh25:
	adrp	x8, _procstate_names@GOTPAGE
Lloh26:
	ldr	x8, [x8, _procstate_names@GOTPAGEOFF]
Lloh27:
	ldr	w2, [x8]
	mov	x1, x19
	bl	_summary_format
Lloh28:
	adrp	x8, _procstates_buffer@GOTPAGE
Lloh29:
	ldr	x8, [x8, _procstates_buffer@GOTPAGEOFF]
Lloh30:
	ldr	w0, [x8]
	ldr	x1, [x22, _u_procstates.new@PAGEOFF]
Lloh31:
	adrp	x8, _x_brkdn@GOTPAGE
Lloh32:
	ldr	x8, [x8, _x_brkdn@GOTPAGEOFF]
Lloh33:
	ldr	w2, [x8]
Lloh34:
	adrp	x8, _y_brkdn@GOTPAGE
Lloh35:
	ldr	x8, [x8, _y_brkdn@GOTPAGEOFF]
Lloh36:
	ldr	w3, [x8]
	bl	_line_update
	ldr	w0, [x20]
	ldr	w8, [x21]
	lsl	w2, w8, #2
	mov	x1, x19
	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
	b	_memcpy
LBB0_11:
	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	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_u_procstates.new,8,3 ; @u_procstates.new
	.comm	_ltotal,4,2                     ; @ltotal
	.comm	_x_procstate,8,3                ; @x_procstate
	.comm	_y_procstate,4,2                ; @y_procstate
	.comm	_lastline,4,2                   ; @lastline
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%d"

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

	.comm	_ps,8,3                         ; @ps
l_.str.2:                               ; @.str.2
	.asciz	"threads"

l_.str.3:                               ; @.str.3
	.asciz	"processes"

	.comm	_lprocstates,4,2                ; @lprocstates
	.comm	_num_procstates,4,2             ; @num_procstates
	.comm	_procstate_names,4,2            ; @procstate_names
	.comm	_procstates_buffer,4,2          ; @procstates_buffer
	.comm	_x_brkdn,4,2                    ; @x_brkdn
	.comm	_y_brkdn,4,2                    ; @y_brkdn
.subsections_via_symbols
