	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gc_gray_mark
_gc_gray_mark:                          ## @gc_gray_mark
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rdi, %r14
	callq	_gc_mark_children
	movl	(%rbx), %eax
	addl	$-128, %eax
	cmpl	$12, %eax
	ja	LBB0_5
## %bb.1:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_2:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_mrb_gc_mark_iv_size
	movq	%rax, %r15
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_mrb_gc_mark_mt_size
	addq	%r15, %rax
	incq	%rax
	jmp	LBB0_21
LBB0_3:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mrb_gc_mark_iv_size            ## TAILCALL
LBB0_4:
	movl	$2, %eax
	jmp	LBB0_21
LBB0_6:
	movl	$1, %eax
	jmp	LBB0_21
LBB0_7:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_mrb_gc_mark_iv_size
	movq	%rax, %r15
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_mrb_gc_mark_hash_size
	addq	%r15, %rax
	jmp	LBB0_21
LBB0_8:
	movq	(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_5
## %bb.9:
	movl	48(%rbx), %eax
	movq	_MRB_FIBER_TERMINATED@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_14
LBB0_5:
	xorl	%eax, %eax
LBB0_21:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_MRB_ENV_STACK_LEN              ## TAILCALL
LBB0_12:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ARY_LEN                        ## TAILCALL
LBB0_14:
	movq	(%rbx), %r14
	movq	8(%rbx), %rax
	subq	%rax, %r14
	movq	32(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_16
## %bb.15:
	callq	_ci_nregs
	addq	%rax, %r14
	movq	8(%rbx), %rax
LBB0_16:
	movq	16(%rbx), %rcx
	movq	%rcx, %rdx
	subq	%rax, %rdx
	addq	%r14, %rax
	cmpq	%rcx, %rax
	cmovbeq	%r14, %rdx
	movq	40(%rbx), %rcx
	movq	24(%rbx), %rax
	addq	%rdx, %rax
	testq	%rcx, %rcx
	je	LBB0_20
## %bb.17:
	movq	32(%rbx), %rdx
	cmpq	%rdx, %rcx
	jbe	LBB0_19
## %bb.18:
	xorl	%edx, %edx
	jmp	LBB0_20
LBB0_19:
	leaq	4(%rcx), %rsi
	incq	%rdx
	cmpq	%rdx, %rsi
	cmovaq	%rsi, %rdx
	notq	%rcx
	addq	%rdx, %rcx
	shrq	$2, %rcx
	incq	%rcx
	movq	%rcx, %rdx
LBB0_20:
	addq	%rdx, %rax
	jmp	LBB0_21
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_3
	.long	L0_0_set_2
	.long	L0_0_set_6
	.long	L0_0_set_7
	.long	L0_0_set_8
	.long	L0_0_set_3
	.long	L0_0_set_11
	.long	L0_0_set_3
	.long	L0_0_set_2
	.long	L0_0_set_12
	.end_data_region
                                        ## -- End function
	.comm	_MRB_FIBER_TERMINATED,4,2       ## @MRB_FIBER_TERMINATED
	.no_dead_strip	_gc_gray_mark
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gc_gray_mark
_gc_gray_mark:                          ; @gc_gray_mark
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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, x2
	mov	x20, x0
	bl	_gc_mark_children
	ldr	w8, [x19]
	sub	w8, w8, #128
	cmp	w8, #12
	b.hi	LBB0_9
; %bb.1:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	mov	x0, x20
	mov	x1, x19
	bl	_mrb_gc_mark_iv_size
	mov	x21, x0
	mov	x0, x20
	mov	x1, x19
	bl	_mrb_gc_mark_mt_size
	add	x8, x21, x0
	add	x0, x8, #1
	b	LBB0_10
LBB0_3:
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_mrb_gc_mark_iv_size
LBB0_4:
	mov	w0, #2
	b	LBB0_10
LBB0_5:
	mov	w0, #1
	b	LBB0_10
LBB0_6:
	mov	x0, x20
	mov	x1, x19
	bl	_mrb_gc_mark_iv_size
	mov	x21, x0
	mov	x0, x20
	mov	x1, x19
	bl	_mrb_gc_mark_hash_size
	add	x0, x0, x21
	b	LBB0_10
LBB0_7:
	ldr	x19, [x19]
	cbz	x19, LBB0_9
; %bb.8:
	ldr	w8, [x19, #48]
Lloh2:
	adrp	x9, _MRB_FIBER_TERMINATED@GOTPAGE
Lloh3:
	ldr	x9, [x9, _MRB_FIBER_TERMINATED@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_13
LBB0_9:
	mov	x0, #0
LBB0_10:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_11:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_MRB_ENV_STACK_LEN
LBB0_12:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_ARY_LEN
LBB0_13:
	ldp	x9, x8, [x19]
	sub	x20, x9, x8
	ldr	x0, [x19, #32]
	cbz	x0, LBB0_15
; %bb.14:
	bl	_ci_nregs
	add	x20, x0, x20
	ldr	x8, [x19, #8]
LBB0_15:
	ldp	x9, x11, [x19, #16]
	sub	x10, x9, x8
	add	x8, x8, x20
	cmp	x8, x9
	csel	x10, x10, x20, hi
	add	x8, x10, x11
	ldr	x9, [x19, #40]
	cbz	x9, LBB0_17
; %bb.16:
	ldr	x10, [x19, #32]
	add	x11, x9, #4
	add	x12, x10, #1
	cmp	x11, x12
	csinc	x11, x11, x10, hi
	mvn	x12, x9
	add	x11, x11, x12
	lsr	x11, x11, #2
	cmp	x9, x10
	csinc	x10, xzr, x11, hi
LBB0_17:
	add	x0, x8, x10
	b	LBB0_10
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_11-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
                                        ; -- End function
	.comm	_MRB_FIBER_TERMINATED,4,2       ; @MRB_FIBER_TERMINATED
	.no_dead_strip	_gc_gray_mark
.subsections_via_symbols
