	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ## -- Begin function main
	.p2align	4, 0x90
_main:                                  ## @main
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movl	%edi, %r14d
	xorl	%eax, %eax
	callq	_populate_proc_names
	leaq	L_.str(%rip), %rdi
	callq	_getenv
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	%rax, %r13
	movq	(%r15), %rdi
	callq	_strlen
	movl	%eax, %r12d
	movq	%r13, %rdi
	callq	_strlen
                                        ## kill: def $eax killed $eax def $rax
	leal	(%r12,%rax), %edi
	addl	$2, %edi
	callq	_malloc
	movq	%rax, %rbx
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	callq	_assert
	movq	(%r15), %rdx
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	movq	%r13, %rcx
	callq	_sprintf
	leaq	-72(%rbp), %rsi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_wordexp
	testq	%rax, %rax
	jne	LBB0_2
## %bb.4:
	movl	-72(%rbp), %edi
	movq	-64(%rbp), %rsi
	callq	_parse_options
LBB0_5:
	movl	%r14d, %edi
	movq	%r15, %rsi
	callq	_parse_options
	movq	_STDOUT_FILENO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_TIOCGWINSZ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-56(%rbp), %rdx
	callq	_ioctl
	movq	_flag_monitor@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movq	_flag_monitor_continuous@GOTPCREL(%rip), %r15
	orq	(%r15), %rax
	je	LBB0_18
## %bb.6:
	movq	_LC_CTYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	callq	_setlocale
	xorl	%eax, %eax
	callq	_initscr
	movq	_mainwin@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	testq	%rax, %rax
	je	LBB0_7
## %bb.8:
	movq	_flag_throughput@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_10
## %bb.9:
	movq	_throughput_wait_secs@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	jmp	LBB0_11
LBB0_18:
	movq	_throughput_wait_secs@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_set_hlist_size
	leaq	-48(%rbp), %rdi
	callq	_monitor_processes
	jmp	LBB0_19
LBB0_10:
	movl	$1, (%rax)
	movq	_throughput_wait_secs@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	movl	$1, %edi
LBB0_11:
	callq	_set_hlist_size
	movq	_SIGINT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_int_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_signal
	leaq	-48(%rbp), %rbx
	movq	_throughput_wait_secs@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_monitor_processes
	xorl	%eax, %eax
	callq	_refresh
	movq	(%r15), %rax
	movq	-48(%rbp), %rcx
	testq	%rax, %rax
	je	LBB0_15
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=1
	testq	%rcx, %rcx
	jne	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_12 Depth=1
	imull	$1000000, (%r12), %edi          ## imm = 0xF4240
	callq	_usleep
	movq	-48(%rbp), %rcx
	movq	(%r15), %rax
LBB0_15:                                ##   in Loop: Header=BB0_12 Depth=1
	cmpq	$0, (%r14)
	setne	%dl
	testq	%rcx, %rcx
	setne	%cl
	testb	%cl, %dl
	jne	LBB0_12
## %bb.16:                              ##   in Loop: Header=BB0_12 Depth=1
	testq	%rax, %rax
	jne	LBB0_12
## %bb.17:
	xorl	%eax, %eax
	callq	_endwin
LBB0_19:
	xorl	%eax, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_3
LBB0_7:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.4(%rip), %rsi
LBB0_3:
	callq	_fprintf
	movq	_EXIT_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"PROGRESS_ARGS"

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

	.comm	_stderr,4,2                     ## @stderr
L_.str.2:                               ## @.str.2
	.asciz	"Unable to parse PROGRESS_ARGS environment variable.\n"

	.comm	_EXIT_FAILURE,4,2               ## @EXIT_FAILURE
	.comm	_STDOUT_FILENO,4,2              ## @STDOUT_FILENO
	.comm	_TIOCGWINSZ,4,2                 ## @TIOCGWINSZ
	.comm	_flag_monitor,8,3               ## @flag_monitor
	.comm	_flag_monitor_continuous,8,3    ## @flag_monitor_continuous
	.comm	_LC_CTYPE,4,2                   ## @LC_CTYPE
