	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dialog_prompt_wrappedlines     ## -- Begin function dialog_prompt_wrappedlines
	.p2align	4, 0x90
_dialog_prompt_wrappedlines:            ## @dialog_prompt_wrappedlines
	.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	%eax, %eax
	testq	%rdi, %rdi
	je	LBB0_30
## %bb.1:
	movq	%rdi, %r15
	movb	(%rdi), %bl
	testb	%bl, %bl
	je	LBB0_30
## %bb.2:
	movl	%esi, %r12d
	movq	_use_dialog@GOTPCREL(%rip), %r9
	movq	_use_libdialog@GOTPCREL(%rip), %r10
	xorl	%eax, %eax
	xorl	%r14d, %r14d
	xorl	%r13d, %r13d
	jmp	LBB0_9
LBB0_18:                                ##   in Loop: Header=BB0_9 Depth=1
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_9 Depth=1
	incq	%r15
LBB0_8:                                 ##   in Loop: Header=BB0_9 Depth=1
	movb	(%r15), %bl
	testb	%bl, %bl
	je	LBB0_30
LBB0_9:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_28 Depth 2
	movq	(%r9), %rcx
	movq	(%r10), %r8
	movq	%rcx, %rdi
	orq	%r8, %rdi
	je	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	cmpb	$10, %bl
	jne	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_9 Depth=1
	testl	%edx, %edx
	cmovel	%edx, %r14d
	testq	%rcx, %rcx
	movl	$0, %ecx
	cmovnel	%ecx, %r14d
	movq	_FALSE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_9 Depth=1
	cmpb	$92, %bl
	jne	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_9 Depth=1
	xorl	%ecx, %ecx
	xorl	$1, %r13d
	sete	%cl
	addl	%ecx, %r14d
	cmpl	%r12d, %r14d
	jle	LBB0_7
	jmp	LBB0_25
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_9 Depth=1
	testl	%r13d, %r13d
	je	LBB0_19
## %bb.15:                              ##   in Loop: Header=BB0_9 Depth=1
	cmpb	$110, %bl
	jne	LBB0_20
## %bb.16:                              ##   in Loop: Header=BB0_9 Depth=1
	testq	%r8, %r8
	jne	LBB0_20
## %bb.17:                              ##   in Loop: Header=BB0_9 Depth=1
	xorl	%r13d, %r13d
	movq	_TRUE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	testl	%r12d, %r12d
	jns	LBB0_18
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_9 Depth=1
	incl	%r14d
	jmp	LBB0_24
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	_use_color@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	je	LBB0_23
## %bb.21:                              ##   in Loop: Header=BB0_9 Depth=1
	cmpb	$90, %bl
	jne	LBB0_23
## %bb.22:                              ##   in Loop: Header=BB0_9 Depth=1
	leaq	1(%r15), %rcx
	cmpb	$0, 1(%r15)
	leaq	2(%r15), %r15
	cmoveq	%rcx, %r15
	xorl	%r13d, %r13d
	jmp	LBB0_8
LBB0_23:                                ##   in Loop: Header=BB0_9 Depth=1
	addl	$2, %r14d
LBB0_24:                                ##   in Loop: Header=BB0_9 Depth=1
	xorl	%r13d, %r13d
	cmpl	%r12d, %r14d
	jle	LBB0_7
LBB0_25:                                ##   in Loop: Header=BB0_9 Depth=1
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	cmpl	$2, %r14d
	jl	LBB0_26
## %bb.3:                               ##   in Loop: Header=BB0_9 Depth=1
	movsbl	%bl, %edi
	callq	_isspace
	movq	%r15, %rbx
	testq	%rax, %rax
	jne	LBB0_4
## %bb.27:                              ##   in Loop: Header=BB0_9 Depth=1
	leaq	-1(%r15), %rcx
	.p2align	4, 0x90
LBB0_28:                                ##   Parent Loop BB0_9 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%rcx, %rbx
	cmpl	$3, %r14d
	jl	LBB0_4
## %bb.29:                              ##   in Loop: Header=BB0_28 Depth=2
	decl	%r14d
	movsbl	(%rbx), %edi
	callq	_isspace
	leaq	-1(%rbx), %rcx
	testq	%rax, %rax
	je	LBB0_28
	jmp	LBB0_4
LBB0_26:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	%r15, %rbx
	cmpl	$1, %r14d
	jne	LBB0_5
LBB0_4:                                 ##   in Loop: Header=BB0_9 Depth=1
	movsbl	(%rbx), %edi
	callq	_isspace
	testq	%rax, %rax
	cmovneq	%rbx, %r15
LBB0_5:                                 ##   in Loop: Header=BB0_9 Depth=1
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movq	_use_dialog@GOTPCREL(%rip), %r9
	movq	_use_libdialog@GOTPCREL(%rip), %r10
