	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PLy_cursor                     ## -- Begin function PLy_cursor
	.p2align	4, 0x90
_PLy_cursor:                            ## @PLy_cursor
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	movq	%rsi, %rbx
	movq	$0, -16(%rbp)
	leaq	L_.str(%rip), %rsi
	leaq	-32(%rbp), %rdx
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_PyArg_ParseTuple
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	-32(%rbp), %rdi
	callq	_PLy_cursor_query
	jmp	LBB0_5
LBB0_2:
	xorl	%eax, %eax
	callq	_PyErr_Clear
	leaq	L_.str.1(%rip), %rsi
	leaq	-24(%rbp), %rdx
	leaq	-16(%rbp), %rcx
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_PyArg_ParseTuple
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	-24(%rbp), %rdi
	movq	-16(%rbp), %rsi
	callq	_PLy_cursor_plan
	jmp	LBB0_5
LBB0_4:
	movq	_PLy_exc_error@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_PLy_exception_set
	xorl	%eax, %eax
LBB0_5:
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"s"

L_.str.1:                               ## @.str.1
	.asciz	"O|O"

	.comm	_PLy_exc_error,4,2              ## @PLy_exc_error
L_.str.2:                               ## @.str.2
	.asciz	"plpy.cursor expected a query or a plan"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PLy_cursor                     ; -- Begin function PLy_cursor
	.p2align	2
_PLy_cursor:                            ; @PLy_cursor
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	mov	x19, x1
	str	xzr, [sp, #8]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #24
	mov	x0, x19
	bl	_PyArg_ParseTuple
	cbz	x0, LBB0_2
; %bb.1:
	ldr	x0, [sp, #24]
	bl	_PLy_cursor_query
	b	LBB0_5
LBB0_2:
	bl	_PyErr_Clear
	add	x8, sp, #8
	str	x8, [sp]
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x2, sp, #16
	mov	x0, x19
	bl	_PyArg_ParseTuple
	cbz	x0, LBB0_4
; %bb.3:
	ldp	x1, x0, [sp, #8]
	bl	_PLy_cursor_plan
	b	LBB0_5
LBB0_4:
Lloh4:
	adrp	x8, _PLy_exc_error@GOTPAGE
Lloh5:
	ldr	x8, [x8, _PLy_exc_error@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_PLy_exception_set
	mov	x0, #0
LBB0_5:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"s"

l_.str.1:                               ; @.str.1
	.asciz	"O|O"

	.comm	_PLy_exc_error,4,2              ; @PLy_exc_error
l_.str.2:                               ; @.str.2
	.asciz	"plpy.cursor expected a query or a plan"

.subsections_via_symbols
