	.file	"extr_tpi.c_get_union_print_type.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"union "
	.text
	.p2align 4
	.type	get_union_print_type, @function
get_union_print_type:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 24
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	rsi, rsp
	mov	QWORD PTR [rsp], 0
	call	[QWORD PTR [rdi]]
	lea	rdi, .LC0[rip]
	call	strlen@PLT
	mov	rdi, QWORD PTR [rsp]
	mov	ebx, eax
	test	rdi, rdi
	je	.L2
	call	strlen@PLT
	add	ebx, eax
.L2:
	lea	edi, 1[rbx]
	call	malloc@PLT
	mov	QWORD PTR 0[rbp], rax
	mov	rdi, rax
	test	rax, rax
	je	.L1
	lea	rsi, .LC0[rip]
	call	strcpy@PLT
	mov	rsi, QWORD PTR [rsp]
	test	rsi, rsi
	je	.L1
	mov	rdi, QWORD PTR 0[rbp]
	call	strcat@PLT
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L14
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
.L14:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	get_union_print_type, .-get_union_print_type
	.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_tpi.c_get_union_print_type.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"union \000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_union_print_type, %function
get_union_print_type:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r2, #0
	push	{r4, r5, lr}
	sub	sp, sp, #12
	str	r2, [sp]
	ldr	r2, .L15
	mov	r4, r1
	ldr	r3, [r0]
	mov	r1, sp
	ldr	r2, [r2]
	str	r2, [sp, #4]
	mov	r2,#0
	blx	r3
	ldr	r5, [sp]
	cmp	r5, #0
	beq	.L2
	mov	r0, r5
	bl	strlen
	add	r0, r0, #7
	bl	malloc
	cmp	r0, #0
	mov	r3, r0
	str	r0, [r4]
	beq	.L1
	ldr	r2, .L15+4
	ldm	r2, {r0, r1}
	str	r0, [r3]
	strh	r1, [r3, #4]	@ movhi
	add	r0, r3, #6
	mov	r1, r5
	bl	strcpy
.L1:
	ldr	r3, .L15
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L14
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, pc}
.L2:
	mov	r0, #7
	bl	malloc
	cmp	r0, #0
	mov	r3, r0
	str	r0, [r4]
	beq	.L1
	ldr	r2, .L15+4
	ldm	r2, {r0, r1}
	lsr	r2, r1, #16
	str	r0, [r3]
	strh	r1, [r3, #4]	@ movhi
	strb	r2, [r3, #6]
	b	.L1
.L14:
	bl	__stack_chk_fail
.L16:
	.align	2
.L15:
	.word	.LC1
	.word	.LC0
	.size	get_union_print_type, .-get_union_print_type
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
