	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SPI_execute_snapshot           ## -- Begin function SPI_execute_snapshot
	.p2align	4, 0x90
_SPI_execute_snapshot:                  ## @SPI_execute_snapshot
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.1:
	cmpq	$0, 24(%rbp)
	js	LBB0_6
## %bb.2:
	movq	%rdi, %rbx
	movq	__SPI_PLAN_MAGIC@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%rax, (%rdi)
	jne	LBB0_6
## %bb.3:
	movl	%r8d, %r15d
	movl	%ecx, %r12d
	movq	%rdx, %r13
	movq	%rsi, %r14
	testq	%rsi, %rsi
	jne	LBB0_9
## %bb.4:
	cmpq	$0, 8(%rbx)
	jle	LBB0_9
## %bb.5:
	movq	_SPI_ERROR_PARAM@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_6:
	movq	_SPI_ERROR_ARGUMENT@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %eax
LBB0_8:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movl	%r9d, -44(%rbp)                 ## 4-byte Spill
	movl	$1, %edi
	callq	__SPI_begin_call
	testl	%eax, %eax
	js	LBB0_8
## %bb.10:
	movq	8(%rbx), %rdi
	movl	16(%rbx), %esi
	movq	%r14, %rdx
	movq	%r13, %rcx
	callq	__SPI_convert_params
	movq	24(%rbp), %rcx
	movq	%rcx, (%rsp)
	movq	%rbx, %rdi
	movl	%eax, %esi
	movl	%r12d, %edx
	movl	%r15d, %ecx
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	movl	16(%rbp), %r9d
	callq	__SPI_execute_plan
	movl	%eax, %ebx
	movl	$1, %edi
	callq	__SPI_end_call
	movl	%ebx, %eax
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	__SPI_PLAN_MAGIC,8,3            ## @_SPI_PLAN_MAGIC
	.comm	_SPI_ERROR_ARGUMENT,4,2         ## @SPI_ERROR_ARGUMENT
	.comm	_SPI_ERROR_PARAM,4,2            ## @SPI_ERROR_PARAM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SPI_execute_snapshot           ; -- Begin function SPI_execute_snapshot
	.p2align	2
_SPI_execute_snapshot:                  ; @SPI_execute_snapshot
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	cbz	x0, LBB0_6
; %bb.1:
	mov	x19, x7
	tbnz	x7, #63, LBB0_6
; %bb.2:
	mov	x24, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x9, __SPI_PLAN_MAGIC@GOTPAGE
Lloh1:
	ldr	x9, [x9, __SPI_PLAN_MAGIC@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.3:
	mov	x20, x6
	mov	x21, x5
	mov	x22, x4
	mov	x23, x3
	mov	x25, x2
	mov	x26, x1
	cbnz	x1, LBB0_9
; %bb.4:
	ldr	x8, [x24, #8]
	cmp	x8, #1
	b.lt	LBB0_9
; %bb.5:
Lloh3:
	adrp	x8, _SPI_ERROR_PARAM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SPI_ERROR_PARAM@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
Lloh5:
	adrp	x8, _SPI_ERROR_ARGUMENT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SPI_ERROR_ARGUMENT@GOTPAGEOFF]
LBB0_7:
	ldr	w0, [x8]
LBB0_8:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_9:
	mov	w0, #1
	bl	__SPI_begin_call
	tbnz	w0, #31, LBB0_8
; %bb.10:
	ldr	x0, [x24, #8]
	ldr	w1, [x24, #16]
	mov	x2, x26
	mov	x3, x25
	bl	__SPI_convert_params
	mov	x1, x0
	mov	x0, x24
	mov	x2, x23
	mov	x3, x22
	mov	x4, x21
	mov	x5, x20
	mov	x6, x19
	bl	__SPI_execute_plan
	mov	x19, x0
	mov	w0, #1
	bl	__SPI_end_call
	mov	x0, x19
	b	LBB0_8
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	__SPI_PLAN_MAGIC,8,3            ; @_SPI_PLAN_MAGIC
	.comm	_SPI_ERROR_ARGUMENT,4,2         ; @SPI_ERROR_ARGUMENT
	.comm	_SPI_ERROR_PARAM,4,2            ; @SPI_ERROR_PARAM
.subsections_via_symbols
