	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function basecheck
_basecheck:                             ## @basecheck
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movl	%esi, %r15d
	movq	%rdi, %rbx
	callq	_mrb_obj_class
	movq	%rax, %rdi
	callq	_mrb_obj_value
	movl	%eax, %r12d
	movq	_TYPESYM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_mrb_intern_lit
	movq	%rbx, %rdi
	movl	%r12d, %esi
	movl	%eax, %edx
	callq	_mrb_const_get
	movl	%eax, %edi
	callq	_mrb_nil_p
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_E_NOTIMP_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%rbx, %rdi
	callq	_mrb_raise
LBB0_2:
	movl	%r15d, %edi
	callq	_DATA_PTR
	movq	%rax, %r15
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	testq	%r14, %r14
	je	LBB0_6
LBB0_5:
	movq	%r15, (%r14)
LBB0_6:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	_E_RUNTIME_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	movq	%rbx, %rdi
	callq	_mrb_raise
	testq	%r14, %r14
	jne	LBB0_5
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_TYPESYM,4,2                    ## @TYPESYM
	.comm	_E_NOTIMP_ERROR,4,2             ## @E_NOTIMP_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Digest::Base is an abstract class"

	.comm	_E_RUNTIME_ERROR,4,2            ## @E_RUNTIME_ERROR
L_.str.1:                               ## @.str.1
	.asciz	"no md found (BUG?)"

	.no_dead_strip	_basecheck
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function basecheck
_basecheck:                             ; @basecheck
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x19, x2
	mov	x21, x1
	mov	x20, x0
	bl	_mrb_obj_class
	bl	_mrb_obj_value
	mov	x22, x0
Lloh0:
	adrp	x8, _TYPESYM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TYPESYM@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_mrb_intern_lit
	mov	x2, x0
	mov	x0, x20
	mov	x1, x22
	bl	_mrb_const_get
	bl	_mrb_nil_p
	cbz	x0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _E_NOTIMP_ERROR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _E_NOTIMP_ERROR@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x2, l_.str@PAGE
Lloh7:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x20
	bl	_mrb_raise
LBB0_2:
	mov	x0, x21
	bl	_DATA_PTR
	mov	x21, x0
	cbz	x0, LBB0_6
; %bb.3:
	cbz	x19, LBB0_5
LBB0_4:
	str	x21, [x19]
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_6:
Lloh8:
	adrp	x8, _E_RUNTIME_ERROR@GOTPAGE
Lloh9:
	ldr	x8, [x8, _E_RUNTIME_ERROR@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
Lloh11:
	adrp	x2, l_.str.1@PAGE
Lloh12:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_mrb_raise
	cbnz	x19, LBB0_4
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_TYPESYM,4,2                    ; @TYPESYM
	.comm	_E_NOTIMP_ERROR,4,2             ; @E_NOTIMP_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Digest::Base is an abstract class"

	.comm	_E_RUNTIME_ERROR,4,2            ; @E_RUNTIME_ERROR
l_.str.1:                               ; @.str.1
	.asciz	"no md found (BUG?)"

	.no_dead_strip	_basecheck
.subsections_via_symbols
