	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pdo_dblib_stmt_next_rowset_no_cancel
_pdo_dblib_stmt_next_rowset_no_cancel:  ## @pdo_dblib_stmt_next_rowset_no_cancel
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	16(%rdi), %rax
	movq	(%rax), %r12
	movq	_SUCCEED@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %edi
	callq	_dbresults
	movq	%rax, %rbx
	movl	(%r12), %edi
	callq	_dbnumcols
	movl	%eax, %r15d
	cmpq	$0, 8(%r12)
	setne	%al
	testl	%r15d, %r15d
	setle	%cl
	andb	%al, %cl
	cmpb	$1, %cl
	jne	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpq	(%r13), %rbx
	je	LBB0_1
LBB0_3:
	movq	_FAIL@GOTPCREL(%rip), %rax
	cmpq	%rbx, (%rax)
	jne	LBB0_5
## %bb.4:
	movl	8(%r14), %edi
	leaq	L_.str(%rip), %rdx
	leaq	L_.str.1(%rip), %rcx
	movq	%r14, %rsi
	callq	_pdo_raise_impl_error
	xorl	%eax, %eax
	jmp	LBB0_7
LBB0_5:
	movq	_NO_MORE_RESULTS@GOTPCREL(%rip), %rax
	cmpq	%rbx, (%rax)
	sete	%dl
	xorl	%eax, %eax
	orb	%cl, %dl
	jne	LBB0_7
## %bb.6:
	movl	(%r12), %edi
	callq	_DBCOUNT
	movl	%eax, 4(%r14)
	movl	%r15d, (%r14)
	movl	$1, %eax
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SUCCEED,8,3                    ## @SUCCEED
	.comm	_FAIL,8,3                       ## @FAIL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"HY000"

L_.str.1:                               ## @.str.1
	.asciz	"PDO_DBLIB: dbresults() returned FAIL"

	.comm	_NO_MORE_RESULTS,8,3            ## @NO_MORE_RESULTS
	.no_dead_strip	_pdo_dblib_stmt_next_rowset_no_cancel
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pdo_dblib_stmt_next_rowset_no_cancel
_pdo_dblib_stmt_next_rowset_no_cancel:  ; @pdo_dblib_stmt_next_rowset_no_cancel
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
	ldr	x8, [x0, #16]
	ldr	x22, [x8]
Lloh0:
	adrp	x23, _SUCCEED@GOTPAGE
Lloh1:
	ldr	x23, [x23, _SUCCEED@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x22]
	bl	_dbresults
	mov	x21, x0
	ldr	w0, [x22]
	bl	_dbnumcols
	ldr	x8, [x22, #8]
	cmp	x8, #0
	ccmp	w0, #1, #0, ne
	cset	w8, lt
	ldr	x9, [x23]
	cmp	w8, #1
	ccmp	x21, x9, #0, eq
	b.eq	LBB0_1
; %bb.2:
Lloh2:
	adrp	x9, _FAIL@GOTPAGE
Lloh3:
	ldr	x9, [x9, _FAIL@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x9, x21
	b.ne	LBB0_4
; %bb.3:
	ldr	w0, [x19, #8]
Lloh5:
	adrp	x2, l_.str@PAGE
Lloh6:
	add	x2, x2, l_.str@PAGEOFF
Lloh7:
	adrp	x3, l_.str.1@PAGE
Lloh8:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	x1, x19
	bl	_pdo_raise_impl_error
	mov	w0, #0
	b	LBB0_7
LBB0_4:
Lloh9:
	adrp	x9, _NO_MORE_RESULTS@GOTPAGE
Lloh10:
	ldr	x9, [x9, _NO_MORE_RESULTS@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x9, x21
	cset	w9, eq
	orr	w8, w9, w8
	tbz	w8, #0, LBB0_6
; %bb.5:
	mov	w0, #0
	b	LBB0_7
LBB0_6:
	mov	x20, x0
	ldr	w0, [x22]
	bl	_DBCOUNT
	stp	w20, w0, [x19]
	mov	w0, #1
LBB0_7:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_SUCCEED,8,3                    ; @SUCCEED
	.comm	_FAIL,8,3                       ; @FAIL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"HY000"

l_.str.1:                               ; @.str.1
	.asciz	"PDO_DBLIB: dbresults() returned FAIL"

	.comm	_NO_MORE_RESULTS,8,3            ; @NO_MORE_RESULTS
	.no_dead_strip	_pdo_dblib_stmt_next_rowset_no_cancel
.subsections_via_symbols
