	.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
_pdo_dblib_stmt_next_rowset:            ## @pdo_dblib_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	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	8(%rdi), %rax
	movq	(%rax), %rbx
	movq	_SUCCESS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_NO_MORE_ROWS@GOTPCREL(%rip), %r15
	movq	_FAIL@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rax, (%r15)
	je	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	(%rbx), %edi
	callq	_dbnextrow
	cmpq	%rax, (%r12)
	jne	LBB0_1
## %bb.3:
	movl	(%r14), %edi
	leaq	L_.str(%rip), %rdx
	leaq	L_.str.1(%rip), %rcx
	movq	%r14, %rsi
	callq	_pdo_raise_impl_error
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pdo_dblib_stmt_next_rowset_no_cancel ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SUCCESS,8,3                    ## @SUCCESS
	.comm	_NO_MORE_ROWS,8,3               ## @NO_MORE_ROWS
	.comm	_FAIL,8,3                       ## @FAIL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"HY000"

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

	.no_dead_strip	_pdo_dblib_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 pdo_dblib_stmt_next_rowset
_pdo_dblib_stmt_next_rowset:            ; @pdo_dblib_stmt_next_rowset
	.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	x8, [x0, #8]
Lloh0:
	adrp	x9, _SUCCESS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SUCCESS@GOTPAGEOFF]
	ldr	x20, [x8]
Lloh2:
	ldr	x0, [x9]
Lloh3:
	adrp	x21, _NO_MORE_ROWS@GOTPAGE
Lloh4:
	ldr	x21, [x21, _NO_MORE_ROWS@GOTPAGEOFF]
Lloh5:
	adrp	x22, _FAIL@GOTPAGE
Lloh6:
	ldr	x22, [x22, _FAIL@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21]
	cmp	x8, x0
	b.eq	LBB0_4
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w0, [x20]
	bl	_dbnextrow
	ldr	x8, [x22]
	cmp	x8, x0
	b.ne	LBB0_1
; %bb.3:
	ldr	w0, [x19]
Lloh7:
	adrp	x2, l_.str@PAGE
Lloh8:
	add	x2, x2, l_.str@PAGEOFF
Lloh9:
	adrp	x3, l_.str.1@PAGE
Lloh10:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	x1, x19
	bl	_pdo_raise_impl_error
	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
LBB0_4:
	mov	x0, x19
	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
	b	_pdo_dblib_stmt_next_rowset_no_cancel
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_SUCCESS,8,3                    ; @SUCCESS
	.comm	_NO_MORE_ROWS,8,3               ; @NO_MORE_ROWS
	.comm	_FAIL,8,3                       ; @FAIL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"HY000"

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

	.no_dead_strip	_pdo_dblib_stmt_next_rowset
.subsections_via_symbols
