	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dblib_handle_quoter
_dblib_handle_quoter:                   ## @dblib_handle_quoter
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rax
	movq	$0, (%r8)
	cmpq	$0, (%rax)
	setne	%bl
	movq	_PDO_PARAM_STR_NATL@GOTPCREL(%rip), %rdi
	notl	%r9d
	testl	%r9d, (%rdi)
	sete	%al
	orb	%bl, %al
	movq	_PDO_PARAM_STR_CHAR@GOTPCREL(%rip), %rdi
	testl	%r9d, (%rdi)
	movq	%rcx, %r15
	movq	%rdx, %r14
	movq	%rsi, %rbx
	setne	%r9b
	andb	%al, %r9b
	testq	%rdx, %rdx
	je	LBB0_1
## %bb.2:
	cmpq	$1, %r14
	jne	LBB0_4
## %bb.3:
	xorl	%ecx, %ecx
	xorl	%edx, %edx
	jmp	LBB0_6
LBB0_1:
	xorl	%ecx, %ecx
	jmp	LBB0_8
LBB0_4:
	movq	%r14, %rsi
	andq	$-2, %rsi
	xorl	%ecx, %ecx
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%eax, %eax
	cmpb	$39, (%rbx,%rdx)
	sete	%al
	leaq	(%rcx,%rax), %rdi
	addq	%rcx, %rax
	incq	%rax
	movq	%rax, (%r8)
	xorl	%eax, %eax
	cmpb	$39, 1(%rbx,%rdx)
	sete	%al
	leaq	(%rax,%rdi), %rcx
	addq	$2, %rcx
	movq	%rcx, (%r8)
	addq	$2, %rdx
	cmpq	%rdx, %rsi
	jne	LBB0_5
LBB0_6:
	testb	$1, %r14b
	je	LBB0_8
## %bb.7:
	xorl	%eax, %eax
	cmpb	$39, (%rbx,%rdx)
	sete	%al
	addq	%rax, %rcx
	incq	%rcx
	movq	%rcx, (%r8)
LBB0_8:
	movzbl	%r9b, %r12d
	leaq	(%r12,%rcx), %rax
	addq	$2, %rax
	movq	%rax, (%r8)
	leaq	(%r12,%rcx), %rdi
	addq	$3, %rdi
	callq	_emalloc
	movq	%rax, (%r15)
	testb	%r12b, %r12b
	je	LBB0_10
## %bb.9:
	movb	$78, (%rax)
	incq	%rax
LBB0_10:
	leaq	1(%rax), %rcx
	movb	$39, (%rax)
	testq	%r14, %r14
	je	LBB0_25
## %bb.11:
	cmpq	$1, %r14
	jne	LBB0_13
## %bb.12:
	xorl	%eax, %eax
LBB0_21:
	testb	$1, %r14b
	je	LBB0_25
## %bb.22:
	movb	(%rbx,%rax), %al
	cmpb	$39, %al
	jne	LBB0_23
## %bb.24:
	movw	$10023, (%rcx)                  ## imm = 0x2727
	addq	$2, %rcx
	jmp	LBB0_25
LBB0_13:
	movq	%r14, %rsi
	andq	$-2, %rsi
	xorl	%eax, %eax
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_14 Depth=1
	movw	$10023, (%rcx)                  ## imm = 0x2727
	addq	$2, %rcx
LBB0_20:                                ##   in Loop: Header=BB0_14 Depth=1
	addq	$2, %rax
	cmpq	%rax, %rsi
	je	LBB0_21
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movzbl	(%rbx,%rax), %edx
	cmpb	$39, %dl
	jne	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=1
	movw	$10023, (%rcx)                  ## imm = 0x2727
	addq	$2, %rcx
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_14 Depth=1
	movb	%dl, (%rcx)
	incq	%rcx
LBB0_17:                                ##   in Loop: Header=BB0_14 Depth=1
	movzbl	1(%rbx,%rax), %edx
	cmpb	$39, %dl
	je	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_14 Depth=1
	movb	%dl, (%rcx)
	incq	%rcx
	jmp	LBB0_20
LBB0_23:
	movb	%al, (%rcx)
	incq	%rcx
LBB0_25:
	movw	$39, (%rcx)
	movl	$1, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PDO_PARAM_STR_NATL,4,2         ## @PDO_PARAM_STR_NATL
	.comm	_PDO_PARAM_STR_CHAR,4,2         ## @PDO_PARAM_STR_CHAR
	.no_dead_strip	_dblib_handle_quoter
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dblib_handle_quoter
_dblib_handle_quoter:                   ; @dblib_handle_quoter
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x21, x3
	mov	x19, x2
	mov	x20, x1
	ldr	x8, [x0]
	str	xzr, [x4]
	ldr	x8, [x8]
Lloh0:
	adrp	x9, _PDO_PARAM_STR_NATL@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PDO_PARAM_STR_NATL@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	bics	wzr, w9, w5
	ccmp	x8, #0, #0, ne
	cset	w8, ne
Lloh3:
	adrp	x9, _PDO_PARAM_STR_CHAR@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PDO_PARAM_STR_CHAR@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	bics	wzr, w9, w5
	cset	w9, ne
	and	w22, w9, w8
	mov	x8, #0
	cbz	x2, LBB0_3
; %bb.1:
	mov	x9, x20
	mov	x10, x19
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w11, [x9], #1
	cmp	w11, #39
	cinc	x8, x8, eq
	add	x8, x8, #1
	str	x8, [x4]
	subs	x10, x10, #1
	b.ne	LBB0_2
LBB0_3:
	cmp	w22, #0
	mov	w9, #2
	cinc	x9, x9, ne
	add	x8, x8, x9
	str	x8, [x4]
	add	x0, x8, #1
	bl	_emalloc
	str	x0, [x21]
	cbz	w22, LBB0_5
; %bb.4:
	mov	w8, #78
	strb	w8, [x0], #1
LBB0_5:
	mov	w8, #39
	strb	w8, [x0], #1
	cbz	x19, LBB0_11
; %bb.6:
	mov	w9, #10023
	b	LBB0_9
LBB0_7:                                 ;   in Loop: Header=BB0_9 Depth=1
	strb	w10, [x0], #1
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	add	x20, x20, #1
	subs	x19, x19, #1
	b.eq	LBB0_11
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w10, [x20]
	cmp	w10, #39
	b.ne	LBB0_7
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	strh	w9, [x0], #2
	b	LBB0_8
LBB0_11:
	strh	w8, [x0]
	mov	w0, #1
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PDO_PARAM_STR_NATL,4,2         ; @PDO_PARAM_STR_NATL
	.comm	_PDO_PARAM_STR_CHAR,4,2         ; @PDO_PARAM_STR_CHAR
	.no_dead_strip	_dblib_handle_quoter
.subsections_via_symbols
