	.file	"extr_pack.c_unpack_double.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	unpack_double, @function
unpack_double:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12d, ecx
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	sub	rsp, 24
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	rax, QWORD PTR littleendian[rip]
	test	DWORD PTR PACK_FLAG_LITTLEENDIAN[rip], r8d
	je	.L2
	test	rax, rax
	jne	.L6
	mov	rcx, rsp
	lea	rax, 7[rsp]
	.p2align 4,,10
	.p2align 3
.L5:
	movzx	edx, BYTE PTR [rsi]
	add	rsi, 1
	mov	BYTE PTR [rax], dl
	mov	rdx, rax
	sub	rax, 1
	cmp	rdx, rcx
	jne	.L5
.L4:
	movsd	xmm0, QWORD PTR [rsp]
	mov	rdi, rbp
	call	mrb_float_value@PLT
	mov	esi, r12d
	mov	rdi, rbp
	mov	edx, eax
	call	mrb_ary_push@PLT
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L17
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, 8
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	test	rax, rax
	je	.L6
	mov	rcx, rsp
	lea	rax, 7[rsp]
	.p2align 4,,10
	.p2align 3
.L7:
	movzx	edx, BYTE PTR [rsi]
	add	rsi, 1
	mov	BYTE PTR [rax], dl
	mov	rdx, rax
	sub	rax, 1
	cmp	rcx, rdx
	jne	.L7
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L6:
	mov	rdi, rsp
	mov	edx, 8
	call	memcpy@PLT
	jmp	.L4
.L17:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	unpack_double, .-unpack_double
	.comm	littleendian,8,8
	.comm	PACK_FLAG_LITTLEENDIAN,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_pack.c_unpack_double.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	unpack_double, %function
unpack_double:
	@ args = 4, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	ldr	r2, .L18
	sub	sp, sp, #20
	ldr	ip, [r2]
	ldr	lr, [sp, #32]
	mov	r5, r3
	ldr	r2, .L18+4
	ldr	r3, .L18+8
	tst	lr, ip
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	mov	r4, r0
	ldr	r3, [r2]
	beq	.L2
	cmp	r3, #0
	subeq	r2, r1, #1
	addeq	r3, sp, #8
	addeq	r1, r1, #7
	bne	.L6
.L5:
	ldrb	r0, [r2, #1]!	@ zero_extendqisi2
	cmp	r1, r2
	strb	r0, [r3, #-1]!
	bne	.L5
.L4:
	ldmia	sp, {r2-r3}
	mov	r0, r4
	bl	mrb_float_value
	mov	r1, r5
	mov	r2, r0
	mov	r0, r4
	bl	mrb_ary_push
	ldr	r3, .L18+8
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L17
	mov	r0, #8
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, pc}
.L2:
	cmp	r3, #0
	beq	.L6
	sub	r2, r1, #1
	add	ip, sp, #8
	add	r1, r1, #7
.L7:
	ldrb	r3, [r2, #1]!	@ zero_extendqisi2
	cmp	r2, r1
	strb	r3, [ip, #-1]!
	bne	.L7
	b	.L4
.L6:
	mov	r2, #8
	mov	r0, sp
	bl	memcpy
	b	.L4
.L17:
	bl	__stack_chk_fail
.L19:
	.align	2
.L18:
	.word	PACK_FLAG_LITTLEENDIAN
	.word	littleendian
	.word	.LC0
	.size	unpack_double, .-unpack_double
	.comm	littleendian,4,4
	.comm	PACK_FLAG_LITTLEENDIAN,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
