	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function firebird_handle_set_attribute
_firebird_handle_set_attribute:         ## @firebird_handle_set_attribute
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $esi killed $esi def $rsi
	xorl	%r15d, %r15d
	addl	$-128, %esi
	cmpl	$4, %esi
	ja	LBB0_20
## %bb.1:
	movq	%rdi, %rbx
	movq	8(%rdi), %r14
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rsi,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_12:
	movq	%rdx, %rdi
	callq	_zval_try_get_string
	movq	%rax, %rbx
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_UNEXPECTED
	testl	%eax, %eax
	jne	LBB0_20
## %bb.13:
	movl	16(%r14), %edi
	addq	$16, %r14
	testl	%edi, %edi
	jne	LBB0_17
	jmp	LBB0_18
LBB0_14:
	movq	%rdx, %rdi
	callq	_zval_try_get_string
	movq	%rax, %rbx
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_UNEXPECTED
	testl	%eax, %eax
	jne	LBB0_20
## %bb.15:
	movl	12(%r14), %edi
	addq	$12, %r14
	testl	%edi, %edi
	jne	LBB0_17
	jmp	LBB0_18
LBB0_10:
	movq	%rdx, %rdi
	callq	_zval_try_get_string
	movq	%rax, %rbx
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_UNEXPECTED
	testl	%eax, %eax
	jne	LBB0_20
## %bb.11:
	movl	20(%r14), %edi
	addq	$20, %r14
	testl	%edi, %edi
	je	LBB0_18
LBB0_17:
	callq	_efree
LBB0_18:
	movq	%rbx, %rdi
	callq	_ZSTR_VAL
	leaq	L_.str.1(%rip), %rdx
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	%eax, %ecx
	callq	_spprintf
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_zend_string_release_ex
	jmp	LBB0_19
LBB0_9:
	movq	%rdx, %rdi
	callq	_zval_get_long
	xorl	%ecx, %ecx
	testl	%eax, %eax
	setne	%cl
	movl	%ecx, 8(%r14)
	jmp	LBB0_19
LBB0_2:
	movq	%rdx, %rdi
	callq	_zval_get_long
	xorl	%r12d, %r12d
	testl	%eax, %eax
	setne	%r12b
	cmpl	%r12d, (%rbx)
	je	LBB0_19
## %bb.3:
	cmpl	$0, 4(%rbx)
	je	LBB0_8
## %bb.4:
	testl	%eax, %eax
	je	LBB0_6
## %bb.5:
	leaq	L_.str(%rip), %rax
	movq	%rax, (%r14)
	jmp	LBB0_20
LBB0_6:
	movq	%rbx, %rdi
	callq	_firebird_handle_commit
	testl	%eax, %eax
	je	LBB0_20
## %bb.7:
	movl	$0, 4(%rbx)
LBB0_8:
	movl	%r12d, (%rbx)
LBB0_19:
	movl	$1, %r15d
LBB0_20:
	movl	%r15d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
LJTI0_0:
	.long	L0_0_set_12
	.long	L0_0_set_14
	.long	L0_0_set_10
	.long	L0_0_set_9
	.long	L0_0_set_2
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Cannot enable auto-commit while a transaction is already open"

L_.str.1:                               ## @.str.1
	.asciz	"%s"

	.no_dead_strip	_firebird_handle_set_attribute
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function firebird_handle_set_attribute
_firebird_handle_set_attribute:         ; @firebird_handle_set_attribute
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	sub	w8, w1, #128
	cmp	w8, #4
	b.hi	LBB0_9
; %bb.1:
	mov	x20, x0
	ldr	x19, [x0, #8]
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	mov	x0, x2
	bl	_zval_try_get_string
	mov	x20, x0
	cmp	x0, #0
	cset	w0, eq
	bl	_UNEXPECTED
	cbnz	w0, LBB0_9
; %bb.3:
	ldr	w0, [x19, #16]!
	cbnz	w0, LBB0_6
	b	LBB0_7
LBB0_4:
	mov	x0, x2
	bl	_zval_try_get_string
	mov	x20, x0
	cmp	x0, #0
	cset	w0, eq
	bl	_UNEXPECTED
	cbnz	w0, LBB0_9
; %bb.5:
	ldr	w0, [x19, #12]!
	cbz	w0, LBB0_7
LBB0_6:
	bl	_efree
LBB0_7:
	mov	x0, x20
	bl	_ZSTR_VAL
	mov	x3, x0
Lloh2:
	adrp	x2, l_.str.1@PAGE
Lloh3:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	w1, #0
	bl	_spprintf
	mov	x0, x20
	mov	w1, #0
	bl	_zend_string_release_ex
	b	LBB0_19
LBB0_8:
	mov	x0, x2
	bl	_zval_try_get_string
	mov	x20, x0
	cmp	x0, #0
	cset	w0, eq
	bl	_UNEXPECTED
	cbz	w0, LBB0_15
LBB0_9:
	mov	w0, #0
	b	LBB0_20
LBB0_10:
	mov	x0, x2
	bl	_zval_get_long
	cmp	w0, #0
	cset	w8, ne
	str	w8, [x19, #8]
	b	LBB0_19
LBB0_11:
	mov	x0, x2
	bl	_zval_get_long
	cmp	w0, #0
	cset	w21, ne
	ldr	w8, [x20]
	cmp	w8, w21
	b.eq	LBB0_19
; %bb.12:
	ldr	w8, [x20, #4]
	cbz	w8, LBB0_18
; %bb.13:
	cbz	w0, LBB0_16
; %bb.14:
	mov	w0, #0
Lloh4:
	adrp	x8, l_.str@PAGE
Lloh5:
	add	x8, x8, l_.str@PAGEOFF
	str	x8, [x19]
	b	LBB0_20
LBB0_15:
	ldr	w0, [x19, #20]!
	cbnz	w0, LBB0_6
	b	LBB0_7
LBB0_16:
	mov	x0, x20
	bl	_firebird_handle_commit
	cbz	w0, LBB0_20
; %bb.17:
	str	wzr, [x20, #4]
LBB0_18:
	str	w21, [x20]
LBB0_19:
	mov	w0, #1
LBB0_20:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
	.byte	(LBB0_11-LBB0_2)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Cannot enable auto-commit while a transaction is already open"

l_.str.1:                               ; @.str.1
	.asciz	"%s"

	.no_dead_strip	_firebird_handle_set_attribute
.subsections_via_symbols
