	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function create_onig_region
_create_onig_region:                    ## @create_onig_region
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movl	%esi, %r15d
	movq	%rdi, %rbx
	movl	%esi, %edi
	callq	_mrb_string_p
	movl	%eax, %edi
	callq	_mrb_assert
	movl	%r14d, %edi
	callq	_mrb_type
	movq	_MRB_TT_DATA@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movl	%r14d, %edi
	callq	_DATA_TYPE
	xorl	%edi, %edi
	cmpq	_mrb_onig_regexp_type@GOTPCREL(%rip), %rax
	sete	%dil
LBB0_2:
	callq	_mrb_assert
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_mrb_class_get
	movl	%eax, %r12d
	xorl	%eax, %eax
	callq	_onig_region_new
	movq	_mrb_onig_region_type@GOTPCREL(%rip), %rcx
	movq	%rbx, %rdi
	movl	%r12d, %esi
	movl	%eax, %edx
	callq	_mrb_data_object_alloc
	movl	%eax, %edi
	callq	_mrb_obj_value
	movl	%eax, %r12d
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_mrb_intern_lit
	movl	%eax, %r13d
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	_mrb_str_dup
	movq	%rbx, %rdi
	movl	%r12d, %esi
	movl	%r13d, %edx
	movl	%eax, %ecx
	callq	_mrb_iv_set
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	callq	_mrb_intern_lit
	movq	%rbx, %rdi
	movl	%r12d, %esi
	movl	%eax, %edx
	movl	%r14d, %ecx
	callq	_mrb_iv_set
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MRB_TT_DATA,8,3                ## @MRB_TT_DATA
	.comm	_mrb_onig_regexp_type,4,2       ## @mrb_onig_regexp_type
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"OnigMatchData"

	.comm	_mrb_onig_region_type,4,2       ## @mrb_onig_region_type
L_.str.1:                               ## @.str.1
	.asciz	"string"

L_.str.2:                               ## @.str.2
	.asciz	"regexp"

	.no_dead_strip	_create_onig_region
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function create_onig_region
_create_onig_region:                    ; @create_onig_region
	.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	x19, x2
	mov	x21, x1
	mov	x20, x0
	mov	x0, x1
	bl	_mrb_string_p
	bl	_mrb_assert
	mov	x0, x19
	bl	_mrb_type
Lloh0:
	adrp	x8, _MRB_TT_DATA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MRB_TT_DATA@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_DATA_TYPE
Lloh3:
	adrp	x8, _mrb_onig_regexp_type@GOTPAGE
Lloh4:
	ldr	x8, [x8, _mrb_onig_regexp_type@GOTPAGEOFF]
	cmp	x0, x8
	cset	w0, eq
	b	LBB0_3
LBB0_2:
	mov	w0, #0
LBB0_3:
	bl	_mrb_assert
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_mrb_class_get
	mov	x22, x0
	bl	_onig_region_new
	mov	x2, x0
Lloh7:
	adrp	x3, _mrb_onig_region_type@GOTPAGE
Lloh8:
	ldr	x3, [x3, _mrb_onig_region_type@GOTPAGEOFF]
	mov	x0, x20
	mov	x1, x22
	bl	_mrb_data_object_alloc
	bl	_mrb_obj_value
	mov	x22, x0
Lloh9:
	adrp	x1, l_.str.1@PAGE
Lloh10:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_mrb_intern_lit
	mov	x23, x0
	mov	x0, x20
	mov	x1, x21
	bl	_mrb_str_dup
	mov	x3, x0
	mov	x0, x20
	mov	x1, x22
	mov	x2, x23
	bl	_mrb_iv_set
Lloh11:
	adrp	x1, l_.str.2@PAGE
Lloh12:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_mrb_intern_lit
	mov	x2, x0
	mov	x0, x20
	mov	x1, x22
	mov	x3, x19
	bl	_mrb_iv_set
	mov	x0, x22
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_MRB_TT_DATA,8,3                ; @MRB_TT_DATA
	.comm	_mrb_onig_regexp_type,4,2       ; @mrb_onig_regexp_type
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"OnigMatchData"

	.comm	_mrb_onig_region_type,4,2       ; @mrb_onig_region_type
l_.str.1:                               ; @.str.1
	.asciz	"string"

l_.str.2:                               ; @.str.2
	.asciz	"regexp"

	.no_dead_strip	_create_onig_region
.subsections_via_symbols
