	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dialog_prompt_numlines         ## -- Begin function dialog_prompt_numlines
	.p2align	4, 0x90
_dialog_prompt_numlines:                ## @dialog_prompt_numlines
	.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
	xorl	%r14d, %r14d
	testq	%rdi, %rdi
	je	LBB0_14
## %bb.1:
	movq	%rdi, %rbx
	movb	(%rdi), %al
	testb	%al, %al
	je	LBB0_14
## %bb.2:
	movq	%rsi, %r15
	movl	$1, %r14d
	movq	_use_dialog@GOTPCREL(%rip), %r13
	leaq	L_.str(%rip), %r12
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_6 Depth=1
	incq	%rbx
	incl	%r14d
	movq	_TRUE@GOTPCREL(%rip), %rax
LBB0_4:                                 ##   in Loop: Header=BB0_6 Depth=1
	movq	(%rax), %r15
LBB0_5:                                 ##   in Loop: Header=BB0_6 Depth=1
	movzbl	1(%rbx), %eax
	incq	%rbx
	testb	%al, %al
	je	LBB0_14
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	$0, (%r13)
	je	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movl	$2, %edx
	callq	_strncmp
	testq	%rax, %rax
	je	LBB0_3
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	cmpb	$10, (%rbx)
	jne	LBB0_5
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=1
	cmpq	$1, %r15
	adcl	$0, %r14d
	movq	_FALSE@GOTPCREL(%rip), %rax
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	_use_libdialog@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_6 Depth=1
	xorl	%ecx, %ecx
	cmpb	$10, %al
	sete	%cl
	addl	%ecx, %r14d
	jmp	LBB0_5
LBB0_12:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movl	$2, %edx
	callq	_strncmp
	testq	%rax, %rax
	jne	LBB0_5
## %bb.13:                              ##   in Loop: Header=BB0_6 Depth=1
	incq	%rbx
	incl	%r14d
	jmp	LBB0_5
LBB0_14:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_use_dialog,8,3                 ## @use_dialog
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\\n"

	.comm	_TRUE,8,3                       ## @TRUE
	.comm	_FALSE,8,3                      ## @FALSE
	.comm	_use_libdialog,8,3              ## @use_libdialog
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dialog_prompt_numlines         ; -- Begin function dialog_prompt_numlines
	.p2align	2
_dialog_prompt_numlines:                ; @dialog_prompt_numlines
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	cbz	x0, LBB0_13
; %bb.1:
	mov	x19, x0
	ldrb	w8, [x0]
	cbz	w8, LBB0_13
; %bb.2:
	mov	x21, x1
	mov	w20, #1
Lloh0:
	adrp	x23, _use_dialog@GOTPAGE
Lloh1:
	ldr	x23, [x23, _use_dialog@GOTPAGEOFF]
Lloh2:
	adrp	x24, _use_libdialog@GOTPAGE
Lloh3:
	ldr	x24, [x24, _use_libdialog@GOTPAGEOFF]
Lloh4:
	adrp	x22, l_.str@PAGE
Lloh5:
	add	x22, x22, l_.str@PAGEOFF
Lloh6:
	adrp	x25, _TRUE@GOTPAGE
Lloh7:
	ldr	x25, [x25, _TRUE@GOTPAGEOFF]
Lloh8:
	adrp	x26, _FALSE@GOTPAGE
Lloh9:
	ldr	x26, [x26, _FALSE@GOTPAGEOFF]
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x19, x19, #1
	add	w20, w20, #1
	ldr	x21, [x25]
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldrb	w8, [x19, #1]!
	cbz	w8, LBB0_14
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x23]
	cbz	x9, LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x19
	mov	x1, x22
	mov	w2, #2
	bl	_strncmp
	cbz	x0, LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	ldrb	w8, [x19]
	cmp	w8, #10
	b.ne	LBB0_4
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	x21, #0
	cinc	w20, w20, eq
	ldr	x21, [x26]
	b	LBB0_4
LBB0_9:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x9, [x24]
	cbz	x9, LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
	cmp	w8, #10
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x19
	mov	x1, x22
	mov	w2, #2
	bl	_strncmp
	cmp	x0, #0
	cinc	x19, x19, eq
LBB0_12:                                ;   in Loop: Header=BB0_5 Depth=1
	cinc	w20, w20, eq
	b	LBB0_4
LBB0_13:
	mov	w20, #0
LBB0_14:
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_use_dialog,8,3                 ; @use_dialog
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\\n"

	.comm	_TRUE,8,3                       ; @TRUE
	.comm	_FALSE,8,3                      ; @FALSE
	.comm	_use_libdialog,8,3              ; @use_libdialog
.subsections_via_symbols
