	.file	"extr_plpy_typeio.c_PLy_output_setup_func.c"
	.intel_syntax noprefix
	.text
	.section	.text.unlikely,"ax",@progbits
.LCOLDB0:
	.text
.LHOTB0:
	.p2align 4
	.globl	PLy_output_setup_func
	.type	PLy_output_setup_func, @function
PLy_output_setup_func:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15d, ecx
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, r8
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12d, esi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	ebp, edx
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rdi
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	DWORD PTR 12[rsp], ecx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	call	check_stack_depth@PLT
	cmp	DWORD PTR RECORDOID[rip], ebp
	mov	DWORD PTR [rbx], ebp
	mov	DWORD PTR 120[rbx], r15d
	mov	DWORD PTR 116[rbx], r12d
	jne	.L19
	movzx	r15d, BYTE PTR TYPTYPE_COMPOSITE[rip]
	cmp	r15b, BYTE PTR TYPTYPE_DOMAIN[rip]
	mov	BYTE PTR 12[rbx], 100
	movabs	rax, -4294967296
	mov	QWORD PTR 4[rbx], rax
	je	.L5
	xor	r14d, r14d
.L6:
	mov	esi, DWORD PTR 4[r13]
	mov	edx, DWORD PTR 0[r13]
	mov	edi, ebp
	call	get_transform_tosql@PLT
	test	eax, eax
	jne	.L20
	cmp	BYTE PTR TYPTYPE_COMPOSITE[rip], r15b
	je	.L21
	cmp	ebp, 128
	je	.L10
	cmp	ebp, 129
	je	.L22
	mov	eax, DWORD PTR PLyObject_ToScalar[rip]
	lea	rdx, 20[rbx]
	lea	rsi, 20[rsp]
	mov	edi, ebp
	mov	DWORD PTR 112[rbx], eax
	call	getTypeInputInfo@PLT
	mov	edi, DWORD PTR 20[rsp]
	lea	rsi, 16[rbx]
	mov	edx, r12d
	call	fmgr_info_cxt@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L20:
	mov	edx, DWORD PTR PLyObject_ToTransform[rip]
	lea	rsi, 72[rbx]
	mov	edi, eax
	mov	DWORD PTR 112[rbx], edx
	mov	edx, r12d
	call	fmgr_info_cxt@PLT
.L1:
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L23
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L19:
	.cfi_restore_state
	mov	esi, DWORD PTR TYPECACHE_DOMAIN_BASE_INFO[rip]
	mov	edi, ebp
	call	lookup_type_cache@PLT
	movzx	r15d, BYTE PTR [rax]
	mov	r14, rax
	mov	eax, DWORD PTR 4[rax]
	cmp	BYTE PTR TYPTYPE_DOMAIN[rip], r15b
	mov	DWORD PTR 4[rbx], eax
	mov	eax, DWORD PTR 8[r14]
	mov	DWORD PTR 8[rbx], eax
	movzx	eax, BYTE PTR 12[r14]
	mov	BYTE PTR 12[rbx], al
	je	.L24
	mov	edi, DWORD PTR 20[r14]
	call	OidIsValid@PLT
	test	rax, rax
	je	.L6
	cmp	DWORD PTR 8[r14], -1
	jne	.L6
	mov	eax, DWORD PTR PLySequence_ToArray[rip]
	mov	edi, DWORD PTR 20[r14]
	mov	DWORD PTR 112[rbx], eax
	call	getBaseType@PLT
	mov	edi, r12d
	mov	esi, 128
	mov	DWORD PTR 88[rbx], eax
	call	MemoryContextAllocZero@PLT
	mov	edx, DWORD PTR 20[r14]
	mov	ecx, DWORD PTR 12[rsp]
	mov	r8, r13
	mov	QWORD PTR 80[rbx], rax
	mov	rdi, rax
	mov	esi, r12d
	call	PLy_output_setup_func
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L22:
	mov	eax, DWORD PTR PLyObject_ToBool[rip]
	mov	DWORD PTR 112[rbx], eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L21:
	mov	eax, DWORD PTR PLyObject_ToComposite[rip]
	mov	QWORD PTR 64[rbx], 0
	mov	QWORD PTR 56[rbx], r14
	mov	DWORD PTR 112[rbx], eax
	mov	eax, DWORD PTR INVALID_TUPLEDESC_IDENTIFIER[rip]
	mov	QWORD PTR 40[rbx], 0
	mov	DWORD PTR 48[rbx], eax
	mov	eax, DWORD PTR InvalidOid[rip]
	mov	QWORD PTR 32[rbx], 0
	mov	DWORD PTR 24[rbx], eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L10:
	mov	eax, DWORD PTR PLyObject_ToBytea[rip]
	mov	DWORD PTR 112[rbx], eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L24:
	mov	eax, DWORD PTR PLyObject_ToDomain[rip]
	mov	QWORD PTR 104[rbx], 0
	mov	edi, r12d
	mov	esi, 128
	mov	DWORD PTR 112[rbx], eax
	call	MemoryContextAllocZero@PLT
	mov	ecx, DWORD PTR 24[r14]
	mov	edx, DWORD PTR 16[r14]
	mov	r8, r13
	mov	QWORD PTR 96[rbx], rax
	mov	rdi, rax
	mov	esi, r12d
	call	PLy_output_setup_func
	jmp	.L1
