	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function firebird_handle_get_attribute
_firebird_handle_get_attribute:         ## @firebird_handle_get_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	%rbx
	subq	$520, %rsp                      ## imm = 0x208
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $esi killed $esi def $rsi
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	addl	$-128, %esi
	cmpl	$5, %esi
	ja	LBB0_1
## %bb.2:
	movq	%rdx, %r14
	movq	8(%rdi), %rbx
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rsi,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_7:
	movb	$0, -544(%rbp)
	leaq	4(%rbx), %rdi
	movq	_firebird_info_cb@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-544(%rbp), %rdx
	callq	_isc_version
	testl	%eax, %eax
	je	LBB0_8
LBB0_9:
	movl	(%rbx), %esi
	jmp	LBB0_10
LBB0_1:
	xorl	%ebx, %ebx
	jmp	LBB0_12
LBB0_4:
	addq	$4, %rbx
	movq	_firebird_info_cb@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_isc_version
	xorl	%esi, %esi
	testl	%eax, %eax
	sete	%sil
LBB0_10:
	movq	%r14, %rdi
	callq	_ZVAL_BOOL
	jmp	LBB0_11
LBB0_5:
	movq	_RTLD_DEFAULT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_dlsym
	movl	$1, %ebx
	testl	%eax, %eax
	je	LBB0_12
## %bb.6:
	cltq
	leaq	-544(%rbp), %r15
	movq	%r15, %rdi
	callq	*%rax
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_ZVAL_STRING
	jmp	LBB0_12
LBB0_3:
	movl	(%rdi), %esi
	movq	%r14, %rdi
	callq	_ZVAL_LONG
	jmp	LBB0_11
LBB0_8:
	leaq	-544(%rbp), %rsi
	movq	%r14, %rdi
	callq	_ZVAL_STRING
LBB0_11:
	movl	$1, %ebx
LBB0_12:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_14
## %bb.13:
	movl	%ebx, %eax
	addq	$520, %rsp                      ## imm = 0x208
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	callq	___stack_chk_fail
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
LJTI0_0:
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_9
	.long	L0_0_set_4
	.long	L0_0_set_5
	.long	L0_0_set_3
	.end_data_region
                                        ## -- End function
	.comm	_firebird_info_cb,4,2           ## @firebird_info_cb
	.comm	_RTLD_DEFAULT,4,2               ## @RTLD_DEFAULT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"isc_get_client_version"

	.no_dead_strip	_firebird_handle_get_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_get_attribute
_firebird_handle_get_attribute:         ; @firebird_handle_get_attribute
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [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 w27, -40
	.cfi_offset w28, -48
	sub	sp, sp, #528
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	sub	w8, w1, #128
	cmp	w8, #5
	b.hi	LBB0_4
; %bb.1:
	mov	x19, x2
	ldr	x20, [x0, #8]
Lloh3:
	adrp	x9, lJTI0_0@PAGE
Lloh4:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	strb	wzr, [sp, #8]
	add	x0, x20, #4
Lloh5:
	adrp	x8, _firebird_info_cb@GOTPAGE
Lloh6:
	ldr	x8, [x8, _firebird_info_cb@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	add	x2, sp, #8
	bl	_isc_version
	cbz	w0, LBB0_9
LBB0_3:
	ldr	w1, [x20]
	b	LBB0_6
LBB0_4:
	mov	w0, #0
	b	LBB0_12
LBB0_5:
	add	x0, x20, #4
Lloh8:
	adrp	x8, _firebird_info_cb@GOTPAGE
Lloh9:
	ldr	x8, [x8, _firebird_info_cb@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x2, #0
	bl	_isc_version
	cmp	w0, #0
	cset	w1, eq
LBB0_6:
	mov	x0, x19
	bl	_ZVAL_BOOL
	b	LBB0_11
LBB0_7:
Lloh11:
	adrp	x8, _RTLD_DEFAULT@GOTPAGE
Lloh12:
	ldr	x8, [x8, _RTLD_DEFAULT@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
Lloh14:
	adrp	x1, l_.str@PAGE
Lloh15:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dlsym
                                        ; kill: def $w0 killed $w0 def $x0
	cbz	w0, LBB0_11
; %bb.8:
	sxtw	x8, w0
	add	x0, sp, #8
	blr	x8
LBB0_9:
	add	x1, sp, #8
	mov	x0, x19
	bl	_ZVAL_STRING
	b	LBB0_11
LBB0_10:
	ldr	w1, [x0]
	mov	x0, x19
	bl	_ZVAL_LONG
LBB0_11:
	mov	w0, #1
LBB0_12:
	ldur	x8, [x29, #-40]
Lloh16:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh17:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_14
; %bb.13:
	add	sp, sp, #528
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_14:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
                                        ; -- End function
	.comm	_firebird_info_cb,4,2           ; @firebird_info_cb
	.comm	_RTLD_DEFAULT,4,2               ; @RTLD_DEFAULT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"isc_get_client_version"

	.no_dead_strip	_firebird_handle_get_attribute
.subsections_via_symbols
