	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function odbc_stmt_next_rowset
_odbc_stmt_next_rowset:                 ## @odbc_stmt_next_rowset
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	8(%rdi), %rbx
	movl	12(%rbx), %edi
	callq	_SQLMoreResults
	movq	%rax, %rcx
	movq	_SQL_SUCCESS@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	je	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	movq	_SQL_SUCCESS_WITH_INFO@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_3
LBB0_2:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_free_cols
	movl	12(%rbx), %edi
	leaq	-24(%rbp), %rsi
	callq	_SQLNumResultCols
	movq	-24(%rbp), %rdi
	movl	%edi, (%r14)
	movl	$4, %esi
	callq	_ecalloc
	movl	%eax, 8(%rbx)
	movq	$0, (%rbx)
	movl	$1, %eax
LBB0_3:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SQL_SUCCESS,8,3                ## @SQL_SUCCESS
	.comm	_SQL_SUCCESS_WITH_INFO,8,3      ## @SQL_SUCCESS_WITH_INFO
	.no_dead_strip	_odbc_stmt_next_rowset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function odbc_stmt_next_rowset
_odbc_stmt_next_rowset:                 ; @odbc_stmt_next_rowset
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x20, x0
	ldr	x19, [x0, #8]
	ldr	w0, [x19, #12]
	bl	_SQLMoreResults
Lloh0:
	adrp	x8, _SQL_SUCCESS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SQL_SUCCESS@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _SQL_SUCCESS_WITH_INFO@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SQL_SUCCESS_WITH_INFO@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x0, x8
	ccmp	x0, x9, #4, ne
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x20
	mov	x1, x19
	bl	_free_cols
	ldr	w0, [x19, #12]
	add	x1, sp, #8
	bl	_SQLNumResultCols
	ldr	x0, [sp, #8]
	str	w0, [x20]
	mov	w1, #4
	bl	_ecalloc
	str	w0, [x19, #8]
	str	xzr, [x19]
	mov	w0, #1
	b	LBB0_3
LBB0_2:
	mov	w0, #0
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SQL_SUCCESS,8,3                ; @SQL_SUCCESS
	.comm	_SQL_SUCCESS_WITH_INFO,8,3      ; @SQL_SUCCESS_WITH_INFO
	.no_dead_strip	_odbc_stmt_next_rowset
.subsections_via_symbols
