	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mrb_mod_remove_cvar
_mrb_mod_remove_cvar:                   ## @mrb_mod_remove_cvar
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %r15
	leaq	L_.str(%rip), %rsi
	leaq	-28(%rbp), %rdx
	callq	_mrb_get_args
	movl	-28(%rbp), %esi
	movq	%r15, %rdi
	callq	_check_cv_name_sym
	movl	-28(%rbp), %edx
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_mrb_iv_remove
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_mrb_undef_p
	testl	%eax, %eax
	je	LBB0_4
## %bb.1:
	movl	-28(%rbp), %edx
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_mrb_cv_defined
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movl	-28(%rbp), %ebx
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_mrb_sym2str
	leaq	L_.str.1(%rip), %rdx
	movq	%r15, %rdi
	movl	%ebx, %esi
	movl	%eax, %ecx
	movl	%r14d, %r8d
	callq	_mrb_name_error
LBB0_3:
	movl	-28(%rbp), %ebx
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_mrb_sym2str
	leaq	L_.str.2(%rip), %rdx
	movq	%r15, %rdi
	movl	%ebx, %esi
	movl	%eax, %ecx
	movl	%r14d, %r8d
	callq	_mrb_name_error
	xorl	%eax, %eax
	callq	_mrb_nil_value
	movl	%eax, %ebx
LBB0_4:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"n"

L_.str.1:                               ## @.str.1
	.asciz	"cannot remove %S for %S"

L_.str.2:                               ## @.str.2
	.asciz	"class variable %S not defined for %S"

	.no_dead_strip	_mrb_mod_remove_cvar
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mrb_mod_remove_cvar
_mrb_mod_remove_cvar:                   ; @mrb_mod_remove_cvar
	.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	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #12
	bl	_mrb_get_args
	ldr	w1, [sp, #12]
	mov	x0, x20
	bl	_check_cv_name_sym
	ldr	w2, [sp, #12]
	mov	x0, x20
	mov	x1, x19
	bl	_mrb_iv_remove
	mov	x21, x0
	bl	_mrb_undef_p
	cbz	w0, LBB0_4
; %bb.1:
	ldr	w2, [sp, #12]
	mov	x0, x20
	mov	x1, x19
	bl	_mrb_cv_defined
	cbz	x0, LBB0_3
; %bb.2:
	ldr	w21, [sp, #12]
	mov	x0, x20
	mov	x1, x21
	bl	_mrb_sym2str
	mov	x3, x0
Lloh2:
	adrp	x2, l_.str.1@PAGE
Lloh3:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	x1, x21
	mov	x4, x19
	bl	_mrb_name_error
LBB0_3:
	ldr	w21, [sp, #12]
	mov	x0, x20
	mov	x1, x21
	bl	_mrb_sym2str
	mov	x3, x0
Lloh4:
	adrp	x2, l_.str.2@PAGE
Lloh5:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x20
	mov	x1, x21
	mov	x4, x19
	bl	_mrb_name_error
	bl	_mrb_nil_value
	mov	x21, x0
LBB0_4:
	mov	x0, x21
	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
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"n"

l_.str.1:                               ; @.str.1
	.asciz	"cannot remove %S for %S"

l_.str.2:                               ; @.str.2
	.asciz	"class variable %S not defined for %S"

	.no_dead_strip	_mrb_mod_remove_cvar
.subsections_via_symbols
