	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function update_progress_meter
_update_progress_meter:                 ## @update_progress_meter
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_errno@GOTPCREL(%rip), %r14
	movl	(%r14), %r15d
	movq	_win_resized@GOTPCREL(%rip), %rbx
	cmpq	$0, (%rbx)
	je	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	callq	_setscreensize
	movq	$0, (%rbx)
LBB0_2:
	xorl	%eax, %eax
	callq	_can_output
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	xorl	%eax, %eax
	callq	_refresh_progress_meter
LBB0_4:
	movq	_SIGALRM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	_update_progress_meter(%rip), %rsi
	callq	_signal
	movq	_UPDATE_INTERVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_alarm
	movl	%r15d, (%r14)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_errno,4,2                      ## @errno
	.comm	_win_resized,8,3                ## @win_resized
	.comm	_SIGALRM,4,2                    ## @SIGALRM
	.comm	_UPDATE_INTERVAL,4,2            ## @UPDATE_INTERVAL
	.no_dead_strip	_update_progress_meter
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function update_progress_meter
_update_progress_meter:                 ; @update_progress_meter
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
Lloh0:
	adrp	x19, _errno@GOTPAGE
Lloh1:
	ldr	x19, [x19, _errno@GOTPAGEOFF]
	ldr	w20, [x19]
Lloh2:
	adrp	x21, _win_resized@GOTPAGE
Lloh3:
	ldr	x21, [x21, _win_resized@GOTPAGEOFF]
	ldr	x8, [x21]
	cbz	x8, LBB0_2
; %bb.1:
	bl	_setscreensize
	str	xzr, [x21]
LBB0_2:
	bl	_can_output
	cbz	x0, LBB0_4
; %bb.3:
	bl	_refresh_progress_meter
LBB0_4:
Lloh4:
	adrp	x8, _SIGALRM@GOTPAGE
Lloh5:
	ldr	x8, [x8, _SIGALRM@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
Lloh7:
	adrp	x1, _update_progress_meter@PAGE
Lloh8:
	add	x1, x1, _update_progress_meter@PAGEOFF
	bl	_signal
Lloh9:
	adrp	x8, _UPDATE_INTERVAL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _UPDATE_INTERVAL@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	bl	_alarm
	str	w20, [x19]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_errno,4,2                      ; @errno
	.comm	_win_resized,8,3                ; @win_resized
	.comm	_SIGALRM,4,2                    ; @SIGALRM
	.comm	_UPDATE_INTERVAL,4,2            ; @UPDATE_INTERVAL
	.no_dead_strip	_update_progress_meter
.subsections_via_symbols
