	.file	"extr_sparc.c_sparc_gimplify_va_arg.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"va_arg_tmp"
	.text
	.p2align 4
	.type	sparc_gimplify_va_arg, @function
sparc_gimplify_va_arg:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rdx
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13d, edi
	mov	edi, esi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rcx
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	ebp, esi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	call	build_pointer_type@PLT
	mov	edi, ebp
	mov	r15d, eax
	call	TYPE_MODE@PLT
	xor	ecx, ecx
	xor	edi, edi
	mov	edx, ebp
	mov	esi, eax
	call	pass_by_reference@PLT
	test	rax, rax
	je	.L2
	mov	rdx, r12
	mov	rsi, r14
	lea	rdi, 20[rsp]
	mov	DWORD PTR 20[rsp], r13d
	mov	r8d, DWORD PTR fb_rvalue[rip]
	mov	ecx, DWORD PTR is_gimple_val[rip]
	mov	ebx, DWORD PTR UNITS_PER_WORD[rip]
	call	gimplify_expr@PLT
	mov	ebp, DWORD PTR 20[rsp]
	mov	edi, r15d
	call	build_pointer_type@PLT
	mov	edi, eax
	mov	esi, ebp
	call	fold_convert@PLT
	mov	edi, eax
	call	build_va_arg_indirect_ref@PLT
	mov	ebp, eax
.L3:
	mov	edi, ebx
	call	ssize_int@PLT
	mov	edx, DWORD PTR 20[rsp]
	mov	esi, DWORD PTR ptr_type_node[rip]
	mov	edi, DWORD PTR PLUS_EXPR[rip]
	mov	ecx, eax
	call	build2@PLT
	mov	edi, eax
	call	fold@PLT
	mov	esi, DWORD PTR ptr_type_node[rip]
	mov	edi, DWORD PTR MODIFY_EXPR[rip]
	mov	edx, r13d
	mov	ecx, eax
	mov	DWORD PTR 20[rsp], eax
	call	build2@PLT
	mov	rsi, r12
	mov	edi, eax
	mov	DWORD PTR 20[rsp], eax
	call	gimplify_and_add@PLT
	mov	edi, ebp
	call	build_va_arg_indirect_ref@PLT
	mov	rbx, QWORD PTR 24[rsp]
	xor	rbx, QWORD PTR fs:40
	jne	.L26
	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
.L2:
	.cfi_restore_state
	mov	edi, ebp
	call	int_size_in_bytes@PLT
	mov	ebx, eax
	mov	DWORD PTR 12[rsp], eax
	mov	eax, DWORD PTR UNITS_PER_WORD[rip]
	lea	ebx, -1[rax+rbx]
	neg	eax
	and	ebx, eax
	cmp	QWORD PTR TARGET_ARCH64[rip], 0
	jne	.L4
.L12:
	mov	DWORD PTR 20[rsp], r13d
.L5:
	mov	r8d, DWORD PTR fb_rvalue[rip]
	mov	ecx, DWORD PTR is_gimple_val[rip]
	mov	rdx, r12
	mov	rsi, r14
	lea	rdi, 20[rsp]
	call	gimplify_expr@PLT
	cmp	QWORD PTR BYTES_BIG_ENDIAN[rip], 0
	mov	r8d, DWORD PTR 20[rsp]
	mov	DWORD PTR 8[rsp], 0
	je	.L11
.L10:
	mov	eax, DWORD PTR 12[rsp]
	cmp	eax, ebx
	jge	.L9
	mov	edi, ebx
	sub	edi, eax
	call	ssize_int@PLT
	mov	edx, DWORD PTR 20[rsp]
	mov	esi, DWORD PTR ptr_type_node[rip]
	mov	edi, DWORD PTR PLUS_EXPR[rip]
	mov	ecx, eax
	call	build2@PLT
	mov	edi, eax
	call	fold@PLT
	mov	r8d, eax
.L9:
	mov	edx, DWORD PTR 8[rsp]
	test	edx, edx
	jne	.L8
	.p2align 4,,10
	.p2align 3
.L11:
	mov	edi, ebp
	mov	DWORD PTR 8[rsp], r8d
	call	TYPE_ALIGN@PLT
	cmp	eax, DWORD PTR BITS_PER_WORD[rip]
	mov	r8d, DWORD PTR 8[rsp]
	jg	.L27
