	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function free_page
_free_page:                             ## @free_page
	.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, %rbx
	movq	_GGC_DEBUG_LEVEL@GOTPCREL(%rip), %rax
	cmpl	$2, (%rax)
	jl	LBB0_2
## %bb.1:
	movq	_G@GOTPCREL(%rip), %rax
	movl	32(%rax), %edi
	movq	24(%rbx), %rcx
	movq	40(%rbx), %rax
	leaq	(%rcx,%rax), %r8
	decq	%r8
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdx
	callq	_fprintf
LBB0_2:
	movq	24(%rbx), %rdi
	movq	40(%rbx), %rsi
	callq	_VALGRIND_MAKE_NOACCESS
	movl	%eax, %edi
	callq	_VALGRIND_DISCARD
	movq	24(%rbx), %rdi
	xorl	%esi, %esi
	callq	_set_page_table_entry
	movq	_G@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	cmpl	$2, %eax
	jl	LBB0_4
## %bb.3:
	movq	24(%r14), %rcx
	decl	%eax
	movq	(%rcx,%rax,8), %r15
	movslq	(%rbx), %r12
	movq	8(%rbx), %rax
	xorl	%edi, %edi
	cmpq	8(%r15), %rax
	sete	%dil
	callq	_gcc_assert
	movq	24(%r14), %rax
	movq	%r15, (%rax,%r12,8)
	movq	16(%r14), %rax
	movslq	(%r14), %rcx
	movl	-4(%rax,%rcx,4), %ecx
	movl	%ecx, (%rax,%r12,4)
	movl	%r12d, (%r15)
	movl	(%r14), %eax
LBB0_4:
	decl	%eax
	movl	%eax, (%r14)
	xorl	%eax, %eax
	callq	_adjust_depth
	movq	8(%r14), %rax
	movq	%rax, 16(%rbx)
	movq	%rbx, 8(%r14)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GGC_DEBUG_LEVEL,4,2            ## @GGC_DEBUG_LEVEL
	.comm	_G,40,3                         ## @G
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Deallocating page at %p, data %p-%p\n"

	.no_dead_strip	_free_page
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function free_page
_free_page:                             ; @free_page
	.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
Lloh0:
	adrp	x8, _GGC_DEBUG_LEVEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GGC_DEBUG_LEVEL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x20, _G@GOTPAGE
Lloh4:
	ldr	x20, [x20, _G@GOTPAGEOFF]
	cmp	w8, #2
	b.lt	LBB0_2
; %bb.1:
	ldr	w0, [x20, #32]
	ldr	x3, [x19, #24]
	ldr	x8, [x19, #40]
	add	x8, x3, x8
	sub	x4, x8, #1
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x19
	bl	_fprintf
LBB0_2:
	ldr	x0, [x19, #24]
	ldr	x1, [x19, #40]
	bl	_VALGRIND_MAKE_NOACCESS
	bl	_VALGRIND_DISCARD
	ldr	x0, [x19, #24]
	mov	x1, #0
	bl	_set_page_table_entry
	ldr	w8, [x20]
	cmp	w8, #2
	b.lt	LBB0_4
; %bb.3:
	ldr	x9, [x20, #24]
	sub	w8, w8, #1
	ldr	x21, [x9, w8, uxtw #3]
	ldrsw	x22, [x19]
	ldr	x8, [x19, #8]
	ldr	x9, [x21, #8]
	cmp	x8, x9
	cset	w0, eq
	bl	_gcc_assert
	ldr	x8, [x20, #24]
	str	x21, [x8, x22, lsl #3]
	ldr	x8, [x20, #16]
	ldrsw	x9, [x20]
	add	x9, x8, x9, lsl #2
	ldur	w9, [x9, #-4]
	str	w9, [x8, x22, lsl #2]
	str	w22, [x21]
	ldr	w8, [x20]
LBB0_4:
	sub	w8, w8, #1
	str	w8, [x20]
	bl	_adjust_depth
	ldr	x8, [x20, #8]
	str	x8, [x19, #16]
	str	x19, [x20, #8]
	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	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_GGC_DEBUG_LEVEL,4,2            ; @GGC_DEBUG_LEVEL
	.comm	_G,40,3                         ; @G
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Deallocating page at %p, data %p-%p\n"

	.no_dead_strip	_free_page
.subsections_via_symbols
