	.file	"extr_odbc_stmt.c_odbc_stmt_dtor.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	odbc_stmt_dtor, @function
odbc_stmt_dtor:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	rbp, QWORD PTR 8[rdi]
	mov	rsi, QWORD PTR 0[rbp]
	cmp	rsi, QWORD PTR SQL_NULL_HANDLE[rip]
	je	.L2
	cmp	QWORD PTR [rdi], 0
	jne	.L10
.L3:
	mov	edi, DWORD PTR SQL_HANDLE_STMT[rip]
	call	SQLFreeHandle@PLT
	mov	rax, QWORD PTR SQL_NULL_HANDLE[rip]
	mov	QWORD PTR 0[rbp], rax
.L2:
	mov	rdi, r12
	mov	rsi, rbp
	call	free_cols@PLT
	mov	rdi, QWORD PTR 8[rbp]
	test	rdi, rdi
	je	.L4
	call	efree@PLT
.L4:
	mov	rdi, rbp
	call	efree@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, 1
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	mov	rdi, rsi
	call	SQLCloseCursor@PLT
	mov	rsi, QWORD PTR 0[rbp]
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	odbc_stmt_dtor, .-odbc_stmt_dtor
	.comm	SQL_NULL_HANDLE,8,8
	.comm	SQL_HANDLE_STMT,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_dtor.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	odbc_stmt_dtor, %function
odbc_stmt_dtor:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r6, .L14
	ldr	r4, [r0, #4]
	ldr	r3, [r6]
	ldr	r1, [r4]
	mov	r5, r0
	cmp	r1, r3
	beq	.L2
	ldr	r3, [r0]
	cmp	r3, #0
	bne	.L13
.L3:
	ldr	r3, .L14+4
	ldr	r0, [r3]
	bl	SQLFreeHandle
	ldr	r3, [r6]
	str	r3, [r4]
.L2:
	mov	r0, r5
	mov	r1, r4
	bl	free_cols
	ldr	r0, [r4, #4]
	cmp	r0, #0
	beq	.L4
	bl	efree
.L4:
	mov	r0, r4
	bl	efree
	mov	r0, #1
	pop	{r4, r5, r6, pc}
.L13:
	mov	r0, r1
	bl	SQLCloseCursor
	ldr	r1, [r4]
	b	.L3
.L15:
	.align	2
.L14:
	.word	SQL_NULL_HANDLE
	.word	SQL_HANDLE_STMT
	.size	odbc_stmt_dtor, .-odbc_stmt_dtor
	.comm	SQL_NULL_HANDLE,4,4
	.comm	SQL_HANDLE_STMT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
