	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function onig_regexp_equal
_onig_regexp_equal:                     ## @onig_regexp_equal
	.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	%esi, %r14d
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rsi
	leaq	-36(%rbp), %rdx
	callq	_mrb_get_args
	movl	-36(%rbp), %edx
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_mrb_obj_equal
	testq	%rax, %rax
	je	LBB0_2
LBB0_1:
	xorl	%eax, %eax
	callq	_mrb_true_value
	jmp	LBB0_7
LBB0_2:
	movl	-36(%rbp), %edi
	callq	_mrb_nil_p
	testq	%rax, %rax
	je	LBB0_3
LBB0_6:
	xorl	%eax, %eax
	callq	_mrb_false_value
LBB0_7:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movl	-36(%rbp), %r15d
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_mrb_class_get
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_mrb_obj_is_kind_of
	testl	%eax, %eax
	je	LBB0_6
## %bb.4:
	movq	_mrb_onig_regexp_type@GOTPCREL(%rip), %r15
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movq	%r15, %rdx
	callq	_Data_Get_Struct
	movl	-36(%rbp), %esi
	movq	%rbx, %rdi
	movq	%r15, %rdx
	callq	_Data_Get_Struct
	movq	_E_RUNTIME_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.2(%rip), %rdx
	movq	%rbx, %rdi
	callq	_mrb_raise
	callq	_onig_get_options
	movq	%rax, %r15
	callq	_onig_get_options
	cmpq	%rax, %r15
	jne	LBB0_6
## %bb.5:
	leaq	L_.str.3(%rip), %r15
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_mrb_intern_lit
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	_mrb_iv_get
	movl	%eax, %r14d
	movl	-36(%rbp), %r12d
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_mrb_intern_lit
	movq	%rbx, %rdi
	movl	%r12d, %esi
	movl	%eax, %edx
	callq	_mrb_iv_get
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	_mrb_str_equal
	testq	%rax, %rax
	jne	LBB0_1
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"o"

L_.str.1:                               ## @.str.1
	.asciz	"OnigRegexp"

	.comm	_mrb_onig_regexp_type,4,2       ## @mrb_onig_regexp_type
	.comm	_E_RUNTIME_ERROR,4,2            ## @E_RUNTIME_ERROR
L_.str.2:                               ## @.str.2
	.asciz	"Invalid OnigRegexp"

L_.str.3:                               ## @.str.3
	.asciz	"@source"

	.no_dead_strip	_onig_regexp_equal
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function onig_regexp_equal
_onig_regexp_equal:                     ; @onig_regexp_equal
	.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	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #12
	bl	_mrb_get_args
	ldr	w2, [sp, #12]
	mov	x0, x19
	mov	x1, x20
	bl	_mrb_obj_equal
	cbz	x0, LBB0_2
LBB0_1:
	bl	_mrb_true_value
	b	LBB0_4
LBB0_2:
	ldr	w0, [sp, #12]
	bl	_mrb_nil_p
	cbz	x0, LBB0_5
LBB0_3:
	bl	_mrb_false_value
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
LBB0_5:
	ldr	w21, [sp, #12]
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_mrb_class_get
	mov	x2, x0
	mov	x0, x19
	mov	x1, x21
	bl	_mrb_obj_is_kind_of
	cbz	w0, LBB0_3
; %bb.6:
Lloh4:
	adrp	x21, _mrb_onig_regexp_type@GOTPAGE
Lloh5:
	ldr	x21, [x21, _mrb_onig_regexp_type@GOTPAGEOFF]
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	bl	_Data_Get_Struct
	ldr	w1, [sp, #12]
	mov	x0, x19
	mov	x2, x21
	bl	_Data_Get_Struct
Lloh6:
	adrp	x8, _E_RUNTIME_ERROR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _E_RUNTIME_ERROR@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x2, l_.str.2@PAGE
Lloh10:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_mrb_raise
	bl	_onig_get_options
	mov	x21, x0
	bl	_onig_get_options
	cmp	x21, x0
	b.ne	LBB0_3
; %bb.7:
Lloh11:
	adrp	x21, l_.str.3@PAGE
Lloh12:
	add	x21, x21, l_.str.3@PAGEOFF
	mov	x0, x19
	mov	x1, x21
	bl	_mrb_intern_lit
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_mrb_iv_get
	mov	x20, x0
	ldr	w22, [sp, #12]
	mov	x0, x19
	mov	x1, x21
	bl	_mrb_intern_lit
	mov	x2, x0
	mov	x0, x19
	mov	x1, x22
	bl	_mrb_iv_get
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_mrb_str_equal
	cbnz	x0, LBB0_1
	b	LBB0_3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"o"

l_.str.1:                               ; @.str.1
	.asciz	"OnigRegexp"

	.comm	_mrb_onig_regexp_type,4,2       ; @mrb_onig_regexp_type
	.comm	_E_RUNTIME_ERROR,4,2            ; @E_RUNTIME_ERROR
l_.str.2:                               ; @.str.2
	.asciz	"Invalid OnigRegexp"

l_.str.3:                               ; @.str.3
	.asciz	"@source"

	.no_dead_strip	_onig_regexp_equal
.subsections_via_symbols
