	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mrb_ary_push_m
_mrb_ary_push_m:                        ## @mrb_ary_push_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %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, %r15
	leaq	L_.str(%rip), %rsi
	leaq	-56(%rbp), %rdx
	leaq	-48(%rbp), %rcx
	callq	_mrb_get_args
	movl	%r14d, %edi
	callq	_mrb_ary_ptr
	movq	%rax, %rbx
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_ary_modify
	movq	%rbx, %rdi
	callq	_ARY_LEN
	movq	%rax, %r13
	movq	-48(%rbp), %r12
	addq	%rax, %r12
	movq	%rbx, %rdi
	callq	_ARY_CAPA
	cmpq	%r12, %rax
	jge	LBB0_2
## %bb.1:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	%r12, %rdx
	callq	_ary_expand_capa
LBB0_2:
	movq	%rbx, %rdi
	callq	_ARY_PTR
	addq	%rax, %r13
	movq	-56(%rbp), %rsi
	movq	-48(%rbp), %rdx
	movq	%r13, %rdi
	callq	_array_copy
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_ARY_SET_LEN
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_mrb_write_barrier
	movl	%r14d, %eax
	addq	$24, %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	"*!"

	.no_dead_strip	_mrb_ary_push_m
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mrb_ary_push_m
_mrb_ary_push_m:                        ; @mrb_ary_push_m
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #8
	mov	x3, sp
	bl	_mrb_get_args
	mov	x0, x19
	bl	_mrb_ary_ptr
	mov	x21, x0
	mov	x0, x20
	mov	x1, x21
	bl	_ary_modify
	mov	x0, x21
	bl	_ARY_LEN
	mov	x23, x0
	ldr	x8, [sp]
	add	x22, x8, x0
	mov	x0, x21
	bl	_ARY_CAPA
	cmp	x0, x22
	b.ge	LBB0_2
; %bb.1:
	mov	x0, x20
	mov	x1, x21
	mov	x2, x22
	bl	_ary_expand_capa
LBB0_2:
	mov	x0, x21
	bl	_ARY_PTR
	add	x0, x0, x23
	ldp	x2, x1, [sp]
	bl	_array_copy
	mov	x0, x21
	mov	x1, x22
	bl	_ARY_SET_LEN
	mov	x0, x20
	mov	x1, x21
	bl	_mrb_write_barrier
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"*!"

	.no_dead_strip	_mrb_ary_push_m
.subsections_via_symbols