LBB0_6:                                 ##   in Loop: Header=BB0_9 Depth=1
	incl	%eax
	movl	$1, %r14d
	jmp	LBB0_7
LBB0_30:
	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
	.comm	_use_libdialog,8,3              ## @use_libdialog
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_use_color,8,3                  ## @use_color
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dialog_prompt_wrappedlines     ; -- Begin function dialog_prompt_wrappedlines
	.p2align	2
_dialog_prompt_wrappedlines:            ; @dialog_prompt_wrappedlines
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	cbz	x0, LBB0_26
; %bb.1:
	mov	x27, x0
	ldrb	w8, [x0]
	cbz	w8, LBB0_26
; %bb.2:
	mov	x22, x2
	mov	x19, x1
	mov	w20, #0
	mov	w28, #0
	mov	w26, #0
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]
	b	LBB0_7
LBB0_3:                                 ;   in Loop: Header=BB0_7 Depth=1
	sxtb	w0, w8
	bl	_isspace
	mov	x25, x27
	cbz	x0, LBB0_23
LBB0_4:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldrsb	w0, [x25]
	bl	_isspace
	cmp	x0, #0
	csel	x27, x27, x25, eq
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	w20, w20, #1
	mov	w28, #1
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	x27, x27, #1
	ldrb	w8, [x27]
	cbz	w8, LBB0_27
LBB0_7:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_24 Depth 2
	ldr	x10, [x23]
	ldr	x9, [x24]
	orr	x11, x10, x9
	cmp	x11, #0
	and	w11, w8, #0xff
	ccmp	w11, #10, #0, ne
	b.eq	LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	cmp	w11, #92
	b.ne	LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	eor	w26, w26, #0x1
	cmp	w26, #0
	cinc	w28, w28, eq
	cmp	w28, w19
	b.le	LBB0_6
	b	LBB0_21
LBB0_10:                                ;   in Loop: Header=BB0_7 Depth=1
	cmp	w22, #0
	ccmp	x10, #0, #0, ne
	csel	w28, w28, wzr, eq
Lloh4:
	adrp	x10, _FALSE@GOTPAGE
Lloh5:
	ldr	x10, [x10, _FALSE@GOTPAGEOFF]
Lloh6:
	ldr	w22, [x10]
LBB0_11:                                ;   in Loop: Header=BB0_7 Depth=1
	cbz	w26, LBB0_16
; %bb.12:                               ;   in Loop: Header=BB0_7 Depth=1
	and	w10, w8, #0xff
	cmp	w10, #110
	b.ne	LBB0_17
; %bb.13:                               ;   in Loop: Header=BB0_7 Depth=1
	cbnz	x9, LBB0_17
; %bb.14:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	w26, #0
Lloh7:
	adrp	x8, _TRUE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh9:
	ldr	w22, [x8]
	tbnz	w19, #31, LBB0_5
; %bb.15:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	x28, x26
	b	LBB0_6
LBB0_16:                                ;   in Loop: Header=BB0_7 Depth=1
	add	w28, w28, #1
	cmp	w28, w19
	b.le	LBB0_6
	b	LBB0_21
LBB0_17:                                ;   in Loop: Header=BB0_7 Depth=1
Lloh10:
	adrp	x9, _use_color@GOTPAGE
Lloh11:
	ldr	x9, [x9, _use_color@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	cbz	x9, LBB0_20
; %bb.18:                               ;   in Loop: Header=BB0_7 Depth=1
	and	w9, w8, #0xff
	cmp	w9, #90
	b.ne	LBB0_20
; %bb.19:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	w26, #0
	ldrb	w8, [x27, #1]!
	cmp	w8, #0
	cinc	x27, x27, ne
	ldrb	w8, [x27]
	cbnz	w8, LBB0_7
	b	LBB0_27
LBB0_20:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	w26, #0
	add	w28, w28, #2
	cmp	w28, w19
	b.le	LBB0_6
LBB0_21:                                ;   in Loop: Header=BB0_7 Depth=1
	cmp	w28, #2
	b.ge	LBB0_3
; %bb.22:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	x25, x27
	cmp	w28, #1
	b.eq	LBB0_4
	b	LBB0_5
LBB0_23:                                ;   in Loop: Header=BB0_7 Depth=1
	sub	x21, x27, #1
LBB0_24:                                ;   Parent Loop BB0_7 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x25, x21
	cmp	w28, #3
	b.lt	LBB0_4
; %bb.25:                               ;   in Loop: Header=BB0_24 Depth=2
	sub	w28, w28, #1
	mov	x21, x25
	ldrsb	w0, [x21], #-1
	bl	_isspace
	cbz	x0, LBB0_24
	b	LBB0_4
LBB0_26:
	mov	w20, #0
LBB0_27:
	mov	x0, x20
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_use_dialog,8,3                 ; @use_dialog
	.comm	_use_libdialog,8,3              ; @use_libdialog
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_use_color,8,3                  ; @use_color
.subsections_via_symbols
