	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dlg_auto_size                  ## -- Begin function dlg_auto_size
	.p2align	4, 0x90
_dlg_auto_size:                         ## @dlg_auto_size
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	movq	%rcx, %r14
	movq	%rdx, %rbx
	movq	%rsi, %r12
	movq	%rdi, %r13
	movslq	%r9d, %r15
	movq	%r15, %rdi
	callq	_DLG_TRACE
	movq	%r13, %rdi
	movq	%r12, %rsi
	movq	%rbx, %rdx
	movq	%r14, %rcx
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	movl	%r15d, %r9d
	callq	_real_auto_size
	movl	(%r14), %ecx
	movq	_SCOLS@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ecx
	jle	LBB0_2
## %bb.1:
	incl	(%rbx)
	movl	(%rax), %eax
	movl	%eax, (%r14)
LBB0_2:
	movq	_SLINES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%eax, (%rbx)
	jle	LBB0_4
## %bb.3:
	movl	%eax, (%rbx)
LBB0_4:
	movq	_dialog_state@GOTPCREL(%rip), %rax
	movslq	(%rax), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_DLG_TRACE                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SCOLS,4,2                      ## @SCOLS
	.comm	_SLINES,4,2                     ## @SLINES
	.comm	_dialog_state,8,2               ## @dialog_state
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dlg_auto_size                  ; -- Begin function dlg_auto_size
	.p2align	2
_dlg_auto_size:                         ; @dlg_auto_size
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x21, x5
	mov	x22, x4
	mov	x20, x3
	mov	x19, x2
	mov	x23, x1
	mov	x24, x0
	sxtw	x0, w21
	bl	_DLG_TRACE
	mov	x0, x24
	mov	x1, x23
	mov	x2, x19
	mov	x3, x20
	mov	x4, x22
	mov	x5, x21
	bl	_real_auto_size
	ldr	w9, [x20]
Lloh0:
	adrp	x8, _SCOLS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SCOLS@GOTPAGEOFF]
	ldr	w10, [x8]
	cmp	w9, w10
	b.le	LBB0_2
; %bb.1:
	ldr	w9, [x19]
	add	w9, w9, #1
	str	w9, [x19]
	ldr	w8, [x8]
	str	w8, [x20]
LBB0_2:
	ldr	w9, [x19]
Lloh2:
	adrp	x8, _SLINES@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SLINES@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cmp	w9, w8
	b.le	LBB0_4
; %bb.3:
	str	w8, [x19]
LBB0_4:
Lloh5:
	adrp	x8, _dialog_state@GOTPAGE
Lloh6:
	ldr	x8, [x8, _dialog_state@GOTPAGEOFF]
Lloh7:
	ldrsw	x0, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_DLG_TRACE
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_SCOLS,4,2                      ; @SCOLS
	.comm	_SLINES,4,2                     ; @SLINES
	.comm	_dialog_state,8,2               ; @dialog_state
.subsections_via_symbols
