	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mysql_handle_quoter
_mysql_handle_quoter:                   ## @mysql_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r13
	movq	%rcx, %r14
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	cmpq	$0, 8(%rax)
	setne	%al
	movq	_PDO_PARAM_STR_NATL@GOTPCREL(%rip), %rcx
	notl	%r9d
	movl	(%rcx), %ecx
	andl	%r9d, %ecx
	sete	%cl
	orb	%al, %cl
	movq	_PDO_PARAM_STR_CHAR@GOTPCREL(%rip), %rax
	andl	(%rax), %r9d
	setne	%r12b
	andb	%cl, %r12b
	leaq	L_.str(%rip), %rdi
	callq	_PDO_DBG_ENTER
	leaq	L_.str.1(%rip), %rdi
	movq	%rbx, %rsi
	xorl	%eax, %eax
	callq	_PDO_DBG_INF_FMT
	leaq	L_.str.2(%rip), %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdx
	movq	%rsi, %r15
	xorl	%eax, %eax
	callq	_PDO_DBG_INF_FMT
	movzbl	%r12b, %ebx
	leal	3(%rbx), %edx
	movl	$2, %edi
	movq	%r15, %rsi
	callq	_safe_emalloc
	movq	%rax, (%r14)
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rcx), %edi
	cmpb	$1, %bl
	jne	LBB0_2
## %bb.1:
	addq	$2, %rax
	movq	%rax, %rsi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	%r15, %rcx
	callq	_mysql_real_escape_string
	movq	%rax, (%r13)
	movq	(%r14), %rax
	movb	$78, (%rax)
	movq	(%r14), %rax
	movb	$39, 1(%rax)
	movq	(%r13), %rax
	incq	%rax
	jmp	LBB0_3
LBB0_2:
	incq	%rax
	movq	%rax, %rsi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	%r15, %rcx
	callq	_mysql_real_escape_string
	movq	%rax, (%r13)
	movq	(%r14), %rax
	movb	$39, (%rax)
	movq	(%r13), %rax
LBB0_3:
	movq	(%r14), %rcx
	leaq	1(%rax), %rdx
	movq	%rdx, (%r13)
	movb	$39, 1(%rcx,%rax)
	movq	(%r14), %rax
	movq	(%r13), %rcx
	leaq	1(%rcx), %rdx
	movq	%rdx, (%r13)
	movb	$0, 1(%rax,%rcx)
	movl	(%r13), %esi
	movq	(%r14), %rdx
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_PDO_DBG_INF_FMT
	movl	$1, %edi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PDO_DBG_RETURN                 ## TAILCALL
	.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
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"mysql_handle_quoter"

L_.str.1:                               ## @.str.1
	.asciz	"dbh=%p"

L_.str.2:                               ## @.str.2
	.asciz	"unquoted=%.*s"

L_.str.3:                               ## @.str.3
	.asciz	"quoted=%.*s"

	.no_dead_strip	_mysql_handle_quoter
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mysql_handle_quoter
_mysql_handle_quoter:                   ; @mysql_handle_quoter
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
	mov	x20, x4
	mov	x19, x3
	mov	x21, x2
	mov	x22, x1
	mov	x23, x0
	ldr	x24, [x0]
	ldr	x8, [x24, #8]
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	w25, ne
Lloh3:
	adrp	x8, _PDO_PARAM_STR_CHAR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PDO_PARAM_STR_CHAR@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	bics	wzr, w8, w5
	cset	w26, ne
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_PDO_DBG_ENTER
	str	x23, [sp]
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_PDO_DBG_INF_FMT
	stp	x21, x22, [sp]
Lloh10:
	adrp	x0, l_.str.2@PAGE
Lloh11:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_PDO_DBG_INF_FMT
	ands	w23, w26, w25
	mov	w8, #3
	cinc	w2, w8, ne
	mov	w0, #2
	mov	x1, x21
	bl	_safe_emalloc
	mov	x8, x0
	str	x0, [x19]
	ldr	w0, [x24]
	cmp	w23, #1
	b.ne	LBB0_2
; %bb.1:
	add	x1, x8, #2
	mov	x2, x22
	mov	x3, x21
	bl	_mysql_real_escape_string
	str	x0, [x20]
	ldr	x8, [x19]
	mov	w9, #78
	strb	w9, [x8]
	ldr	x8, [x19]
	mov	w9, #39
	strb	w9, [x8, #1]
	ldr	x8, [x20]
	add	x8, x8, #1
	b	LBB0_3
LBB0_2:
	add	x1, x8, #1
	mov	x2, x22
	mov	x3, x21
	bl	_mysql_real_escape_string
	str	x0, [x20]
	ldr	x8, [x19]
	mov	w9, #39
	strb	w9, [x8]
	ldr	x8, [x20]
LBB0_3:
	ldr	x9, [x19]
	add	x8, x8, #1
	str	x8, [x20]
	mov	w10, #39
	strb	w10, [x9, x8]
	ldr	x8, [x19]
	ldr	x9, [x20]
	add	x9, x9, #1
	str	x9, [x20]
	strb	wzr, [x8, x9]
	ldr	x8, [x20]
	ldr	x9, [x19]
	stp	x8, x9, [sp]
Lloh12:
	adrp	x0, l_.str.3@PAGE
Lloh13:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_PDO_DBG_INF_FMT
	mov	w0, #1
	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
	add	sp, sp, #96
	b	_PDO_DBG_RETURN
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh12, Lloh13
	.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
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"mysql_handle_quoter"

l_.str.1:                               ; @.str.1
	.asciz	"dbh=%p"

l_.str.2:                               ; @.str.2
	.asciz	"unquoted=%.*s"

l_.str.3:                               ; @.str.3
	.asciz	"quoted=%.*s"

	.no_dead_strip	_mysql_handle_quoter
.subsections_via_symbols
