	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mrb_struct_set_m
_mrb_struct_set_m:                      ## @mrb_struct_set_m
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	xorl	%esi, %esi
	callq	_mrb_proc_cfunc_env_get
	movl	%eax, %edi
	callq	_mrb_fixnum
	movq	%rax, %r15
	leaq	L_.str(%rip), %rsi
	leaq	-36(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_mrb_get_args
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_mrb_struct_modify
	movl	%r14d, %edi
	callq	_RSTRUCT_PTR
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rax, %r12
	movl	%r14d, %edi
	callq	_RSTRUCT_LEN
	cmpq	%rax, %r15
	jae	LBB0_2
## %bb.3:
	movl	-36(%rbp), %eax
	movl	%eax, (%r12,%r15,4)
	jmp	LBB0_4
LBB0_2:
	movl	-36(%rbp), %ecx
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movq	%r15, %rdx
	callq	_mrb_ary_set
LBB0_4:
	movl	-36(%rbp), %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"o"

	.no_dead_strip	_mrb_struct_set_m
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mrb_struct_set_m
_mrb_struct_set_m:                      ; @mrb_struct_set_m
	.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
	mov	w1, #0
	bl	_mrb_proc_cfunc_env_get
	bl	_mrb_fixnum
	mov	x21, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #12
	mov	x0, x20
	bl	_mrb_get_args
	mov	x0, x20
	mov	x1, x19
	bl	_mrb_struct_modify
	mov	x0, x19
	bl	_RSTRUCT_PTR
	cbz	x0, LBB0_3
; %bb.1:
	mov	x22, x0
	mov	x0, x19
	bl	_RSTRUCT_LEN
	cmp	x21, x0
	b.hs	LBB0_3
; %bb.2:
	ldr	w8, [sp, #12]
	str	w8, [x22, x21, lsl #2]
	b	LBB0_4
LBB0_3:
	ldr	w3, [sp, #12]
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	bl	_mrb_ary_set
LBB0_4:
	ldr	w0, [sp, #12]
	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
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"o"

	.no_dead_strip	_mrb_struct_set_m
.subsections_via_symbols
