	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function match_data_index
_match_data_index:                      ## @match_data_index
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rsi
	leaq	-40(%rbp), %rdx
	leaq	-28(%rbp), %rcx
	callq	_mrb_get_args
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	_match_data_to_a
	movl	%eax, %r14d
	cmpl	$1, -28(%rbp)
	jne	LBB0_3
## %bb.1:
	movq	-40(%rbp), %rax
	movl	(%rax), %edi
	callq	_mrb_type
	addl	$-128, %eax
	cmpl	$2, %eax
	ja	LBB0_3
## %bb.2:
	movq	-40(%rbp), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	_match_data_actual_index
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_mrb_ary_entry
	jmp	LBB0_4
LBB0_3:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_mrb_intern_lit
	movl	-28(%rbp), %ecx
	movq	-40(%rbp), %r8
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	_mrb_funcall_argv
LBB0_4:
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"*"

L_.str.1:                               ## @.str.1
	.asciz	"[]"

	.no_dead_strip	_match_data_index
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function match_data_index
_match_data_index:                      ; @match_data_index
	.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, x1
	mov	x19, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, sp
	add	x3, sp, #12
	bl	_mrb_get_args
	mov	x0, x19
	mov	x1, x21
	bl	_match_data_to_a
	mov	x20, x0
	ldr	w8, [sp, #12]
	cmp	w8, #1
	b.ne	LBB0_3
; %bb.1:
	ldr	x8, [sp]
	ldr	w0, [x8]
	bl	_mrb_type
	sub	w8, w0, #128
	cmp	w8, #2
	b.hi	LBB0_3
; %bb.2:
	ldr	x8, [sp]
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x21
	bl	_match_data_actual_index
	mov	x1, x0
	mov	x0, x20
	bl	_mrb_ary_entry
	b	LBB0_4
LBB0_3:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_mrb_intern_lit
	mov	x2, x0
	ldr	w3, [sp, #12]
	ldr	x4, [sp]
	mov	x0, x19
	mov	x1, x20
	bl	_mrb_funcall_argv
LBB0_4:
	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 AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"*"

l_.str.1:                               ; @.str.1
	.asciz	"[]"

	.no_dead_strip	_match_data_index
.subsections_via_symbols
