	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pdo_odbc_error                 ## -- Begin function pdo_odbc_error
	.p2align	4, 0x90
_pdo_odbc_error:                        ## @pdo_odbc_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$1096, %rsp                     ## imm = 0x448
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, -1096(%rbp)                ## 8-byte Spill
	movq	%rcx, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	$0, -1088(%rbp)
	movq	8(%rdi), %r8
	testq	%rsi, %rsi
	je	LBB0_1
## %bb.2:
	movq	%rsi, %r15
	movq	8(%rsi), %rax
	leaq	8(%rax), %rbx
	movq	_SQL_NULL_HSTMT@GOTPCREL(%rip), %rsi
	cmpq	%rdx, (%rsi)
	jne	LBB0_5
## %bb.3:
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	(%rax), %rdx
	jmp	LBB0_5
LBB0_1:
	leaq	16(%r8), %rbx
	leaq	4(%rdi), %r15
LBB0_5:
	testq	%rdx, %rdx
	movq	%rdi, -1104(%rbp)               ## 8-byte Spill
	movl	%r9d, -1076(%rbp)               ## 4-byte Spill
	je	LBB0_7
## %bb.6:
	movq	_SQL_HANDLE_STMT@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_7:
	movq	8(%r8), %rdx
	testq	%rdx, %rdx
	je	LBB0_9
## %bb.8:
	movq	_SQL_HANDLE_DBC@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_9:
	movq	(%r8), %rdx
	movq	_SQL_HANDLE_ENV@GOTPCREL(%rip), %rax
LBB0_10:
	movq	(%rax), %r13
	leaq	40(%rbx), %r8
	movq	(%rbx), %rcx
	movq	8(%rbx), %r9
	leaq	-1088(%rbp), %rax
	movq	%r13, %rdi
	movq	%rdx, -1112(%rbp)               ## 8-byte Spill
	movq	%rdx, %rsi
	movl	$1, %edx
	pushq	%rax
	pushq	$7
	callq	_SQLGetDiagRec
	addq	$16, %rsp
	movq	%rax, %r14
	movq	_SQL_SUCCESS@GOTPCREL(%rip), %rax
	movq	_SQL_SUCCESS_WITH_INFO@GOTPCREL(%rip), %rcx
	cmpq	(%rax), %r14
	je	LBB0_12
## %bb.11:
	cmpq	(%rcx), %r14
	je	LBB0_12
## %bb.13:
	movq	$0, -1088(%rbp)
	xorl	%eax, %eax
	jmp	LBB0_14
LBB0_12:
	movq	-1088(%rbp), %rax
LBB0_14:
	movl	-1076(%rbp), %edx               ## 4-byte Reload
	movq	-1096(%rbp), %rsi               ## 8-byte Reload
	movq	8(%rbx), %rcx
	movb	$0, (%rcx,%rax)
	movq	%rsi, 16(%rbx)
	movl	%edx, 24(%rbx)
	movq	%r12, 32(%rbx)
	movl	(%r15), %edi
	movq	(%rbx), %rsi
	callq	_strcpy
	movq	-1104(%rbp), %rax               ## 8-byte Reload
	cmpl	$0, (%rax)
	jne	LBB0_16
## %bb.15:
	xorl	%eax, %eax
	callq	_php_pdo_get_exception
	movl	40(%rbx), %esi
	movl	(%r15), %ecx
	subq	$8, %rsp
	leaq	L_.str(%rip), %rdx
	movl	%eax, %edi
	movq	%r12, %r8
	movl	%esi, %r9d
	pushq	8(%rbx)
	callq	_zend_throw_exception_ex
	addq	$16, %rsp
LBB0_16:
	movq	_SQL_SUCCESS@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r14
	je	LBB0_18
## %bb.17:
	movq	_SQL_SUCCESS_WITH_INFO@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r14
	jne	LBB0_21
LBB0_18:
	movl	$2, %ebx
	leaq	-1122(%rbp), %r14
	leaq	-1116(%rbp), %r15
	leaq	-1072(%rbp), %r12
	.p2align	4, 0x90
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	movq	-1112(%rbp), %rsi               ## 8-byte Reload
	movl	%ebx, %edx
	movq	%r14, %rcx
	movq	%r15, %r8
	movq	%r12, %r9
	leaq	-1088(%rbp), %rax
	pushq	%rax
	pushq	$1023                           ## imm = 0x3FF
	callq	_SQLGetDiagRec
	addq	$16, %rsp
	incl	%ebx
	movq	_SQL_SUCCESS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_19
## %bb.20:                              ##   in Loop: Header=BB0_19 Depth=1
	movq	_SQL_SUCCESS_WITH_INFO@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_19
LBB0_21:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_23
## %bb.22:
	addq	$1096, %rsp                     ## imm = 0x448
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_23:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_SQL_NULL_HSTMT,8,3             ## @SQL_NULL_HSTMT
	.comm	_SQL_HANDLE_STMT,8,3            ## @SQL_HANDLE_STMT
	.comm	_SQL_HANDLE_DBC,8,3             ## @SQL_HANDLE_DBC
	.comm	_SQL_HANDLE_ENV,8,3             ## @SQL_HANDLE_ENV
	.comm	_SQL_SUCCESS,8,3                ## @SQL_SUCCESS
	.comm	_SQL_SUCCESS_WITH_INFO,8,3      ## @SQL_SUCCESS_WITH_INFO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"SQLSTATE[%s] %s: %d %s"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pdo_odbc_error                 ; -- Begin function pdo_odbc_error
	.p2align	2
