	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_free_gather                    ## -- Begin function free_gather
	.p2align	4, 0x90
_free_gather:                           ## @free_gather
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	_active_write_threads@GOTPCREL(%rip), %rax
	cmpq	%rdi, (%rax)
	jne	LBB0_2
## %bb.1:
	movq	48(%rbx), %rcx
	movq	%rcx, (%rax)
LBB0_2:
	movq	40(%rbx), %rax
	movq	48(%rbx), %rcx
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	%rcx, (%rax)
LBB0_4:
	testq	%rcx, %rcx
	je	LBB0_6
## %bb.5:
	movq	%rax, 40(%rcx)
LBB0_6:
	movq	32(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.7:
	movq	24(%rbx), %rsi
	incq	%rsi
	callq	_tszfree
LBB0_8:
	movq	16(%rbx), %r14
	testq	%r14, %r14
	je	LBB0_10
## %bb.9:
	movq	%r14, %rdi
	callq	_strlen
	leaq	1(%rax), %rsi
	movq	%r14, %rdi
	callq	_tszfree
LBB0_10:
	movq	8(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_12
## %bb.11:
	movq	(%rbx), %rsi
	callq	_tszfree
LBB0_12:
	movq	%rbx, %rdi
	movl	$56, %esi
	callq	_zfree
	movq	_active_gathers@GOTPCREL(%rip), %rax
	decl	(%rax)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_active_write_threads,8,3       ## @active_write_threads
	.comm	_active_gathers,4,2             ## @active_gathers
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_free_gather                    ; -- Begin function free_gather
	.p2align	2
_free_gather:                           ; @free_gather
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, _active_write_threads@GOTPAGE
Lloh1:
	ldr	x8, [x8, _active_write_threads@GOTPAGEOFF]
	ldr	x9, [x8]
	cmp	x9, x0
	b.eq	LBB0_12
; %bb.1:
	ldp	x8, x9, [x19, #40]
	cbz	x8, LBB0_3
LBB0_2:
	str	x9, [x8]
LBB0_3:
	cbz	x9, LBB0_5
; %bb.4:
	str	x8, [x9, #40]
LBB0_5:
	ldr	x0, [x19, #32]
	cbz	x0, LBB0_7
; %bb.6:
	ldr	x8, [x19, #24]
	add	x1, x8, #1
	bl	_tszfree
LBB0_7:
	ldr	x20, [x19, #16]
	cbz	x20, LBB0_9
; %bb.8:
	mov	x0, x20
	bl	_strlen
	add	x1, x0, #1
	mov	x0, x20
	bl	_tszfree
LBB0_9:
	ldr	x0, [x19, #8]
	cbz	x0, LBB0_11
; %bb.10:
	ldr	x1, [x19]
	bl	_tszfree
LBB0_11:
	mov	x0, x19
	mov	w1, #56
	bl	_zfree
Lloh2:
	adrp	x8, _active_gathers@GOTPAGE
Lloh3:
	ldr	x8, [x8, _active_gathers@GOTPAGEOFF]
	ldr	w9, [x8]
	sub	w9, w9, #1
	str	w9, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_12:
	ldr	x9, [x19, #48]
	str	x9, [x8]
	ldp	x8, x9, [x19, #40]
	cbnz	x8, LBB0_2
	b	LBB0_3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_active_write_threads,8,3       ; @active_write_threads
	.comm	_active_gathers,4,2             ; @active_gathers
.subsections_via_symbols