.L23:
	call	__stack_chk_fail@PLT
	.cfi_endproc
	.section	.text.unlikely
	.cfi_startproc
	.type	PLy_output_setup_func.cold, @function
PLy_output_setup_func.cold:
.LFSB0:
.L5:
	.cfi_def_cfa_offset 96
	.cfi_offset 3, -56
	.cfi_offset 6, -48
	.cfi_offset 12, -40
	.cfi_offset 13, -32
	.cfi_offset 14, -24
	.cfi_offset 15, -16
	mov	eax, DWORD PTR PLyObject_ToDomain[rip]
	mov	QWORD PTR 104[rbx], 0
	mov	esi, 128
	mov	edi, r12d
	mov	DWORD PTR 112[rbx], eax
	call	MemoryContextAllocZero@PLT
	mov	QWORD PTR 96[rbx], rax
	mov	eax, DWORD PTR ds:24
	ud2
	.cfi_endproc
.LFE0:
	.text
	.size	PLy_output_setup_func, .-PLy_output_setup_func
	.section	.text.unlikely
	.size	PLy_output_setup_func.cold, .-PLy_output_setup_func.cold
.LCOLDE0:
	.text
.LHOTE0:
	.comm	TYPTYPE_DOMAIN,1,1
	.comm	TYPTYPE_COMPOSITE,1,1
	.comm	TYPECACHE_DOMAIN_BASE_INFO,4,4
	.comm	RECORDOID,4,4
	.comm	PLySequence_ToArray,4,4
	.comm	PLyObject_ToTransform,4,4
	.comm	PLyObject_ToScalar,4,4
	.comm	PLyObject_ToDomain,4,4
	.comm	PLyObject_ToComposite,4,4
	.comm	PLyObject_ToBytea,4,4
	.comm	PLyObject_ToBool,4,4
	.comm	InvalidOid,4,4
	.comm	INVALID_TUPLEDESC_IDENTIFIER,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_typeio.c_PLy_output_setup_func.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	PLy_output_setup_func
	.syntax unified
	.arm
	.fpu softvfp
	.type	PLy_output_setup_func, %function