.L8:
	mov	esi, r8d
	mov	edi, r15d
	call	fold_convert@PLT
	mov	ebp, eax
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L27:
	lea	rsi, .LC0[rip]
	mov	edi, ebp
	call	create_tmp_var@PLT
	mov	edi, eax
	call	build_fold_addr_expr@PLT
	mov	r15d, DWORD PTR NULL_TREE[rip]
	mov	edi, ebx
	mov	ebp, eax
	call	size_int@PLT
	mov	edi, DWORD PTR NULL_TREE[rip]
	mov	edx, r15d
	mov	esi, eax
	call	tree_cons@PLT
	mov	r8d, DWORD PTR 8[rsp]
	mov	edi, DWORD PTR NULL_TREE[rip]
	mov	edx, eax
	mov	esi, r8d
	call	tree_cons@PLT
	mov	edi, DWORD PTR NULL_TREE[rip]
	mov	esi, ebp
	mov	edx, eax
	call	tree_cons@PLT
	mov	rdx, QWORD PTR BUILT_IN_MEMCPY[rip]
	mov	esi, eax
	mov	rax, QWORD PTR implicit_built_in_decls[rip]
	mov	edi, DWORD PTR [rax+rdx*4]
	call	build_function_call_expr@PLT
	mov	rsi, r14
	mov	edi, eax
	call	gimplify_and_add@PLT
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L4:
	mov	edi, ebp
	call	TYPE_ALIGN@PLT
	mov	r8d, eax
	mov	eax, DWORD PTR BITS_PER_WORD[rip]
	add	eax, eax
	cmp	r8d, eax
	jb	.L6
	mov	eax, DWORD PTR UNITS_PER_WORD[rip]
	mov	edi, ebp
	add	eax, eax
	mov	DWORD PTR 8[rsp], eax
	call	AGGREGATE_TYPE_P@PLT
	test	rax, rax
	jne	.L28
.L7:
	mov	eax, DWORD PTR 8[rsp]
	mov	DWORD PTR 20[rsp], r13d
	test	eax, eax
	je	.L5
	lea	edi, -1[rax]
	call	ssize_int@PLT
	mov	edx, DWORD PTR 20[rsp]
	mov	esi, DWORD PTR ptr_type_node[rip]
	mov	edi, DWORD PTR PLUS_EXPR[rip]
	mov	ecx, eax
	call	build2@PLT
	mov	edi, eax
	call	fold@PLT
	mov	DWORD PTR 20[rsp], eax
	mov	eax, DWORD PTR 8[rsp]
	neg	eax
	mov	edi, eax
	call	ssize_int@PLT
	mov	edx, DWORD PTR 20[rsp]
	mov	esi, DWORD PTR ptr_type_node[rip]
	mov	edi, DWORD PTR BIT_AND_EXPR[rip]
	mov	ecx, eax
	call	build2@PLT
	mov	edi, eax
	call	fold@PLT
	lea	rdi, 20[rsp]
	mov	rdx, r12
	mov	rsi, r14
	mov	r8d, DWORD PTR fb_rvalue[rip]
	mov	ecx, DWORD PTR is_gimple_val[rip]
	mov	DWORD PTR 20[rsp], eax
	call	gimplify_expr@PLT
	cmp	QWORD PTR BYTES_BIG_ENDIAN[rip], 0
	mov	r8d, DWORD PTR 20[rsp]
	jne	.L10
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L6:
	mov	edi, ebp
	call	AGGREGATE_TYPE_P@PLT
	test	rax, rax
	je	.L12
	mov	eax, DWORD PTR 12[rsp]
	test	eax, eax
	jne	.L13
	mov	ebx, DWORD PTR UNITS_PER_WORD[rip]
.L13:
	lea	rdi, 20[rsp]
	mov	rdx, r12
	mov	rsi, r14
	mov	DWORD PTR 20[rsp], r13d
	mov	r8d, DWORD PTR fb_rvalue[rip]
	mov	ecx, DWORD PTR is_gimple_val[rip]
	call	gimplify_expr@PLT
	mov	r8d, DWORD PTR 20[rsp]
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L28:
	mov	ecx, DWORD PTR 12[rsp]
	test	ecx, ecx
	jne	.L15
	mov	eax, DWORD PTR UNITS_PER_WORD[rip]
	mov	DWORD PTR 12[rsp], eax
	mov	ebx, eax
	jmp	.L7
.L15:
	mov	DWORD PTR 12[rsp], ebx
	jmp	.L7
.L26:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	sparc_gimplify_va_arg, .-sparc_gimplify_va_arg
	.comm	ptr_type_node,4,4
	.comm	is_gimple_val,4,4
	.comm	implicit_built_in_decls,8,8
	.comm	fb_rvalue,4,4
	.comm	UNITS_PER_WORD,4,4
	.comm	TARGET_ARCH64,8,8
	.comm	PLUS_EXPR,4,4
	.comm	NULL_TREE,4,4
	.comm	MODIFY_EXPR,4,4
	.comm	BYTES_BIG_ENDIAN,8,8
	.comm	BUILT_IN_MEMCPY,8,8
	.comm	BIT_AND_EXPR,4,4
	.comm	BITS_PER_WORD,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_sparc.c_sparc_gimplify_va_arg.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"va_arg_tmp\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	sparc_gimplify_va_arg, %function
