	.file	"extr_resolve.c_resolve_init.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Cannot use undef initializer without declared type"
	.align 8
.LC1:
	.string	"Invalid type in initialization. Expected %s"
	.align 8
.LC2:
	.string	"Cannot declare variable of size 0"
	.text
	.p2align 4
	.globl	resolve_init
	.type	resolve_init, @function
resolve_init:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rdx
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	ebp, edi
	mov	rdi, rsi
	mov	esi, ecx
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	test	r8d, r8d
	je	.L2
	test	rdi, rdi
	je	.L5
	call	resolve_typespec_strict@PLT
	xor	r14d, r14d
	mov	r12, rax
	test	rax, rax
	je	.L5
.L4:
	mov	rdi, r12
	call	complete_type@PLT
	test	r13, r13
	je	.L10
.L13:
	mov	rdi, r14
	call	is_ptr_type@PLT
	test	rax, rax
	je	.L11
.L10:
	mov	rdi, r12
	call	incomplete_decay@PLT
	mov	r12, rax
.L11:
	cmp	QWORD PTR [r12], 0
	je	.L28
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rax, r12
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	lea	rsi, .LC0[rip]
	mov	edi, ebp
	xor	eax, eax
	xor	r14d, r14d
	call	fatal_error@PLT
	xor	r12d, r12d
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L2:
	test	rdi, rdi
	je	.L6
	call	resolve_typespec_strict@PLT
	mov	r14, rax
	test	r13, r13
	je	.L7
	mov	rdx, r13
	mov	rsi, rax
	mov	edi, ebp
	call	resolve_typed_init@PLT
	mov	r12, rax
	test	rax, rax
	je	.L29
.L8:
	mov	rdi, r12
	mov	r14, r12
	call	complete_type@PLT
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L28:
	mov	edi, ebp
	lea	rsi, .LC2[rip]
	xor	eax, eax
	call	fatal_error@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rax, r12
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	rdi, rax
	mov	r12, r14
	call	complete_type@PLT
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L6:
	mov	rdi, rdx
	call	assert@PLT
	mov	rdi, r13
	call	resolve_expr@PLT
	mov	edi, eax
	call	unqualify_type@PLT
	mov	rdi, rax
	mov	r14, rax
	call	is_array_type@PLT
	mov	r12, r14
	test	rax, rax
	je	.L9
	mov	rax, QWORD PTR EXPR_COMPOUND[rip]
	cmp	QWORD PTR 0[r13], rax
	jne	.L30
.L9:
	mov	rsi, r12
	mov	rdi, r13
	call	set_resolved_expected_type@PLT
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L30:
	mov	rdi, r14
	call	type_decay@PLT
	mov	rdi, r13
	mov	rsi, rax
	mov	r12, rax
	call	set_resolved_type@PLT
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L29:
	mov	rdi, r14
	call	get_type_name@PLT
	lea	rsi, .LC1[rip]
	mov	edi, ebp
	mov	edx, eax
	xor	eax, eax
	call	fatal_error@PLT
	jmp	.L8
	.cfi_endproc
.LFE0:
	.size	resolve_init, .-resolve_init
	.comm	EXPR_COMPOUND,8,8
	.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_resolve.c_resolve_init.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Cannot use undef initializer without declared type\000"
	.align	2
.LC1:
	.ascii	"Invalid type in initialization. Expected %s\000"
	.align	2
.LC2:
	.ascii	"Cannot declare variable of size 0\000"
	.text
	.align	2
	.global	resolve_init
	.syntax unified
	.arm
	.fpu softvfp
	.type	resolve_init, %function
resolve_init:
	@ args = 4, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	ip, [sp, #24]
	mov	r6, r0
	cmp	ip, #0
	mov	r0, r1
	mov	r5, r2
	mov	r1, r3
	beq	.L2
	cmp	r0, #0
	mov	r7, #0
	beq	.L5
	bl	resolve_typespec_strict
	subs	r4, r0, #0
	beq	.L5
.L4:
	mov	r0, r4
	bl	complete_type
	cmp	r5, #0
	beq	.L10
.L13:
	mov	r0, r7
	bl	is_ptr_type
	cmp	r0, #0
	beq	.L11
.L10:
	mov	r0, r4
	bl	incomplete_decay
	mov	r4, r0
.L11:
	ldr	r3, [r4]
	cmp	r3, #0
	beq	.L27
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L5:
	mov	r0, r6
	ldr	r1, .L30
	mov	r4, r7
	bl	fatal_error
	b	.L4
.L2:
	cmp	r0, #0
	beq	.L6
	bl	resolve_typespec_strict
	cmp	r5, #0
	mov	r7, r0
	beq	.L7
	mov	r1, r0
	mov	r2, r5
	mov	r0, r6
	bl	resolve_typed_init
	subs	r4, r0, #0
	beq	.L28
.L8:
	mov	r0, r4
	bl	complete_type
	mov	r7, r4
	b	.L13
.L27:
	mov	r0, r6
	ldr	r1, .L30+4
	bl	fatal_error
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L7:
	bl	complete_type
	mov	r4, r7
	b	.L10
.L6:
	mov	r0, r2
	bl	assert
	mov	r0, r5
	bl	resolve_expr
	bl	unqualify_type
	mov	r7, r0
	bl	is_array_type
	cmp	r0, #0
	beq	.L15
	ldr	r3, .L30+8
	ldr	r2, [r5]
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L29
.L15:
	mov	r4, r7
.L9:
	mov	r1, r4
	mov	r0, r5
	bl	set_resolved_expected_type
	b	.L4
.L29:
	mov	r0, r7
	bl	type_decay
	mov	r4, r0
	mov	r0, r5
	mov	r1, r4
	bl	set_resolved_type
	b	.L9
.L28:
	mov	r0, r7
	bl	get_type_name
	ldr	r1, .L30+12
	mov	r2, r0
	mov	r0, r6
	bl	fatal_error
	b	.L8
.L31:
	.align	2
.L30:
	.word	.LC0
	.word	.LC2
	.word	EXPR_COMPOUND
	.word	.LC1
	.size	resolve_init, .-resolve_init
	.comm	EXPR_COMPOUND,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
