	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function progress_flush
_progress_flush:                        ## @progress_flush
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_progress_started@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_22
## %bb.1:
	movq	_verbosity@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_V_VERBOSE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jl	LBB0_22
## %bb.2:
	movl	%edi, %ebx
	leaq	-64(%rbp), %rdi
	leaq	-56(%rbp), %rsi
	leaq	-48(%rbp), %rdx
	callq	_progress_pos
	movq	_progress_active@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	orl	%ebx, %ecx
	jne	LBB0_5
## %bb.3:
	cmpq	$0, -56(%rbp)
	je	LBB0_22
## %bb.4:
	cmpq	$0, -48(%rbp)
	je	LBB0_22
LBB0_5:
	movl	$0, (%rax)
	xorl	%eax, %eax
	callq	_mytime_get_elapsed
	movq	%rax, %r14
	xorl	%eax, %eax
	callq	_signals_block
	movq	_progress_automatic@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_13
## %bb.6:
	testl	%ebx, %ebx
	je	LBB0_8
## %bb.7:
	leaq	L_.str(%rip), %r15
	jmp	LBB0_9
LBB0_13:
	movq	_stderr@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movq	_filename@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	leaq	L_.str.3(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	testl	%ebx, %ebx
	jne	LBB0_16
## %bb.14:
	movq	-64(%rbp), %rdi
	callq	_progress_percentage
	cmpb	$45, (%rax)
	je	LBB0_16
## %bb.15:
	movl	(%r15), %edi
	leaq	L_.str.4(%rip), %rsi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_fprintf
LBB0_16:
	movl	(%r15), %ebx
	movq	-56(%rbp), %rdi
	movq	-48(%rbp), %rsi
	movl	$1, %edx
	callq	_progress_sizes
	leaq	L_.str.5(%rip), %rsi
	movl	%ebx, %edi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_fprintf
	movq	-48(%rbp), %rdi
	movq	%r14, %rsi
	callq	_progress_speed
	cmpb	$0, (%rax)
	je	LBB0_18
## %bb.17:
	movl	(%r15), %edi
	leaq	L_.str.6(%rip), %rsi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_fprintf
LBB0_18:
	movq	%r14, %rdi
	callq	_progress_time
	cmpb	$0, (%rax)
	je	LBB0_20
## %bb.19:
	movl	(%r15), %edi
	leaq	L_.str.6(%rip), %rsi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_fprintf
LBB0_20:
	movl	(%r15), %esi
	movl	$10, %edi
	callq	_fputc
	jmp	LBB0_21
LBB0_8:
	movq	-64(%rbp), %rdi
	callq	_progress_percentage
	movq	%rax, %r15
LBB0_9:
	movq	-56(%rbp), %rdi
	movq	-48(%rbp), %rsi
	movl	$1, %edx
	callq	_progress_sizes
	movq	%rax, %r12
	movq	-48(%rbp), %rdi
	movq	%r14, %rsi
	callq	_progress_speed
	movq	%rax, %r13
	movq	%r14, %rdi
	callq	_progress_time
	testl	%ebx, %ebx
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	je	LBB0_11
## %bb.10:
	leaq	L_.str.1(%rip), %rax
	jmp	LBB0_12
LBB0_11:
	movq	-64(%rbp), %rdi
	movq	%r14, %rsi
	callq	_progress_remaining
LBB0_12:
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
	movq	%r15, %rdi
	movl	$6, %esi
	callq	_tuklib_mbstr_fw
	movq	%r15, -88(%rbp)                 ## 8-byte Spill
	movq	%rax, %r15
	movq	%r12, %rdi
	movl	$35, %esi
	callq	_tuklib_mbstr_fw
	movq	%rax, %r14
	movq	%r13, %rdi
	movl	$9, %esi
	callq	_tuklib_mbstr_fw
	movq	%rax, %rbx
	leaq	L_.str.2(%rip), %rsi
	movl	-68(%rbp), %edi                 ## 4-byte Reload
	movq	%r15, %rdx
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	movq	%r14, %r8
	movq	%r12, %r9
	xorl	%eax, %eax
	pushq	-80(%rbp)                       ## 8-byte Folded Reload
	pushq	-96(%rbp)                       ## 8-byte Folded Reload
	pushq	%r13
	pushq	%rbx
	callq	_fprintf
	addq	$32, %rsp
LBB0_21:
	xorl	%eax, %eax
	callq	_signals_unblock
LBB0_22:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_progress_started,4,2           ## @progress_started
	.comm	_verbosity,8,3                  ## @verbosity
	.comm	_V_VERBOSE,8,3                  ## @V_VERBOSE
	.comm	_progress_active,4,2            ## @progress_active
	.comm	_progress_automatic,8,3         ## @progress_automatic
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"100 %"

L_.str.1:                               ## @.str.1
	.space	1

	.comm	_stderr,4,2                     ## @stderr
L_.str.2:                               ## @.str.2
	.asciz	"\r %*s %*s   %*s %10s   %10s\n"

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

	.comm	_filename,8,3                   ## @filename
L_.str.4:                               ## @.str.4
	.asciz	"%s, "

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

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

	.no_dead_strip	_progress_flush
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function progress_flush
_progress_flush:                        ; @progress_flush
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
Lloh0:
	adrp	x8, _progress_started@GOTPAGE
Lloh1:
	ldr	x8, [x8, _progress_started@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cbz	w8, LBB0_22
; %bb.1:
Lloh3:
	adrp	x8, _verbosity@GOTPAGE
Lloh4:
	ldr	x8, [x8, _verbosity@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
Lloh6:
	adrp	x9, _V_VERBOSE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _V_VERBOSE@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.lt	LBB0_22
; %bb.2:
	mov	x20, x0
	add	x0, sp, #72
	add	x1, sp, #64
	add	x2, sp, #56
	bl	_progress_pos
Lloh9:
	adrp	x8, _progress_active@GOTPAGE
Lloh10:
	ldr	x8, [x8, _progress_active@GOTPAGEOFF]
	ldr	w9, [x8]
	orr	w9, w20, w9
	cbnz	w9, LBB0_5
; %bb.3:
	ldr	x9, [sp, #64]
	cbz	x9, LBB0_22
; %bb.4:
	ldr	x9, [sp, #56]
	cbz	x9, LBB0_22
LBB0_5:
	str	wzr, [x8]
	bl	_mytime_get_elapsed
	mov	x19, x0
	bl	_signals_block
Lloh11:
	adrp	x8, _progress_automatic@GOTPAGE
Lloh12:
	ldr	x8, [x8, _progress_automatic@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	cbz	x8, LBB0_8
; %bb.6:
	cbz	w20, LBB0_16
; %bb.7:
Lloh14:
	adrp	x21, l_.str@PAGE
Lloh15:
	add	x21, x21, l_.str@PAGEOFF
	b	LBB0_17
LBB0_8:
Lloh16:
	adrp	x21, _stderr@GOTPAGE
Lloh17:
	ldr	x21, [x21, _stderr@GOTPAGEOFF]
	ldr	w0, [x21]
Lloh18:
	adrp	x8, _filename@GOTPAGE
Lloh19:
	ldr	x8, [x8, _filename@GOTPAGEOFF]
Lloh20:
	ldr	x2, [x8]
Lloh21:
	adrp	x1, l_.str.3@PAGE
Lloh22:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_fprintf
	cbnz	w20, LBB0_11
; %bb.9:
	ldr	x0, [sp, #72]
	bl	_progress_percentage
	ldrb	w8, [x0]
	cmp	w8, #45
	b.eq	LBB0_11
; %bb.10:
	mov	x2, x0
	ldr	w0, [x21]
Lloh23:
	adrp	x1, l_.str.4@PAGE
Lloh24:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_fprintf
LBB0_11:
	ldr	w20, [x21]
	ldp	x1, x0, [sp, #56]
	mov	w2, #1
	bl	_progress_sizes
	mov	x2, x0
Lloh25:
	adrp	x1, l_.str.5@PAGE
Lloh26:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x20
	bl	_fprintf
	ldr	x0, [sp, #56]
	mov	x1, x19
	bl	_progress_speed
	ldrb	w8, [x0]
	cbz	w8, LBB0_13
; %bb.12:
	mov	x2, x0
	ldr	w0, [x21]
Lloh27:
	adrp	x1, l_.str.6@PAGE
Lloh28:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_fprintf
LBB0_13:
	mov	x0, x19
	bl	_progress_time
	ldrb	w8, [x0]
	cbz	w8, LBB0_15
; %bb.14:
	mov	x2, x0
	ldr	w0, [x21]
Lloh29:
	adrp	x1, l_.str.6@PAGE
Lloh30:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_fprintf
LBB0_15:
	ldr	w1, [x21]
	mov	w0, #10
	bl	_fputc
	b	LBB0_21
LBB0_16:
	ldr	x0, [sp, #72]
	bl	_progress_percentage
	mov	x21, x0
LBB0_17:
	ldp	x1, x0, [sp, #56]
	mov	w2, #1
	bl	_progress_sizes
	mov	x22, x0
	ldr	x0, [sp, #56]
	mov	x1, x19
	bl	_progress_speed
	mov	x23, x0
	mov	x0, x19
	bl	_progress_time
	mov	x24, x0
	cbz	w20, LBB0_19
; %bb.18:
Lloh31:
	adrp	x19, l_.str.1@PAGE
Lloh32:
	add	x19, x19, l_.str.1@PAGEOFF
	b	LBB0_20
LBB0_19:
	ldr	x0, [sp, #72]
	mov	x1, x19
	bl	_progress_remaining
	mov	x19, x0
LBB0_20:
Lloh33:
	adrp	x8, _stderr@GOTPAGE
Lloh34:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh35:
	ldr	w20, [x8]
	mov	x0, x21
	mov	w1, #6
	bl	_tuklib_mbstr_fw
	mov	x25, x0
	mov	x0, x22
	mov	w1, #35
	bl	_tuklib_mbstr_fw
	mov	x26, x0
	mov	x0, x23
	mov	w1, #9
	bl	_tuklib_mbstr_fw
	stp	x24, x19, [sp, #40]
	stp	x0, x23, [sp, #24]
Lloh36:
	adrp	x1, l_.str.2@PAGE
Lloh37:
	add	x1, x1, l_.str.2@PAGEOFF
	stp	x26, x22, [sp, #8]
	str	x21, [sp]
	mov	x0, x20
	mov	x2, x25
	bl	_fprintf
LBB0_21:
	bl	_signals_unblock
LBB0_22:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.cfi_endproc
                                        ; -- End function
	.comm	_progress_started,4,2           ; @progress_started
	.comm	_verbosity,8,3                  ; @verbosity
	.comm	_V_VERBOSE,8,3                  ; @V_VERBOSE
	.comm	_progress_active,4,2            ; @progress_active
	.comm	_progress_automatic,8,3         ; @progress_automatic
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"100 %"

l_.str.1:                               ; @.str.1
	.space	1

	.comm	_stderr,4,2                     ; @stderr
l_.str.2:                               ; @.str.2
	.asciz	"\r %*s %*s   %*s %10s   %10s\n"

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

	.comm	_filename,8,3                   ; @filename
l_.str.4:                               ; @.str.4
	.asciz	"%s, "

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

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

	.no_dead_strip	_progress_flush
.subsections_via_symbols
