	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pause_for_ok
_pause_for_ok:                          ## @pause_for_ok
	.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	%rdx, -88(%rbp)                 ## 8-byte Spill
	movq	%rsi, -80(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r13
	movq	_DLG_EXIT_UNKNOWN@GOTPCREL(%rip), %rbx
	movl	(%rbx), %eax
	movl	%eax, -44(%rbp)
	xorl	%eax, %eax
	callq	_dlg_ok_label
	movq	%rax, %r15
	movq	_dialog_vars@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%ecx, -72(%rbp)                 ## 4-byte Spill
	movq	_TRUE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, -68(%rbp)                 ## 4-byte Spill
	movl	%ecx, (%rax)
	xorl	%eax, %eax
	callq	_dlg_default_button
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	leaq	L_.str(%rip), %r12
	leaq	_pause_for_ok.binding(%rip), %rdx
	movq	_dialog_attr@GOTPCREL(%rip), %r14
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_2 Depth 2
	movl	(%r13), %edi
	movq	%r12, %rsi
	callq	_dlg_register_window
	movl	(%r13), %edi
	movq	%r12, %rsi
	movq	%r15, %rdx
	callq	_dlg_register_buttons
	movl	(%r13), %edi
	movq	_border_attr@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_border2_attr@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%r14), %ecx
	callq	_dlg_draw_bottom_box2
	movl	-44(%rbp), %eax
	cmpl	(%rbx), %eax
	movl	-68(%rbp), %r15d                ## 4-byte Reload
	je	LBB0_2
	jmp	LBB0_23
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_2 Depth=2
	xorl	%eax, %eax
	callq	_beep
LBB0_22:                                ##   in Loop: Header=BB0_2 Depth=2
	movq	%r14, %r13
	movl	-44(%rbp), %eax
	cmpl	(%rbx), %eax
	jne	LBB0_23
LBB0_2:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	testl	%r15d, %r15d
	je	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=2
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movl	-48(%rbp), %r8d                 ## 4-byte Reload
	testl	%r8d, %r8d
	movl	$0, %eax
	cmovlel	%eax, %r8d
	movq	8(%r13), %rsi
	addq	$-2, %rsi
	movl	(%r13), %edi
	movl	4(%r13), %eax
	movl	%eax, (%rsp)
	xorl	%edx, %edx
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movl	%r8d, -48(%rbp)                 ## 4-byte Spill
	movl	%r15d, %r9d
	callq	_dlg_draw_buttons
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=2
	xorl	%r15d, %r15d
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=2
	movl	(%r13), %edi
	leaq	-52(%rbp), %rsi
	callq	_dlg_mouse_wgetch
	movl	%eax, %r12d
	movl	-52(%rbp), %esi
	movl	%eax, %edi
	leaq	-44(%rbp), %rdx
	callq	_dlg_result_key
	testq	%rax, %rax
	jne	LBB0_23
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=2
	movq	%r13, %r14
	movl	%r12d, %r13d
	cmpl	$0, -52(%rbp)
	jne	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=2
	movl	%r13d, %edi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	callq	_dlg_char_to_button
	testl	%eax, %eax
	jns	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=2
	cmpl	$0, -52(%rbp)
	je	LBB0_21
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=2
	addl	$-129, %r12d
	cmpl	$6, %r12d
	ja	LBB0_17
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=2
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%r12,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=2
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	callq	_dlg_prev_button
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_2 Depth=2
	movl	%r13d, %edi
	callq	_is_DLGK_MOUSE
	testl	%eax, %eax
	je	LBB0_21
## %bb.18:                              ##   in Loop: Header=BB0_2 Depth=2
	movq	_M_EVENT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	subl	%eax, %r13d
	movl	%r13d, %edi
	callq	_dlg_ok_buttoncode
	movl	%eax, -44(%rbp)
	testl	%eax, %eax
	jns	LBB0_22