L_.str.3:                               ## @.str.3
	.space	1

	.comm	_mainwin,8,3                    ## @mainwin
L_.str.4:                               ## @.str.4
	.asciz	"Error initialising ncurses.\n"

	.comm	_flag_throughput,4,2            ## @flag_throughput
	.comm	_throughput_wait_secs,4,2       ## @throughput_wait_secs
	.comm	_SIGINT,4,2                     ## @SIGINT
	.comm	_int_handler,4,2                ## @int_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ; -- Begin function main
	.p2align	2
_main:                                  ; @main
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x1
	mov	x20, x0
	bl	_populate_proc_names
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_getenv
	cbz	x0, LBB0_3
; %bb.1:
	mov	x21, x0
	ldr	x0, [x19]
	bl	_strlen
	mov	x22, x0
	mov	x0, x21
	bl	_strlen
	add	w8, w22, w0
	add	w0, w8, #2
	bl	_malloc
	mov	x22, x0
	cmp	x0, #0
	cset	w0, ne
	bl	_assert
	ldr	x2, [x19]
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x22
	mov	x3, x21
	bl	_sprintf
	mov	x1, sp
	mov	x0, x22
	mov	w2, #0
	bl	_wordexp
	cbnz	x0, LBB0_15
; %bb.2:
	ldr	w0, [sp]
	ldr	x1, [sp, #8]
	bl	_parse_options
LBB0_3:
	mov	x0, x20
	mov	x1, x19
	bl	_parse_options
Lloh4:
	adrp	x8, _STDOUT_FILENO@GOTPAGE
Lloh5:
	ldr	x8, [x8, _STDOUT_FILENO@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
Lloh7:
	adrp	x8, _TIOCGWINSZ@GOTPAGE
Lloh8:
	ldr	x8, [x8, _TIOCGWINSZ@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	add	x2, sp, #16
	bl	_ioctl
Lloh10:
	adrp	x19, _flag_monitor@GOTPAGE
Lloh11:
	ldr	x19, [x19, _flag_monitor@GOTPAGEOFF]
	ldr	x8, [x19]
Lloh12:
	adrp	x20, _flag_monitor_continuous@GOTPAGE
Lloh13:
	ldr	x20, [x20, _flag_monitor_continuous@GOTPAGEOFF]
	ldr	x9, [x20]
	orr	x8, x8, x9
	cbz	x8, LBB0_7
; %bb.4:
Lloh14:
	adrp	x8, _LC_CTYPE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _LC_CTYPE@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
Lloh17:
	adrp	x1, l_.str.3@PAGE
Lloh18:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_setlocale
	bl	_initscr
Lloh19:
	adrp	x8, _mainwin@GOTPAGE
Lloh20:
	ldr	x8, [x8, _mainwin@GOTPAGEOFF]
Lloh21:
	str	x0, [x8]
	cbz	x0, LBB0_16
; %bb.5:
Lloh22:
	adrp	x8, _flag_throughput@GOTPAGE
Lloh23:
	ldr	x8, [x8, _flag_throughput@GOTPAGEOFF]
	ldr	w9, [x8]
	cbz	w9, LBB0_8
; %bb.6:
Lloh24:
	adrp	x8, _throughput_wait_secs@GOTPAGE
Lloh25:
	ldr	x8, [x8, _throughput_wait_secs@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
	b	LBB0_9
LBB0_7:
Lloh27:
	adrp	x8, _throughput_wait_secs@GOTPAGE
Lloh28:
	ldr	x8, [x8, _throughput_wait_secs@GOTPAGEOFF]
Lloh29:
	ldr	w0, [x8]
	bl	_set_hlist_size
	add	x0, sp, #24
	bl	_monitor_processes
	b	LBB0_14
LBB0_8:
	mov	w0, #1
	str	w0, [x8]
Lloh30:
	adrp	x8, _throughput_wait_secs@GOTPAGE
Lloh31:
	ldr	x8, [x8, _throughput_wait_secs@GOTPAGEOFF]
Lloh32:
	str	w0, [x8]
LBB0_9:
	bl	_set_hlist_size
Lloh33:
	adrp	x8, _SIGINT@GOTPAGE
Lloh34:
	ldr	x8, [x8, _SIGINT@GOTPAGEOFF]
Lloh35:
	ldr	w0, [x8]
Lloh36:
	adrp	x8, _int_handler@GOTPAGE
Lloh37:
	ldr	x8, [x8, _int_handler@GOTPAGEOFF]
Lloh38:
	ldr	w1, [x8]
	bl	_signal
Lloh39:
	adrp	x21, _throughput_wait_secs@GOTPAGE
Lloh40:
	ldr	x21, [x21, _throughput_wait_secs@GOTPAGEOFF]
	mov	w22, #16960
	movk	w22, #15, lsl #16
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=1
	ldr	x10, [x19]
	cmp	x9, #0
	ccmp	x10, #0, #4, ne
	ccmp	x8, #0, #0, eq
	b.eq	LBB0_13
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #24
	bl	_monitor_processes
	bl	_refresh
	ldr	x8, [x20]
	ldr	x9, [sp, #24]
	cmp	x8, #0
	ccmp	x9, #0, #0, ne
	b.ne	LBB0_10
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	w8, [x21]
	mul	w0, w8, w22
	bl	_usleep
	ldr	x9, [sp, #24]
	ldr	x8, [x20]
	b	LBB0_10
LBB0_13:
	bl	_endwin
LBB0_14:
	mov	w0, #0
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_15:
Lloh41:
	adrp	x8, _stderr@GOTPAGE
Lloh42:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh43:
	ldr	w0, [x8]
Lloh44:
	adrp	x1, l_.str.2@PAGE
Lloh45:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_17
LBB0_16:
Lloh46:
	adrp	x8, _stderr@GOTPAGE
Lloh47:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh48:
	ldr	w0, [x8]
Lloh49:
	adrp	x1, l_.str.4@PAGE
Lloh50:
	add	x1, x1, l_.str.4@PAGEOFF
LBB0_17:
	bl	_fprintf
Lloh51:
	adrp	x8, _EXIT_FAILURE@GOTPAGE
Lloh52:
	ldr	x8, [x8, _EXIT_FAILURE@GOTPAGEOFF]
Lloh53:
	ldr	w0, [x8]
	bl	_exit
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotStr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotStr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpAdd	Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"PROGRESS_ARGS"

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

	.comm	_stderr,4,2                     ; @stderr
l_.str.2:                               ; @.str.2
	.asciz	"Unable to parse PROGRESS_ARGS environment variable.\n"

	.comm	_EXIT_FAILURE,4,2               ; @EXIT_FAILURE
	.comm	_STDOUT_FILENO,4,2              ; @STDOUT_FILENO
	.comm	_TIOCGWINSZ,4,2                 ; @TIOCGWINSZ
	.comm	_flag_monitor,8,3               ; @flag_monitor
	.comm	_flag_monitor_continuous,8,3    ; @flag_monitor_continuous
	.comm	_LC_CTYPE,4,2                   ; @LC_CTYPE
l_.str.3:                               ; @.str.3
	.space	1

	.comm	_mainwin,8,3                    ; @mainwin
l_.str.4:                               ; @.str.4
	.asciz	"Error initialising ncurses.\n"

	.comm	_flag_throughput,4,2            ; @flag_throughput
	.comm	_throughput_wait_secs,4,2       ; @throughput_wait_secs
	.comm	_SIGINT,4,2                     ; @SIGINT
	.comm	_int_handler,4,2                ; @int_handler
.subsections_via_symbols
