	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function PLy_generate_spi_exceptions
_PLy_generate_spi_exceptions:           ## @PLy_generate_spi_exceptions
	.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
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	_exception_map@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	cmpq	$0, 8(%rax)
	je	LBB0_7
## %bb.1:
	xorl	%r13d, %r13d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	leaq	L_.str.1(%rip), %rsi
	movq	%r12, %rdx
	callq	_PyDict_SetItemString
	movq	%r12, %rdi
	callq	_Py_DECREF
	movq	(%r14), %rax
	movq	8(%rax,%r13), %rdi
	movl	4(%rax,%r13), %ecx
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movq	%r15, %rdx
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	callq	_PLy_create_exception
	movq	%rax, %r15
	movq	_PLy_spi_exceptions@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%r14), %rsi
	addq	%r13, %rsi
	movq	_HASH_ENTER@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-44(%rbp), %rcx
	callq	_hash_search
	movq	%rax, %rbx
	xorl	%edi, %edi
	cmpl	$0, -44(%rbp)
	sete	%dil
	callq	_Assert
	movq	%r15, (%rbx)
	movq	(%r14), %rax
	cmpq	$0, 24(%rax,%r13)
	leaq	16(%r13), %r13
	je	LBB0_7
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%eax, %eax
	callq	_PyDict_New
	movq	%rax, %r15
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_PLy_elog
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r14), %rax
	movl	(%rax,%r13), %edi
	callq	_unpack_sql_state
	movl	%eax, %edi
	callq	_PyString_FromString
	movq	%rax, %r12
	testq	%rax, %rax
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_PLy_elog
	jmp	LBB0_6
LBB0_7:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_exception_map,8,3              ## @exception_map
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"could not generate SPI exceptions"

L_.str.1:                               ## @.str.1
	.asciz	"sqlstate"

	.comm	_PLy_spi_exceptions,4,2         ## @PLy_spi_exceptions
	.comm	_HASH_ENTER,4,2                 ## @HASH_ENTER
	.no_dead_strip	_PLy_generate_spi_exceptions
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function PLy_generate_spi_exceptions
_PLy_generate_spi_exceptions:           ; @PLy_generate_spi_exceptions
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
Lloh0:
	adrp	x25, _exception_map@GOTPAGE
Lloh1:
	ldr	x25, [x25, _exception_map@GOTPAGEOFF]
	ldr	x8, [x25]
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_7
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	mov	x26, #0
Lloh2:
	adrp	x27, _ERROR@GOTPAGE
Lloh3:
	ldr	x27, [x27, _ERROR@GOTPAGEOFF]
Lloh4:
	adrp	x28, _PLy_spi_exceptions@GOTPAGE
Lloh5:
	ldr	x28, [x28, _PLy_spi_exceptions@GOTPAGEOFF]
Lloh6:
	adrp	x21, _HASH_ENTER@GOTPAGE
Lloh7:
	ldr	x21, [x21, _HASH_ENTER@GOTPAGEOFF]
Lloh8:
	adrp	x22, l_.str.1@PAGE
Lloh9:
	add	x22, x22, l_.str.1@PAGEOFF
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x23
	mov	x1, x22
	mov	x2, x24
	bl	_PyDict_SetItemString
	mov	x0, x24
	bl	_Py_DECREF
	ldr	x8, [x25]
	add	x8, x8, x26
	ldr	x0, [x8, #8]
	ldr	w3, [x8, #4]
	mov	x1, x19
	mov	x2, x23
	mov	x4, x20
	bl	_PLy_create_exception
	mov	x23, x0
	ldr	w0, [x28]
	ldr	x8, [x25]
	add	x1, x8, x26
	ldr	w2, [x21]
	add	x3, sp, #12
	bl	_hash_search
	mov	x24, x0
	ldr	w8, [sp, #12]
	cmp	w8, #0
	cset	w0, eq
	bl	_Assert
	str	x23, [x24]
	ldr	x8, [x25]
	add	x8, x8, x26
	ldr	x8, [x8, #24]
	add	x26, x26, #16
	cbz	x8, LBB0_7
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	bl	_PyDict_New
	mov	x23, x0
	cbnz	x0, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x27]
	mov	x1, #0
	bl	_PLy_elog
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x25]
	ldr	w0, [x8, x26]
	bl	_unpack_sql_state
	bl	_PyString_FromString
	mov	x24, x0
	cbnz	x0, LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x27]
Lloh10:
	adrp	x1, l_.str@PAGE
Lloh11:
	add	x1, x1, l_.str@PAGEOFF
	bl	_PLy_elog
	b	LBB0_2
LBB0_7:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_exception_map,8,3              ; @exception_map
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"could not generate SPI exceptions"

l_.str.1:                               ; @.str.1
	.asciz	"sqlstate"

	.comm	_PLy_spi_exceptions,4,2         ; @PLy_spi_exceptions
	.comm	_HASH_ENTER,4,2                 ; @HASH_ENTER
	.no_dead_strip	_PLy_generate_spi_exceptions
.subsections_via_symbols
