	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cmd__progress                  ## -- Begin function cmd__progress
	.p2align	4, 0x90
_cmd__progress:                         ## @cmd__progress
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movl	%edi, %r14d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	$0, -92(%rbp)
	movq	_STRBUF_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -80(%rbp)
	movaps	l___const.cmd__progress.usage(%rip), %xmm0
	movaps	%xmm0, -64(%rbp)
	leaq	L_.str.1(%rip), %rsi
	leaq	L_.str.2(%rip), %rcx
	leaq	-92(%rbp), %rdx
	xorl	%edi, %edi
	callq	_OPT_INTEGER
	movl	%eax, -72(%rbp)
	xorl	%eax, %eax
	callq	_OPT_END
	movl	%eax, -68(%rbp)
	leaq	-72(%rbp), %rcx
	leaq	-64(%rbp), %r8
	movl	%r14d, %edi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	xorl	%r9d, %r9d
	callq	_parse_options
	cmpl	$1, %eax
	je	LBB0_2
## %bb.1:
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_die
LBB0_2:
	movq	(%rbx), %rdi
	movq	_progress_testing@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	movl	-92(%rbp), %esi
	callq	_start_progress
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movq	%rax, -112(%rbp)
	movq	_stdin@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	leaq	-80(%rbp), %rdi
	callq	_strbuf_getline
	movq	_EOF@GOTPCREL(%rip), %r12
	cmpq	(%r12), %rax
	jne	LBB0_3
LBB0_18:
	leaq	-112(%rbp), %rdi
	callq	_stop_progress
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_20
## %bb.19:
	xorl	%eax, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	leaq	L_.str.4(%rip), %r15
	leaq	-88(%rbp), %r14
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	movl	%ebx, %esi
	callq	_display_progress
LBB0_17:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	(%r13), %esi
	leaq	-80(%rbp), %rdi
	callq	_strbuf_getline
	cmpq	(%r12), %rax
	je	LBB0_18
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	-80(%rbp), %edi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_skip_prefix
	testq	%rax, %rax
	je	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	-88(%rbp), %rdi
	movq	%r14, %rsi
	movl	$10, %edx
	callq	_strtoull
	movl	%eax, %ebx
	movq	-88(%rbp), %rax
	cmpb	$0, (%rax)
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	-80(%rbp), %esi
	leaq	L_.str.5(%rip), %rdi
	xorl	%eax, %eax
	callq	_die
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	movl	-80(%rbp), %edi
	leaq	L_.str.6(%rip), %rsi
	movq	%r14, %rdx
	callq	_skip_prefix
	testq	%rax, %rax
	je	LBB0_14
## %bb.9:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%r12, %r15
	movq	%r13, %r12
	movq	-88(%rbp), %rdi
	movq	%r14, %rsi
	movl	$10, %edx
	callq	_strtoull
	movl	%eax, %r13d
	movq	-88(%rbp), %rdi
	cmpb	$32, (%rdi)
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_4 Depth=1
	movl	-80(%rbp), %esi
	leaq	L_.str.5(%rip), %rdi
	xorl	%eax, %eax
	callq	_die
	movq	-88(%rbp), %rdi
LBB0_11:                                ##   in Loop: Header=BB0_4 Depth=1
	incq	%rdi
	movq	%r14, %rsi
	movl	$10, %edx
	callq	_strtoull
	movl	%eax, %ebx
	movq	-88(%rbp), %rax
	cmpb	$0, (%rax)
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_4 Depth=1
	movl	-80(%rbp), %esi
	leaq	L_.str.5(%rip), %rdi
	xorl	%eax, %eax
	callq	_die
LBB0_13:                                ##   in Loop: Header=BB0_4 Depth=1
	imull	$1000000, %ebx, %eax            ## imm = 0xF4240
	movq	_progress_test_ns@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	movl	%r13d, %esi
	callq	_display_throughput
	movq	%r12, %r13
	movq	%r15, %r12
	leaq	L_.str.4(%rip), %r15
	jmp	LBB0_17
