	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dialog_msgbox                  ## -- Begin function dialog_msgbox
	.p2align	4, 0x90
_dialog_msgbox:                         ## @dialog_msgbox
	.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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %r15d
	movl	%ecx, %r12d
	movl	%edx, %r14d
	movq	%rsi, %r13
	movq	%rdi, -104(%rbp)                ## 8-byte Spill
	movl	%edx, -48(%rbp)
	movl	%ecx, -44(%rbp)
	movq	_DLG_EXIT_UNKNOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -52(%rbp)
	xorl	%eax, %eax
	callq	_dlg_ok_label
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	$0, -72(%rbp)
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -56(%rbp)
	xorl	%ebx, %ebx
	cmpl	$1, %r15d
	movl	$12, %eax
	movl	$0, %ecx
	cmovnel	%ecx, %eax
	sete	%bl
	movl	%eax, -68(%rbp)
	movq	_dialog_vars@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -120(%rbp)                ## 4-byte Spill
	leaq	L_.str(%rip), %rdi
	callq	_DLG_TRACE
	leaq	L_.str.1(%rip), %rdi
	movq	-104(%rbp), %rsi                ## 8-byte Reload
	callq	_DLG_TRACE2S
	leaq	L_.str.2(%rip), %rdi
	movq	%r13, -128(%rbp)                ## 8-byte Spill
	movq	%r13, %rsi
	callq	_DLG_TRACE2S
	leaq	L_.str.3(%rip), %rdi
	movl	%r14d, -112(%rbp)               ## 4-byte Spill
	movl	%r14d, %esi
	movl	%ebx, %r14d
	callq	_DLG_TRACE2N
	leaq	L_.str.4(%rip), %rdi
	movl	%r12d, -116(%rbp)               ## 4-byte Spill
	movl	%r12d, %esi
	callq	_DLG_TRACE2N
	leaq	L_.str.5(%rip), %rdi
	movl	%r15d, -84(%rbp)                ## 4-byte Spill
	movl	%r15d, %esi
	callq	_DLG_TRACE2N
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_dialog_vars@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	xorl	%eax, %eax
	callq	_dlg_default_button
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	%eax, %r15d
	addl	%ebx, %r14d
	leaq	-68(%rbp), %rsi
	leaq	-48(%rbp), %r13
	xorl	%r12d, %r12d
	movl	$0, -80(%rbp)                   ## 4-byte Folded Spill
	movl	%r14d, -108(%rbp)               ## 4-byte Spill
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
	callq	_dlg_button_layout
	movq	-128(%rbp), %rdi                ## 8-byte Reload
	callq	_dlg_strclone
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_dlg_tab_correct_str
	movl	-68(%rbp), %r9d
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	movq	%rbx, -96(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rsi
	movq	%r13, %rdx
	leaq	-44(%rbp), %rcx
	movl	%r14d, %r8d
	callq	_dlg_auto_size
	movl	-48(%rbp), %edi
	movl	-44(%rbp), %esi
	callq	_dlg_print_size
	movl	-48(%rbp), %edi
	movl	-44(%rbp), %esi
	callq	_dlg_ctl_size
	movl	-44(%rbp), %edi
	callq	_dlg_box_x_ordinate
	movl	%eax, %ebx
	movl	-48(%rbp), %edi
	callq	_dlg_box_y_ordinate
	movl	%eax, %r14d
	movl	-48(%rbp), %esi
	movl	-44(%rbp), %edx
	testq	%r12, %r12
	je	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%r12, %rdi
	movl	%r14d, %ecx
	movl	%ebx, %r8d
	callq	_dlg_move_window
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	%esi, %edi
	movl	%edx, %esi
	movl	%r14d, %edx
	movl	%ebx, %ecx
	callq	_dlg_new_window
	movq	%rax, %r12
	movq	%rax, %rdi
	leaq	L_.str.6(%rip), %r13
	movq	%r13, %rsi
	leaq	_dialog_msgbox.binding(%rip), %rdx
	callq	_dlg_register_window
	movq	%r12, %rdi
	movq	%r13, %rsi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	callq	_dlg_register_buttons
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	_MARGIN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leal	(%rax,%rax,2), %r13d
	notl	%r13d
	addl	-48(%rbp), %r13d
	movl	%ebx, %edi
	movl	%r14d, %esi
	callq	_dlg_mouse_setbase
	movl	-48(%rbp), %ecx
	movl	-44(%rbp), %r8d
	movq	_dialog_attr@GOTPCREL(%rip), %rbx
	movl	(%rbx), %r9d
	movq	_border_attr@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	movq	_border2_attr@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	%edx, 8(%rsp)
	movl	%eax, (%rsp)
	movq	%r12, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_dlg_draw_box2
	movq	%r12, %rdi
	movq	-104(%rbp), %rsi                ## 8-byte Reload
	callq	_dlg_draw_title
	movl	(%rbx), %esi
	movq	%r12, %rdi
	callq	_dlg_attrset
	cmpl	$0, -84(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_26
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	(%r14), %esi
	movq	_border2_attr@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%rbx), %ecx
	movq	%r12, %rdi
	callq	_dlg_draw_bottom_box2
	movl	-48(%rbp), %edi
	addl	$-2, %edi
	movl	-44(%rbp), %eax
	movl	%eax, %esi
	shrl	$31, %esi
	addl	%eax, %esi
	sarl	%esi
	addl	$-4, %esi
	movl	$6, %edx
	movl	$10, %ecx
	callq	_mouse_mkbutton
	movl	-48(%rbp), %esi
	addl	$-2, %esi
	movq	_FALSE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %r9d
	movl	-44(%rbp), %eax
	movl	%eax, (%rsp)
	movq	%r12, %rdi
	xorl	%edx, %edx
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movl	%r15d, %r8d
	callq	_dlg_draw_buttons
	movl	(%rbx), %esi
	movq	%r12, %rdi
	callq	_dlg_draw_helpline
	jmp	LBB0_6
LBB0_20:                                ##   in Loop: Header=BB0_6 Depth=2
	movl	%r15d, %edi
	callq	_dlg_ok_buttoncode
	movl	%eax, -52(%rbp)
	.p2align	4, 0x90
LBB0_6:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	-52(%rbp), %eax
	movq	_DLG_EXIT_UNKNOWN@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_28
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=2
	cmpl	$0, -56(%rbp)
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=2
	movl	-72(%rbp), %edx
	movl	-44(%rbp), %r8d
	movq	%r12, %rdi
	movq	-96(%rbp), %rsi                 ## 8-byte Reload
	movl	%r13d, %ecx
	movl	-84(%rbp), %r9d                 ## 4-byte Reload
	callq	_dlg_print_scrolled
	movl	%eax, -80(%rbp)                 ## 4-byte Spill
	movq	%r12, %rdi
	callq	_dlg_trace_win
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -56(%rbp)
LBB0_9:                                 ##   in Loop: Header=BB0_6 Depth=2
	movq	%r12, %rdi
	leaq	-76(%rbp), %rsi
	callq	_dlg_mouse_wgetch
	movl	%eax, %ebx
	movl	-76(%rbp), %esi
	movl	%eax, %edi
	leaq	-52(%rbp), %rdx
	callq	_dlg_result_key
	testq	%rax, %rax
	jne	LBB0_28
## %bb.10:                              ##   in Loop: Header=BB0_6 Depth=2
	movl	%ebx, %r14d
	cmpl	$0, -76(%rbp)
	jne	LBB0_14
## %bb.11:                              ##   in Loop: Header=BB0_6 Depth=2
	movl	%r14d, %edi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	callq	_dlg_char_to_button
	testl	%eax, %eax
	jns	LBB0_12
## %bb.13:                              ##   in Loop: Header=BB0_6 Depth=2
	cmpl	$0, -76(%rbp)
	je	LBB0_25
LBB0_14:                                ##   in Loop: Header=BB0_6 Depth=2
	addl	$-130, %ebx
	cmpl	$6, %ebx
	ja	LBB0_21
## %bb.15:                              ##   in Loop: Header=BB0_6 Depth=2
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rbx,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_19:                                ##   in Loop: Header=BB0_6 Depth=2
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	_dlg_prev_button
	jmp	LBB0_18
LBB0_21:                                ##   in Loop: Header=BB0_6 Depth=2
	movl	%r14d, %edi
	callq	_is_DLGK_MOUSE
	testl	%eax, %eax
	je	LBB0_24
## %bb.22:                              ##   in Loop: Header=BB0_6 Depth=2
	movq	_M_EVENT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	subl	%eax, %r14d
	movl	%r14d, %edi
	callq	_dlg_ok_buttoncode
	movl	%eax, -52(%rbp)
	testl	%eax, %eax
	jns	LBB0_6
## %bb.23:                              ##   in Loop: Header=BB0_6 Depth=2
	movq	_DLG_EXIT_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -52(%rbp)
	jmp	LBB0_6
LBB0_17:                                ##   in Loop: Header=BB0_6 Depth=2
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	_dlg_next_button
LBB0_18:                                ##   in Loop: Header=BB0_6 Depth=2
	movl	%eax, %r15d
	testl	%eax, %eax
	movl	$0, %eax
	cmovlel	%eax, %r15d
	movl	-48(%rbp), %esi
	addl	$-2, %esi
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movl	-44(%rbp), %eax
	movl	%eax, (%rsp)
	movq	%r12, %rdi
	xorl	%edx, %edx
	movq	%rbx, %rcx
	movl	%r15d, %r8d
	callq	_dlg_draw_buttons
	jmp	LBB0_6
LBB0_24:                                ##   in Loop: Header=BB0_6 Depth=2
	movl	%r14d, %edi
	movl	-80(%rbp), %esi                 ## 4-byte Reload
	movl	%r13d, %edx
	leaq	-56(%rbp), %rcx
	leaq	-72(%rbp), %r8
	callq	_dlg_check_scrolled
	testl	%eax, %eax
	je	LBB0_6
LBB0_25:                                ##   in Loop: Header=BB0_6 Depth=2
	xorl	%eax, %eax
	callq	_beep
	jmp	LBB0_6
LBB0_16:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	%r12, %rdi
	callq	_dlg_will_resize
	xorl	%eax, %eax
	callq	_dlg_clear
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	callq	_free
	movl	-112(%rbp), %eax                ## 4-byte Reload
	movl	%eax, -48(%rbp)
	movl	-116(%rbp), %eax                ## 4-byte Reload
	movl	%eax, -44(%rbp)
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -56(%rbp)
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	-108(%rbp), %r14d               ## 4-byte Reload
	leaq	-68(%rbp), %rsi
	leaq	-48(%rbp), %r13
	jmp	LBB0_1
LBB0_12:
	movl	%eax, %edi
	callq	_dlg_ok_buttoncode
	jmp	LBB0_27
LBB0_26:
	movl	-72(%rbp), %edx
	movl	-44(%rbp), %r8d
	movq	%r12, %rdi
	movq	-96(%rbp), %rsi                 ## 8-byte Reload
	movl	%r13d, %ecx
	xorl	%r9d, %r9d
	callq	_dlg_print_scrolled
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_dlg_draw_helpline
	movq	%r12, %rdi
	callq	_wrefresh
	movq	%r12, %rdi
	callq	_dlg_trace_win
	movq	_DLG_EXIT_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_27:
	movl	%eax, -52(%rbp)
LBB0_28:
	movq	%r12, %rdi
	callq	_dlg_del_window
	xorl	%eax, %eax
	callq	_dlg_mouse_free_regions
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	callq	_free
	movq	_dialog_vars@GOTPCREL(%rip), %rax
	movl	-120(%rbp), %ecx                ## 4-byte Reload
	movl	%ecx, (%rax)
	movl	-52(%rbp), %eax
	addq	$104, %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_21, LBB0_21-LJTI0_0
.set L0_0_set_19, LBB0_19-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_20, LBB0_20-LJTI0_0
LJTI0_0:
	.long	L0_0_set_16
	.long	L0_0_set_21
	.long	L0_0_set_21
	.long	L0_0_set_21
	.long	L0_0_set_19
	.long	L0_0_set_17
	.long	L0_0_set_20
	.end_data_region
                                        ## -- End function
	.section	__DATA,__data
	.p2align	4                               ## @dialog_msgbox.binding
_dialog_msgbox.binding:
	.long	131                             ## 0x83
	.long	132                             ## 0x84
	.long	129                             ## 0x81
	.long	128                             ## 0x80
	.long	133                             ## 0x85

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

L_.str.1:                               ## @.str.1
	.asciz	"title"

L_.str.2:                               ## @.str.2
	.asciz	"message"

L_.str.3:                               ## @.str.3
	.asciz	"height"

L_.str.4:                               ## @.str.4
	.asciz	"width"

L_.str.5:                               ## @.str.5
	.asciz	"pauseopt"

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

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

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dialog_msgbox                  ; -- Begin function dialog_msgbox
	.p2align	2
_dialog_msgbox:                         ; @dialog_msgbox
	.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, x4
	mov	x22, x3
	mov	x23, x2
	mov	x27, x1
	mov	x25, x0
	stp	w3, w2, [sp, #72]
Lloh0:
	adrp	x8, _DLG_EXIT_UNKNOWN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DLG_EXIT_UNKNOWN@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #64]
	bl	_dlg_ok_label
	mov	x24, x0
	str	wzr, [sp, #60]
Lloh3:
	adrp	x26, _TRUE@GOTPAGE
Lloh4:
	ldr	x26, [x26, _TRUE@GOTPAGEOFF]
	ldr	x9, [x26]
	mov	w8, #12
	cmp	w19, #1
	csel	w8, w8, wzr, eq
	cset	w20, eq
	stp	w8, w9, [sp, #52]
Lloh5:
	adrp	x21, _dialog_vars@GOTPAGE
Lloh6:
	ldr	x21, [x21, _dialog_vars@GOTPAGEOFF]
	ldr	w8, [x21]
	str	w8, [sp, #36]                   ; 4-byte Folded Spill
Lloh7:
	adrp	x0, l_.str@PAGE
Lloh8:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DLG_TRACE
Lloh9:
	adrp	x0, l_.str.1@PAGE
Lloh10:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x25
	bl	_DLG_TRACE2S
Lloh11:
	adrp	x0, l_.str.2@PAGE
Lloh12:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x27
	bl	_DLG_TRACE2S
Lloh13:
	adrp	x0, l_.str.3@PAGE
Lloh14:
	add	x0, x0, l_.str.3@PAGEOFF
	str	w23, [sp, #28]                  ; 4-byte Folded Spill
	mov	x1, x23
	bl	_DLG_TRACE2N
Lloh15:
	adrp	x0, l_.str.4@PAGE
Lloh16:
	add	x0, x0, l_.str.4@PAGEOFF
	str	w22, [sp, #32]                  ; 4-byte Folded Spill
	mov	x1, x22
	mov	x22, x25
	bl	_DLG_TRACE2N
Lloh17:
	adrp	x0, l_.str.5@PAGE
Lloh18:
	add	x0, x0, l_.str.5@PAGEOFF
	mov	x1, x19
	bl	_DLG_TRACE2N
	ldr	x8, [x26]
	str	w8, [x21]
	bl	_dlg_default_button
	mov	x28, x0
	mov	x25, #0
	mov	w26, #0
	lsl	w20, w20, #1
Lloh19:
	adrp	x23, _dialog_msgbox.binding@PAGE
Lloh20:
	add	x23, x23, _dialog_msgbox.binding@PAGEOFF
	str	x27, [sp, #16]                  ; 8-byte Folded Spill
	str	x22, [sp, #40]                  ; 8-byte Folded Spill
	str	w20, [sp, #12]                  ; 4-byte Folded Spill
LBB0_1:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
	add	x1, sp, #52
	mov	x0, x24
	bl	_dlg_button_layout
	mov	x0, x27
	bl	_dlg_strclone
	mov	x27, x0
	bl	_dlg_tab_correct_str
	ldr	w5, [sp, #52]
	add	x2, sp, #76
	add	x3, sp, #72
	mov	x0, x22
	mov	x1, x27
	mov	x4, x20
	bl	_dlg_auto_size
	ldp	w1, w0, [sp, #72]
	bl	_dlg_print_size
	ldp	w1, w0, [sp, #72]
	bl	_dlg_ctl_size
	ldr	w0, [sp, #72]
	bl	_dlg_box_x_ordinate
	mov	x21, x0
	ldr	w0, [sp, #76]
	bl	_dlg_box_y_ordinate
	mov	x22, x0
	ldp	w2, w1, [sp, #72]
	cbz	x25, LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x25
	mov	x3, x22
	mov	x4, x21
	bl	_dlg_move_window
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x1
	mov	x1, x2
	mov	x2, x22
	mov	x3, x21
	bl	_dlg_new_window
	mov	x25, x0
Lloh21:
	adrp	x20, l_.str.6@PAGE
Lloh22:
	add	x20, x20, l_.str.6@PAGEOFF
	mov	x1, x20
	mov	x2, x23
	bl	_dlg_register_window
	mov	x0, x25
	mov	x1, x20
	mov	x2, x24
	bl	_dlg_register_buttons
LBB0_4:                                 ;   in Loop: Header=BB0_1 Depth=1
	ldr	w8, [sp, #76]
Lloh23:
	adrp	x9, _MARGIN@GOTPAGE
Lloh24:
	ldr	x9, [x9, _MARGIN@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
	add	w9, w9, w9, lsl #1
	mvn	w9, w9
	add	w20, w8, w9
	mov	x0, x21
	mov	x1, x22
	bl	_dlg_mouse_setbase
	ldp	w4, w3, [sp, #72]
Lloh26:
	adrp	x21, _dialog_attr@GOTPAGE
Lloh27:
	ldr	x21, [x21, _dialog_attr@GOTPAGEOFF]
	ldr	w5, [x21]
Lloh28:
	adrp	x23, _border_attr@GOTPAGE
Lloh29:
	ldr	x23, [x23, _border_attr@GOTPAGEOFF]
	ldr	w6, [x23]
Lloh30:
	adrp	x22, _border2_attr@GOTPAGE
Lloh31:
	ldr	x22, [x22, _border2_attr@GOTPAGEOFF]
	ldr	w7, [x22]
	mov	x0, x25
	mov	w1, #0
	mov	w2, #0
	bl	_dlg_draw_box2
	mov	x0, x25
	ldr	x1, [sp, #40]                   ; 8-byte Folded Reload
	bl	_dlg_draw_title
	ldr	w1, [x21]
	mov	x0, x25
	bl	_dlg_attrset
	cbz	w19, LBB0_26
; %bb.5:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w1, [x23]
	ldr	w2, [x22]
	ldr	w3, [x21]
	mov	x0, x25
	bl	_dlg_draw_bottom_box2
	ldr	w8, [sp, #76]
	sub	w0, w8, #2
	ldr	w8, [sp, #72]
	cmp	w8, #0
	cinc	w8, w8, lt
	asr	w8, w8, #1
	sub	w1, w8, #4
	mov	w2, #6
	mov	w3, #10
	bl	_mouse_mkbutton
	ldp	w6, w8, [sp, #72]
	sub	w1, w8, #2
Lloh32:
	adrp	x23, _FALSE@GOTPAGE
Lloh33:
	ldr	x23, [x23, _FALSE@GOTPAGEOFF]
	ldr	w5, [x23]
	mov	x0, x25
	mov	w2, #0
	mov	x3, x24
	mov	x4, x28
	bl	_dlg_draw_buttons
	ldr	w1, [x23]
	mov	x0, x25
	bl	_dlg_draw_helpline
	ldr	w8, [sp, #64]
Lloh34:
	adrp	x9, _DLG_EXIT_UNKNOWN@GOTPAGE
Lloh35:
	ldr	x9, [x9, _DLG_EXIT_UNKNOWN@GOTPAGEOFF]
Lloh36:
	ldr	w9, [x9]
	cmp	w8, w9
Lloh37:
	adrp	x22, _M_EVENT@GOTPAGE
Lloh38:
	ldr	x22, [x22, _M_EVENT@GOTPAGEOFF]
	b.eq	LBB0_8
	b	LBB0_27
LBB0_6:                                 ;   in Loop: Header=BB0_8 Depth=2
	mov	x0, x28
	bl	_dlg_ok_buttoncode
	str	w0, [sp, #64]
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=2
	ldr	w8, [sp, #64]
Lloh39:
	adrp	x9, _DLG_EXIT_UNKNOWN@GOTPAGE
Lloh40:
	ldr	x9, [x9, _DLG_EXIT_UNKNOWN@GOTPAGEOFF]
Lloh41:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_27
LBB0_8:                                 ;   Parent Loop BB0_1 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w8, [sp, #56]
	cbz	w8, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=2
	ldr	w2, [sp, #60]
	ldr	w4, [sp, #72]
	mov	x0, x25
	mov	x1, x27
	mov	x3, x20
	mov	x5, x19
	bl	_dlg_print_scrolled
	mov	x26, x0
	mov	x0, x25
	bl	_dlg_trace_win
	ldr	w8, [x23]
	str	w8, [sp, #56]
LBB0_10:                                ;   in Loop: Header=BB0_8 Depth=2
	add	x1, sp, #68
	mov	x0, x25
	bl	_dlg_mouse_wgetch
	mov	x21, x0
	ldr	w1, [sp, #68]
	add	x2, sp, #64
	bl	_dlg_result_key
	cbnz	x0, LBB0_27
; %bb.11:                               ;   in Loop: Header=BB0_8 Depth=2
	ldr	w8, [sp, #68]
	cbnz	w8, LBB0_14
; %bb.12:                               ;   in Loop: Header=BB0_8 Depth=2
	mov	x0, x21
	mov	x1, x24
	bl	_dlg_char_to_button
	tbz	w0, #31, LBB0_25
; %bb.13:                               ;   in Loop: Header=BB0_8 Depth=2
	ldr	w8, [sp, #68]
	cbz	w8, LBB0_23
LBB0_14:                                ;   in Loop: Header=BB0_8 Depth=2
	sub	w8, w21, #130
	cmp	w8, #6
	b.hi	LBB0_17
; %bb.15:                               ;   in Loop: Header=BB0_8 Depth=2
Lloh42:
	adrp	x11, lJTI0_0@PAGE
Lloh43:
	add	x11, x11, lJTI0_0@PAGEOFF
	adr	x9, LBB0_6
	ldrb	w10, [x11, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_16:                                ;   in Loop: Header=BB0_8 Depth=2
	mov	x0, x24
	mov	x1, x28
	bl	_dlg_prev_button
	b	LBB0_21
LBB0_17:                                ;   in Loop: Header=BB0_8 Depth=2
	mov	x0, x21
	bl	_is_DLGK_MOUSE
	cbz	w0, LBB0_22
; %bb.18:                               ;   in Loop: Header=BB0_8 Depth=2
	ldr	w8, [x22]
	sub	w0, w21, w8
	bl	_dlg_ok_buttoncode
	str	w0, [sp, #64]
	tbz	w0, #31, LBB0_7
; %bb.19:                               ;   in Loop: Header=BB0_8 Depth=2
Lloh44:
	adrp	x8, _DLG_EXIT_OK@GOTPAGE
Lloh45:
	ldr	x8, [x8, _DLG_EXIT_OK@GOTPAGEOFF]
Lloh46:
	ldr	w8, [x8]
	str	w8, [sp, #64]
	b	LBB0_7
LBB0_20:                                ;   in Loop: Header=BB0_8 Depth=2
	mov	x0, x24
	mov	x1, x28
	bl	_dlg_next_button
LBB0_21:                                ;   in Loop: Header=BB0_8 Depth=2
	cmp	w0, #0
	csel	w28, w0, wzr, gt
	ldp	w6, w8, [sp, #72]
	sub	w1, w8, #2
	ldr	w5, [x23]
	mov	x0, x25
	mov	w2, #0
	mov	x3, x24
	mov	x4, x28
	bl	_dlg_draw_buttons
	b	LBB0_7
LBB0_22:                                ;   in Loop: Header=BB0_8 Depth=2
	add	x3, sp, #56
	add	x4, sp, #60
	mov	x0, x21
	mov	x1, x26
	mov	x2, x20
	bl	_dlg_check_scrolled
	cbz	w0, LBB0_7
LBB0_23:                                ;   in Loop: Header=BB0_8 Depth=2
	bl	_beep
	b	LBB0_7
LBB0_24:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x25
	bl	_dlg_will_resize
	bl	_dlg_clear
	mov	x0, x27
	bl	_free
	ldr	w9, [sp, #28]                   ; 4-byte Folded Reload
	ldr	w8, [sp, #32]                   ; 4-byte Folded Reload
	stp	w8, w9, [sp, #72]
Lloh47:
	adrp	x8, _TRUE@GOTPAGE
Lloh48:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh49:
	ldr	x8, [x8]
	str	w8, [sp, #56]
	ldr	x27, [sp, #16]                  ; 8-byte Folded Reload
	ldr	w20, [sp, #12]                  ; 4-byte Folded Reload
Lloh50:
	adrp	x23, _dialog_msgbox.binding@PAGE
Lloh51:
	add	x23, x23, _dialog_msgbox.binding@PAGEOFF
	ldr	x22, [sp, #40]                  ; 8-byte Folded Reload
	b	LBB0_1
LBB0_25:
	bl	_dlg_ok_buttoncode
	str	w0, [sp, #64]
	b	LBB0_27
LBB0_26:
	ldr	w2, [sp, #60]
	ldr	w4, [sp, #72]
	mov	x0, x25
	mov	x1, x27
	mov	x3, x20
	mov	w5, #0
	bl	_dlg_print_scrolled
Lloh52:
	adrp	x8, _FALSE@GOTPAGE
Lloh53:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh54:
	ldr	w1, [x8]
	mov	x0, x25
	bl	_dlg_draw_helpline
	mov	x0, x25
	bl	_wrefresh
	mov	x0, x25
	bl	_dlg_trace_win
Lloh55:
	adrp	x8, _DLG_EXIT_OK@GOTPAGE
Lloh56:
	ldr	x8, [x8, _DLG_EXIT_OK@GOTPAGEOFF]
Lloh57:
	ldr	w8, [x8]
	str	w8, [sp, #64]
LBB0_27:
	mov	x0, x25
	bl	_dlg_del_window
	bl	_dlg_mouse_free_regions
	mov	x0, x27
	bl	_free
Lloh58:
	adrp	x8, _dialog_vars@GOTPAGE
Lloh59:
	ldr	x8, [x8, _dialog_vars@GOTPAGEOFF]
	ldr	w9, [sp, #36]                   ; 4-byte Folded Reload
Lloh60:
	str	w9, [x8]
	ldr	w0, [sp, #64]
	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
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotStr	Lloh58, Lloh59, Lloh60
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_24-LBB0_6)>>2
	.byte	(LBB0_17-LBB0_6)>>2
	.byte	(LBB0_17-LBB0_6)>>2
	.byte	(LBB0_17-LBB0_6)>>2
	.byte	(LBB0_16-LBB0_6)>>2
	.byte	(LBB0_20-LBB0_6)>>2
	.byte	(LBB0_6-LBB0_6)>>2
                                        ; -- End function
	.section	__DATA,__data
	.p2align	2                               ; @dialog_msgbox.binding
_dialog_msgbox.binding:
	.long	131                             ; 0x83
	.long	132                             ; 0x84
	.long	129                             ; 0x81
	.long	128                             ; 0x80
	.long	133                             ; 0x85

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

l_.str.1:                               ; @.str.1
	.asciz	"title"

l_.str.2:                               ; @.str.2
	.asciz	"message"

l_.str.3:                               ; @.str.3
	.asciz	"height"

l_.str.4:                               ; @.str.4
	.asciz	"width"

l_.str.5:                               ; @.str.5
	.asciz	"pauseopt"

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

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