sparc_gimplify_va_arg:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r6, r3
	ldr	r3, .L34
	sub	sp, sp, #44
	mov	r5, r0
	mov	r0, r1
	mov	r4, r1
	mov	r7, r2
	ldr	r3, [r3]
	str	r3, [sp, #36]
	mov	r3,#0
	bl	build_pointer_type
	mov	r8, r0
	mov	r0, r4
	bl	TYPE_MODE
	mov	r3, #0
	mov	r1, r0
	mov	r2, r4
	mov	r0, r3
	bl	pass_by_reference
	cmp	r0, #0
	beq	.L2
	ldr	r2, .L34+4
	ldr	ip, .L34+8
	ldr	r2, [r2]
	ldr	r3, .L34+12
	str	r2, [sp]
	ldr	ip, [ip]
	ldr	r3, [r3]
	mov	r2, r6
	mov	r1, r7
	add	r0, sp, #32
	str	ip, [sp, #16]
	str	r5, [sp, #32]
	bl	gimplify_expr
	ldr	r4, [sp, #32]
	mov	r0, r8
	bl	build_pointer_type
	mov	r1, r4
	bl	fold_convert
	bl	build_va_arg_indirect_ref
	mov	r4, r0
	ldr	r3, .L34+16
	ldr	r9, .L34+20
	str	r3, [sp, #12]
.L3:
	ldr	r3, [sp, #12]
	ldr	r0, [sp, #16]
	ldr	r7, [r3]
	ldr	r8, [r9]
	ldr	r10, [sp, #32]
	bl	ssize_int
	mov	r2, r10
	mov	r3, r0
	mov	r1, r8
	mov	r0, r7
	bl	build2
	bl	fold
	mov	r3, r0
	ldr	r0, .L34+24
	mov	r2, r5
	ldr	r1, [r9]
	ldr	r0, [r0]
	str	r3, [sp, #32]
	bl	build2
	mov	r1, r6
	str	r0, [sp, #32]
	bl	gimplify_and_add
	mov	r0, r4
	bl	build_va_arg_indirect_ref
	ldr	r3, .L34
	ldr	r2, [r3]
	ldr	r3, [sp, #36]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L30
	add	sp, sp, #44
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L2:
	mov	r0, r4
	bl	int_size_in_bytes
	ldr	r9, .L34+8
	ldr	r2, .L34+28
	ldr	r3, [r9]
	ldr	r1, [r2]
	add	r2, r3, r0
	sub	r2, r2, #1
	rsb	r3, r3, #0
	and	r3, r2, r3
	cmp	r1, #0
	str	r0, [sp, #28]
	str	r3, [sp, #16]
	bne	.L4
.L12:
	str	r5, [sp, #32]
.L5:
	ldr	r2, .L34+4
	ldr	r3, .L34+12
	ldr	r2, [r2]
	ldr	r3, [r3]
	mov	r1, r7
	str	r2, [sp]
	add	r0, sp, #32
	mov	r2, r6
	bl	gimplify_expr
	ldr	r3, .L34+32
	ldr	r10, [sp, #32]
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L31
	mov	r3, #0
	str	r3, [sp, #20]
	ldr	r3, .L34+16
	ldr	r9, .L34+20
	str	r3, [sp, #12]
.L10:
	ldr	r3, [sp, #28]
	ldr	r2, [sp, #16]
	cmp	r3, r2
	bge	.L9
	ldr	r1, [r9]
	sub	r0, r2, r3
	ldr	r3, [sp, #12]
	str	r1, [sp, #24]
	ldr	fp, [r3]
	bl	ssize_int
	mov	r2, r10
	mov	r3, r0
	ldr	r1, [sp, #24]
	mov	r0, fp
	bl	build2
	bl	fold
	mov	r10, r0
.L9:
	ldr	r3, [sp, #20]
	cmp	r3, #0
	beq	.L32
.L8:
	mov	r1, r10
	mov	r0, r8
	bl	fold_convert
	mov	r4, r0
	b	.L3
.L31:
	ldr	r3, .L34+16
	ldr	fp, .L34+36
	ldr	r9, .L34+20
	str	r3, [sp, #12]
.L11:
	mov	r0, r4
	bl	TYPE_ALIGN
	ldr	r3, [fp]
	cmp	r0, r3
	ble	.L8
	ldr	r1, .L34+40
	mov	r0, r4
	bl	create_tmp_var
	bl	build_fold_addr_expr
	ldr	r2, .L34+44
	ldr	r3, .L34+48
	ldr	r1, [r2]
	ldr	r2, [r3]
	ldr	r3, .L34+52
	mov	r4, r0
	ldr	r0, [sp, #16]
	ldr	r8, [r3]
	ldr	fp, [r2, r1, lsl #2]
	bl	size_int
	ldr	r3, .L34+52
	mov	r1, r0
	ldr	r2, [r3]
	mov	r0, r8
	bl	tree_cons
	mov	r1, r10
	mov	r2, r0
	mov	r0, r8
	bl	tree_cons
	mov	r1, r4
	mov	r2, r0
	mov	r0, r8
	bl	tree_cons
	mov	r1, r0
	mov	r0, fp
	bl	build_function_call_expr
	mov	r1, r7
	bl	gimplify_and_add
	b	.L3
.L4:
	mov	r0, r4
	bl	TYPE_ALIGN
	ldr	fp, .L34+36
	ldr	r3, [fp]
	cmp	r0, r3, lsl #1
	bcc	.L6
	ldr	r3, [r9]
	mov	r0, r4
	lsl	r3, r3, #1
	str	r3, [sp, #20]
	bl	AGGREGATE_TYPE_P
	cmp	r0, #0
	bne	.L33
.L7:
	ldr	r2, [sp, #20]
	str	r5, [sp, #32]
	cmp	r2, #0
	beq	.L5
	ldr	r3, .L34+16
	ldr	r9, .L34+20
	sub	r0, r2, #1
	ldr	r10, [r3]
	ldr	fp, [r9]
	str	r3, [sp, #12]
	bl	ssize_int
	mov	r1, fp
	mov	r3, r0
	mov	r2, r5
	mov	r0, r10
	bl	build2
	bl	fold
	mov	r2, r0
	ldr	r3, .L34+56
	ldr	fp, [r9]
	ldr	r10, [r3]
	ldr	r3, [sp, #20]
	str	r2, [sp, #32]
	rsb	r0, r3, #0
	str	r2, [sp, #24]
	bl	ssize_int
	mov	r1, fp
	mov	r3, r0
	ldr	r2, [sp, #24]
	mov	r0, r10
	bl	build2
	bl	fold
	mov	ip, r0
	ldr	r2, .L34+4
	ldr	r3, .L34+12
	ldr	r2, [r2]
	ldr	r3, [r3]
	mov	r1, r7
	str	r2, [sp]
	add	r0, sp, #32
	mov	r2, r6
	str	ip, [sp, #32]
	bl	gimplify_expr
	ldr	r3, .L34+32
	ldr	r10, [sp, #32]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L10
	b	.L8
.L6:
	mov	r0, r4
	bl	AGGREGATE_TYPE_P
	cmp	r0, #0
	beq	.L12
	ldr	r3, [sp, #28]
	ldr	r2, .L34+4
	cmp	r3, #0
	ldr	r2, [r2]
	ldr	r3, .L34+12
	mov	r1, r7
	ldr	r3, [r3]
	str	r2, [sp]
	ldreq	ip, [r9]
	mov	r2, r6
	add	r0, sp, #32
	streq	ip, [sp, #16]
	str	r5, [sp, #32]
	bl	gimplify_expr
	ldr	r3, .L34+16
	ldr	r10, [sp, #32]
	ldr	r9, .L34+20
	str	r3, [sp, #12]
	b	.L11
.L33:
	ldr	r3, [sp, #28]
	cmp	r3, #0
	ldreq	r3, [r9]
	ldrne	r3, [sp, #16]
	streq	r3, [sp, #28]
	streq	r3, [sp, #16]
	strne	r3, [sp, #28]
	b	.L7
.L32:
	ldr	fp, .L34+36
	b	.L11
.L30:
	bl	__stack_chk_fail
.L35:
	.align	2
.L34:
	.word	.LC1
	.word	fb_rvalue
	.word	UNITS_PER_WORD
	.word	is_gimple_val
	.word	PLUS_EXPR
	.word	ptr_type_node
	.word	MODIFY_EXPR
	.word	TARGET_ARCH64
	.word	BYTES_BIG_ENDIAN
	.word	BITS_PER_WORD
	.word	.LC0
	.word	BUILT_IN_MEMCPY
	.word	implicit_built_in_decls
	.word	NULL_TREE
	.word	BIT_AND_EXPR
	.size	sparc_gimplify_va_arg, .-sparc_gimplify_va_arg
	.comm	ptr_type_node,4,4
	.comm	is_gimple_val,4,4
	.comm	implicit_built_in_decls,4,4
	.comm	fb_rvalue,4,4
	.comm	UNITS_PER_WORD,4,4
	.comm	TARGET_ARCH64,4,4
	.comm	PLUS_EXPR,4,4
	.comm	NULL_TREE,4,4
	.comm	MODIFY_EXPR,4,4
	.comm	BYTES_BIG_ENDIAN,4,4
	.comm	BUILT_IN_MEMCPY,4,4
	.comm	BIT_AND_EXPR,4,4
	.comm	BITS_PER_WORD,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
