	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function unsharp_thread_close
_unsharp_thread_close:                  ## @unsharp_thread_close
	.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	%rdi, %r14
	movl	(%rdi), %eax
	testl	%eax, %eax
	jle	LBB0_21
## %bb.1:
	movq	16(%r14), %r12
	movl	(%r12), %ecx
	xorl	%r15d, %r15d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%r15
	movslq	%eax, %rdx
	cmpq	%rdx, %r15
	jge	LBB0_7
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	testl	%ecx, %ecx
	jle	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r14), %rax
	movq	(%rax,%r15,8), %r13
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%r13), %rax
	movq	(%rax,%rbx,8), %rdi
	callq	_free
	movq	(%r13), %rax
	movq	$0, (%rax,%rbx,8)
	incq	%rbx
	movslq	(%r12), %rcx
	leaq	(%rcx,%rcx), %rax
	cmpq	%rax, %rbx
	jl	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r14), %eax
	jmp	LBB0_6
LBB0_7:
	testl	%eax, %eax
	jle	LBB0_21
## %bb.8:
	movq	16(%r14), %r12
	movl	4(%r12), %ecx
	xorl	%r15d, %r15d
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_9 Depth=1
	incq	%r15
	movslq	%eax, %rdx
	cmpq	%rdx, %r15
	jge	LBB0_14
LBB0_9:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_11 Depth 2
	testl	%ecx, %ecx
	jle	LBB0_13
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	8(%r14), %rax
	movq	(%rax,%r15,8), %r13
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_11:                                ##   Parent Loop BB0_9 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	8(%r13), %rax
	movq	(%rax,%rbx,8), %rdi
	callq	_free
	movq	8(%r13), %rax
	movq	$0, (%rax,%rbx,8)
	incq	%rbx
	movslq	4(%r12), %rcx
	leaq	(%rcx,%rcx), %rax
	cmpq	%rax, %rbx
	jl	LBB0_11
## %bb.12:                              ##   in Loop: Header=BB0_9 Depth=1
	movl	(%r14), %eax
	jmp	LBB0_13
LBB0_14:
	testl	%eax, %eax
	jle	LBB0_21
## %bb.15:
	movq	16(%r14), %r12
	movl	8(%r12), %ecx
	xorl	%r15d, %r15d
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_16 Depth=1
	incq	%r15
	movslq	%eax, %rdx
	cmpq	%rdx, %r15
	jge	LBB0_21
LBB0_16:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_18 Depth 2
	testl	%ecx, %ecx
	jle	LBB0_20
## %bb.17:                              ##   in Loop: Header=BB0_16 Depth=1
	movq	8(%r14), %rax
	movq	(%rax,%r15,8), %r13
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_18:                                ##   Parent Loop BB0_16 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	16(%r13), %rax
	movq	(%rax,%rbx,8), %rdi
	callq	_free
	movq	16(%r13), %rax
	movq	$0, (%rax,%rbx,8)
	incq	%rbx
	movslq	8(%r12), %rcx
	leaq	(%rcx,%rcx), %rax
	cmpq	%rax, %rbx
	jl	LBB0_18
## %bb.19:                              ##   in Loop: Header=BB0_16 Depth=1
	movl	(%r14), %eax
	jmp	LBB0_20
LBB0_21:
	movq	8(%r14), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_free                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_unsharp_thread_close
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function unsharp_thread_close
_unsharp_thread_close:                  ; @unsharp_thread_close
	.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	x19, x0
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_21
; %bb.1:
	mov	x20, #0
	ldr	x21, [x19, #16]
	ldr	w9, [x21]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x20, x20, #1
	cmp	x20, w8, sxtw
	b.ge	LBB0_7
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
	cmp	w9, #1
	b.lt	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x22, #0
	ldr	x8, [x19, #8]
	ldr	x23, [x8, x20, lsl #3]
LBB0_5:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x23]
	lsl	x24, x22, #3
	ldr	x0, [x8, x24]
	bl	_free
	ldr	x8, [x23]
	str	xzr, [x8, x24]
	add	x22, x22, #1
	ldrsw	x9, [x21]
	cmp	x22, x9, lsl #1
	b.lt	LBB0_5
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x19]
	b	LBB0_2
LBB0_7:
	cmp	w8, #1
	b.lt	LBB0_21
; %bb.8:
	mov	x20, #0
	ldr	x21, [x19, #16]
	ldr	w9, [x21, #4]
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	add	x20, x20, #1
	cmp	x20, w8, sxtw
	b.ge	LBB0_14
LBB0_10:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_12 Depth 2
	cmp	w9, #1
	b.lt	LBB0_9
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x22, #0
	ldr	x8, [x19, #8]
	ldr	x23, [x8, x20, lsl #3]
LBB0_12:                                ;   Parent Loop BB0_10 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x23, #8]
	lsl	x24, x22, #3
	ldr	x0, [x8, x24]
	bl	_free
	ldr	x8, [x23, #8]
	str	xzr, [x8, x24]
	add	x22, x22, #1
	ldrsw	x9, [x21, #4]
	cmp	x22, x9, lsl #1
	b.lt	LBB0_12
; %bb.13:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	w8, [x19]
	b	LBB0_9
LBB0_14:
	cmp	w8, #1
	b.lt	LBB0_21
; %bb.15:
	mov	x20, #0
	ldr	x21, [x19, #16]
	ldr	w9, [x21, #8]
	b	LBB0_17
LBB0_16:                                ;   in Loop: Header=BB0_17 Depth=1
	add	x20, x20, #1
	cmp	x20, w8, sxtw
	b.ge	LBB0_21
LBB0_17:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_19 Depth 2
	cmp	w9, #1
	b.lt	LBB0_16
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=1
	mov	x22, #0
	ldr	x8, [x19, #8]
	ldr	x23, [x8, x20, lsl #3]
LBB0_19:                                ;   Parent Loop BB0_17 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x23, #16]
	lsl	x24, x22, #3
	ldr	x0, [x8, x24]
	bl	_free
	ldr	x8, [x23, #16]
	str	xzr, [x8, x24]
	add	x22, x22, #1
	ldrsw	x9, [x21, #8]
	cmp	x22, x9, lsl #1
	b.lt	LBB0_19
; %bb.20:                               ;   in Loop: Header=BB0_17 Depth=1
	ldr	w8, [x19]
	b	LBB0_16
LBB0_21:
	ldr	x0, [x19, #8]
	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	_free
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_unsharp_thread_close
.subsections_via_symbols
