	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function remove_method
_remove_method:                         ## @remove_method
	.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, %r15d
	movl	%esi, %r14d
	movq	%rdi, %r13
	movl	%esi, %edi
	callq	_mrb_class_ptr
	movq	%rax, %rbx
	movq	_mt@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_khash_t
	movq	%rbx, %rdi
	callq	_MRB_CLASS_ORIGIN
	movl	(%rbx), %edx
	movq	_h@GOTPCREL(%rip), %rbx
	movl	%edx, (%rbx)
	testl	%edx, %edx
	je	LBB0_3
## %bb.1:
	movq	_mt@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r13, %rsi
	movl	%r15d, %ecx
	callq	_kh_get
	movq	%rax, %r12
	movl	(%rbx), %edi
	callq	_kh_end
	cmpq	%rax, %r12
	jne	LBB0_2
LBB0_3:
	movq	%r13, %rdi
	movl	%r15d, %esi
	callq	_mrb_sym2str
	leaq	L_.str.1(%rip), %rdx
	movq	%r13, %rdi
	movl	%r15d, %esi
	movl	%eax, %ecx
	movl	%r14d, %r8d
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mrb_name_error                 ## TAILCALL
LBB0_2:
	movq	_mt@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %edx
	movq	%r13, %rsi
	movq	%r12, %rcx
	callq	_kh_del
	movl	%r15d, %edi
	callq	_mrb_symbol_value
	leaq	L_.str(%rip), %rdx
	movq	%r13, %rdi
	movl	%r14d, %esi
	movl	$1, %ecx
	movl	%eax, %r8d
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mrb_funcall                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_mt,4,2                         ## @mt
	.comm	_h,4,2                          ## @h
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"method_removed"

L_.str.1:                               ## @.str.1
	.asciz	"method '%S' not defined in %S"

	.no_dead_strip	_remove_method
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function remove_method
_remove_method:                         ; @remove_method
	.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	x21, x2
	mov	x19, x1
	mov	x20, x0
	mov	x0, x1
	bl	_mrb_class_ptr
	mov	x22, x0
Lloh0:
	adrp	x23, _mt@GOTPAGE
Lloh1:
	ldr	x23, [x23, _mt@GOTPAGEOFF]
	ldr	w0, [x23]
	bl	_khash_t
	mov	x0, x22
	bl	_MRB_CLASS_ORIGIN
	ldr	w2, [x22]
Lloh2:
	adrp	x24, _h@GOTPAGE
Lloh3:
	ldr	x24, [x24, _h@GOTPAGEOFF]
	str	w2, [x24]
	cbz	w2, LBB0_2
; %bb.1:
	ldr	w0, [x23]
	mov	x1, x20
	mov	x3, x21
	bl	_kh_get
	mov	x22, x0
	ldr	w0, [x24]
	bl	_kh_end
	cmp	x22, x0
	b.ne	LBB0_3
LBB0_2:
	mov	x0, x20
	mov	x1, x21
	bl	_mrb_sym2str
Lloh4:
	adrp	x2, l_.str.1@PAGE
Lloh5:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x3, x0
	mov	x0, x20
	mov	x1, x21
	mov	x4, x19
	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
	b	_mrb_name_error
LBB0_3:
	ldr	w0, [x23]
	ldr	w2, [x24]
	mov	x1, x20
	mov	x3, x22
	bl	_kh_del
	mov	x0, x21
	bl	_mrb_symbol_value
Lloh6:
	adrp	x2, l_.str@PAGE
Lloh7:
	add	x2, x2, l_.str@PAGEOFF
	mov	x4, x0
	mov	x0, x20
	mov	x1, x19
	mov	w3, #1
	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
	b	_mrb_funcall
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_mt,4,2                         ; @mt
	.comm	_h,4,2                          ; @h
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"method_removed"

l_.str.1:                               ; @.str.1
	.asciz	"method '%S' not defined in %S"

	.no_dead_strip	_remove_method
.subsections_via_symbols
