	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pdo_firebird_fetch_error_func
_pdo_firebird_fetch_error_func:         ## @pdo_firebird_fetch_error_func
	.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	$424, %rsp                      ## imm = 0x1A8
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	(%rdi), %rbx
	movq	8(%rbx), %rdi
	movq	%rdi, -464(%rbp)
	callq	_isc_sqlcode
	testl	%eax, %eax
	je	LBB0_5
## %bb.1:
	movq	%r14, -456(%rbp)                ## 8-byte Spill
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_add_next_index_long
	xorl	%r13d, %r13d
	leaq	-464(%rbp), %r12
	leaq	L_.str(%rip), %r15
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movslq	%r13d, %rax
	leaq	(%rax,%rbp), %rdi
	addq	$-448, %rdi                     ## imm = 0xFE40
	movl	$398, %esi                      ## imm = 0x18E
	subl	%eax, %esi
	movq	%r12, %rdx
	callq	_fb_interpret
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%eax, %ebx
	leal	(%rbx,%r13), %eax
	leal	(%rbx,%r13), %r14d
	incl	%r14d
	cltq
	leaq	(%rax,%rbp), %rdi
	addq	$-448, %rdi                     ## imm = 0xFE40
	movq	%r15, %rsi
	callq	_strcpy
	leal	(%rbx,%r13), %eax
	addl	$3, %eax
	movl	%r14d, %r13d
	cmpl	$400, %eax                      ## imm = 0x190
	jb	LBB0_2
LBB0_4:
	leaq	-448(%rbp), %rsi
	movq	-456(%rbp), %rdi                ## 8-byte Reload
	jmp	LBB0_7
LBB0_5:
	cmpq	$0, (%rbx)
	je	LBB0_8
## %bb.6:
	movq	%r14, %rdi
	movl	$-999, %esi                     ## imm = 0xFC19
	callq	_add_next_index_long
	movq	(%rbx), %rdi
	callq	_const_cast
	movq	%r14, %rdi
	movq	%rax, %rsi
LBB0_7:
	callq	_add_next_index_string
LBB0_8:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_10
## %bb.9:
	movl	$1, %eax
	addq	$424, %rsp                      ## imm = 0x1A8
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	" "

	.no_dead_strip	_pdo_firebird_fetch_error_func
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pdo_firebird_fetch_error_func
_pdo_firebird_fetch_error_func:         ; @pdo_firebird_fetch_error_func
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #496
	.cfi_def_cfa_offset 496
	stp	x28, x27, [sp, #416]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #432]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #448]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #464]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #480]            ; 16-byte Folded Spill
	add	x29, sp, #480
	.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 w27, -72
	.cfi_offset w28, -80
	mov	x19, x2
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
	ldr	x20, [x0]
	ldr	x0, [x20, #8]
	str	x0, [sp]
	bl	_isc_sqlcode
	cbz	w0, LBB0_5
; %bb.1:
	mov	x1, x0
	mov	x0, x19
	bl	_add_next_index_long
	mov	w23, #0
	add	x21, sp, #8
	mov	w22, #398
Lloh3:
	adrp	x20, l_.str@PAGE
Lloh4:
	add	x20, x20, l_.str@PAGEOFF
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	sxtw	x24, w23
	add	x0, x21, x24
	sub	w1, w22, w23
	mov	x2, sp
	bl	_fb_interpret
	cbz	w0, LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x24, x24, w0, sxtw
	add	w23, w24, #1
	add	x0, x21, x24
	mov	x1, x20
	bl	_strcpy
	add	w8, w24, #3
	cmp	w8, #400
	b.lo	LBB0_2
LBB0_4:
	add	x1, sp, #8
	b	LBB0_7
LBB0_5:
	ldr	x8, [x20]
	cbz	x8, LBB0_8
; %bb.6:
	mov	x0, x19
	mov	w1, #-999
	bl	_add_next_index_long
	ldr	x0, [x20]
	bl	_const_cast
	mov	x1, x0
LBB0_7:
	mov	x0, x19
	bl	_add_next_index_string
LBB0_8:
	ldur	x8, [x29, #-72]
Lloh5:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh6:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_10
; %bb.9:
	mov	w0, #1
	ldp	x29, x30, [sp, #480]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #464]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #448]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #432]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #416]            ; 16-byte Folded Reload
	add	sp, sp, #496
	ret
LBB0_10:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	" "

	.no_dead_strip	_pdo_firebird_fetch_error_func
.subsections_via_symbols
