	.file	"extr_mysql_driver.c__pdo_mysql_error.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"_pdo_mysql_error"
.LC1:
	.string	"file=%s line=%d"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC2:
	.ascii	"Cannot execut"
	.string	"e queries while other unbuffered queries are active.  Consider using PDOStatement::fetchAll().  Alternatively, if your code is only ever going to run against mysql, you may enable query buffering by setting the PDO::MYSQL_ATTR_USE_BUFFERED_QUERY attribute."
	.align 8
.LC3:
	.string	"A stored procedure returning result sets of different size was called. This is not supported by libmysql"
	.section	.rodata.str1.1
.LC4:
	.string	"Throwing exception"
.LC5:
	.string	"SQLSTATE[%s] [%d] %s"
	.text
	.p2align 4
	.globl	_pdo_mysql_error
	.type	_pdo_mysql_error, @function
_pdo_mysql_error:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12d, ecx
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rsi
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	r14, QWORD PTR 16[rdi]
	lea	rdi, .LC0[rip]
	call	PDO_DBG_ENTER@PLT
	mov	edx, r12d
	mov	rsi, r13
	lea	rdi, .LC1[rip]
	call	PDO_DBG_INF_FMT@PLT
	test	rbx, rbx
	je	.L2
	mov	r15, QWORD PTR 8[rbx]
	mov	QWORD PTR 8[rsp], rbx
	lea	rbx, 8[r15]
	test	r15, r15
	je	.L4
	mov	rdi, QWORD PTR [r15]
	test	rdi, rdi
	jne	.L28
.L4:
	mov	edi, DWORD PTR [r14]
	call	mysql_errno@PLT
	mov	DWORD PTR [rbx], eax
.L5:
	mov	rdi, QWORD PTR 24[rbx]
	mov	QWORD PTR 8[rbx], r13
	mov	DWORD PTR 16[rbx], r12d
	test	rdi, rdi
	je	.L6
	mov	esi, DWORD PTR 4[rbp]
	call	pefree@PLT
	mov	QWORD PTR 24[rbx], 0
.L6:
	mov	eax, DWORD PTR [rbx]
	test	eax, eax
	je	.L7
	mov	r12d, DWORD PTR 4[rbp]
	cmp	eax, 2014
	je	.L29
	cmp	eax, 2057
	je	.L30
	mov	edi, DWORD PTR [r14]
	call	mysql_error@PLT
	mov	esi, r12d
	mov	rdi, rax
	call	pestrdup@PLT
	mov	QWORD PTR 24[rbx], rax
.L9:
	test	r15, r15
	je	.L11
	mov	rdi, QWORD PTR [r15]
	test	rdi, rdi
	jne	.L31
.L11:
	mov	edi, DWORD PTR [r14]
	call	mysql_sqlstate@PLT
	mov	esi, eax
	mov	rax, QWORD PTR 8[rsp]
	mov	edi, DWORD PTR [rax]
	call	strcpy@PLT
.L12:
	mov	eax, DWORD PTR 0[rbp]
	test	eax, eax
	je	.L32
.L13:
	mov	edi, DWORD PTR [rbx]
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	jmp	PDO_DBG_RETURN@PLT
	.p2align 4,,10
	.p2align 3
.L32:
	.cfi_restore_state
	lea	rdi, .LC4[rip]
	call	PDO_DBG_INF@PLT
	mov	rax, QWORD PTR 8[rsp]
	mov	ebp, DWORD PTR [rbx]
	mov	r13, QWORD PTR 24[rbx]
	mov	r12d, DWORD PTR [rax]
	xor	eax, eax
	call	php_pdo_get_exception@PLT
	mov	r9, r13
	mov	r8d, ebp
	mov	esi, ebp
	mov	edi, eax
	mov	ecx, r12d
	lea	rdx, .LC5[rip]
	call	zend_throw_exception_ex@PLT
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L7:
	mov	rax, QWORD PTR 8[rsp]
	mov	esi, DWORD PTR PDO_ERR_NONE[rip]
	mov	edi, DWORD PTR [rax]
	call	strcpy@PLT
	xor	edi, edi
	call	PDO_DBG_RETURN@PLT
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L2:
	lea	rax, 8[rbp]
	lea	rbx, 8[r14]
	xor	r15d, r15d
	mov	QWORD PTR 8[rsp], rax
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L28:
	call	mysql_stmt_errno@PLT
	mov	DWORD PTR 8[r15], eax
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L31:
	call	mysql_stmt_sqlstate@PLT
	mov	esi, eax
	mov	rax, QWORD PTR 8[rsp]
	mov	edi, DWORD PTR [rax]
	call	strcpy@PLT
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L30:
	mov	esi, r12d
	lea	rdi, .LC3[rip]
	call	pestrdup@PLT
	mov	QWORD PTR 24[rbx], rax
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L29:
	mov	esi, r12d
	lea	rdi, .LC2[rip]
	call	pestrdup@PLT
	mov	QWORD PTR 24[rbx], rax
	jmp	.L9
	.cfi_endproc