PLy_output_setup_func:
	@ args = 4, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r5, r2
	mov	r4, r0
	mov	r7, r1
	mov	r8, r3
	ldr	r3, .L25
	sub	sp, sp, #16
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	ldr	r10, [sp, #48]
	bl	check_stack_depth
	ldr	r3, .L25+4
	str	r5, [r4]
	ldr	r3, [r3]
	str	r8, [r4, #76]
	cmp	r3, r5
	str	r7, [r4, #72]
	bne	.L19
	mov	r6, #0
	mvn	r2, #0
	mov	r3, #100
	ldr	r0, .L25+8
	ldr	r1, .L25+12
	ldrb	r9, [r0]	@ zero_extendqisi2
	ldrb	r1, [r1]	@ zero_extendqisi2
	str	r6, [r4, #4]
	cmp	r1, r9
	str	r2, [r4, #8]
	strb	r3, [r4, #12]
	beq	.L5
.L6:
	mov	r0, r5
	ldr	r2, [r10]
	ldr	r1, [r10, #4]
	bl	get_transform_tosql
	subs	r3, r0, #0
	bne	.L20
	ldr	r2, .L25+8
	ldrb	r2, [r2]	@ zero_extendqisi2
	cmp	r2, r9
	beq	.L21
	cmp	r5, #128
	beq	.L10
	cmp	r5, #129
	beq	.L22
	ldr	r3, .L25+16
	add	r2, r4, #20
	ldr	r3, [r3]
	add	r1, sp, #8
	mov	r0, r5
	str	r3, [r4, #68]
	bl	getTypeInputInfo
	mov	r2, r7
	ldr	r0, [sp, #8]
	add	r1, r4, #16
	bl	fmgr_info_cxt
	b	.L1
.L20:
	ldr	r3, .L25+20
	mov	r2, r7
	ldr	r3, [r3]
	add	r1, r4, #48
	str	r3, [r4, #68]
	bl	fmgr_info_cxt
.L1:
	ldr	r3, .L25
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L23
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L19:
	ldr	r3, .L25+24
	mov	r0, r5
	ldr	r1, [r3]
	bl	lookup_type_cache
	ldr	r3, [r0, #8]
	ldr	r1, [r0, #4]
	ldrb	r9, [r0]	@ zero_extendqisi2
	ldr	r2, .L25+12
	stmib	r4, {r1, r3}
	ldrb	r2, [r2]	@ zero_extendqisi2
	ldrb	r3, [r0, #12]	@ zero_extendqisi2
	cmp	r2, r9
	mov	r6, r0
	strb	r3, [r4, #12]
	beq	.L24
	ldr	r0, [r0, #20]
	bl	OidIsValid
	cmp	r0, #0
	beq	.L6
	ldr	r3, [r6, #8]
	cmn	r3, #1
	bne	.L6
	ldr	r3, .L25+28
	ldr	r0, [r6, #20]
	ldr	r3, [r3]
	str	r3, [r4, #68]
	bl	getBaseType
	mov	r1, #80
	str	r0, [r4, #56]
	mov	r0, r7
	bl	MemoryContextAllocZero
	ldr	r2, [r6, #20]
	mov	r3, r8
	str	r10, [sp]
	mov	r1, r7
	str	r0, [r4, #52]
	bl	PLy_output_setup_func
	b	.L1
.L22:
	ldr	r3, .L25+32
	ldr	r3, [r3]
	str	r3, [r4, #68]
	b	.L1
.L21:
	ldr	r0, .L25+36
	ldr	r1, .L25+40
	ldr	r2, .L25+44
	ldr	r0, [r0]
	ldr	r1, [r1]
	ldr	r2, [r2]
	str	r3, [r4, #44]
	str	r6, [r4, #40]
	str	r3, [r4, #32]
	str	r3, [r4, #28]
	str	r0, [r4, #68]
	str	r1, [r4, #36]
	str	r2, [r4, #24]
	b	.L1
.L10:
	ldr	r3, .L25+48
	ldr	r3, [r3]
	str	r3, [r4, #68]
	b	.L1
.L24:
	mov	r2, #0
	ldr	r3, .L25+52
	str	r2, [r4, #64]
	ldr	r3, [r3]
	mov	r1, #80
	str	r3, [r4, #68]
	mov	r0, r7
	bl	MemoryContextAllocZero
	ldr	r3, [r6, #24]
	ldr	r2, [r6, #16]
	mov	r1, r7
	str	r0, [r4, #60]
	str	r10, [sp]
	bl	PLy_output_setup_func
	b	.L1
.L23:
	bl	__stack_chk_fail
.L5:
	ldr	r3, .L25+52
	mov	r0, r7
	ldr	r3, [r3]
	mov	r1, #80
	str	r3, [r4, #68]
	str	r6, [r4, #64]
	bl	MemoryContextAllocZero
	ldr	r3, [r6, #16]
	str	r0, [r4, #60]
	.inst	0xe7f000f0
.L26:
	.align	2
.L25:
	.word	.LC0
	.word	RECORDOID
	.word	TYPTYPE_COMPOSITE
	.word	TYPTYPE_DOMAIN
	.word	PLyObject_ToScalar
	.word	PLyObject_ToTransform
	.word	TYPECACHE_DOMAIN_BASE_INFO
	.word	PLySequence_ToArray
	.word	PLyObject_ToBool
	.word	PLyObject_ToComposite
	.word	INVALID_TUPLEDESC_IDENTIFIER
	.word	InvalidOid
	.word	PLyObject_ToBytea
	.word	PLyObject_ToDomain
	.size	PLy_output_setup_func, .-PLy_output_setup_func
	.comm	TYPTYPE_DOMAIN,1,1
	.comm	TYPTYPE_COMPOSITE,1,1
	.comm	TYPECACHE_DOMAIN_BASE_INFO,4,4
	.comm	RECORDOID,4,4
	.comm	PLySequence_ToArray,4,4
	.comm	PLyObject_ToTransform,4,4
	.comm	PLyObject_ToScalar,4,4
	.comm	PLyObject_ToDomain,4,4
	.comm	PLyObject_ToComposite,4,4
	.comm	PLyObject_ToBytea,4,4
	.comm	PLyObject_ToBool,4,4
	.comm	InvalidOid,4,4
	.comm	INVALID_TUPLEDESC_IDENTIFIER,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
