	.file	"extr_gen.c_emit_load_convert.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"cvtsi2ss #eax, #xmm0"
.LC1:
	.string	"cvtsi2sd #eax, #xmm0"
.LC2:
	.string	"cvtps2pd #xmm0, #xmm0"
.LC3:
	.string	"cvtpd2ps #xmm0, #xmm0"
	.text
	.p2align 4
	.type	emit_load_convert, @function
emit_load_convert:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rdi
	mov	rdi, rsi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	is_inttype@PLT
	test	rax, rax
	je	.L2
	mov	rax, QWORD PTR KIND_FLOAT[rip]
	cmp	QWORD PTR [r12], rax
	je	.L22
.L2:
	mov	rdi, rbp
	call	is_inttype@PLT
	test	rax, rax
	jne	.L23
	mov	rdx, QWORD PTR 0[rbp]
	mov	rsi, QWORD PTR KIND_FLOAT[rip]
	mov	rax, QWORD PTR [r12]
	mov	rcx, QWORD PTR KIND_DOUBLE[rip]
	cmp	rdx, rsi
	je	.L24
.L5:
	cmp	rcx, rdx
	je	.L6
.L29:
	cmp	QWORD PTR KIND_LDOUBLE[rip], rdx
	je	.L6
.L7:
	cmp	QWORD PTR KIND_BOOL[rip], rax
	mov	rdi, rbp
	je	.L25
	call	is_inttype@PLT
	test	rax, rax
	je	.L9
	mov	rdi, r12
	call	is_inttype@PLT
	test	rax, rax
	jne	.L26
.L9:
	mov	rdi, r12
	call	is_inttype@PLT
	test	rax, rax
	jne	.L27
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L23:
	.cfi_restore_state
	mov	rax, QWORD PTR [r12]
	mov	rcx, QWORD PTR KIND_DOUBLE[rip]
	cmp	rax, rcx
	je	.L28
	mov	rdx, QWORD PTR 0[rbp]
	mov	rsi, QWORD PTR KIND_FLOAT[rip]
	cmp	rcx, rdx
	jne	.L29
.L6:
	cmp	rsi, rax
	jne	.L7
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	lea	rdi, .LC3[rip]
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	emit@PLT
	.p2align 4,,10
	.p2align 3
.L25:
	.cfi_restore_state
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	emit_to_bool@PLT
	.p2align 4,,10
	.p2align 3
.L26:
	.cfi_restore_state
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	emit_intcast@PLT
	.p2align 4,,10
	.p2align 3
.L24:
	.cfi_restore_state
	cmp	rax, rcx
	jne	.L5
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	lea	rdi, .LC2[rip]
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	emit@PLT
	.p2align 4,,10
	.p2align 3
.L22:
	.cfi_restore_state
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	lea	rdi, .LC0[rip]
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	emit@PLT
	.p2align 4,,10
	.p2align 3
.L27:
	.cfi_restore_state
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	emit_toint@PLT
	.p2align 4,,10
	.p2align 3
.L28:
	.cfi_restore_state
	add	rsp, 8
	.cfi_def_cfa_offset 24
	lea	rdi, .LC1[rip]
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	emit@PLT
	.cfi_endproc
.LFE0:
	.size	emit_load_convert, .-emit_load_convert
	.comm	SAVE,4,4
	.comm	KIND_LDOUBLE,8,8
	.comm	KIND_FLOAT,8,8
	.comm	KIND_DOUBLE,8,8
	.comm	KIND_BOOL,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_gen.c_emit_load_convert.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"cvtsi2ss #eax, #xmm0\000"
	.align	2
.LC1:
	.ascii	"cvtsi2sd #eax, #xmm0\000"
	.align	2
.LC2:
	.ascii	"cvtps2pd #xmm0, #xmm0\000"
	.align	2
.LC3:
	.ascii	"cvtpd2ps #xmm0, #xmm0\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	emit_load_convert, %function
emit_load_convert:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r0
	mov	r0, r1
	mov	r4, r1
	bl	is_inttype
	cmp	r0, #0
	beq	.L2
	ldr	r3, .L29
	ldr	r2, [r5]
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L22
.L2:
	mov	r0, r4
	bl	is_inttype
	cmp	r0, #0
	bne	.L23
	ldr	r3, .L29
	ldr	r2, [r4]
	ldr	r0, [r3]
	ldr	r3, .L29+4
	cmp	r2, r0
	ldr	r1, [r3]
	ldr	r3, [r5]
	beq	.L24
.L5:
	cmp	r1, r2
	beq	.L6
.L28:
	ldr	r1, .L29+8
	ldr	r1, [r1]
	cmp	r1, r2
	beq	.L6
.L7:
	ldr	r2, .L29+12
	mov	r0, r4
	ldr	r2, [r2]
	cmp	r2, r3
	beq	.L25
	bl	is_inttype
	cmp	r0, #0
	beq	.L9
	mov	r0, r5
	bl	is_inttype
	cmp	r0, #0
	bne	.L26
.L9:
	mov	r0, r5
	bl	is_inttype
	cmp	r0, #0
	popeq	{r4, r5, r6, pc}
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	b	emit_toint
.L23:
	ldr	r2, .L29+4
	ldr	r3, [r5]
	ldr	r1, [r2]
	cmp	r3, r1
	beq	.L27
	ldr	r2, [r4]
	ldr	r0, .L29
	cmp	r1, r2
	ldr	r0, [r0]
	bne	.L28
.L6:
	cmp	r0, r3
	bne	.L7
	pop	{r4, r5, r6, lr}
	ldr	r0, .L29+16
	b	emit
.L25:
	pop	{r4, r5, r6, lr}
	b	emit_to_bool
.L26:
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	b	emit_intcast
.L24:
	cmp	r3, r1
	bne	.L5
	pop	{r4, r5, r6, lr}
	ldr	r0, .L29+20
	b	emit
.L22:
	ldr	r0, .L29+24
	pop	{r4, r5, r6, lr}
	b	emit
.L27:
	ldr	r0, .L29+28
	pop	{r4, r5, r6, lr}
	b	emit
.L30:
	.align	2
.L29:
	.word	KIND_FLOAT
	.word	KIND_DOUBLE
	.word	KIND_LDOUBLE
	.word	KIND_BOOL
	.word	.LC3
	.word	.LC2
	.word	.LC0
	.word	.LC1
	.size	emit_load_convert, .-emit_load_convert
	.comm	SAVE,4,4
	.comm	KIND_LDOUBLE,4,4
	.comm	KIND_FLOAT,4,4
	.comm	KIND_DOUBLE,4,4
	.comm	KIND_BOOL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
