	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_progress_init                  ## -- Begin function progress_init
	.p2align	4, 0x90
_progress_init:                         ## @progress_init
	.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
	movl	%edx, %r14d
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	_errno@GOTPCREL(%rip), %r12
	movl	(%r12), %r13d
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	movl	%r14d, 16(%rbx)
	movq	%r15, %rdi
	callq	_strdup
	movl	%eax, 12(%rbx)
	xorl	%edi, %edi
	callq	_time
	movl	%eax, 8(%rbx)
	movq	_STDOUT_FILENO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_TIOCGWINSZ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-48(%rbp), %rdx
	callq	_ioctl
	movq	-48(%rbp), %rcx
	testq	%rcx, %rcx
	movq	_DEFAULT_TTYWIDTH@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	cmoveq	%rdx, %rcx
	cmpl	$-1, %eax
	cmoveq	%rdx, %rcx
	movq	%rcx, (%rbx)
	movl	%r13d, (%r12)
	movl	$1, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_errno,4,2                      ## @errno
	.comm	_STDOUT_FILENO,4,2              ## @STDOUT_FILENO
	.comm	_TIOCGWINSZ,4,2                 ## @TIOCGWINSZ
	.comm	_DEFAULT_TTYWIDTH,8,3           ## @DEFAULT_TTYWIDTH
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_progress_init                  ; -- Begin function progress_init
	.p2align	2
_progress_init:                         ; @progress_init
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x22, _errno@GOTPAGE
Lloh1:
	ldr	x22, [x22, _errno@GOTPAGEOFF]
	ldr	w23, [x22]
	mov	w1, #0
	mov	w2, #24
	bl	_memset
	str	w19, [x21, #16]
	mov	x0, x20
	bl	_strdup
	str	w0, [x21, #12]
	mov	x0, #0
	bl	_time
	str	w0, [x21, #8]
Lloh2:
	adrp	x8, _STDOUT_FILENO@GOTPAGE
Lloh3:
	ldr	x8, [x8, _STDOUT_FILENO@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	adrp	x8, _TIOCGWINSZ@GOTPAGE
Lloh6:
	ldr	x8, [x8, _TIOCGWINSZ@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	add	x2, sp, #8
	bl	_ioctl
	ldr	x8, [sp, #8]
	cmp	x8, #0
	mov	w9, #-1
Lloh8:
	adrp	x10, _DEFAULT_TTYWIDTH@GOTPAGE
Lloh9:
	ldr	x10, [x10, _DEFAULT_TTYWIDTH@GOTPAGEOFF]
	ccmp	w0, w9, #4, ne
Lloh10:
	ldr	x9, [x10]
	csel	x8, x8, x9, ne
	str	x8, [x21]
	str	w23, [x22]
	mov	w0, #1
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_errno,4,2                      ; @errno
	.comm	_STDOUT_FILENO,4,2              ; @STDOUT_FILENO
	.comm	_TIOCGWINSZ,4,2                 ; @TIOCGWINSZ
	.comm	_DEFAULT_TTYWIDTH,8,3           ; @DEFAULT_TTYWIDTH
.subsections_via_symbols
