	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pdo_raise_impl_error           ## -- Begin function pdo_raise_impl_error
	.p2align	4, 0x90
_pdo_raise_impl_error:                  ## @pdo_raise_impl_error
	.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	%rcx, %r15
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	$0, -40(%rbp)
	testq	%rsi, %rsi
	cmoveq	%rdi, %rbx
	movq	(%rbx), %rdi
	movq	%rdx, %rsi
	movl	$6, %edx
	callq	_strncpy
	movq	(%rbx), %rdi
	callq	_pdo_sqlstate_state_to_description
	testq	%rax, %rax
	leaq	L_.str(%rip), %r8
	cmovneq	%rax, %r8
	movq	(%rbx), %rcx
	testq	%r15, %r15
	je	LBB0_2
## %bb.1:
	leaq	L_.str.1(%rip), %rdx
	leaq	-40(%rbp), %rdi
	xorl	%esi, %esi
	movq	%r15, %r9
	xorl	%eax, %eax
	callq	_spprintf
	testq	%r14, %r14
	jne	LBB0_4
	jmp	LBB0_6
LBB0_2:
	leaq	L_.str.2(%rip), %rdx
	leaq	-40(%rbp), %rdi
	xorl	%esi, %esi
	xorl	%eax, %eax
	callq	_spprintf
	testq	%r14, %r14
	je	LBB0_6
LBB0_4:
	movq	8(%r14), %rax
	movq	_PDO_ERRMODE_EXCEPTION@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
LBB0_6:
	movl	$1, %edi
	callq	_php_pdo_get_exception_base
	movq	%rax, %r12
	xorl	%eax, %eax
	callq	_php_pdo_get_exception
	movq	%rax, %r15
	leaq	-48(%rbp), %r14
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_object_init_ex
	movq	-40(%rbp), %r8
	leaq	L_.str.4(%rip), %rdx
	movq	%r12, %rdi
	movq	%r14, %rsi
	movl	$7, %ecx
	callq	_zend_update_property_string
	movq	(%rbx), %r8
	leaq	L_.str.5(%rip), %rdx
	movq	%r12, %rdi
	movq	%r14, %rsi
	movl	$4, %ecx
	callq	_zend_update_property_string
	leaq	-44(%rbp), %r12
	movq	%r12, %rdi
	callq	_array_init
	movq	(%rbx), %rsi
	movq	%r12, %rdi
	callq	_add_next_index_string
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_add_next_index_long
	leaq	L_.str.6(%rip), %rdx
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	$9, %ecx
	movq	%r12, %r8
	callq	_zend_update_property
	movq	%r12, %rdi
	callq	_zval_ptr_dtor
	movq	%r14, %rdi
	callq	_zend_throw_exception_object
	jmp	LBB0_7
LBB0_5:
	movq	_E_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-40(%rbp), %rcx
	leaq	L_.str.3(%rip), %rdx
	xorl	%edi, %edi
	callq	_php_error_docref
