	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function odbc_stmt_fetch
_odbc_stmt_fetch:                       ## @odbc_stmt_fetch
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	addl	$-128, %esi
	cmpl	$6, %esi
	jae	LBB0_1
## %bb.2:
	movq	8(%rdi), %rax
	movslq	%esi, %rcx
	leaq	l_switch.table.odbc_stmt_fetch(%rip), %rsi
	movq	(%rsi,%rcx,8), %rcx
	movl	(%rcx), %esi
	movl	(%rax), %edi
	callq	_SQLFetchScroll
	movq	_SQL_SUCCESS@GOTPCREL(%rip), %rcx
	movl	$1, %ebx
	cmpq	(%rcx), %rax
	je	LBB0_6
## %bb.3:
	movq	_SQL_SUCCESS_WITH_INFO@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_5
## %bb.4:
	movq	_SQL_NO_DATA@GOTPCREL(%rip), %rcx
	xorl	%ebx, %ebx
	cmpq	(%rcx), %rax
	je	LBB0_6
LBB0_5:
	leaq	L_.str.1(%rip), %rdi
	callq	_pdo_odbc_stmt_error
	jmp	LBB0_6
LBB0_1:
	movl	(%rdi), %edi
	leaq	L_.str(%rip), %rsi
	callq	_strcpy
	xorl	%ebx, %ebx
LBB0_6:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SQL_FETCH_NEXT,4,2             ## @SQL_FETCH_NEXT
	.comm	_SQL_FETCH_PRIOR,4,2            ## @SQL_FETCH_PRIOR
	.comm	_SQL_FETCH_FIRST,4,2            ## @SQL_FETCH_FIRST
	.comm	_SQL_FETCH_LAST,4,2             ## @SQL_FETCH_LAST
	.comm	_SQL_FETCH_ABSOLUTE,4,2         ## @SQL_FETCH_ABSOLUTE
	.comm	_SQL_FETCH_RELATIVE,4,2         ## @SQL_FETCH_RELATIVE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"HY106"

	.comm	_SQL_SUCCESS,8,3                ## @SQL_SUCCESS
	.comm	_SQL_SUCCESS_WITH_INFO,8,3      ## @SQL_SUCCESS_WITH_INFO
L_.str.1:                               ## @.str.1
	.asciz	"SQLFetchScroll"

	.comm	_SQL_NO_DATA,8,3                ## @SQL_NO_DATA
	.no_dead_strip	_odbc_stmt_fetch
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.odbc_stmt_fetch
l_switch.table.odbc_stmt_fetch:
	.quad	_SQL_FETCH_RELATIVE
	.quad	_SQL_FETCH_PRIOR
	.quad	_SQL_FETCH_NEXT
	.quad	_SQL_FETCH_LAST
	.quad	_SQL_FETCH_FIRST
	.quad	_SQL_FETCH_ABSOLUTE

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function odbc_stmt_fetch
_odbc_stmt_fetch:                       ; @odbc_stmt_fetch
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	sub	w8, w1, #128
	cmp	w8, #6
	b.hs	LBB0_5
; %bb.1:
	ldr	x9, [x0, #8]
Lloh0:
	adrp	x10, l_switch.table.odbc_stmt_fetch@PAGE
Lloh1:
	add	x10, x10, l_switch.table.odbc_stmt_fetch@PAGEOFF
	ldr	x8, [x10, w8, sxtw #3]
	ldr	w1, [x8]
	ldr	w0, [x9]
	bl	_SQLFetchScroll
Lloh2:
	adrp	x8, _SQL_SUCCESS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SQL_SUCCESS@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_4
; %bb.2:
Lloh5:
	adrp	x8, _SQL_SUCCESS_WITH_INFO@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SQL_SUCCESS_WITH_INFO@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_7
; %bb.3:
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_pdo_odbc_stmt_error
LBB0_4:
	mov	w0, #1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_5:
	ldr	w0, [x0]
Lloh10:
	adrp	x1, l_.str@PAGE
Lloh11:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strcpy
LBB0_6:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_7:
Lloh12:
	adrp	x8, _SQL_NO_DATA@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SQL_NO_DATA@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_6
; %bb.8:
Lloh15:
	adrp	x0, l_.str.1@PAGE
Lloh16:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_pdo_odbc_stmt_error
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_SQL_FETCH_NEXT,4,2             ; @SQL_FETCH_NEXT
	.comm	_SQL_FETCH_PRIOR,4,2            ; @SQL_FETCH_PRIOR
	.comm	_SQL_FETCH_FIRST,4,2            ; @SQL_FETCH_FIRST
	.comm	_SQL_FETCH_LAST,4,2             ; @SQL_FETCH_LAST
	.comm	_SQL_FETCH_ABSOLUTE,4,2         ; @SQL_FETCH_ABSOLUTE
	.comm	_SQL_FETCH_RELATIVE,4,2         ; @SQL_FETCH_RELATIVE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"HY106"

	.comm	_SQL_SUCCESS,8,3                ; @SQL_SUCCESS
	.comm	_SQL_SUCCESS_WITH_INFO,8,3      ; @SQL_SUCCESS_WITH_INFO
l_.str.1:                               ; @.str.1
	.asciz	"SQLFetchScroll"

	.comm	_SQL_NO_DATA,8,3                ; @SQL_NO_DATA
	.no_dead_strip	_odbc_stmt_fetch
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.odbc_stmt_fetch
l_switch.table.odbc_stmt_fetch:
	.quad	_SQL_FETCH_RELATIVE
	.quad	_SQL_FETCH_PRIOR
	.quad	_SQL_FETCH_NEXT
	.quad	_SQL_FETCH_LAST
	.quad	_SQL_FETCH_FIRST
	.quad	_SQL_FETCH_ABSOLUTE

.subsections_via_symbols