LBB0_14:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	-80(%rbp), %edi
	leaq	L_.str.7(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_15
## %bb.16:                              ##   in Loop: Header=BB0_4 Depth=1
	movl	-80(%rbp), %esi
	leaq	L_.str.5(%rip), %rdi
	xorl	%eax, %eax
	callq	_die
	jmp	LBB0_17
LBB0_15:                                ##   in Loop: Header=BB0_4 Depth=1
	xorl	%eax, %eax
	callq	_progress_test_force_update
	jmp	LBB0_17
LBB0_20:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_STRBUF_INIT,4,2                ## @STRBUF_INIT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"test-tool progress [--total=<n>] <progress-title>"

	.section	__DATA,__const
	.p2align	4                               ## @__const.cmd__progress.usage
l___const.cmd__progress.usage:
	.quad	L_.str
	.quad	0

	.section	__TEXT,__cstring,cstring_literals
L_.str.1:                               ## @.str.1
	.asciz	"total"

L_.str.2:                               ## @.str.2
	.asciz	"total number of items"

L_.str.3:                               ## @.str.3
	.asciz	"need a title for the progress output"

	.comm	_progress_testing,4,2           ## @progress_testing
	.comm	_stdin,4,2                      ## @stdin
	.comm	_EOF,8,3                        ## @EOF
L_.str.4:                               ## @.str.4
	.asciz	"progress "

L_.str.5:                               ## @.str.5
	.asciz	"invalid input: '%s'\n"

L_.str.6:                               ## @.str.6
	.asciz	"throughput "

	.comm	_progress_test_ns,4,2           ## @progress_test_ns
L_.str.7:                               ## @.str.7
	.asciz	"update"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cmd__progress                  ; -- Begin function cmd__progress
	.p2align	2
_cmd__progress:                         ; @cmd__progress
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x28, x27, [sp, #80]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #72]
	str	wzr, [sp, #36]
Lloh3:
	adrp	x8, _STRBUF_INIT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _STRBUF_INIT@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [sp, #32]
Lloh6:
	adrp	x8, l___const.cmd__progress.usage@PAGE
Lloh7:
	add	x8, x8, l___const.cmd__progress.usage@PAGEOFF
Lloh8:
	ldr	q0, [x8]
	str	q0, [sp, #48]
Lloh9:
	adrp	x1, l_.str.1@PAGE
Lloh10:
	add	x1, x1, l_.str.1@PAGEOFF
Lloh11:
	adrp	x3, l_.str.2@PAGE
Lloh12:
	add	x3, x3, l_.str.2@PAGEOFF
	add	x2, sp, #36
	mov	w0, #0
	bl	_OPT_INTEGER
	str	w0, [sp, #40]
	bl	_OPT_END
	str	w0, [sp, #44]
	add	x3, sp, #40
	add	x4, sp, #48
	mov	x0, x20
	mov	x1, x19
	mov	x2, #0
	mov	w5, #0
	bl	_parse_options
	cmp	w0, #1
	b.eq	LBB0_2
; %bb.1:
Lloh13:
	adrp	x0, l_.str.3@PAGE
Lloh14:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_die
LBB0_2:
	ldr	x0, [x19]
Lloh15:
	adrp	x8, _progress_testing@GOTPAGE
Lloh16:
	ldr	x8, [x8, _progress_testing@GOTPAGEOFF]
	mov	w9, #1
Lloh17:
	str	w9, [x8]
	ldr	w1, [sp, #36]
	bl	_start_progress
	mov	x19, x0
	str	x0, [sp, #24]
Lloh18:
	adrp	x26, _stdin@GOTPAGE
Lloh19:
	ldr	x26, [x26, _stdin@GOTPAGEOFF]
	ldr	w1, [x26]
	add	x0, sp, #32
	bl	_strbuf_getline
Lloh20:
	adrp	x27, _EOF@GOTPAGE
Lloh21:
	ldr	x27, [x27, _EOF@GOTPAGEOFF]
	ldr	x8, [x27]
	cmp	x0, x8
	b.ne	LBB0_5
LBB0_3:
	add	x0, sp, #24
	bl	_stop_progress
	ldr	x8, [sp, #72]
Lloh22:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh23:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh24:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_20
; %bb.4:
	mov	w0, #0
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
LBB0_5:
Lloh25:
	adrp	x20, l_.str.4@PAGE
Lloh26:
	add	x20, x20, l_.str.4@PAGEOFF
Lloh27:
	adrp	x21, l_.str.6@PAGE
Lloh28:
	add	x21, x21, l_.str.6@PAGEOFF
	mov	w28, #16960
	movk	w28, #15, lsl #16
Lloh29:
	adrp	x22, _progress_test_ns@GOTPAGE
Lloh30:
	ldr	x22, [x22, _progress_test_ns@GOTPAGEOFF]
Lloh31:
	adrp	x23, l_.str.5@PAGE
Lloh32:
	add	x23, x23, l_.str.5@PAGEOFF
	b	LBB0_8
LBB0_6:                                 ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x19
	mov	x1, x24
	bl	_display_progress
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	ldr	w1, [x26]
	add	x0, sp, #32
	bl	_strbuf_getline
	ldr	x8, [x27]
	cmp	x0, x8
	b.eq	LBB0_3
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [sp, #32]
	add	x2, sp, #16
	mov	x1, x20
	bl	_skip_prefix
	cbz	x0, LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x0, [sp, #16]
	add	x1, sp, #16
	mov	w2, #10
	bl	_strtoull
	mov	x24, x0
	ldr	x8, [sp, #16]
	ldrb	w8, [x8]
	cbz	w8, LBB0_6
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	w8, [sp, #32]
	str	x8, [sp]
	mov	x0, x23
	bl	_die
	b	LBB0_6
LBB0_11:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	w0, [sp, #32]
	add	x2, sp, #16
	mov	x1, x21
	bl	_skip_prefix
	cbz	x0, LBB0_17
; %bb.12:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	x0, [sp, #16]
	add	x1, sp, #16
	mov	w2, #10
	bl	_strtoull
	mov	x24, x0
	ldr	x8, [sp, #16]
	ldrb	w9, [x8]
	cmp	w9, #32
	b.eq	LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	w8, [sp, #32]
	str	x8, [sp]
	mov	x0, x23
	bl	_die
	ldr	x8, [sp, #16]
LBB0_14:                                ;   in Loop: Header=BB0_8 Depth=1
	add	x0, x8, #1
	add	x1, sp, #16
	mov	w2, #10
	bl	_strtoull
	mov	x25, x0
	ldr	x8, [sp, #16]
	ldrb	w8, [x8]
	cbz	w8, LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	w8, [sp, #32]
	str	x8, [sp]
	mov	x0, x23
	bl	_die
LBB0_16:                                ;   in Loop: Header=BB0_8 Depth=1
	mul	w8, w25, w28
	str	w8, [x22]
	mov	x0, x19
	mov	x1, x24
	bl	_display_throughput
	b	LBB0_7
LBB0_17:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	w0, [sp, #32]
Lloh33:
	adrp	x1, l_.str.7@PAGE
Lloh34:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_strcmp
	cbz	w0, LBB0_19
; %bb.18:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	w8, [sp, #32]
	str	x8, [sp]
	mov	x0, x23
	bl	_die
	b	LBB0_7
LBB0_19:                                ;   in Loop: Header=BB0_8 Depth=1
	bl	_progress_test_force_update
	b	LBB0_7
LBB0_20:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAddLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotStr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh33, Lloh34
	.cfi_endproc
                                        ; -- End function
	.comm	_STRBUF_INIT,4,2                ; @STRBUF_INIT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"test-tool progress [--total=<n>] <progress-title>"

	.section	__DATA,__const
	.p2align	3                               ; @__const.cmd__progress.usage
l___const.cmd__progress.usage:
	.quad	l_.str
	.quad	0

	.section	__TEXT,__cstring,cstring_literals
l_.str.1:                               ; @.str.1
	.asciz	"total"

l_.str.2:                               ; @.str.2
	.asciz	"total number of items"

l_.str.3:                               ; @.str.3
	.asciz	"need a title for the progress output"

	.comm	_progress_testing,4,2           ; @progress_testing
	.comm	_stdin,4,2                      ; @stdin
	.comm	_EOF,8,3                        ; @EOF
l_.str.4:                               ; @.str.4
	.asciz	"progress "

l_.str.5:                               ; @.str.5
	.asciz	"invalid input: '%s'\n"

l_.str.6:                               ; @.str.6
	.asciz	"throughput "

	.comm	_progress_test_ns,4,2           ; @progress_test_ns
l_.str.7:                               ; @.str.7
	.asciz	"update"

.subsections_via_symbols