## %bb.19:                              ##   in Loop: Header=BB0_2 Depth=2
	movq	_DLG_EXIT_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)
	jmp	LBB0_22
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=2
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	callq	_dlg_next_button
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=2
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	jmp	LBB0_22
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=2
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	callq	_dlg_ok_buttoncode
	movl	%eax, -44(%rbp)
	jmp	LBB0_22
LBB0_16:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	%r14, %r13
	movl	(%r14), %edi
	callq	_dlg_will_resize
	movq	%r14, %rdi
	callq	_restart_obj
	movq	%r14, %rdi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	callq	_start_obj
	movq	_TRUE@GOTPCREL(%rip), %r14
	movq	(%r14), %rsi
	movq	%r13, %rdi
	callq	_reprint_lines
	movl	(%r14), %eax
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	leaq	L_.str(%rip), %r12
	leaq	_pause_for_ok.binding(%rip), %rdx
	movq	_dialog_attr@GOTPCREL(%rip), %r14
	jmp	LBB0_1
LBB0_8:
	movl	%eax, %edi
	callq	_dlg_ok_buttoncode
	movl	%eax, -44(%rbp)
	movq	%r14, %r13
LBB0_23:
	xorl	%eax, %eax
	callq	_dlg_mouse_free_regions
	movl	(%r13), %edi
	callq	_dlg_unregister_window
	movq	_dialog_vars@GOTPCREL(%rip), %rax
	movl	-72(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, (%rax)
	movl	-44(%rbp), %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
LJTI0_0:
	.long	L0_0_set_16
	.long	L0_0_set_17
	.long	L0_0_set_17
	.long	L0_0_set_17
	.long	L0_0_set_14
	.long	L0_0_set_12
	.long	L0_0_set_15
	.end_data_region
                                        ## -- End function
	.section	__DATA,__data
	.p2align	4                               ## @pause_for_ok.binding
_pause_for_ok.binding:
	.long	130                             ## 0x82
	.long	131                             ## 0x83
	.long	128                             ## 0x80
	.long	132                             ## 0x84

	.comm	_DLG_EXIT_UNKNOWN,4,2           ## @DLG_EXIT_UNKNOWN
	.comm	_dialog_vars,4,2                ## @dialog_vars
	.comm	_TRUE,8,3                       ## @TRUE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"progressbox"

	.comm	_border_attr,4,2                ## @border_attr
	.comm	_border2_attr,4,2               ## @border2_attr
	.comm	_dialog_attr,4,2                ## @dialog_attr
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_M_EVENT,4,2                    ## @M_EVENT
	.comm	_DLG_EXIT_OK,4,2                ## @DLG_EXIT_OK
	.no_dead_strip	_pause_for_ok
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pause_for_ok
_pause_for_ok:                          ; @pause_for_ok
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	stp	x1, x2, [sp]                    ; 16-byte Folded Spill
	mov	x19, x0
Lloh0:
	adrp	x21, _DLG_EXIT_UNKNOWN@GOTPAGE
Lloh1:
	ldr	x21, [x21, _DLG_EXIT_UNKNOWN@GOTPAGEOFF]
	ldr	w8, [x21]
	str	w8, [sp, #24]
	bl	_dlg_ok_label
	mov	x22, x0
Lloh2:
	adrp	x8, _dialog_vars@GOTPAGE
Lloh3:
	ldr	x8, [x8, _dialog_vars@GOTPAGEOFF]
	ldr	w9, [x8]
	str	w9, [sp, #20]                   ; 4-byte Folded Spill
Lloh4:
	adrp	x9, _TRUE@GOTPAGE
Lloh5:
	ldr	x9, [x9, _TRUE@GOTPAGEOFF]
Lloh6:
	ldr	w26, [x9]
	str	w26, [x8]
	bl	_dlg_default_button
	mov	x24, x0
Lloh7:
	adrp	x27, l_.str@PAGE
Lloh8:
	add	x27, x27, l_.str@PAGEOFF
Lloh9:
	adrp	x25, _border_attr@GOTPAGE
Lloh10:
	ldr	x25, [x25, _border_attr@GOTPAGEOFF]
Lloh11:
	adrp	x20, _border2_attr@GOTPAGE
Lloh12:
	ldr	x20, [x20, _border2_attr@GOTPAGEOFF]
Lloh13:
	adrp	x23, _dialog_attr@GOTPAGE
Lloh14:
	ldr	x23, [x23, _dialog_attr@GOTPAGEOFF]
Lloh15:
	adrp	x2, _pause_for_ok.binding@PAGE
Lloh16:
	add	x2, x2, _pause_for_ok.binding@PAGEOFF
Lloh17:
	adrp	x28, lJTI0_0@PAGE
Lloh18:
	add	x28, x28, lJTI0_0@PAGEOFF
LBB0_1:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_4 Depth 2
	ldr	w0, [x19]
	mov	x1, x27
	bl	_dlg_register_window
	ldr	w0, [x19]
	mov	x1, x27
	mov	x2, x22
	bl	_dlg_register_buttons
	ldr	w0, [x19]
	ldr	w1, [x25]
	ldr	w2, [x20]
	ldr	w3, [x23]
	bl	_dlg_draw_bottom_box2
	ldr	w8, [sp, #24]
	ldr	w9, [x21]
	cmp	w8, w9
Lloh19:
	adrp	x25, _TRUE@GOTPAGE
Lloh20:
	ldr	x25, [x25, _TRUE@GOTPAGEOFF]
	mov	x20, x23
Lloh21:
	adrp	x23, _M_EVENT@GOTPAGE
Lloh22:
	ldr	x23, [x23, _M_EVENT@GOTPAGEOFF]
	b.eq	LBB0_4
	b	LBB0_21
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=2
	bl	_beep
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=2
	ldr	w8, [sp, #24]
	ldr	w9, [x21]
	cmp	w8, w9
	b.ne	LBB0_21
LBB0_4:                                 ;   Parent Loop BB0_1 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	cbz	w26, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=2
Lloh23:
	adrp	x8, _FALSE@GOTPAGE
Lloh24:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh25:
	ldr	w26, [x8]
	cmp	w24, #0
	csel	w24, w24, wzr, gt
	ldr	x8, [x19, #8]
	sub	x1, x8, #2
	ldp	w0, w6, [x19]
	mov	w2, #0
	mov	x3, x22
	mov	x4, x24
	mov	x5, x26
	bl	_dlg_draw_buttons
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=2
	ldr	w0, [x19]
	add	x1, sp, #28
	bl	_dlg_mouse_wgetch
	mov	x27, x0
	ldr	w1, [sp, #28]
	add	x2, sp, #24
	bl	_dlg_result_key
	cbnz	x0, LBB0_21
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=2
	ldr	w8, [sp, #28]
	cbnz	w8, LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=2
	mov	x0, x27
	mov	x1, x22
	bl	_dlg_char_to_button
	tbz	w0, #31, LBB0_20
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=2
	ldr	w8, [sp, #28]
	cbz	w8, LBB0_2
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=2
	sub	w8, w27, #129
	cmp	w8, #6
	b.hi	LBB0_13
; %bb.11:                               ;   in Loop: Header=BB0_4 Depth=2
	adr	x9, LBB0_12
	ldrb	w10, [x28, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_12:                                ;   in Loop: Header=BB0_4 Depth=2
	mov	x0, x22
	mov	x1, x24
	bl	_dlg_prev_button
	b	LBB0_17
LBB0_13:                                ;   in Loop: Header=BB0_4 Depth=2
	mov	x0, x27
	bl	_is_DLGK_MOUSE
	cbz	w0, LBB0_2
; %bb.14:                               ;   in Loop: Header=BB0_4 Depth=2
	ldr	w8, [x23]
	sub	w0, w27, w8
	bl	_dlg_ok_buttoncode
	str	w0, [sp, #24]
	tbz	w0, #31, LBB0_3
; %bb.15:                               ;   in Loop: Header=BB0_4 Depth=2
Lloh26:
	adrp	x8, _DLG_EXIT_OK@GOTPAGE
Lloh27:
	ldr	x8, [x8, _DLG_EXIT_OK@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
	str	w8, [sp, #24]
	b	LBB0_3
LBB0_16:                                ;   in Loop: Header=BB0_4 Depth=2
	mov	x0, x22
	mov	x1, x24
	bl	_dlg_next_button
LBB0_17:                                ;   in Loop: Header=BB0_4 Depth=2
	mov	x24, x0
	ldr	w26, [x25]
	b	LBB0_3
LBB0_18:                                ;   in Loop: Header=BB0_4 Depth=2
	mov	x0, x24
	bl	_dlg_ok_buttoncode
	str	w0, [sp, #24]
	b	LBB0_3
LBB0_19:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w0, [x19]
	bl	_dlg_will_resize
	mov	x0, x19
	bl	_restart_obj
	mov	x0, x19
	ldp	x1, x2, [sp]                    ; 16-byte Folded Reload
	bl	_start_obj
	ldr	x1, [x25]
	mov	x0, x19
	bl	_reprint_lines
	ldr	w26, [x25]
Lloh29:
	adrp	x27, l_.str@PAGE
Lloh30:
	add	x27, x27, l_.str@PAGEOFF
Lloh31:
	adrp	x25, _border_attr@GOTPAGE
Lloh32:
	ldr	x25, [x25, _border_attr@GOTPAGEOFF]
	mov	x23, x20
Lloh33:
	adrp	x20, _border2_attr@GOTPAGE
Lloh34:
	ldr	x20, [x20, _border2_attr@GOTPAGEOFF]
Lloh35:
	adrp	x2, _pause_for_ok.binding@PAGE
Lloh36:
	add	x2, x2, _pause_for_ok.binding@PAGEOFF
	b	LBB0_1
LBB0_20:
	bl	_dlg_ok_buttoncode
	str	w0, [sp, #24]
LBB0_21:
	bl	_dlg_mouse_free_regions
	ldr	w0, [x19]
	bl	_dlg_unregister_window
Lloh37:
	adrp	x8, _dialog_vars@GOTPAGE
Lloh38:
	ldr	x8, [x8, _dialog_vars@GOTPAGEOFF]
	ldp	w9, w0, [sp, #20]               ; 4-byte Folded Reload
Lloh39:
	str	w9, [x8]
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotStr	Lloh37, Lloh38, Lloh39
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_19-LBB0_12)>>2
	.byte	(LBB0_13-LBB0_12)>>2
	.byte	(LBB0_13-LBB0_12)>>2
	.byte	(LBB0_13-LBB0_12)>>2
	.byte	(LBB0_12-LBB0_12)>>2
	.byte	(LBB0_16-LBB0_12)>>2
	.byte	(LBB0_18-LBB0_12)>>2
                                        ; -- End function
	.section	__DATA,__data
	.p2align	2                               ; @pause_for_ok.binding
_pause_for_ok.binding:
	.long	130                             ; 0x82
	.long	131                             ; 0x83
	.long	128                             ; 0x80
	.long	132                             ; 0x84

	.comm	_DLG_EXIT_UNKNOWN,4,2           ; @DLG_EXIT_UNKNOWN
	.comm	_dialog_vars,4,2                ; @dialog_vars
	.comm	_TRUE,8,3                       ; @TRUE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"progressbox"

	.comm	_border_attr,4,2                ; @border_attr
	.comm	_border2_attr,4,2               ; @border2_attr
	.comm	_dialog_attr,4,2                ; @dialog_attr
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_M_EVENT,4,2                    ; @M_EVENT
	.comm	_DLG_EXIT_OK,4,2                ; @DLG_EXIT_OK
	.no_dead_strip	_pause_for_ok
.subsections_via_symbols
