	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function firebird_handle_doer
_firebird_handle_doer:                  ## @firebird_handle_doer
	.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	$136, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	8(%rdi), %r13
	movq	_PDO_FIREBIRD_HANDLE_INITIALIZER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -116(%rbp)
	movq	_PDO_FB_SQLDA_VERSION@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	movl	%eax, -128(%rbp)
	movl	%eax, -152(%rbp)
	movq	$0, -136(%rbp)
	movq	$0, -160(%rbp)
	movl	$1, -144(%rbp)
	leaq	-144(%rbp), %rcx
	leaq	-116(%rbp), %r8
	xorl	%r9d, %r9d
	callq	_firebird_alloc_prepare_stmt
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movl	(%r13), %edi
	leaq	4(%r13), %r15
	movl	(%r14), %ecx
	leaq	-116(%rbp), %rdx
	leaq	-168(%rbp), %r8
	leaq	-144(%rbp), %r9
	movq	%r15, %rsi
	callq	_isc_dsql_execute2
	movl	$-1, %r14d
	testq	%rax, %rax
	jne	LBB0_7
## %bb.3:
	movl	(%r13), %r12d
	leaq	_firebird_handle_doer.info_count(%rip), %rdi
	callq	_const_cast
	leaq	-116(%rbp), %rsi
	leaq	-112(%rbp), %r9
	movl	%r12d, %edi
	movl	$1, %edx
	movl	%eax, %ecx
	movl	$64, %r8d
	callq	_isc_dsql_sql_info
	testq	%rax, %rax
	je	LBB0_4
LBB0_7:
	movq	%rbx, %rdi
	callq	_RECORD_ERROR
LBB0_8:
	movl	(%r13), %edi
	movq	_DSQL_drop@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-116(%rbp), %rsi
	callq	_isc_dsql_free_statement
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	movq	%rbx, %rdi
	callq	_RECORD_ERROR
	jmp	LBB0_10
LBB0_1:
	movl	$-1, %r14d
LBB0_10:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_12
## %bb.11:
	movl	%r14d, %eax
	addq	$136, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	cmpq	$0, (%rbx)
	je	LBB0_5
## %bb.6:
	movl	(%r13), %edi
	movq	%r15, %rsi
	callq	_isc_commit_retaining
	xorl	%r14d, %r14d
	testq	%rax, %rax
	jne	LBB0_7
	jmp	LBB0_8
LBB0_5:
	xorl	%r14d, %r14d
	jmp	LBB0_8
LBB0_12:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_PDO_FIREBIRD_HANDLE_INITIALIZER,4,2 ## @PDO_FIREBIRD_HANDLE_INITIALIZER
	.section	__TEXT,__const
_firebird_handle_doer.info_count:       ## @firebird_handle_doer.info_count
	.byte	128

	.comm	_PDO_FB_SQLDA_VERSION,4,2       ## @PDO_FB_SQLDA_VERSION
	.comm	_isc_info_end,1,0               ## @isc_info_end
	.comm	_isc_info_req_select_count,1,0  ## @isc_info_req_select_count
	.comm	_DSQL_drop,4,2                  ## @DSQL_drop
	.no_dead_strip	_firebird_handle_doer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function firebird_handle_doer
_firebird_handle_doer:                  ; @firebird_handle_doer
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
Lloh3:
	adrp	x8, _PDO_FIREBIRD_HANDLE_INITIALIZER@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PDO_FIREBIRD_HANDLE_INITIALIZER@GOTPAGEOFF]
	ldr	x22, [x0, #8]
Lloh5:
	ldr	w8, [x8]
	str	w8, [sp, #52]
Lloh6:
	adrp	x21, _PDO_FB_SQLDA_VERSION@GOTPAGE
Lloh7:
	ldr	x21, [x21, _PDO_FB_SQLDA_VERSION@GOTPAGEOFF]
	ldr	w8, [x21]
	str	w8, [sp, #16]
	str	w8, [sp, #40]
	str	xzr, [sp, #8]
	str	xzr, [sp, #32]
	mov	w8, #1
	str	w8, [sp]
	mov	x3, sp
	add	x4, sp, #52
	mov	w5, #0
	bl	_firebird_alloc_prepare_stmt
	cbz	w0, LBB0_7
; %bb.1:
	mov	x20, x22
	ldr	w0, [x20], #4
	ldr	w3, [x21]
	add	x2, sp, #52
	add	x4, sp, #24
	mov	x5, sp
	mov	x1, x20
	bl	_isc_dsql_execute2
	cbnz	x0, LBB0_3
; %bb.2:
	ldr	w21, [x22]
Lloh8:
	adrp	x0, _firebird_handle_doer.info_count@PAGE
Lloh9:
	add	x0, x0, _firebird_handle_doer.info_count@PAGEOFF
	bl	_const_cast
	mov	x3, x0
	add	x1, sp, #52
	add	x5, sp, #56
	mov	x0, x21
	mov	w2, #1
	mov	w4, #64
	bl	_isc_dsql_sql_info
	cbz	x0, LBB0_10
LBB0_3:
	mov	w20, #-1
LBB0_4:
	mov	x0, x19
	bl	_RECORD_ERROR
LBB0_5:
	ldr	w0, [x22]
Lloh10:
	adrp	x8, _DSQL_drop@GOTPAGE
Lloh11:
	ldr	x8, [x8, _DSQL_drop@GOTPAGEOFF]
Lloh12:
	ldr	w2, [x8]
	add	x1, sp, #52
	bl	_isc_dsql_free_statement
	cbz	x0, LBB0_8
; %bb.6:
	mov	x0, x19
	bl	_RECORD_ERROR
	b	LBB0_8
LBB0_7:
	mov	w20, #-1
LBB0_8:
	ldur	x8, [x29, #-40]
Lloh13:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh14:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_13
; %bb.9:
	mov	x0, x20
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
LBB0_10:
	ldr	x8, [x19]
	cbz	x8, LBB0_12
; %bb.11:
	ldr	w0, [x22]
	mov	x1, x20
	bl	_isc_commit_retaining
	mov	w20, #0
	cbnz	x0, LBB0_4
	b	LBB0_5
LBB0_12:
	mov	w20, #0
	b	LBB0_5
LBB0_13:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_PDO_FIREBIRD_HANDLE_INITIALIZER,4,2 ; @PDO_FIREBIRD_HANDLE_INITIALIZER
	.section	__TEXT,__const
_firebird_handle_doer.info_count:       ; @firebird_handle_doer.info_count
	.byte	128

	.comm	_PDO_FB_SQLDA_VERSION,4,2       ; @PDO_FB_SQLDA_VERSION
	.comm	_isc_info_end,1,0               ; @isc_info_end
	.comm	_isc_info_req_select_count,1,0  ; @isc_info_req_select_count
	.comm	_DSQL_drop,4,2                  ; @DSQL_drop
	.no_dead_strip	_firebird_handle_doer
.subsections_via_symbols
