	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function match_data_actual_index
_match_data_actual_index:               ## @match_data_actual_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	%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
	movl	%edx, %r15d
	movl	%esi, %r14d
	movq	%rdi, %r12
	movl	%edx, %edi
	callq	_mrb_fixnum_p
	testq	%rax, %rax
	je	LBB0_1
## %bb.9:
	movl	%r15d, %edi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mrb_fixnum                     ## TAILCALL
LBB0_1:
	movl	%r15d, %edi
	callq	_mrb_symbol_p
	movl	%r15d, %edi
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	callq	_mrb_symbol
	leaq	-44(%rbp), %rdx
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_mrb_sym2name_len
	movq	%rax, %rbx
	movslq	-44(%rbp), %r13
	addq	%rax, %r13
	jmp	LBB0_6
LBB0_3:
	callq	_mrb_string_p
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	%r12, %rdi
	movl	%r15d, %esi
	callq	_mrb_string_value_ptr
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_strlen
	movslq	%eax, %r13
	addq	%rbx, %r13
	jmp	LBB0_6
LBB0_5:
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_mrb_assert
	xorl	%r13d, %r13d
	xorl	%ebx, %ebx
LBB0_6:
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	testq	%rbx, %rbx
	setne	%al
	testq	%r13, %r13
	setne	%cl
	andb	%al, %cl
	movzbl	%cl, %edi
	callq	_mrb_assert
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	callq	_mrb_intern_lit
	movq	%r12, %rdi
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	_mrb_iv_get
	movq	%r12, %rbx
	movl	%r14d, %r12d
	movl	%eax, %r14d
	movl	%eax, %edi
	callq	_mrb_nil_p
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_mrb_assert
	movl	%r14d, %edi
	callq	_DATA_TYPE
	xorl	%edi, %edi
	cmpq	_mrb_onig_regexp_type@GOTPCREL(%rip), %rax
	sete	%dil
	callq	_mrb_assert
	movl	%r12d, %edi
	callq	_DATA_TYPE
	xorl	%edi, %edi
	cmpq	_mrb_onig_region_type@GOTPCREL(%rip), %rax
	sete	%dil
	callq	_mrb_assert
	movl	%r14d, %edi
	callq	_DATA_PTR
	movq	%rbx, %r14
	movq	%rax, %rbx
	movl	%r12d, %edi
	callq	_DATA_PTR
	movl	%ebx, %edi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	%r13, %rdx
	movq	%rax, %rcx
	callq	_onig_name_to_backref_number
	movl	%eax, %ebx
	testl	%eax, %eax
	jns	LBB0_8
## %bb.7:
	movq	_E_INDEX_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	movq	%r14, %rdi
	movl	%r15d, %ecx
	callq	_mrb_raisef
LBB0_8:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FALSE,4,2                      ## @FALSE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"regexp"

	.comm	_mrb_onig_regexp_type,4,2       ## @mrb_onig_regexp_type
	.comm	_mrb_onig_region_type,4,2       ## @mrb_onig_region_type
	.comm	_E_INDEX_ERROR,4,2              ## @E_INDEX_ERROR
L_.str.1:                               ## @.str.1
	.asciz	"undefined group name reference: %S"

	.no_dead_strip	_match_data_actual_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_actual_index
_match_data_actual_index:               ; @match_data_actual_index
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x19, x2
	mov	x21, x1
	mov	x20, x0
	mov	x0, x2
	bl	_mrb_fixnum_p
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_mrb_fixnum
LBB0_2:
	mov	x0, x19
	bl	_mrb_symbol_p
	cbz	x0, LBB0_4
; %bb.3:
	mov	x0, x19
	bl	_mrb_symbol
	mov	x1, x0
	add	x2, sp, #12
	mov	x0, x20
	bl	_mrb_sym2name_len
	mov	x22, x0
	ldrsw	x8, [sp, #12]
	add	x23, x0, x8
	b	LBB0_7
LBB0_4:
	mov	x0, x19
	bl	_mrb_string_p
	cbz	x0, LBB0_6
; %bb.5:
	mov	x0, x20
	mov	x1, x19
	bl	_mrb_string_value_ptr
	mov	x22, x0
	bl	_strlen
	add	x23, x22, w0, sxtw
	b	LBB0_7
LBB0_6:
Lloh0:
	adrp	x8, _FALSE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_mrb_assert
	mov	x23, #0
	mov	x22, #0
LBB0_7:
	cmp	x22, #0
	ccmp	x23, #0, #4, ne
	cset	w0, ne
	bl	_mrb_assert
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_mrb_intern_lit
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_mrb_iv_get
	mov	x24, x0
	bl	_mrb_nil_p
	cmp	w0, #0
	cset	w0, eq
	bl	_mrb_assert
	mov	x0, x24
	bl	_DATA_TYPE
Lloh5:
	adrp	x8, _mrb_onig_regexp_type@GOTPAGE
Lloh6:
	ldr	x8, [x8, _mrb_onig_regexp_type@GOTPAGEOFF]
	cmp	x0, x8
	cset	w0, eq
	bl	_mrb_assert
	mov	x0, x21
	bl	_DATA_TYPE
Lloh7:
	adrp	x8, _mrb_onig_region_type@GOTPAGE
Lloh8:
	ldr	x8, [x8, _mrb_onig_region_type@GOTPAGEOFF]
	cmp	x0, x8
	cset	w0, eq
	bl	_mrb_assert
	mov	x0, x24
	bl	_DATA_PTR
	mov	x24, x0
	mov	x0, x21
	bl	_DATA_PTR
	mov	x3, x0
	mov	x0, x24
	mov	x1, x22
	mov	x2, x23
	bl	_onig_name_to_backref_number
	mov	x21, x0
	tbz	w0, #31, LBB0_9
; %bb.8:
Lloh9:
	adrp	x8, _E_INDEX_ERROR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _E_INDEX_ERROR@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
Lloh12:
	adrp	x2, l_.str.1@PAGE
Lloh13:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	x3, x19
	bl	_mrb_raisef
LBB0_9:
	mov	x0, x21
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_FALSE,4,2                      ; @FALSE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"regexp"

	.comm	_mrb_onig_regexp_type,4,2       ; @mrb_onig_regexp_type
	.comm	_mrb_onig_region_type,4,2       ; @mrb_onig_region_type
	.comm	_E_INDEX_ERROR,4,2              ; @E_INDEX_ERROR
l_.str.1:                               ; @.str.1
	.asciz	"undefined group name reference: %S"

	.no_dead_strip	_match_data_actual_index
.subsections_via_symbols
