	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function odbc_stmt_get_attr
_odbc_stmt_get_attr:                    ## @odbc_stmt_get_attr
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$288, %rsp                      ## imm = 0x120
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdx, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -24(%rbp)
	movq	(%rdi), %rbx
	cmpl	$128, %esi
	je	LBB0_6
## %bb.1:
	cmpl	$129, %esi
	jne	LBB0_7
## %bb.2:
	movl	$0, -292(%rbp)
	movl	20(%rbx), %edi
	leaq	-288(%rbp), %rsi
	leaq	-292(%rbp), %rcx
	movl	$256, %edx                      ## imm = 0x100
	callq	_SQLGetCursorName
	movq	_SQL_SUCCESS@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_4
## %bb.3:
	movq	_SQL_SUCCESS_WITH_INFO@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_4
## %bb.5:
	leaq	L_.str(%rip), %rdi
	callq	_pdo_odbc_stmt_error
	xorl	%eax, %eax
	jmp	LBB0_8
LBB0_6:
	xorl	%esi, %esi
	cmpl	$0, 16(%rbx)
	setne	%sil
	movq	%r14, %rdi
	callq	_ZVAL_BOOL
	xorl	%eax, %eax
	jmp	LBB0_8
LBB0_7:
	movl	12(%rbx), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_strcpy
	leaq	L_.str.2(%rip), %rax
	movq	%rax, (%rbx)
	movl	8(%rbx), %edi
	leaq	L_.str.3(%rip), %rsi
	callq	_strcpy
	movl	$-1, %eax
	jmp	LBB0_8
LBB0_4:
	movl	-292(%rbp), %edx
	leaq	-288(%rbp), %rsi
	movq	%r14, %rdi
	callq	_ZVAL_STRINGL
	movl	$1, %eax
LBB0_8:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-24(%rbp), %rcx
	jne	LBB0_10
## %bb.9:
	addq	$288, %rsp                      ## imm = 0x120
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_10:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_SQL_SUCCESS,4,2                ## @SQL_SUCCESS
	.comm	_SQL_SUCCESS_WITH_INFO,4,2      ## @SQL_SUCCESS_WITH_INFO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"SQLGetCursorName"

L_.str.1:                               ## @.str.1
	.asciz	"Unknown Attribute"

L_.str.2:                               ## @.str.2
	.asciz	"getAttribute"

L_.str.3:                               ## @.str.3
	.asciz	"IM001"

	.no_dead_strip	_odbc_stmt_get_attr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function odbc_stmt_get_attr
_odbc_stmt_get_attr:                    ; @odbc_stmt_get_attr
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #320
	.cfi_def_cfa_offset 320
	stp	x28, x27, [sp, #272]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #288]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #304]            ; 16-byte Folded Spill
	add	x29, sp, #304
	.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
	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, #-40]
	ldr	x20, [x0]
	cmp	w1, #128
	b.eq	LBB0_4
; %bb.1:
	cmp	w1, #129
	b.ne	LBB0_5
; %bb.2:
	str	wzr, [sp, #4]
	ldr	w0, [x20, #20]
	add	x1, sp, #8
	add	x3, sp, #4
	mov	w2, #256
	bl	_SQLGetCursorName
Lloh3:
	adrp	x8, _SQL_SUCCESS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SQL_SUCCESS@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _SQL_SUCCESS_WITH_INFO@GOTPAGE
Lloh7:
	ldr	x9, [x9, _SQL_SUCCESS_WITH_INFO@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	cmp	w0, w8
	ccmp	w0, w9, #4, ne
	b.ne	LBB0_6
; %bb.3:
	ldr	w2, [sp, #4]
	add	x1, sp, #8
	mov	x0, x19
	bl	_ZVAL_STRINGL
	mov	w0, #1
	b	LBB0_8
LBB0_4:
	ldr	w8, [x20, #16]
	cmp	w8, #0
	cset	w1, ne
	mov	x0, x19
	bl	_ZVAL_BOOL
	b	LBB0_7
LBB0_5:
	ldr	w0, [x20, #12]
Lloh9:
	adrp	x1, l_.str.1@PAGE
Lloh10:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_strcpy
Lloh11:
	adrp	x8, l_.str.2@PAGE
Lloh12:
	add	x8, x8, l_.str.2@PAGEOFF
	str	x8, [x20]
	ldr	w0, [x20, #8]
Lloh13:
	adrp	x1, l_.str.3@PAGE
Lloh14:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_strcpy
	mov	w0, #-1
	b	LBB0_8
LBB0_6:
Lloh15:
	adrp	x0, l_.str@PAGE
Lloh16:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pdo_odbc_stmt_error
LBB0_7:
	mov	w0, #0
LBB0_8:
	ldur	x8, [x29, #-40]
Lloh17:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh18:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_10
; %bb.9:
	ldp	x29, x30, [sp, #304]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #288]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #272]            ; 16-byte Folded Reload
	add	sp, sp, #320
	ret
LBB0_10:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_SQL_SUCCESS,4,2                ; @SQL_SUCCESS
	.comm	_SQL_SUCCESS_WITH_INFO,4,2      ; @SQL_SUCCESS_WITH_INFO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SQLGetCursorName"

l_.str.1:                               ; @.str.1
	.asciz	"Unknown Attribute"

l_.str.2:                               ; @.str.2
	.asciz	"getAttribute"

l_.str.3:                               ; @.str.3
	.asciz	"IM001"

	.no_dead_strip	_odbc_stmt_get_attr
.subsections_via_symbols