.LFE0:
	.size	_pdo_mysql_error, .-_pdo_mysql_error
	.comm	PDO_ERR_NONE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_mysql_driver.c__pdo_mysql_error.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"_pdo_mysql_error\000"
	.align	2
.LC1:
	.ascii	"file=%s line=%d\000"
	.align	2
.LC2:
	.ascii	"Cannot execute queries while other unbuffered queri"
	.ascii	"es are active.  Consider using PDOStatement::fetchA"
	.ascii	"ll().  Alternatively, if your code is only ever goi"
	.ascii	"ng to run against mysql, you may enable query buffe"
	.ascii	"ring by setting the PDO::MYSQL_ATTR_USE_BUFFERED_QU"
	.ascii	"ERY attribute.\000"
	.align	2
.LC3:
	.ascii	"A stored procedure returning result sets of differe"
	.ascii	"nt size was called. This is not supported by libmys"
	.ascii	"ql\000"
	.align	2
.LC4:
	.ascii	"Throwing exception\000"
	.align	2
.LC5:
	.ascii	"SQLSTATE[%s] [%d] %s\000"
	.text
	.align	2
	.global	_pdo_mysql_error
	.syntax unified
	.arm
	.fpu softvfp
	.type	_pdo_mysql_error, %function
_pdo_mysql_error:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r9, r2
	mov	r8, r3
	mov	r6, r0
	mov	r5, r1
	sub	sp, sp, #8
	ldr	r0, .L33
	ldr	r10, [r6, #12]
	bl	PDO_DBG_ENTER
	mov	r2, r8
	mov	r1, r9
	ldr	r0, .L33+4
	bl	PDO_DBG_INF_FMT
	cmp	r5, #0
	beq	.L2
	ldr	r7, [r5, #4]
	cmp	r7, #0
	add	r4, r7, #4
	beq	.L4
	ldr	r0, [r7]
	cmp	r0, #0
	bne	.L28
.L4:
	ldr	r0, [r10]
	bl	mysql_errno
	str	r0, [r4]
.L5:
	ldr	r0, [r4, #12]
	str	r9, [r4, #4]
	cmp	r0, #0
	str	r8, [r4, #8]
	beq	.L6
	ldr	r1, [r6, #4]
	bl	pefree
	mov	r3, #0
	str	r3, [r4, #12]
.L6:
	ldr	r8, [r4]
	cmp	r8, #0
	beq	.L7
	ldr	r3, .L33+8
	cmp	r8, r3
	beq	.L29
	ldr	r3, .L33+12
	cmp	r8, r3
	beq	.L30
	ldr	r0, [r10]
	bl	mysql_error
	ldr	r1, [r6, #4]
	bl	pestrdup
	str	r0, [r4, #12]
.L9:
	cmp	r7, #0
	ldr	r8, [r5]
	beq	.L11
	ldr	r0, [r7]
	cmp	r0, #0
	bne	.L31
.L11:
	ldr	r0, [r10]
	bl	mysql_sqlstate
	mov	r1, r0
	mov	r0, r8
	bl	strcpy
.L12:
	ldr	r3, [r6]
	cmp	r3, #0
	beq	.L32
	ldr	r0, [r4]
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	b	PDO_DBG_RETURN
.L32:
	ldr	r0, .L33+16
	bl	PDO_DBG_INF
	bl	php_pdo_get_exception
	ldr	r2, [r4, #12]
	ldr	r1, [r4]
	ldr	r3, [r5]
	stm	sp, {r1, r2}
	ldr	r2, .L33+20
	bl	zend_throw_exception_ex
	ldr	r0, [r4]
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	b	PDO_DBG_RETURN
.L7:
	ldr	r3, .L33+24
	ldr	r0, [r5]
	ldr	r1, [r3]
	bl	strcpy
	mov	r0, r8
	bl	PDO_DBG_RETURN
	b	.L9
.L2:
	mov	r7, r5
	add	r4, r10, #4
	add	r5, r6, #8
	b	.L4
.L28:
	bl	mysql_stmt_errno
	str	r0, [r7, #4]
	b	.L5
.L31:
	bl	mysql_stmt_sqlstate
	mov	r1, r0
	mov	r0, r8
	bl	strcpy
	b	.L12
.L30:
	ldr	r1, [r6, #4]
	ldr	r0, .L33+28
	bl	pestrdup
	str	r0, [r4, #12]
	b	.L9
.L29:
	ldr	r1, [r6, #4]
	ldr	r0, .L33+32
	bl	pestrdup
	str	r0, [r4, #12]
	b	.L9
.L34:
	.align	2
.L33:
	.word	.LC0
	.word	.LC1
	.word	2014
	.word	2057
	.word	.LC4
	.word	.LC5
	.word	PDO_ERR_NONE
	.word	.LC3
	.word	.LC2
	.size	_pdo_mysql_error, .-_pdo_mysql_error
	.comm	PDO_ERR_NONE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
