	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dialog_clear                   ## -- Begin function dialog_clear
	.p2align	4, 0x90
_dialog_clear:                          ## @dialog_clear
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_stdscr@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movq	_LINES@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_COLS@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	movq	_dlg@GOTPCREL(%rip), %rbx
	movl	8(%rbx), %ecx
	callq	_attr_clear
	cmpq	$0, (%rbx)
	je	LBB0_4
## %bb.1:
	movl	(%r15), %edi
	movl	8(%rbx), %esi
	callq	_wattrset
	movl	(%r15), %edi
	movq	(%rbx), %rcx
	movl	$1, %ebx
	xorl	%esi, %esi
	movl	$1, %edx
	callq	_mvwaddstr
	movl	(%r15), %edi
	movl	$1, %esi
	movl	$1, %edx
	callq	_wmove
	cmpl	$3, (%r14)
	jl	LBB0_4
## %bb.2:
	movq	_ACS_HLINE@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %edi
	movl	(%r12), %esi
	callq	_waddch
	incl	%ebx
	movl	(%r14), %eax
	decl	%eax
	cmpl	%eax, %ebx
	jl	LBB0_3
LBB0_4:
	movl	(%r15), %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_wnoutrefresh                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_stdscr,4,2                     ## @stdscr
	.comm	_LINES,4,2                      ## @LINES
	.comm	_COLS,4,2                       ## @COLS
	.comm	_dlg,16,3                       ## @dlg
	.comm	_ACS_HLINE,4,2                  ## @ACS_HLINE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dialog_clear                   ; -- Begin function dialog_clear
	.p2align	2
_dialog_clear:                          ; @dialog_clear
	.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, _stdscr@GOTPAGE
Lloh1:
	ldr	x19, [x19, _stdscr@GOTPAGEOFF]
	ldr	w0, [x19]
Lloh2:
	adrp	x8, _LINES@GOTPAGE
Lloh3:
	ldr	x8, [x8, _LINES@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	adrp	x20, _COLS@GOTPAGE
Lloh6:
	ldr	x20, [x20, _COLS@GOTPAGEOFF]
	ldr	w2, [x20]
Lloh7:
	adrp	x21, _dlg@GOTPAGE
Lloh8:
	ldr	x21, [x21, _dlg@GOTPAGEOFF]
	ldr	w3, [x21, #8]
	bl	_attr_clear
	ldr	x8, [x21]
	cbz	x8, LBB0_4
; %bb.1:
	ldr	w0, [x19]
	ldr	w1, [x21, #8]
	bl	_wattrset
	ldr	w0, [x19]
	ldr	x3, [x21]
	mov	w1, #0
	mov	w2, #1
	bl	_mvwaddstr
	ldr	w0, [x19]
	mov	w1, #1
	mov	w2, #1
	bl	_wmove
	ldr	w8, [x20]
	cmp	w8, #3
	b.lt	LBB0_4
; %bb.2:
	mov	w21, #1
Lloh9:
	adrp	x22, _ACS_HLINE@GOTPAGE
Lloh10:
	ldr	x22, [x22, _ACS_HLINE@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x19]
	ldr	w1, [x22]
	bl	_waddch
	add	w21, w21, #1
	ldr	w8, [x20]
	sub	w8, w8, #1
	cmp	w21, w8
	b.lt	LBB0_3
LBB0_4:
	ldr	w0, [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
	b	_wnoutrefresh
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_stdscr,4,2                     ; @stdscr
	.comm	_LINES,4,2                      ; @LINES
	.comm	_COLS,4,2                       ; @COLS
	.comm	_dlg,16,3                       ; @dlg
	.comm	_ACS_HLINE,4,2                  ; @ACS_HLINE
.subsections_via_symbols
