	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mark_context
_mark_context:                          ## @mark_context
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %r14
	movq	_MRB_FIBER_TERMINATED@GOTPCREL(%rip), %r15
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	24(%r12), %rsi
	movq	%r14, %rdi
	callq	_mrb_gc_mark
	movq	16(%r12), %r12
	testq	%r12, %r12
	je	LBB0_9
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_3 Depth 2
                                        ##     Child Loop BB0_7 Depth 2
	movq	(%r12), %rax
	cmpq	(%r15), %rax
	je	LBB0_9
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_mark_context_stack
	movq	48(%r12), %rbx
	testq	%rbx, %rbx
	je	LBB0_5
	.p2align	4, 0x90
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpq	40(%r12), %rbx
	ja	LBB0_5
LBB0_3:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	16(%rbx), %rsi
	movq	%r14, %rdi
	callq	_mrb_gc_mark
	movq	8(%rbx), %rsi
	movq	%r14, %rdi
	callq	_mrb_gc_mark
	movq	(%rbx), %rsi
	movq	%r14, %rdi
	callq	_mrb_gc_mark
	addq	$24, %rbx
	cmpq	40(%r12), %rbx
	jbe	LBB0_3
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$0, 8(%r12)
	jle	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_7:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	32(%r12), %rax
	movq	(%rax,%rbx,8), %rsi
	movq	%r14, %rdi
	callq	_mrb_gc_mark
	incq	%rbx
	movslq	8(%r12), %rax
	cmpq	%rax, %rbx
	jl	LBB0_7
	jmp	LBB0_8
LBB0_9:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MRB_FIBER_TERMINATED,8,3       ## @MRB_FIBER_TERMINATED
	.no_dead_strip	_mark_context
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mark_context
_mark_context:                          ; @mark_context
	.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, x1
	mov	x20, x0
Lloh0:
	adrp	x21, _MRB_FIBER_TERMINATED@GOTPAGE
Lloh1:
	ldr	x21, [x21, _MRB_FIBER_TERMINATED@GOTPAGEOFF]
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x1, [x19, #24]
	mov	x0, x20
	bl	_mrb_gc_mark
	ldr	x19, [x19, #16]
	cbz	x19, LBB0_9
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_4 Depth 2
                                        ;     Child Loop BB0_8 Depth 2
	ldr	x8, [x19]
	ldr	x9, [x21]
	cmp	x8, x9
	b.eq	LBB0_9
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x20
	mov	x1, x19
	bl	_mark_context_stack
	ldr	x22, [x19, #48]
	cbz	x22, LBB0_6
LBB0_4:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x19, #40]
	cmp	x22, x8
	b.hi	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=2
	ldr	x1, [x22, #16]
	mov	x0, x20
	bl	_mrb_gc_mark
	ldr	x1, [x22, #8]
	mov	x0, x20
	bl	_mrb_gc_mark
	ldr	x1, [x22], #24
	mov	x0, x20
	bl	_mrb_gc_mark
	b	LBB0_4
LBB0_6:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x19, #8]
	cmp	w8, #1
	b.lt	LBB0_1
; %bb.7:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x22, #0
LBB0_8:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x19, #32]
	ldr	x1, [x8, x22, lsl #3]
	mov	x0, x20
	bl	_mrb_gc_mark
	add	x22, x22, #1
	ldrsw	x8, [x19, #8]
	cmp	x22, x8
	b.lt	LBB0_8
	b	LBB0_1
LBB0_9:
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_MRB_FIBER_TERMINATED,8,3       ; @MRB_FIBER_TERMINATED
	.no_dead_strip	_mark_context
.subsections_via_symbols
