	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function odbc_handle_doer
_odbc_handle_doer:                      ## @odbc_handle_doer
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	(%rdi), %rax
	movl	$-1, -36(%rbp)
	movq	_SQL_HANDLE_STMT@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movl	(%rax), %esi
	leaq	-40(%rbp), %rdx
	callq	_SQLAllocHandle
	movq	_SQL_SUCCESS@GOTPCREL(%rip), %r12
	cmpq	(%r12), %rax
	jne	LBB0_1
## %bb.2:
	movl	-40(%rbp), %edi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	callq	_SQLExecDirect
	movq	_SQL_NO_DATA@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
LBB0_10:
	movl	$0, -36(%rbp)
	jmp	LBB0_11
LBB0_1:
	leaq	L_.str(%rip), %rdi
	callq	_pdo_odbc_drv_error
	movl	$-1, %eax
	jmp	LBB0_12
LBB0_3:
	movq	_SQL_SUCCESS_WITH_INFO@GOTPCREL(%rip), %rbx
	cmpq	(%r12), %rax
	je	LBB0_6
## %bb.4:
	cmpq	(%rbx), %rax
	je	LBB0_6
## %bb.5:
	leaq	L_.str.1(%rip), %rdi
	callq	_pdo_odbc_doer_error
	jmp	LBB0_11
LBB0_6:
	movl	-40(%rbp), %edi
	leaq	-36(%rbp), %rsi
	callq	_SQLRowCount
	cmpq	(%r12), %rax
	je	LBB0_9
## %bb.7:
	cmpq	(%rbx), %rax
	je	LBB0_9
## %bb.8:
	leaq	L_.str.2(%rip), %rdi
	callq	_pdo_odbc_doer_error
	jmp	LBB0_11
LBB0_9:
	cmpl	$-1, -36(%rbp)
	je	LBB0_10
LBB0_11:
	movl	(%r15), %edi
	movl	-40(%rbp), %esi
	callq	_SQLFreeHandle
	movl	-36(%rbp), %eax
LBB0_12:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SQL_HANDLE_STMT,4,2            ## @SQL_HANDLE_STMT
	.comm	_SQL_SUCCESS,8,3                ## @SQL_SUCCESS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"SQLAllocHandle: STMT"

	.comm	_SQL_NO_DATA,8,3                ## @SQL_NO_DATA
	.comm	_SQL_SUCCESS_WITH_INFO,8,3      ## @SQL_SUCCESS_WITH_INFO
L_.str.1:                               ## @.str.1
	.asciz	"SQLExecDirect"

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

	.no_dead_strip	_odbc_handle_doer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function odbc_handle_doer
_odbc_handle_doer:                      ; @odbc_handle_doer
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x2
	mov	x20, x1
	ldr	x8, [x0]
	mov	w9, #-1
	str	w9, [sp, #12]
Lloh0:
	adrp	x21, _SQL_HANDLE_STMT@GOTPAGE
Lloh1:
	ldr	x21, [x21, _SQL_HANDLE_STMT@GOTPAGEOFF]
	ldr	w0, [x21]
	ldr	w1, [x8]
	add	x2, sp, #8
	bl	_SQLAllocHandle
Lloh2:
	adrp	x22, _SQL_SUCCESS@GOTPAGE
Lloh3:
	ldr	x22, [x22, _SQL_SUCCESS@GOTPAGEOFF]
	ldr	x8, [x22]
	cmp	x0, x8
	b.ne	LBB0_3
; %bb.1:
	ldr	w0, [sp, #8]
	mov	x1, x20
	mov	x2, x19
	bl	_SQLExecDirect
Lloh4:
	adrp	x8, _SQL_NO_DATA@GOTPAGE
Lloh5:
	ldr	x8, [x8, _SQL_NO_DATA@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_4
LBB0_2:
	str	wzr, [sp, #12]
	b	LBB0_10
LBB0_3:
Lloh7:
	adrp	x0, l_.str@PAGE
Lloh8:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pdo_odbc_drv_error
	mov	w0, #-1
	b	LBB0_11
LBB0_4:
	ldr	x8, [x22]
Lloh9:
	adrp	x19, _SQL_SUCCESS_WITH_INFO@GOTPAGE
Lloh10:
	ldr	x19, [x19, _SQL_SUCCESS_WITH_INFO@GOTPAGEOFF]
	ldr	x9, [x19]
	cmp	x0, x8
	ccmp	x0, x9, #4, ne
	b.ne	LBB0_7
; %bb.5:
	ldr	w0, [sp, #8]
	add	x1, sp, #12
	bl	_SQLRowCount
	ldr	x8, [x22]
	ldr	x9, [x19]
	cmp	x0, x8
	ccmp	x0, x9, #4, ne
	b.ne	LBB0_8
; %bb.6:
	ldr	w8, [sp, #12]
	cmn	w8, #1
	b.ne	LBB0_10
	b	LBB0_2
LBB0_7:
Lloh11:
	adrp	x0, l_.str.1@PAGE
Lloh12:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_9
LBB0_8:
Lloh13:
	adrp	x0, l_.str.2@PAGE
Lloh14:
	add	x0, x0, l_.str.2@PAGEOFF
LBB0_9:
	bl	_pdo_odbc_doer_error
LBB0_10:
	ldr	w0, [x21]
	ldr	w1, [sp, #8]
	bl	_SQLFreeHandle
	ldr	w0, [sp, #12]
LBB0_11:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_SQL_HANDLE_STMT,4,2            ; @SQL_HANDLE_STMT
	.comm	_SQL_SUCCESS,8,3                ; @SQL_SUCCESS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SQLAllocHandle: STMT"

	.comm	_SQL_NO_DATA,8,3                ; @SQL_NO_DATA
	.comm	_SQL_SUCCESS_WITH_INFO,8,3      ; @SQL_SUCCESS_WITH_INFO
l_.str.1:                               ; @.str.1
	.asciz	"SQLExecDirect"

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

	.no_dead_strip	_odbc_handle_doer
.subsections_via_symbols