LBB0_7:
	movq	-40(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_9
## %bb.8:
	callq	_efree
LBB0_9:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PDO_ERRMODE_SILENT,8,3         ## @PDO_ERRMODE_SILENT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"<<Unknown error>>"

L_.str.1:                               ## @.str.1
	.asciz	"SQLSTATE[%s]: %s: %s"

L_.str.2:                               ## @.str.2
	.asciz	"SQLSTATE[%s]: %s"

	.comm	_PDO_ERRMODE_EXCEPTION,8,3      ## @PDO_ERRMODE_EXCEPTION
	.comm	_E_WARNING,4,2                  ## @E_WARNING
L_.str.3:                               ## @.str.3
	.asciz	"%s"

L_.str.4:                               ## @.str.4
	.asciz	"message"

L_.str.5:                               ## @.str.5
	.asciz	"code"

L_.str.6:                               ## @.str.6
	.asciz	"errorInfo"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pdo_raise_impl_error           ; -- Begin function pdo_raise_impl_error
	.p2align	2
_pdo_raise_impl_error:                  ; @pdo_raise_impl_error
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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, x3
	mov	x19, x0
	str	xzr, [sp, #24]
	cmp	x1, #0
	csel	x21, x0, x1, eq
	ldr	x0, [x21]
	mov	x1, x2
	mov	w2, #6
	bl	_strncpy
	ldr	x0, [x21]
	bl	_pdo_sqlstate_state_to_description
Lloh0:
	adrp	x8, l_.str@PAGE
Lloh1:
	add	x8, x8, l_.str@PAGEOFF
	cmp	x0, #0
	csel	x4, x8, x0, eq
	ldr	x3, [x21]
	cbz	x20, LBB0_2
; %bb.1:
Lloh2:
	adrp	x2, l_.str.1@PAGE
Lloh3:
	add	x2, x2, l_.str.1@PAGEOFF
	str	x20, [sp]
	b	LBB0_3
LBB0_2:
Lloh4:
	adrp	x2, l_.str.2@PAGE
Lloh5:
	add	x2, x2, l_.str.2@PAGEOFF
LBB0_3:
	add	x0, sp, #24
	mov	w1, #0
	bl	_spprintf
	cbz	x19, LBB0_5
; %bb.4:
	ldr	x8, [x19, #8]
Lloh6:
	adrp	x9, _PDO_ERRMODE_EXCEPTION@GOTPAGE
Lloh7:
	ldr	x9, [x9, _PDO_ERRMODE_EXCEPTION@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_8
LBB0_5:
	mov	w0, #1
	bl	_php_pdo_get_exception_base
	mov	x19, x0
	bl	_php_pdo_get_exception
	mov	x20, x0
	add	x0, sp, #20
	mov	x1, x20
	bl	_object_init_ex
	ldr	x4, [sp, #24]
Lloh9:
	adrp	x2, l_.str.4@PAGE
Lloh10:
	add	x2, x2, l_.str.4@PAGEOFF
	add	x1, sp, #20
	mov	x0, x19
	mov	w3, #7
	bl	_zend_update_property_string
	ldr	x4, [x21]
Lloh11:
	adrp	x2, l_.str.5@PAGE
Lloh12:
	add	x2, x2, l_.str.5@PAGEOFF
	add	x1, sp, #20
	mov	x0, x19
	mov	w3, #4
	bl	_zend_update_property_string
	add	x0, sp, #16
	bl	_array_init
	ldr	x1, [x21]
	add	x0, sp, #16
	bl	_add_next_index_string
	add	x0, sp, #16
	mov	w1, #0
	bl	_add_next_index_long
Lloh13:
	adrp	x2, l_.str.6@PAGE
Lloh14:
	add	x2, x2, l_.str.6@PAGEOFF
	add	x1, sp, #20
	add	x4, sp, #16
	mov	x0, x20
	mov	w3, #9
	bl	_zend_update_property
	add	x0, sp, #16
	bl	_zval_ptr_dtor
	add	x0, sp, #20
	bl	_zend_throw_exception_object
	ldr	x0, [sp, #24]
	cbz	x0, LBB0_7
LBB0_6:
	bl	_efree
LBB0_7:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_8:
Lloh15:
	adrp	x8, _E_WARNING@GOTPAGE
Lloh16:
	ldr	x8, [x8, _E_WARNING@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	ldr	x3, [sp, #24]
Lloh18:
	adrp	x2, l_.str.3@PAGE
Lloh19:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	x0, #0
	bl	_php_error_docref
	ldr	x0, [sp, #24]
	cbnz	x0, LBB0_6
	b	LBB0_7
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_PDO_ERRMODE_SILENT,8,3         ; @PDO_ERRMODE_SILENT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"<<Unknown error>>"

l_.str.1:                               ; @.str.1
	.asciz	"SQLSTATE[%s]: %s: %s"

l_.str.2:                               ; @.str.2
	.asciz	"SQLSTATE[%s]: %s"

	.comm	_PDO_ERRMODE_EXCEPTION,8,3      ; @PDO_ERRMODE_EXCEPTION
	.comm	_E_WARNING,4,2                  ; @E_WARNING
l_.str.3:                               ; @.str.3
	.asciz	"%s"

l_.str.4:                               ; @.str.4
	.asciz	"message"

l_.str.5:                               ; @.str.5
	.asciz	"code"

l_.str.6:                               ; @.str.6
	.asciz	"errorInfo"

.subsections_via_symbols
