	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dsa_trim                       ## -- Begin function dsa_trim
	.p2align	4, 0x90
_dsa_trim:                              ## @dsa_trim
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_DSA_NUM_SIZE_CLASSES@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	testl	%r13d, %r13d
	jle	LBB0_10
## %bb.1:
	movq	%rdi, %r15
	movq	_DSA_SCLASS_SPAN_LARGE@GOTPCREL(%rip), %rax
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%r14d, %esi
	callq	_DSA_SCLASS_LOCK
	movl	%eax, %edi
	callq	_LWLockRelease
	movq	_DSA_SCLASS_SPAN_LARGE@GOTPCREL(%rip), %rax
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$1, %r13
	movq	%r14, %r13
	jle	LBB0_10
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	leaq	-1(%r13), %r14
	cmpl	%r14d, (%rax)
	je	LBB0_9
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r15), %rax
	movq	(%rax), %r12
	movl	%r14d, %ebx
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_DSA_SCLASS_LOCK
	movq	_LW_EXCLUSIVE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_LWLockAcquire
	movq	(%r12,%rbx,8), %rax
	movl	4(%rax), %ebx
	movl	%ebx, %edi
	callq	_DsaPointerIsValid
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=2
	movl	%r12d, %edi
	callq	_DsaPointerIsValid
	movl	%r12d, %ebx
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r15, %rdi
	testq	%rax, %rax
	je	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=2
	movl	%ebx, %esi
	callq	_dsa_get_address
	movl	16(%rax), %r12d
	movq	(%rax), %rcx
	cmpq	8(%rax), %rcx
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=2
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_destroy_superblock
	jmp	LBB0_7
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DSA_NUM_SIZE_CLASSES,4,2       ## @DSA_NUM_SIZE_CLASSES
	.comm	_DSA_SCLASS_SPAN_LARGE,4,2      ## @DSA_SCLASS_SPAN_LARGE
	.comm	_LW_EXCLUSIVE,4,2               ## @LW_EXCLUSIVE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dsa_trim                       ; -- Begin function dsa_trim
	.p2align	2
_dsa_trim:                              ; @dsa_trim
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
Lloh0:
	adrp	x8, _DSA_NUM_SIZE_CLASSES@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DSA_NUM_SIZE_CLASSES@GOTPAGEOFF]
Lloh2:
	ldr	w23, [x8]
	cmp	w23, #1
	b.lt	LBB0_9
; %bb.1:
	mov	x19, x0
Lloh3:
	adrp	x24, _DSA_SCLASS_SPAN_LARGE@GOTPAGE
Lloh4:
	ldr	x24, [x24, _DSA_SCLASS_SPAN_LARGE@GOTPAGEOFF]
Lloh5:
	adrp	x25, _LW_EXCLUSIVE@GOTPAGE
Lloh6:
	ldr	x25, [x25, _LW_EXCLUSIVE@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	mov	x1, x20
	bl	_DSA_SCLASS_LOCK
	bl	_LWLockRelease
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	cmp	x23, #1
	mov	x23, x20
	b.le	LBB0_9
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
	sub	x20, x23, #1
	ldr	w8, [x24]
	cmp	w8, w20
	b.eq	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19]
	ldr	x21, [x8]
	mov	x0, x19
	mov	x1, x20
	bl	_DSA_SCLASS_LOCK
	ldr	w1, [x25]
	bl	_LWLockAcquire
	ldr	x8, [x21, w20, uxtw #3]
	ldr	w21, [x8, #4]
	mov	x0, x21
	bl	_DsaPointerIsValid
	cbnz	x0, LBB0_7
	b	LBB0_2
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=2
	mov	x0, x22
	bl	_DsaPointerIsValid
	mov	x21, x22
	cbz	x0, LBB0_2
LBB0_7:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x19
	mov	x1, x21
	bl	_dsa_get_address
	ldr	w22, [x0, #16]
	ldp	x8, x9, [x0]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=2
	mov	x0, x19
	mov	x1, x21
	bl	_destroy_superblock
	b	LBB0_6
LBB0_9:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_DSA_NUM_SIZE_CLASSES,4,2       ; @DSA_NUM_SIZE_CLASSES
	.comm	_DSA_SCLASS_SPAN_LARGE,4,2      ; @DSA_SCLASS_SPAN_LARGE
	.comm	_LW_EXCLUSIVE,4,2               ; @LW_EXCLUSIVE
.subsections_via_symbols
