	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ggc_set_mark                   ## -- Begin function ggc_set_mark
	.p2align	4, 0x90
_ggc_set_mark:                          ## @ggc_set_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	callq	_zone_get_object_page
	cmpq	$0, 8(%rax)
	je	LBB0_6
## %bb.1:
	movq	_pch_zone@GOTPCREL(%rip), %rcx
	movq	%r14, %rax
	subq	(%rcx), %rax
	movq	_BYTES_PER_MARK_BIT@GOTPCREL(%rip), %rdx
	movslq	(%rdx), %rsi
	movq	%rax, %rdx
	orq	%rsi, %rdx
	shrq	$32, %rdx
	je	LBB0_2
## %bb.3:
	cqto
	idivq	%rsi
	jmp	LBB0_4
LBB0_6:
	movq	%rax, %r15
	movq	(%rax), %r12
	testq	%r12, %r12
	je	LBB0_9
## %bb.7:
	movl	$1, %ebx
	testl	%r12d, %r12d
	jne	LBB0_13
## %bb.8:
	movl	$1, (%r15)
	jmp	LBB0_11
LBB0_2:
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%esi
                                        ## kill: def $eax killed $eax def $rax
LBB0_4:
	movq	%rax, %rdx
	shrq	$5, %rdx
	movq	8(%rcx), %r8
	movl	(%r8,%rdx,4), %edi
	movl	$1, %ebx
	movl	$1, %esi
	movl	%eax, %ecx
	shll	%cl, %esi
	btl	%eax, %edi
	jb	LBB0_13
## %bb.5:
	orl	%edi, %esi
	movl	%esi, (%r8,%rdx,4)
LBB0_11:
	movq	_GGC_DEBUG_LEVEL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	cmpl	$4, (%rax)
	jl	LBB0_13
## %bb.12:
	movq	_G@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdx
	callq	_fprintf
	jmp	LBB0_13
LBB0_9:
	movq	%r14, %rdi
	callq	_zone_get_object_mark_word
	movl	(%r12,%rax,4), %r12d
	movq	%r14, %rdi
	callq	_zone_get_object_mark_bit
	movl	$1, %ebx
	btl	%eax, %r12d
	jae	LBB0_10
LBB0_13:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movq	%r14, %rdi
	callq	_zone_get_object_mark_bit
	movl	$1, %ebx
	movl	%eax, %ecx
	shll	%cl, %ebx
	movq	(%r15), %r15
	movq	%r14, %rdi
	callq	_zone_get_object_mark_word
	orl	%ebx, (%r15,%rax,4)
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_pch_zone,16,3                  ## @pch_zone
	.comm	_BYTES_PER_MARK_BIT,4,2         ## @BYTES_PER_MARK_BIT
	.comm	_GGC_DEBUG_LEVEL,4,2            ## @GGC_DEBUG_LEVEL
	.comm	_G,4,2                          ## @G
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Marking %p\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ggc_set_mark                   ; -- Begin function ggc_set_mark
	.p2align	2
_ggc_set_mark:                          ; @ggc_set_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, x0
	bl	_zone_get_object_page
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _pch_zone@GOTPAGE
Lloh1:
	ldr	x8, [x8, _pch_zone@GOTPAGEOFF]
	ldp	x9, x8, [x8]
	sub	x9, x19, x9
Lloh2:
	adrp	x10, _BYTES_PER_MARK_BIT@GOTPAGE
Lloh3:
	ldr	x10, [x10, _BYTES_PER_MARK_BIT@GOTPAGEOFF]
Lloh4:
	ldrsw	x10, [x10]
	sdiv	x11, x9, x10
	lsr	x9, x11, #5
	ldr	w10, [x8, x9, lsl #2]
	mov	w21, #1
	lsl	w11, w21, w11
	tst	w11, w10
	b.ne	LBB0_11
; %bb.2:
	orr	w10, w11, w10
	str	w10, [x8, x9, lsl #2]
	b	LBB0_8
LBB0_3:
	mov	x20, x0
	ldr	x22, [x0]
	cbz	x22, LBB0_6
; %bb.4:
	mov	w21, #1
	cbnz	w22, LBB0_11
; %bb.5:
	str	w21, [x20]
	b	LBB0_8
LBB0_6:
	mov	x0, x19
	bl	_zone_get_object_mark_word
	ldr	w22, [x22, x0, lsl #2]
	mov	x0, x19
	bl	_zone_get_object_mark_bit
	mov	w21, #1
	lsr	w8, w22, w0
	tbnz	w8, #0, LBB0_11
; %bb.7:
	mov	x0, x19
	bl	_zone_get_object_mark_bit
	lsl	w21, w21, w0
	ldr	x20, [x20]
	mov	x0, x19
	bl	_zone_get_object_mark_word
	lsl	x8, x0, #2
	ldr	w9, [x20, x8]
	orr	w9, w9, w21
	str	w9, [x20, x8]
LBB0_8:
Lloh5:
	adrp	x8, _GGC_DEBUG_LEVEL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _GGC_DEBUG_LEVEL@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	cmp	w8, #4
	b.lt	LBB0_10
; %bb.9:
Lloh8:
	adrp	x8, _G@GOTPAGE
Lloh9:
	ldr	x8, [x8, _G@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x19
	bl	_fprintf
LBB0_10:
	mov	w21, #0
LBB0_11:
	mov	x0, x21
	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 AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_pch_zone,16,3                  ; @pch_zone
	.comm	_BYTES_PER_MARK_BIT,4,2         ; @BYTES_PER_MARK_BIT
	.comm	_GGC_DEBUG_LEVEL,4,2            ; @GGC_DEBUG_LEVEL
	.comm	_G,4,2                          ; @G
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Marking %p\n"

.subsections_via_symbols
