	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dlg_add_quoted                 ## -- Begin function dlg_add_quoted
	.p2align	4, 0x90
_dlg_add_quoted:                        ## @dlg_add_quoted
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	xorl	%eax, %eax
	callq	_quote_delimiter
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_must_quote
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movb	$0, -33(%rbp)
	movq	%r14, %rdi
	callq	_dlg_add_result
	movb	(%rbx), %al
	testb	%al, %al
	je	LBB0_4
## %bb.2:
	incq	%rbx
	leaq	L_.str(%rip), %r15
	leaq	-34(%rbp), %r12
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movb	%al, -34(%rbp)
	movq	%r15, %rdi
	callq	_dlg_add_result
	movq	%r12, %rdi
	callq	_dlg_add_result
	movzbl	(%rbx), %eax
	incq	%rbx
	testb	%al, %al
	jne	LBB0_3
LBB0_4:
	movq	%r14, %rdi
	callq	_dlg_add_result
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	%rbx, %rdi
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dlg_add_result                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_dialog_vars,8,3                ## @dialog_vars
	.comm	_FIX_SINGLE,8,3                 ## @FIX_SINGLE
	.comm	_FIX_DOUBLE,8,3                 ## @FIX_DOUBLE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\\"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dlg_add_quoted                 ; -- Begin function dlg_add_quoted
	.p2align	2
_dlg_add_quoted:                        ; @dlg_add_quoted
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x20, x0
	bl	_quote_delimiter
	mov	x19, x0
	mov	x0, x20
	bl	_must_quote
	cbz	x0, LBB0_5
; %bb.1:
	strb	wzr, [sp, #15]
	mov	x0, x19
	bl	_dlg_add_result
	ldrb	w8, [x20]
	cbz	w8, LBB0_4
; %bb.2:
	add	x21, x20, #1
Lloh0:
	adrp	x20, l_.str@PAGE
Lloh1:
	add	x20, x20, l_.str@PAGEOFF
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	strb	w8, [sp, #14]
	mov	x0, x20
	bl	_dlg_add_result
	add	x0, sp, #14
	bl	_dlg_add_result
	ldrb	w8, [x21], #1
	cbnz	w8, LBB0_3
LBB0_4:
	mov	x0, x19
	bl	_dlg_add_result
	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
	add	sp, sp, #64
	ret
LBB0_5:
	mov	x0, x20
	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
	add	sp, sp, #64
	b	_dlg_add_result
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_dialog_vars,8,3                ; @dialog_vars
	.comm	_FIX_SINGLE,8,3                 ; @FIX_SINGLE
	.comm	_FIX_DOUBLE,8,3                 ; @FIX_DOUBLE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\\"

.subsections_via_symbols
