	.file	"extr_plpy_elog.c_PLy_exception_set_with_details.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"(s)"
.LC1:
	.string	"sqlstate"
.LC2:
	.string	"detail"
.LC3:
	.string	"hint"
.LC4:
	.string	"query"
.LC5:
	.string	"schema_name"
.LC6:
	.string	"table_name"
.LC7:
	.string	"column_name"
.LC8:
	.string	"datatype_name"
.LC9:
	.string	"constraint_name"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC10:
	.string	"could not convert error to Python exception"
	.text
	.p2align 4
	.globl	PLy_exception_set_with_details
	.type	PLy_exception_set_with_details, @function
PLy_exception_set_with_details:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rdi
	lea	rdi, .LC0[rip]
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	esi, DWORD PTR 36[rsi]
	call	Py_BuildValue@PLT
	mov	rbp, rax
	test	rax, rax
	je	.L2
	mov	rsi, rax
	mov	rdi, r13
	call	PyObject_CallObject@PLT
	mov	r12, rax
	test	rax, rax
	je	.L2
	mov	edi, DWORD PTR 32[rbx]
	call	unpack_sql_state@PLT
	lea	rsi, .LC1[rip]
	mov	rdi, r12
	mov	edx, eax
	call	set_string_attr@PLT
	test	eax, eax
	je	.L3
	mov	edx, DWORD PTR 28[rbx]
	lea	rsi, .LC2[rip]
	mov	rdi, r12
	call	set_string_attr@PLT
	test	eax, eax
	je	.L3
	mov	edx, DWORD PTR 24[rbx]
	lea	rsi, .LC3[rip]
	mov	rdi, r12
	call	set_string_attr@PLT
	test	eax, eax
	je	.L3
	mov	edx, DWORD PTR 20[rbx]
	lea	rsi, .LC4[rip]
	mov	rdi, r12
	call	set_string_attr@PLT
	test	eax, eax
	je	.L3
	mov	edx, DWORD PTR 16[rbx]
	lea	rsi, .LC5[rip]
	mov	rdi, r12
	call	set_string_attr@PLT
	test	eax, eax
	je	.L3
	mov	edx, DWORD PTR 12[rbx]
	lea	rsi, .LC6[rip]
	mov	rdi, r12
	call	set_string_attr@PLT
	test	eax, eax
	je	.L3
	mov	edx, DWORD PTR 8[rbx]
	lea	rsi, .LC7[rip]
	mov	rdi, r12
	call	set_string_attr@PLT
	test	eax, eax
	je	.L3
	mov	edx, DWORD PTR 4[rbx]
	lea	rsi, .LC8[rip]
	mov	rdi, r12
	call	set_string_attr@PLT
	test	eax, eax
	je	.L3
	mov	edx, DWORD PTR [rbx]
	lea	rsi, .LC9[rip]
	mov	rdi, r12
	call	set_string_attr@PLT
	test	eax, eax
	je	.L3
	mov	rsi, r12
	mov	rdi, r13
	call	PyErr_SetObject@PLT
	mov	rdi, rbp
	call	Py_DECREF@PLT
	pop	rax
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rdi, r12
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	Py_DECREF@PLT
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	xor	r12d, r12d
.L3:
	mov	rdi, rbp
	call	Py_XDECREF@PLT
	mov	rdi, r12
	call	Py_XDECREF@PLT
	mov	edi, DWORD PTR ERROR[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 40
	lea	rsi, .LC10[rip]
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	elog@PLT
	.cfi_endproc
.LFE0:
	.size	PLy_exception_set_with_details, .-PLy_exception_set_with_details
	.comm	ERROR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_plpy_elog.c_PLy_exception_set_with_details.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"(s)\000"
	.align	2
.LC1:
	.ascii	"sqlstate\000"
	.align	2
.LC2:
	.ascii	"detail\000"
	.align	2
.LC3:
	.ascii	"hint\000"
	.align	2
.LC4:
	.ascii	"query\000"
	.align	2
.LC5:
	.ascii	"schema_name\000"
	.align	2
.LC6:
	.ascii	"table_name\000"
	.align	2
.LC7:
	.ascii	"column_name\000"
	.align	2
.LC8:
	.ascii	"datatype_name\000"
	.align	2
.LC9:
	.ascii	"constraint_name\000"
	.align	2
.LC10:
	.ascii	"could not convert error to Python exception\000"
	.text
	.align	2
	.global	PLy_exception_set_with_details
	.syntax unified
	.arm
	.fpu softvfp
	.type	PLy_exception_set_with_details, %function
PLy_exception_set_with_details:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r6, r1
	mov	r7, r0
	ldr	r1, [r1, #36]
	ldr	r0, .L39
	bl	Py_BuildValue
	subs	r5, r0, #0
	beq	.L2
	mov	r1, r5
	mov	r0, r7
	bl	PyObject_CallObject
	subs	r4, r0, #0
	beq	.L2
	ldr	r0, [r6, #32]
	bl	unpack_sql_state
	ldr	r1, .L39+4
	mov	r2, r0
	mov	r0, r4
	bl	set_string_attr
	cmp	r0, #0
	beq	.L3
	mov	r0, r4
	ldr	r2, [r6, #28]
	ldr	r1, .L39+8
	bl	set_string_attr
	cmp	r0, #0
	beq	.L3
	mov	r0, r4
	ldr	r2, [r6, #24]
	ldr	r1, .L39+12
	bl	set_string_attr
	cmp	r0, #0
	beq	.L3
	mov	r0, r4
	ldr	r2, [r6, #20]
	ldr	r1, .L39+16
	bl	set_string_attr
	cmp	r0, #0
	beq	.L3
	mov	r0, r4
	ldr	r2, [r6, #16]
	ldr	r1, .L39+20
	bl	set_string_attr
	cmp	r0, #0
	beq	.L3
	mov	r0, r4
	ldr	r2, [r6, #12]
	ldr	r1, .L39+24
	bl	set_string_attr
	cmp	r0, #0
	beq	.L3
	mov	r0, r4
	ldr	r2, [r6, #8]
	ldr	r1, .L39+28
	bl	set_string_attr
	cmp	r0, #0
	beq	.L3
	mov	r0, r4
	ldr	r2, [r6, #4]
	ldr	r1, .L39+32
	bl	set_string_attr
	cmp	r0, #0
	beq	.L3
	mov	r0, r4
	ldr	r2, [r6]
	ldr	r1, .L39+36
	bl	set_string_attr
	cmp	r0, #0
	beq	.L3
	mov	r1, r4
	mov	r0, r7
	bl	PyErr_SetObject
	mov	r0, r5
	bl	Py_DECREF
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, lr}
	b	Py_DECREF
.L2:
	mov	r4, #0
.L3:
	mov	r0, r5
	bl	Py_XDECREF
	mov	r0, r4
	bl	Py_XDECREF
	pop	{r4, r5, r6, r7, r8, lr}
	ldr	r3, .L39+40
	ldr	r1, .L39+44
	ldr	r0, [r3]
	b	elog
.L40:
	.align	2
.L39:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	ERROR
	.word	.LC10
	.size	PLy_exception_set_with_details, .-PLy_exception_set_with_details
	.comm	ERROR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
