	.file	"extr_odbc_stmt.c_odbc_stmt_get_attr.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"SQLGetCursorName"
.LC1:
	.string	"Unknown Attribute"
.LC2:
	.string	"getAttribute"
.LC3:
	.string	"IM001"
	.text
	.p2align 4
	.type	odbc_stmt_get_attr, @function
odbc_stmt_get_attr:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdx
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	sub	rsp, 288
	.cfi_def_cfa_offset 320
	mov	rbx, QWORD PTR [rdi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 280[rsp], rax
	xor	eax, eax
	cmp	esi, 128
	je	.L2
	cmp	esi, 129
	jne	.L3
	mov	edi, DWORD PTR 20[rbx]
	lea	r12, 16[rsp]
	lea	rcx, 12[rsp]
	mov	edx, 256
	mov	rsi, r12
	mov	DWORD PTR 12[rsp], 0
	call	SQLGetCursorName@PLT
	cmp	DWORD PTR SQL_SUCCESS[rip], eax
	je	.L4
	cmp	DWORD PTR SQL_SUCCESS_WITH_INFO[rip], eax
	je	.L4
	lea	rdi, .LC0[rip]
	call	pdo_odbc_stmt_error@PLT
	xor	eax, eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L2:
	mov	eax, DWORD PTR 16[rbx]
	xor	esi, esi
	mov	rdi, rdx
	test	eax, eax
	setne	sil
	call	ZVAL_BOOL@PLT
	xor	eax, eax
.L1:
	mov	rcx, QWORD PTR 280[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L11
	add	rsp, 288
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	mov	edi, DWORD PTR 12[rbx]
	lea	rsi, .LC1[rip]
	call	strcpy@PLT
	lea	rax, .LC2[rip]
	mov	edi, DWORD PTR 8[rbx]
	lea	rsi, .LC3[rip]
	mov	QWORD PTR [rbx], rax
	call	strcpy@PLT
	mov	eax, -1
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L4:
	mov	edx, DWORD PTR 12[rsp]
	mov	rsi, r12
	mov	rdi, rbp
	call	ZVAL_STRINGL@PLT
	mov	eax, 1
	jmp	.L1
.L11:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	odbc_stmt_get_attr, .-odbc_stmt_get_attr
	.comm	SQL_SUCCESS_WITH_INFO,4,4
	.comm	SQL_SUCCESS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_odbc_stmt.c_odbc_stmt_get_attr.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"SQLGetCursorName\000"
	.align	2
.LC1:
	.ascii	"Unknown Attribute\000"
	.align	2
.LC2:
	.ascii	"getAttribute\000"
	.align	2
.LC3:
	.ascii	"IM001\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	odbc_stmt_get_attr, %function
odbc_stmt_get_attr:
	@ args = 0, pretend = 0, frame = 264
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r3, .L12
	sub	sp, sp, #264
	cmp	r1, #128
	mov	r6, r2
	ldr	r3, [r3]
	str	r3, [sp, #260]
	mov	r3,#0
	ldr	r5, [r0]
	beq	.L2
	cmp	r1, #129
	bne	.L3
	mov	r4, #0
	mov	r3, sp
	mov	r2, #256
	ldr	r0, [r5, #16]
	add	r1, sp, #4
	str	r4, [sp]
	bl	SQLGetCursorName
	ldr	r3, .L12+4
	ldr	r3, [r3]
	cmp	r3, r0
	beq	.L4
	ldr	r3, .L12+8
	ldr	r3, [r3]
	cmp	r3, r0
	beq	.L4
	ldr	r0, .L12+12
	bl	pdo_odbc_stmt_error
	mov	r0, r4
	b	.L1
.L2:
	ldr	r1, [r5, #12]
	mov	r0, r2
	subs	r1, r1, #0
	movne	r1, #1
	bl	ZVAL_BOOL
	mov	r0, #0
.L1:
	ldr	r3, .L12
	ldr	r2, [r3]
	ldr	r3, [sp, #260]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L11
	add	sp, sp, #264
	@ sp needed
	pop	{r4, r5, r6, pc}
.L3:
	ldr	r1, .L12+16
	ldr	r0, [r5, #8]
	bl	strcpy
	ldr	r3, .L12+20
	ldr	r0, [r5, #4]
	ldr	r1, .L12+24
	str	r3, [r5]
	bl	strcpy
	mvn	r0, #0
	b	.L1
.L4:
	mov	r0, r6
	ldr	r2, [sp]
	add	r1, sp, #4
	bl	ZVAL_STRINGL
	mov	r0, #1
	b	.L1
.L11:
	bl	__stack_chk_fail
.L13:
	.align	2
.L12:
	.word	.LC4
	.word	SQL_SUCCESS
	.word	SQL_SUCCESS_WITH_INFO
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.size	odbc_stmt_get_attr, .-odbc_stmt_get_attr
	.comm	SQL_SUCCESS_WITH_INFO,4,4
	.comm	SQL_SUCCESS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
