	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pack_double
_pack_double:                           ## @pack_double
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %r15d
	movl	%ecx, %r12d
	movl	%esi, %ebx
	leal	8(%r12), %eax
	movl	%edx, %esi
	movl	%eax, %edx
	callq	_str_len_ensure
	movl	%eax, %r14d
	movl	%ebx, %edi
	callq	_mrb_float
	movsd	%xmm0, -40(%rbp)
	movq	_PACK_FLAG_LITTLEENDIAN@GOTPCREL(%rip), %rcx
	movq	_littleendian@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	testl	%r15d, (%rcx)
	je	LBB0_3
## %bb.1:
	testq	%rax, %rax
	je	LBB0_2
LBB0_4:
	movl	%r14d, %edi
	callq	_RSTRING_PTR
	movslq	%r12d, %rcx
	leaq	(%rax,%rcx,4), %rdi
	leaq	-40(%rbp), %rsi
	movl	$8, %edx
	callq	_memcpy
	jmp	LBB0_5
LBB0_3:
	testq	%rax, %rax
	je	LBB0_4
LBB0_2:
	movslq	%r12d, %rbx
	movl	%r14d, %edi
	callq	_RSTRING_PTR
	movl	-16(%rbp), %r15d
	movl	%r14d, %edi
	callq	_RSTRING_PTR
	movl	%r15d, 4(%rax,%rbx,4)
	movl	-20(%rbp), %r15d
	movl	%r14d, %edi
	callq	_RSTRING_PTR
	movl	%r15d, 8(%rax,%rbx,4)
	movl	-24(%rbp), %r15d
	movl	%r14d, %edi
	callq	_RSTRING_PTR
	movl	%r15d, 12(%rax,%rbx,4)
	movl	-28(%rbp), %r15d
	movl	%r14d, %edi
	callq	_RSTRING_PTR
	movl	%r15d, 16(%rax,%rbx,4)
	movl	-32(%rbp), %r15d
	movl	%r14d, %edi
	callq	_RSTRING_PTR
	movl	%r15d, 20(%rax,%rbx,4)
	movl	-36(%rbp), %r15d
	movl	%r14d, %edi
	callq	_RSTRING_PTR
	movl	%r15d, 24(%rax,%rbx,4)
	movl	-40(%rbp), %r15d
	movl	%r14d, %edi
	callq	_RSTRING_PTR
	movl	%r15d, 28(%rax,%rbx,4)
LBB0_5:
	movl	$8, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PACK_FLAG_LITTLEENDIAN,4,2     ## @PACK_FLAG_LITTLEENDIAN
	.comm	_littleendian,8,3               ## @littleendian
	.no_dead_strip	_pack_double
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pack_double
_pack_double:                           ; @pack_double
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x21, x4
	mov	x20, x3
	mov	x8, x2
	mov	x22, x1
	add	w2, w3, #8
	mov	x1, x8
	bl	_str_len_ensure
	mov	x19, x0
	mov	x0, x22
	bl	_mrb_float
Lloh0:
	adrp	x8, _PACK_FLAG_LITTLEENDIAN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PACK_FLAG_LITTLEENDIAN@GOTPAGEOFF]
	str	d0, [sp, #8]
Lloh2:
	ldr	w9, [x8]
Lloh3:
	adrp	x8, _littleendian@GOTPAGE
Lloh4:
	ldr	x8, [x8, _littleendian@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	tst	w9, w21
	b.eq	LBB0_3
; %bb.1:
	cbnz	x8, LBB0_6
; %bb.2:
	mov	x0, x19
	bl	_RSTRING_PTR
	ldr	w21, [sp, #32]
	mov	x0, x19
	bl	_RSTRING_PTR
	b	LBB0_5
LBB0_3:
	cbz	x8, LBB0_6
; %bb.4:
	mov	x0, x19
	bl	_RSTRING_PTR
	ldr	w21, [sp, #32]
	mov	x0, x19
	bl	_RSTRING_PTR
                                        ; kill: def $w20 killed $w20 killed $x20 def $x20
LBB0_5:
	sbfiz	x20, x20, #2, #32
	add	x8, x20, x0
	str	w21, [x8, #4]
	ldr	w21, [sp, #28]
	mov	x0, x19
	bl	_RSTRING_PTR
	add	x8, x20, x0
	str	w21, [x8, #8]
	ldr	w21, [sp, #24]
	mov	x0, x19
	bl	_RSTRING_PTR
	add	x8, x20, x0
	str	w21, [x8, #12]
	ldr	w21, [sp, #20]
	mov	x0, x19
	bl	_RSTRING_PTR
	add	x8, x20, x0
	str	w21, [x8, #16]
	ldr	w21, [sp, #16]
	mov	x0, x19
	bl	_RSTRING_PTR
	add	x8, x20, x0
	str	w21, [x8, #20]
	ldr	w21, [sp, #12]
	mov	x0, x19
	bl	_RSTRING_PTR
	add	x8, x20, x0
	str	w21, [x8, #24]
	ldr	w21, [sp, #8]
	mov	x0, x19
	bl	_RSTRING_PTR
	add	x8, x20, x0
	str	w21, [x8, #28]
	b	LBB0_7
LBB0_6:
	mov	x0, x19
	bl	_RSTRING_PTR
	add	x0, x0, w20, sxtw #2
	add	x1, sp, #8
	mov	w2, #8
	bl	_memcpy
LBB0_7:
	mov	w0, #8
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PACK_FLAG_LITTLEENDIAN,4,2     ; @PACK_FLAG_LITTLEENDIAN
	.comm	_littleendian,8,3               ; @littleendian
	.no_dead_strip	_pack_double
.subsections_via_symbols
