	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mrb_struct_s_def
_mrb_struct_s_def:                      ## @mrb_struct_s_def
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %r13
	xorl	%eax, %eax
	callq	_mrb_nil_value
	movl	%eax, %r15d
	leaq	L_.str(%rip), %rsi
	leaq	-72(%rbp), %rdx
	leaq	-64(%rbp), %rcx
	leaq	-48(%rbp), %r8
	movq	%r13, %rdi
	callq	_mrb_get_args
	movq	-64(%rbp), %r12
	testq	%r12, %r12
	je	LBB0_1
## %bb.2:
	movq	-72(%rbp), %rbx
	jle	LBB0_3
## %bb.4:
	movl	(%rbx), %r15d
	movl	%r15d, %edi
	callq	_mrb_symbol_p
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	xorl	%eax, %eax
	callq	_mrb_nil_value
	movl	%eax, %r15d
	movq	%r13, %rdi
	movq	%r12, %rsi
	movq	%rbx, %rdx
	callq	_mrb_ary_new_from_values
	movl	%eax, %ebx
	jmp	LBB0_7
LBB0_1:
	movq	_E_ARGUMENT_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	movq	%r13, %rdi
	callq	_mrb_raise
	xorl	%eax, %eax
	callq	_mrb_nil_value
	movl	%eax, %ebx
	jmp	LBB0_12
LBB0_3:
	movq	%r13, %rdi
	movq	%r12, %rsi
	movq	%rbx, %rdx
	callq	_mrb_ary_new_from_values
	movl	%eax, %ebx
	jmp	LBB0_10
LBB0_6:
	addq	$4, %rbx
	leaq	-1(%r12), %rsi
	movq	%r13, %rdi
	movq	%rbx, %rdx
	callq	_mrb_ary_new_from_values
	movl	%eax, %ebx
	decq	%r12
	je	LBB0_10
LBB0_7:
	movl	%r14d, -52(%rbp)                ## 4-byte Spill
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_RARRAY_PTR
	movl	(%rax,%r14,4), %esi
	movq	%r13, %rdi
	callq	_mrb_obj_to_sym
	movl	%eax, %edi
	callq	_mrb_symbol_value
	movq	%r13, %rdi
	movl	%ebx, %esi
	movq	%r14, %rdx
	movl	%eax, %ecx
	callq	_mrb_ary_set
	incq	%r14
	cmpq	%r14, %r12
	jne	LBB0_8
## %bb.9:
	movl	-52(%rbp), %r14d                ## 4-byte Reload
LBB0_10:
	movl	%r14d, %edi
	callq	_mrb_class_ptr
	movq	%r13, %rdi
	movl	%r15d, %esi
	movl	%ebx, %edx
	movl	%eax, %ecx
	callq	_make_struct
	movl	%eax, %ebx
	movl	%eax, -44(%rbp)
	movl	-48(%rbp), %edi
	callq	_mrb_nil_p
	testl	%eax, %eax
	jne	LBB0_12
## %bb.11:
	movl	-48(%rbp), %r14d
	movl	%ebx, %edi
	callq	_mrb_class_ptr
	leaq	-44(%rbp), %rcx
	movq	%r13, %rdi
	movl	%r14d, %esi
	movl	$1, %edx
	movl	%ebx, %r8d
	movl	%eax, %r9d
	callq	_mrb_yield_with_class
	movl	-44(%rbp), %ebx
LBB0_12:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"*&"

	.comm	_E_ARGUMENT_ERROR,4,2           ## @E_ARGUMENT_ERROR
L_.str.1:                               ## @.str.1
	.asciz	"wrong number of arguments"

	.no_dead_strip	_mrb_struct_s_def
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mrb_struct_s_def
_mrb_struct_s_def:                      ; @mrb_struct_s_def
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x20, x1
	mov	x19, x0
	bl	_mrb_nil_value
	mov	x21, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #16
	add	x3, sp, #8
	add	x4, sp, #28
	mov	x0, x19
	bl	_mrb_get_args
	ldr	x22, [sp, #8]
	cbz	x22, LBB0_4
; %bb.1:
	ldr	x23, [sp, #16]
	cmp	x22, #0
	b.le	LBB0_5
; %bb.2:
	ldr	w21, [x23]
	mov	x0, x21
	bl	_mrb_symbol_p
	cbz	x0, LBB0_6
; %bb.3:
	bl	_mrb_nil_value
	mov	x21, x0
	mov	x0, x19
	mov	x1, x22
	mov	x2, x23
	bl	_mrb_ary_new_from_values
	mov	x23, x0
	b	LBB0_7
LBB0_4:
Lloh2:
	adrp	x8, _E_ARGUMENT_ERROR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _E_ARGUMENT_ERROR@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	adrp	x2, l_.str.1@PAGE
Lloh6:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_mrb_raise
	bl	_mrb_nil_value
	mov	x20, x0
	b	LBB0_11
LBB0_5:
	mov	x0, x19
	mov	x1, x22
	mov	x2, x23
	bl	_mrb_ary_new_from_values
	mov	x23, x0
	b	LBB0_9
LBB0_6:
	add	x2, x23, #4
	sub	x22, x22, #1
	mov	x0, x19
	mov	x1, x22
	bl	_mrb_ary_new_from_values
	mov	x23, x0
	cbz	x22, LBB0_9
LBB0_7:
	mov	x24, #0
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x23
	bl	_RARRAY_PTR
	ldr	w1, [x0, x24, lsl #2]
	mov	x0, x19
	bl	_mrb_obj_to_sym
	bl	_mrb_symbol_value
	mov	x3, x0
	mov	x0, x19
	mov	x1, x23
	mov	x2, x24
	bl	_mrb_ary_set
	add	x24, x24, #1
	cmp	x22, x24
	b.ne	LBB0_8
LBB0_9:
	mov	x0, x20
	bl	_mrb_class_ptr
	mov	x3, x0
	mov	x0, x19
	mov	x1, x21
	mov	x2, x23
	bl	_make_struct
	mov	x20, x0
	str	w0, [sp, #24]
	ldr	w0, [sp, #28]
	bl	_mrb_nil_p
	cbnz	w0, LBB0_11
; %bb.10:
	ldr	w21, [sp, #28]
	mov	x0, x20
	bl	_mrb_class_ptr
	mov	x5, x0
	add	x3, sp, #24
	mov	x0, x19
	mov	x1, x21
	mov	w2, #1
	mov	x4, x20
	bl	_mrb_yield_with_class
	ldr	w20, [sp, #24]
LBB0_11:
	mov	x0, x20
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"*&"

	.comm	_E_ARGUMENT_ERROR,4,2           ; @E_ARGUMENT_ERROR
l_.str.1:                               ; @.str.1
	.asciz	"wrong number of arguments"

	.no_dead_strip	_mrb_struct_s_def
.subsections_via_symbols
