	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function free_chunk
_free_chunk:                            ## @free_chunk
	.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	%rdx, %r14
	movq	%rsi, %r12
	movq	%rdi, %r15
	movq	%rsi, %rdi
	callq	_SIZE_BIN_DOWN
	movq	%rax, %rbx
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	callq	_gcc_assert
	movq	_NUM_FREE_BINS@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	jbe	LBB0_2
## %bb.1:
	movq	%r15, %rdi
	movl	$16, %esi
	callq	_VALGRIND_MAKE_WRITABLE
	movl	%eax, %edi
	callq	_VALGRIND_DISCARD
	movq	%r12, (%r15)
	movq	8(%r14), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%r15)
	leaq	16(%r15), %rdi
	addl	$-16, %r12d
	movl	%r12d, %esi
	callq	_VALGRIND_MAKE_NOACCESS
	movl	%eax, %edi
	callq	_VALGRIND_DISCARD
	movq	8(%r14), %rax
	movq	%r15, (%rax)
	jmp	LBB0_4
LBB0_2:
	movq	%r15, %rdi
	movl	$8, %esi
	callq	_VALGRIND_MAKE_WRITABLE
	movl	%eax, %edi
	callq	_VALGRIND_DISCARD
	movq	8(%r14), %rax
	movq	(%rax,%rbx,8), %rax
	leaq	8(%r15), %rdi
	movq	%rax, 8(%r15)
	addl	$-8, %r12d
	movl	%r12d, %esi
	callq	_VALGRIND_MAKE_NOACCESS
	movl	%eax, %edi
	callq	_VALGRIND_DISCARD
	movq	8(%r14), %rax
	movq	%r15, (%rax,%rbx,8)
	cmpq	(%r14), %rbx
	jbe	LBB0_4
## %bb.3:
	movq	%rbx, (%r14)
LBB0_4:
	movq	_GGC_DEBUG_LEVEL@GOTPCREL(%rip), %rax
	cmpl	$3, (%rax)
	jl	LBB0_5
## %bb.6:
	movq	_G@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_fprintf                        ## TAILCALL
LBB0_5:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NUM_FREE_BINS,8,3              ## @NUM_FREE_BINS
	.comm	_GGC_DEBUG_LEVEL,4,2            ## @GGC_DEBUG_LEVEL
	.comm	_G,4,2                          ## @G
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Deallocating object, chunk=%p\n"

	.no_dead_strip	_free_chunk
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function free_chunk
_free_chunk:                            ; @free_chunk
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	mov	x0, x1
	bl	_SIZE_BIN_DOWN
	mov	x22, x0
	cmp	x0, #0
	cset	w0, ne
	bl	_gcc_assert
Lloh0:
	adrp	x8, _NUM_FREE_BINS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NUM_FREE_BINS@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	mov	x0, x19
	cmp	x22, x8
	b.ls	LBB0_2
; %bb.1:
	mov	w1, #16
	bl	_VALGRIND_MAKE_WRITABLE
	bl	_VALGRIND_DISCARD
	ldr	x8, [x20, #8]
	ldr	x8, [x8]
	stp	x21, x8, [x19]
	add	x0, x19, #16
	sub	w1, w21, #16
	bl	_VALGRIND_MAKE_NOACCESS
	bl	_VALGRIND_DISCARD
	ldr	x8, [x20, #8]
	str	x19, [x8]
	b	LBB0_4
LBB0_2:
	mov	w1, #8
	bl	_VALGRIND_MAKE_WRITABLE
	bl	_VALGRIND_DISCARD
	ldr	x8, [x20, #8]
	lsl	x23, x22, #3
	ldr	x8, [x8, x23]
	mov	x0, x19
	str	x8, [x0, #8]!
	sub	w1, w21, #8
	bl	_VALGRIND_MAKE_NOACCESS
	bl	_VALGRIND_DISCARD
	ldp	x9, x8, [x20]
	str	x19, [x8, x23]
	cmp	x22, x9
	b.ls	LBB0_4
; %bb.3:
	str	x22, [x20]
LBB0_4:
Lloh3:
	adrp	x8, _GGC_DEBUG_LEVEL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GGC_DEBUG_LEVEL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w8, #3
	b.lt	LBB0_6
; %bb.5:
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
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_fprintf
LBB0_6:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 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	_NUM_FREE_BINS,8,3              ; @NUM_FREE_BINS
	.comm	_GGC_DEBUG_LEVEL,4,2            ; @GGC_DEBUG_LEVEL
	.comm	_G,4,2                          ; @G
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Deallocating object, chunk=%p\n"

	.no_dead_strip	_free_chunk
.subsections_via_symbols
