	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dlg_ctl_size                   ## -- Begin function dlg_ctl_size
	.p2align	4, 0x90
_dlg_ctl_size:                          ## @dlg_ctl_size
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_dialog_vars@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_3
## %bb.1:
	movl	%esi, %edx
	movl	%edi, %esi
	movq	_COLS@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_LINES@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	cmpl	%edx, %r8d
	jl	LBB0_4
## %bb.2:
	cmpl	%esi, %ecx
	jl	LBB0_4
LBB0_3:
	popq	%rbp
	retq
LBB0_4:
	leaq	L_.str(%rip), %rdi
	popq	%rbp
	jmp	_dlg_exiterr                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_dialog_vars,8,3                ## @dialog_vars
	.comm	_COLS,4,2                       ## @COLS
	.comm	_LINES,4,2                      ## @LINES
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Window too big. (height, width) = (%d, %d). Max allowed (%d, %d)."

	.comm	_SCOLS,4,2                      ## @SCOLS
	.comm	_SLINES,4,2                     ## @SLINES
	.comm	_dialog_state,8,3               ## @dialog_state
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dlg_ctl_size                   ; -- Begin function dlg_ctl_size
	.p2align	2
_dlg_ctl_size:                          ; @dlg_ctl_size
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _dialog_vars@GOTPAGE
Lloh1:
	ldr	x8, [x8, _dialog_vars@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_3
; %bb.1:
	mov	x2, x1
	mov	x1, x0
Lloh3:
	adrp	x8, _COLS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _COLS@GOTPAGEOFF]
Lloh5:
	ldr	w4, [x8]
Lloh6:
	adrp	x8, _LINES@GOTPAGE
Lloh7:
	ldr	x8, [x8, _LINES@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x8]
	cmp	w4, w2
	ccmp	w3, w0, #8, ge
	b.ge	LBB0_3
; %bb.2:
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	b	_dlg_exiterr
LBB0_3:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_dialog_vars,8,3                ; @dialog_vars
	.comm	_COLS,4,2                       ; @COLS
	.comm	_LINES,4,2                      ; @LINES
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Window too big. (height, width) = (%d, %d). Max allowed (%d, %d)."

	.comm	_SCOLS,4,2                      ; @SCOLS
	.comm	_SLINES,4,2                     ; @SLINES
	.comm	_dialog_state,8,3               ; @dialog_state
.subsections_via_symbols
