	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function odbc_stmt_dtor
_odbc_stmt_dtor:                        ## @odbc_stmt_dtor
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	8(%rdi), %rbx
	movq	(%rbx), %rsi
	movq	_SQL_NULL_HANDLE@GOTPCREL(%rip), %r15
	cmpq	(%r15), %rsi
	je	LBB0_4
## %bb.1:
	cmpq	$0, (%r14)
	je	LBB0_3
## %bb.2:
	movq	%rsi, %rdi
	callq	_SQLCloseCursor
	movq	(%rbx), %rsi
LBB0_3:
	movq	_SQL_HANDLE_STMT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_SQLFreeHandle
	movq	(%r15), %rax
	movq	%rax, (%rbx)
LBB0_4:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_free_cols
	movq	8(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.5:
	callq	_efree
LBB0_6:
	movq	%rbx, %rdi
	callq	_efree
	movl	$1, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SQL_NULL_HANDLE,8,3            ## @SQL_NULL_HANDLE
	.comm	_SQL_HANDLE_STMT,4,2            ## @SQL_HANDLE_STMT
	.no_dead_strip	_odbc_stmt_dtor
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function odbc_stmt_dtor
_odbc_stmt_dtor:                        ; @odbc_stmt_dtor
	.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
	mov	x20, x0
	ldr	x19, [x0, #8]
	ldr	x1, [x19]
Lloh0:
	adrp	x21, _SQL_NULL_HANDLE@GOTPAGE
Lloh1:
	ldr	x21, [x21, _SQL_NULL_HANDLE@GOTPAGEOFF]
	ldr	x8, [x21]
	cmp	x1, x8
	b.eq	LBB0_4
; %bb.1:
	ldr	x8, [x20]
	cbz	x8, LBB0_3
; %bb.2:
	mov	x0, x1
	bl	_SQLCloseCursor
	ldr	x1, [x19]
LBB0_3:
Lloh2:
	adrp	x8, _SQL_HANDLE_STMT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SQL_HANDLE_STMT@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	bl	_SQLFreeHandle
	ldr	x8, [x21]
	str	x8, [x19]
LBB0_4:
	mov	x0, x20
	mov	x1, x19
	bl	_free_cols
	ldr	x0, [x19, #8]
	cbz	x0, LBB0_6
; %bb.5:
	bl	_efree
LBB0_6:
	mov	x0, x19
	bl	_efree
	mov	w0, #1
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_SQL_NULL_HANDLE,8,3            ; @SQL_NULL_HANDLE
	.comm	_SQL_HANDLE_STMT,4,2            ; @SQL_HANDLE_STMT
	.no_dead_strip	_odbc_stmt_dtor
.subsections_via_symbols
