	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function unpack_a
_unpack_a:                              ## @unpack_a
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r14
	movl	%ecx, %ebx
	movq	%rsi, %r12
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movslq	%edx, %rax
	cmpq	%r8, %rax
	movl	%eax, %r13d
	cmovgl	%r14d, %r13d
	cmpq	$-1, %r8
	cmovel	%eax, %r13d
	testl	%r13d, %r13d
	movl	%ecx, -52(%rbp)                 ## 4-byte Spill
	js	LBB0_1
## %bb.2:
	movq	_PACK_FLAG_Z@GOTPCREL(%rip), %rax
	testl	%r9d, (%rax)
	je	LBB0_5
## %bb.3:
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	%r13d, %edx
	callq	_memchr
	testq	%rax, %rax
	je	LBB0_1
## %bb.4:
	movq	%rax, %r15
	subl	%r12d, %r15d
	leal	1(%r15), %eax
	cmpq	$-1, %r14
	cmovel	%eax, %r13d
	jmp	LBB0_12
LBB0_5:
	testl	%r13d, %r13d
	je	LBB0_1
## %bb.6:
	movq	_PACK_FLAG_a@GOTPCREL(%rip), %rax
	andl	(%rax), %r9d
	jne	LBB0_1
## %bb.7:
	movl	%r13d, %r15d
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_8 Depth=1
	leaq	1(%rbx), %rax
	movq	%rbx, %r15
	cmpq	$1, %rax
	jbe	LBB0_11
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	leaq	-1(%r15), %rbx
	movl	%ebx, %eax
	movzbl	(%r12,%rax), %eax
	testb	%al, %al
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movsbl	%al, %edi
	callq	_isspace
	testq	%rax, %rax
	jne	LBB0_10
	jmp	LBB0_12
LBB0_1:
	movl	%r13d, %r15d
LBB0_12:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	xorl	%edx, %edx
	testl	%r15d, %r15d
	cmovgl	%r15d, %edx
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_mrb_str_new
	movq	%rbx, %rdi
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	movl	%eax, %edx
	callq	_mrb_ary_push
	movl	%r13d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	xorl	%r15d, %r15d
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.comm	_PACK_FLAG_Z,4,2                ## @PACK_FLAG_Z
	.comm	_PACK_FLAG_a,4,2                ## @PACK_FLAG_a
	.no_dead_strip	_unpack_a
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function unpack_a
_unpack_a:                              ; @unpack_a
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x23, x4
	mov	x19, x3
                                        ; kill: def $w2 killed $w2 def $x2
	mov	x22, x1
	mov	x20, x0
	sxtw	x8, w2
	cmp	x8, x4
	mov	x8, #-1
	ccmp	x4, x8, #4, gt
	csel	w21, w23, w2, ne
	tbnz	w21, #31, LBB0_10
; %bb.1:
Lloh0:
	adrp	x8, _PACK_FLAG_Z@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PACK_FLAG_Z@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w5
	b.eq	LBB0_4
; %bb.2:
	mov	x0, x22
	mov	w1, #0
	mov	x2, x21
	bl	_memchr
	mov	x24, x21
	cbz	x0, LBB0_11
; %bb.3:
	sub	w24, w0, w22
	cmn	x23, #1
	csinc	w21, w21, w24, ne
	b	LBB0_11
LBB0_4:
	cbz	w21, LBB0_10
; %bb.5:
Lloh3:
	adrp	x8, _PACK_FLAG_a@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PACK_FLAG_a@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	and	w8, w8, w5
	cbnz	w8, LBB0_10
; %bb.6:
	mov	x24, x21
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	add	x8, x23, #1
	mov	x24, x23
	cmp	x8, #1
	b.ls	LBB0_12
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	sub	x23, x24, #1
	ldrb	w8, [x22, w23, uxtw]
	cbz	w8, LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	sxtb	w0, w8
	bl	_isspace
	cbnz	x0, LBB0_7
	b	LBB0_11
LBB0_10:
	mov	x24, x21
LBB0_11:
	cmp	w24, #0
	csel	w2, w24, wzr, gt
	mov	x0, x20
	mov	x1, x22
	bl	_mrb_str_new
	mov	x2, x0
	mov	x0, x20
	mov	x1, x19
	bl	_mrb_ary_push
	mov	x0, x21
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_12:
	mov	w24, #0
	b	LBB0_11
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_PACK_FLAG_Z,4,2                ; @PACK_FLAG_Z
	.comm	_PACK_FLAG_a,4,2                ; @PACK_FLAG_a
	.no_dead_strip	_unpack_a
.subsections_via_symbols
