	.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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	callq	_lookup_page_table_entry
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_gcc_assert
	movslq	(%rbx), %rax
	movq	%r14, %rdi
	subq	%rax, %rdi
	movl	20(%rbx), %esi
	callq	_OFFSET_TO_BIT
	movq	_HOST_BITS_PER_LONG@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	divl	(%rcx)
                                        ## kill: def $eax killed $eax def $rax
                                        ## kill: def $edx killed $edx def $rdx
	movl	$1, %esi
	movl	%edx, %ecx
	shlq	%cl, %rsi
	movq	8(%rbx), %r8
	movq	(%r8,%rax,8), %rdi
	movl	$1, %ecx
	btq	%rdx, %rdi
	jb	LBB0_4
## %bb.1:
	orq	%rsi, %rdi
	movq	%rdi, (%r8,%rax,8)
	decl	16(%rbx)
	movq	_GGC_DEBUG_LEVEL@GOTPCREL(%rip), %rax
	cmpl	$4, (%rax)
	jl	LBB0_3
## %bb.2:
	movq	_G@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdx
	callq	_fprintf
LBB0_3:
	xorl	%ecx, %ecx
LBB0_4:
	movl	%ecx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HOST_BITS_PER_LONG,4,2         ## @HOST_BITS_PER_LONG
	.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	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_lookup_page_table_entry
	mov	x20, x0
	bl	_gcc_assert
	ldrsw	x8, [x20]
	sub	x0, x19, x8
	ldr	w1, [x20, #20]
	bl	_OFFSET_TO_BIT
Lloh0:
	adrp	x8, _HOST_BITS_PER_LONG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HOST_BITS_PER_LONG@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x8]
	udiv	w8, w0, w9
	msub	w9, w8, w9, w0
	mov	w0, #1
	lsl	x10, x0, x9
	ldr	x9, [x20, #8]
	ldr	x11, [x9, w8, uxtw #3]
	tst	x11, x10
	b.ne	LBB0_4
; %bb.1:
	orr	x10, x11, x10
	str	x10, [x9, x8, lsl #3]
	ldr	w8, [x20, #16]
	sub	w8, w8, #1
	str	w8, [x20, #16]
Lloh3:
	adrp	x8, _GGC_DEBUG_LEVEL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GGC_DEBUG_LEVEL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w8, #4
	b.lt	LBB0_3
; %bb.2:
Lloh6:
	adrp	x8, _G@GOTPAGE
Lloh7:
	ldr	x8, [x8, _G@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x19
	bl	_fprintf
LBB0_3:
	mov	w0, #0
LBB0_4:
                                        ; kill: def $w0 killed $w0 killed $x0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_HOST_BITS_PER_LONG,4,2         ; @HOST_BITS_PER_LONG
	.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
