	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function argnum_error
_argnum_error:                          ## @argnum_error
	.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	%rsi, %r14
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	(%rax), %rcx
	movq	(%rcx), %r15
	testq	%r15, %r15
	jns	LBB0_3
## %bb.1:
	movq	8(%rax), %rax
	movl	4(%rax), %r12d
	movl	%r12d, %edi
	callq	_mrb_array_p
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movl	%r12d, %edi
	callq	_RARRAY_LEN
	movq	%rax, %r15
LBB0_3:
	movq	(%rbx), %rax
	movq	(%rax), %rax
	movq	8(%rax), %rsi
	testq	%rsi, %rsi
	je	LBB0_5
## %bb.4:
	movq	%rbx, %rdi
	callq	_mrb_sym2str
	movl	%eax, %r12d
	movq	%r15, %rdi
	callq	_mrb_fixnum_value
	movl	%eax, %r15d
	movq	%r14, %rdi
	callq	_mrb_fixnum_value
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	movl	%r12d, %edx
	movl	%r15d, %ecx
	movl	%eax, %r8d
	xorl	%eax, %eax
	callq	_mrb_format
	jmp	LBB0_6
LBB0_5:
	movq	%r15, %rdi
	callq	_mrb_fixnum_value
	movl	%eax, %r15d
	movq	%r14, %rdi
	callq	_mrb_fixnum_value
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	movl	%r15d, %edx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_mrb_format
LBB0_6:
	movl	%eax, %edx
	movq	_E_ARGUMENT_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_mrb_exc_new_str
	movq	%rbx, %rdi
	movl	%eax, %esi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mrb_exc_set                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"'%S': wrong number of arguments (%S for %S)"

L_.str.1:                               ## @.str.1
	.asciz	"wrong number of arguments (%S for %S)"

	.comm	_E_ARGUMENT_ERROR,4,2           ## @E_ARGUMENT_ERROR
	.no_dead_strip	_argnum_error
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function argnum_error
_argnum_error:                          ; @argnum_error
	.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
	ldr	x8, [x0]
	ldr	x9, [x8]
	ldr	x21, [x9]
	tbz	x21, #63, LBB0_3
; %bb.1:
	ldr	x8, [x8, #8]
	ldr	w22, [x8, #4]
	mov	x0, x22
	bl	_mrb_array_p
	cbz	x0, LBB0_3
; %bb.2:
	mov	x0, x22
	bl	_RARRAY_LEN
	mov	x21, x0
LBB0_3:
	ldr	x8, [x19]
	ldr	x8, [x8]
	ldr	x1, [x8, #8]
	cbz	x1, LBB0_5
; %bb.4:
	mov	x0, x19
	bl	_mrb_sym2str
	mov	x22, x0
	mov	x0, x21
	bl	_mrb_fixnum_value
	mov	x21, x0
	mov	x0, x20
	bl	_mrb_fixnum_value
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x2, x22
	mov	x3, x21
	b	LBB0_6
LBB0_5:
	mov	x0, x21
	bl	_mrb_fixnum_value
	mov	x21, x0
	mov	x0, x20
	bl	_mrb_fixnum_value
	mov	x3, x0
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x2, x21
LBB0_6:
	bl	_mrb_format
	mov	x2, x0
Lloh4:
	adrp	x8, _E_ARGUMENT_ERROR@GOTPAGE
Lloh5:
	ldr	x8, [x8, _E_ARGUMENT_ERROR@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_mrb_exc_new_str
	mov	x1, x0
	mov	x0, 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
	add	sp, sp, #64
	b	_mrb_exc_set
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"'%S': wrong number of arguments (%S for %S)"

l_.str.1:                               ; @.str.1
	.asciz	"wrong number of arguments (%S for %S)"

	.comm	_E_ARGUMENT_ERROR,4,2           ; @E_ARGUMENT_ERROR
	.no_dead_strip	_argnum_error
.subsections_via_symbols