_pdo_odbc_error:                        ; @pdo_odbc_error
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #1072
	str	w5, [sp, #8]                    ; 4-byte Folded Spill
	mov	x24, x4
	mov	x20, x3
	mov	x19, x2
	mov	x22, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
	str	xzr, [sp, #24]
	ldr	x8, [x0, #8]
	cbz	x1, LBB0_5
; %bb.1:
	mov	x21, x1
	ldr	x9, [x1, #8]
	add	x27, x9, #8
Lloh3:
	adrp	x10, _SQL_NULL_HSTMT@GOTPAGE
Lloh4:
	ldr	x10, [x10, _SQL_NULL_HSTMT@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	cmp	x10, x19
	ccmp	x9, #0, #4, eq
	b.eq	LBB0_3
; %bb.2:
	ldr	x19, [x9]
LBB0_3:
	cbz	x19, LBB0_6
LBB0_4:
Lloh6:
	adrp	x8, _SQL_HANDLE_STMT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SQL_HANDLE_STMT@GOTPAGEOFF]
	b	LBB0_9
LBB0_5:
	add	x27, x8, #16
	add	x21, x22, #4
	cbnz	x19, LBB0_4
LBB0_6:
	ldr	x19, [x8, #8]
	cbz	x19, LBB0_8
; %bb.7:
Lloh8:
	adrp	x8, _SQL_HANDLE_DBC@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SQL_HANDLE_DBC@GOTPAGEOFF]
	b	LBB0_9
LBB0_8:
	ldr	x19, [x8]
Lloh10:
	adrp	x8, _SQL_HANDLE_ENV@GOTPAGE
Lloh11:
	ldr	x8, [x8, _SQL_HANDLE_ENV@GOTPAGEOFF]
LBB0_9:
	ldr	x25, [x8]
	add	x4, x27, #40
	ldp	x3, x5, [x27]
	add	x7, sp, #24
	mov	x0, x25
	mov	x1, x19
	mov	w2, #1
	mov	w6, #7
	bl	_SQLGetDiagRec
	mov	x26, x0
Lloh12:
	adrp	x28, _SQL_SUCCESS@GOTPAGE
Lloh13:
	ldr	x28, [x28, _SQL_SUCCESS@GOTPAGEOFF]
	ldr	x8, [x28]
Lloh14:
	adrp	x23, _SQL_SUCCESS_WITH_INFO@GOTPAGE
Lloh15:
	ldr	x23, [x23, _SQL_SUCCESS_WITH_INFO@GOTPAGEOFF]
	ldr	x9, [x23]
	cmp	x0, x8
	ccmp	x0, x9, #4, ne
	b.ne	LBB0_11
; %bb.10:
	ldr	x8, [sp, #24]
	b	LBB0_12
LBB0_11:
	mov	x8, #0
	str	xzr, [sp, #24]
LBB0_12:
	ldr	x9, [x27, #8]
	strb	wzr, [x9, x8]
	str	x24, [x27, #16]
	ldr	w8, [sp, #8]                    ; 4-byte Folded Reload
	str	w8, [x27, #24]
	str	x20, [x27, #32]
	ldr	w0, [x21]
	ldr	x1, [x27]
	bl	_strcpy
	ldr	w8, [x22]
	cbnz	w8, LBB0_14
; %bb.13:
	bl	_php_pdo_get_exception
	ldr	w1, [x27, #40]
	ldr	w3, [x21]
	ldr	x6, [x27, #8]
Lloh16:
	adrp	x2, l_.str@PAGE
Lloh17:
	add	x2, x2, l_.str@PAGEOFF
	mov	x4, x20
	mov	x5, x1
	bl	_zend_throw_exception_ex
LBB0_14:
	ldr	x8, [x28]
	cmp	x26, x8
	b.eq	LBB0_16
; %bb.15:
	ldr	x8, [x23]
	cmp	x26, x8
	b.ne	LBB0_18
LBB0_16:
	mov	w20, #2
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	add	x3, sp, #18
	add	x4, sp, #12
	add	x5, sp, #32
	add	x7, sp, #24
	mov	x0, x25
	mov	x1, x19
	mov	x2, x20
	mov	w6, #1023
	bl	_SQLGetDiagRec
	ldr	x8, [x28]
	ldr	x9, [x23]
	add	w20, w20, #1
	cmp	x0, x8
	ccmp	x0, x9, #4, ne
	b.eq	LBB0_17
LBB0_18:
	ldur	x8, [x29, #-96]
Lloh18:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh19:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_20
; %bb.19:
	add	sp, sp, #1072
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_20:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_SQL_NULL_HSTMT,8,3             ; @SQL_NULL_HSTMT
	.comm	_SQL_HANDLE_STMT,8,3            ; @SQL_HANDLE_STMT
	.comm	_SQL_HANDLE_DBC,8,3             ; @SQL_HANDLE_DBC
	.comm	_SQL_HANDLE_ENV,8,3             ; @SQL_HANDLE_ENV
	.comm	_SQL_SUCCESS,8,3                ; @SQL_SUCCESS
	.comm	_SQL_SUCCESS_WITH_INFO,8,3      ; @SQL_SUCCESS_WITH_INFO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SQLSTATE[%s] %s: %d %s"

.subsections_via_symbols
