	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_clearchain                     ## -- Begin function clearchain
	.p2align	4, 0x90
_clearchain:                            ## @clearchain
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_CLUST_FIRST@GOTPCREL(%rip), %r9
	cmpq	%rdx, (%r9)
	ja	LBB0_5
## %bb.1:
	movq	(%rdi), %r10
	movq	_CLUST_FREE@GOTPCREL(%rip), %r8
	movq	%rdx, %rdi
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%r10, %rdi
	jae	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	(%rdi,%rdi,2), %rax
	cmpq	%rdx, (%rsi,%rax,8)
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	(%rsi,%rax,8), %r11
	movq	8(%rsi,%rax,8), %rdi
	movq	(%r8), %rcx
	movq	%rcx, (%r11)
	movq	%rcx, 8(%rsi,%rax,8)
	movq	$0, 16(%rsi,%rax,8)
	cmpq	(%r9), %rdi
	jae	LBB0_2
LBB0_5:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CLUST_FIRST,8,3                ## @CLUST_FIRST
	.comm	_CLUST_FREE,8,3                 ## @CLUST_FREE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_clearchain                     ; -- Begin function clearchain
	.p2align	2
_clearchain:                            ; @clearchain
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _CLUST_FIRST@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CLUST_FIRST@GOTPAGEOFF]
	ldr	x9, [x8]
	cmp	x9, x2
	b.hi	LBB0_5
; %bb.1:
	ldr	x9, [x0]
	mov	w10, #24
Lloh2:
	adrp	x11, _CLUST_FREE@GOTPAGE
Lloh3:
	ldr	x11, [x11, _CLUST_FREE@GOTPAGEOFF]
	mov	x12, x2
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	cmp	x12, x9
	b.hs	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	madd	x13, x12, x10, x1
	ldr	x14, [x13]
	cmp	x14, x2
	b.ne	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	madd	x14, x12, x10, x1
	ldr	x12, [x14, #8]
	ldr	x15, [x11]
	str	x15, [x13]
	stp	x15, xzr, [x14, #8]
	ldr	x13, [x8]
	cmp	x12, x13
	b.hs	LBB0_2
LBB0_5:
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_CLUST_FIRST,8,3                ; @CLUST_FIRST
	.comm	_CLUST_FREE,8,3                 ; @CLUST_FREE
.subsections_via_symbols
