	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function odbc_handle_closer
_odbc_handle_closer:                    ## @odbc_handle_closer
	.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	(%rdi), %rbx
	movq	8(%rbx), %rsi
	movq	_SQL_NULL_HANDLE@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rsi
	je	LBB0_2
## %bb.1:
	movq	_SQL_HANDLE_DBC@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movq	_SQL_ROLLBACK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_SQLEndTran
	movq	8(%rbx), %rdi
	callq	_SQLDisconnect
	movl	(%r15), %edi
	movq	8(%rbx), %rsi
	callq	_SQLFreeHandle
	movq	$0, 8(%rbx)
LBB0_2:
	movq	_SQL_HANDLE_ENV@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%rbx), %rsi
	callq	_SQLFreeHandle
	movq	$0, (%rbx)
	movl	8(%r14), %esi
	movq	%rbx, %rdi
	callq	_pefree
	movq	$0, (%r14)
	xorl	%eax, %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_DBC,4,2             ## @SQL_HANDLE_DBC
	.comm	_SQL_ROLLBACK,4,2               ## @SQL_ROLLBACK
	.comm	_SQL_HANDLE_ENV,4,2             ## @SQL_HANDLE_ENV
	.no_dead_strip	_odbc_handle_closer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function odbc_handle_closer
_odbc_handle_closer:                    ; @odbc_handle_closer
	.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	x19, x0
	ldr	x20, [x0]
	ldr	x1, [x20, #8]
Lloh0:
	adrp	x8, _SQL_NULL_HANDLE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SQL_NULL_HANDLE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x1, x8
	b.eq	LBB0_2
; %bb.1:
Lloh3:
	adrp	x21, _SQL_HANDLE_DBC@GOTPAGE
Lloh4:
	ldr	x21, [x21, _SQL_HANDLE_DBC@GOTPAGEOFF]
	ldr	w0, [x21]
Lloh5:
	adrp	x8, _SQL_ROLLBACK@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SQL_ROLLBACK@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	bl	_SQLEndTran
	ldr	x0, [x20, #8]
	bl	_SQLDisconnect
	ldr	w0, [x21]
	ldr	x1, [x20, #8]
	bl	_SQLFreeHandle
	str	xzr, [x20, #8]
LBB0_2:
Lloh8:
	adrp	x8, _SQL_HANDLE_ENV@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SQL_HANDLE_ENV@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	ldr	x1, [x20]
	bl	_SQLFreeHandle
	str	xzr, [x20]
	ldr	w1, [x19, #8]
	mov	x0, x20
	bl	_pefree
	str	xzr, [x19]
	mov	w0, #0
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_SQL_NULL_HANDLE,8,3            ; @SQL_NULL_HANDLE
	.comm	_SQL_HANDLE_DBC,4,2             ; @SQL_HANDLE_DBC
	.comm	_SQL_ROLLBACK,4,2               ; @SQL_ROLLBACK
	.comm	_SQL_HANDLE_ENV,4,2             ; @SQL_HANDLE_ENV
	.no_dead_strip	_odbc_handle_closer
.subsections_via_symbols
