	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PLy_exception_set_with_details ## -- Begin function PLy_exception_set_with_details
	.p2align	4, 0x90
_PLy_exception_set_with_details:        ## @PLy_exception_set_with_details
	.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	%rsi, %rbx
	movq	%rdi, %r15
	movl	36(%rsi), %esi
	leaq	L_.str(%rip), %rdi
	callq	_Py_BuildValue
	movq	%rax, %r14
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_PyObject_CallObject
	testq	%rax, %rax
	je	LBB0_1
## %bb.4:
	movq	%rax, %r12
	movl	32(%rbx), %edi
	callq	_unpack_sql_state
	leaq	L_.str.1(%rip), %rsi
	movq	%r12, %rdi
	movl	%eax, %edx
	callq	_set_string_attr
	testl	%eax, %eax
	je	LBB0_2
## %bb.5:
	movl	28(%rbx), %edx
	leaq	L_.str.2(%rip), %rsi
	movq	%r12, %rdi
	callq	_set_string_attr
	testl	%eax, %eax
	je	LBB0_2
## %bb.6:
	movl	24(%rbx), %edx
	leaq	L_.str.3(%rip), %rsi
	movq	%r12, %rdi
	callq	_set_string_attr
	testl	%eax, %eax
	je	LBB0_2
## %bb.7:
	movl	20(%rbx), %edx
	leaq	L_.str.4(%rip), %rsi
	movq	%r12, %rdi
	callq	_set_string_attr
	testl	%eax, %eax
	je	LBB0_2
## %bb.8:
	movl	16(%rbx), %edx
	leaq	L_.str.5(%rip), %rsi
	movq	%r12, %rdi
	callq	_set_string_attr
	testl	%eax, %eax
	je	LBB0_2
## %bb.9:
	movl	12(%rbx), %edx
	leaq	L_.str.6(%rip), %rsi
	movq	%r12, %rdi
	callq	_set_string_attr
	testl	%eax, %eax
	je	LBB0_2
## %bb.10:
	movl	8(%rbx), %edx
	leaq	L_.str.7(%rip), %rsi
	movq	%r12, %rdi
	callq	_set_string_attr
	testl	%eax, %eax
	je	LBB0_2
## %bb.11:
	movl	4(%rbx), %edx
	leaq	L_.str.8(%rip), %rsi
	movq	%r12, %rdi
	callq	_set_string_attr
	testl	%eax, %eax
	je	LBB0_2
## %bb.12:
	movl	(%rbx), %edx
	leaq	L_.str.9(%rip), %rsi
	movq	%r12, %rdi
	callq	_set_string_attr
	testl	%eax, %eax
	je	LBB0_2
## %bb.13:
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_PyErr_SetObject
	movq	%r14, %rdi
	callq	_Py_DECREF
	movq	%r12, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_Py_DECREF                      ## TAILCALL
LBB0_1:
	xorl	%r12d, %r12d
LBB0_2:
	movq	%r14, %rdi
	callq	_Py_XDECREF
	movq	%r12, %rdi
	callq	_Py_XDECREF
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.10(%rip), %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_elog                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"(s)"

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

L_.str.2:                               ## @.str.2
	.asciz	"detail"

L_.str.3:                               ## @.str.3
	.asciz	"hint"

L_.str.4:                               ## @.str.4
	.asciz	"query"

L_.str.5:                               ## @.str.5
	.asciz	"schema_name"

L_.str.6:                               ## @.str.6
	.asciz	"table_name"

L_.str.7:                               ## @.str.7
	.asciz	"column_name"

L_.str.8:                               ## @.str.8
	.asciz	"datatype_name"

L_.str.9:                               ## @.str.9
	.asciz	"constraint_name"

	.comm	_ERROR,4,2                      ## @ERROR
L_.str.10:                              ## @.str.10
	.asciz	"could not convert error to Python exception"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PLy_exception_set_with_details ; -- Begin function PLy_exception_set_with_details
	.p2align	2
_PLy_exception_set_with_details:        ; @PLy_exception_set_with_details
	.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	x22, x1
	mov	x21, x0
	ldr	w1, [x1, #36]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_Py_BuildValue
	mov	x19, x0
	cbz	x0, LBB0_12
; %bb.1:
	mov	x0, x21
	mov	x1, x19
	bl	_PyObject_CallObject
	mov	x20, x0
	cbz	x0, LBB0_13
; %bb.2:
	ldr	w0, [x22, #32]
	bl	_unpack_sql_state
	mov	x2, x0
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_set_string_attr
	cbz	w0, LBB0_13
; %bb.3:
	ldr	w2, [x22, #28]
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_set_string_attr
	cbz	w0, LBB0_13
; %bb.4:
	ldr	w2, [x22, #24]
Lloh6:
	adrp	x1, l_.str.3@PAGE
Lloh7:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_set_string_attr
	cbz	w0, LBB0_13
; %bb.5:
	ldr	w2, [x22, #20]
Lloh8:
	adrp	x1, l_.str.4@PAGE
Lloh9:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x20
	bl	_set_string_attr
	cbz	w0, LBB0_13
; %bb.6:
	ldr	w2, [x22, #16]
Lloh10:
	adrp	x1, l_.str.5@PAGE
Lloh11:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x20
	bl	_set_string_attr
	cbz	w0, LBB0_13
; %bb.7:
	ldr	w2, [x22, #12]
Lloh12:
	adrp	x1, l_.str.6@PAGE
Lloh13:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x20
	bl	_set_string_attr
	cbz	w0, LBB0_13
; %bb.8:
	ldr	w2, [x22, #8]
Lloh14:
	adrp	x1, l_.str.7@PAGE
Lloh15:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x20
	bl	_set_string_attr
	cbz	w0, LBB0_13
; %bb.9:
	ldr	w2, [x22, #4]
Lloh16:
	adrp	x1, l_.str.8@PAGE
Lloh17:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x20
	bl	_set_string_attr
	cbz	w0, LBB0_13
; %bb.10:
	ldr	w2, [x22]
Lloh18:
	adrp	x1, l_.str.9@PAGE
Lloh19:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x0, x20
	bl	_set_string_attr
	cbz	w0, LBB0_13
; %bb.11:
	mov	x0, x21
	mov	x1, x20
	bl	_PyErr_SetObject
	mov	x0, x19
	bl	_Py_DECREF
	mov	x0, x20
	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	_Py_DECREF
LBB0_12:
	mov	x20, #0
LBB0_13:
	mov	x0, x19
	bl	_Py_XDECREF
	mov	x0, x20
	bl	_Py_XDECREF
Lloh20:
	adrp	x8, _ERROR@GOTPAGE
Lloh21:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
Lloh23:
	adrp	x1, l_.str.10@PAGE
Lloh24:
	add	x1, x1, l_.str.10@PAGEOFF
	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	_elog
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"(s)"

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

l_.str.2:                               ; @.str.2
	.asciz	"detail"

l_.str.3:                               ; @.str.3
	.asciz	"hint"

l_.str.4:                               ; @.str.4
	.asciz	"query"

l_.str.5:                               ; @.str.5
	.asciz	"schema_name"

l_.str.6:                               ; @.str.6
	.asciz	"table_name"

l_.str.7:                               ; @.str.7
	.asciz	"column_name"

l_.str.8:                               ; @.str.8
	.asciz	"datatype_name"

l_.str.9:                               ; @.str.9
	.asciz	"constraint_name"

	.comm	_ERROR,4,2                      ; @ERROR
l_.str.10:                              ; @.str.10
	.asciz	"could not convert error to Python exception"

.subsections_via_symbols
