	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mrb_ary_times
_mrb_ary_times:                         ## @mrb_ary_times
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movl	%esi, %edi
	callq	_mrb_ary_ptr
	movq	%rax, %r15
	leaq	L_.str(%rip), %rsi
	leaq	-44(%rbp), %rdx
	movq	%r14, %rdi
	callq	_mrb_get_args
	movl	-44(%rbp), %ecx
	testl	%ecx, %ecx
	js	LBB0_1
## %bb.2:
	testl	%ecx, %ecx
	je	LBB0_3
LBB0_4:
	movq	_ARY_MAX_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cltd
	idivl	%ecx
	movl	%eax, %ebx
	movq	%r15, %rdi
	callq	_ARY_LEN
	cmpl	%eax, %ebx
	jge	LBB0_6
## %bb.5:
	movq	_E_ARGUMENT_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.2(%rip), %rdx
	movq	%r14, %rdi
	callq	_mrb_raise
LBB0_6:
	movq	%r15, %rdi
	callq	_ARY_LEN
	movl	%eax, %r12d
	movl	-44(%rbp), %esi
	imull	%eax, %esi
	movq	%r14, %rdi
	callq	_ary_new_capa
	movq	%rax, %r14
	movl	-44(%rbp), %esi
	imull	%r12d, %esi
	movq	%rax, %rdi
	callq	_ARY_SET_LEN
	movq	%r14, %rdi
	callq	_ARY_PTR
	subl	$1, -44(%rbp)
	jb	LBB0_9
## %bb.7:
	movq	%rax, %rbx
	movslq	%r12d, %r13
	shlq	$2, %r13
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	callq	_ARY_PTR
	movq	%rbx, %rdi
	movq	%rax, %rsi
	movl	%r12d, %edx
	callq	_array_copy
	addq	%r13, %rbx
	subl	$1, -44(%rbp)
	jae	LBB0_8
LBB0_9:
	movq	%r14, %rdi
	callq	_mrb_obj_value
	jmp	LBB0_10
LBB0_1:
	movq	_E_ARGUMENT_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	movq	%r14, %rdi
	callq	_mrb_raise
	movl	-44(%rbp), %ecx
	testl	%ecx, %ecx
	jne	LBB0_4
LBB0_3:
	movq	%r14, %rdi
	callq	_mrb_ary_new
LBB0_10:
	addq	$8, %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	"i"

	.comm	_E_ARGUMENT_ERROR,4,2           ## @E_ARGUMENT_ERROR
L_.str.1:                               ## @.str.1
	.asciz	"negative argument"

	.comm	_ARY_MAX_SIZE,4,2               ## @ARY_MAX_SIZE
L_.str.2:                               ## @.str.2
	.asciz	"array size too big"

	.no_dead_strip	_mrb_ary_times
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mrb_ary_times
_mrb_ary_times:                         ; @mrb_ary_times
	.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	x20, x0
	mov	x0, x1
	bl	_mrb_ary_ptr
	mov	x19, 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
	ldr	w8, [sp, #12]
	tbnz	w8, #31, LBB0_8
; %bb.1:
	cbz	w8, LBB0_9
LBB0_2:
Lloh2:
	adrp	x9, _ARY_MAX_SIZE@GOTPAGE
Lloh3:
	ldr	x9, [x9, _ARY_MAX_SIZE@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	sdiv	w21, w9, w8
	mov	x0, x19
	bl	_ARY_LEN
	cmp	w21, w0
	b.ge	LBB0_4
; %bb.3:
Lloh5:
	adrp	x8, _E_ARGUMENT_ERROR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _E_ARGUMENT_ERROR@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
Lloh8:
	adrp	x2, l_.str.2@PAGE
Lloh9:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_mrb_raise
LBB0_4:
	mov	x0, x19
	bl	_ARY_LEN
	mov	x21, x0
	ldr	w8, [sp, #12]
	mul	w1, w8, w0
	mov	x0, x20
	bl	_ary_new_capa
	mov	x20, x0
	ldr	w8, [sp, #12]
	mul	w1, w8, w21
	bl	_ARY_SET_LEN
	mov	x0, x20
	bl	_ARY_PTR
	ldr	w8, [sp, #12]
	sub	w9, w8, #1
	str	w9, [sp, #12]
	cbz	w8, LBB0_7
; %bb.5:
	mov	x22, x0
	sbfiz	x23, x21, #2, #32
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_ARY_PTR
	mov	x1, x0
	mov	x0, x22
	mov	x2, x21
	bl	_array_copy
	ldr	w8, [sp, #12]
	sub	w9, w8, #1
	str	w9, [sp, #12]
	add	x22, x22, x23
	cbnz	w8, LBB0_6
LBB0_7:
	mov	x0, x20
	bl	_mrb_obj_value
	b	LBB0_10
LBB0_8:
Lloh10:
	adrp	x8, _E_ARGUMENT_ERROR@GOTPAGE
Lloh11:
	ldr	x8, [x8, _E_ARGUMENT_ERROR@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
Lloh13:
	adrp	x2, l_.str.1@PAGE
Lloh14:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_mrb_raise
	ldr	w8, [sp, #12]
	cbnz	w8, LBB0_2
LBB0_9:
	mov	x0, x20
	bl	_mrb_ary_new
LBB0_10:
	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
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"i"

	.comm	_E_ARGUMENT_ERROR,4,2           ; @E_ARGUMENT_ERROR
l_.str.1:                               ; @.str.1
	.asciz	"negative argument"

	.comm	_ARY_MAX_SIZE,4,2               ; @ARY_MAX_SIZE
l_.str.2:                               ; @.str.2
	.asciz	"array size too big"

	.no_dead_strip	_mrb_ary_times
.subsections_via_symbols
