	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function free_gather
_free_gather:                           ## @free_gather
	.cfi_startproc
## %bb.0:
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	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	_GD_MAGIC_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	(%rdi), %eax
	movq	_GD_MAGIC@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpl	(%rcx), %eax
	sete	%dil
	callq	_assert
	movl	$0, (%rbx)
	movq	_active_gathers@GOTPCREL(%rip), %r14
	xorl	%edi, %edi
	cmpq	$0, (%r14)
	setg	%dil
	callq	_assert
	movq	8(%rbx), %rax
	movq	16(%rbx), %rcx
	movq	%rcx, (%rax)
	movq	%rax, (%rcx)
	decq	(%r14)
	popq	%rbx
	popq	%r14
	popq	%rbp
LBB0_2:
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GD_MAGIC_MASK,4,2              ## @GD_MAGIC_MASK
	.comm	_GD_MAGIC,4,2                   ## @GD_MAGIC
	.comm	_active_gathers,8,3             ## @active_gathers
	.no_dead_strip	_free_gather
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function free_gather
_free_gather:                           ; @free_gather
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_2
; %bb.1:
	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
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _GD_MAGIC_MASK@GOTPAGE
Lloh1:
	ldr	x9, [x9, _GD_MAGIC_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	and	w8, w9, w8
Lloh3:
	adrp	x9, _GD_MAGIC@GOTPAGE
Lloh4:
	ldr	x9, [x9, _GD_MAGIC@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, w9
	cset	w0, eq
	bl	_assert
	str	wzr, [x19]
Lloh6:
	adrp	x20, _active_gathers@GOTPAGE
Lloh7:
	ldr	x20, [x20, _active_gathers@GOTPAGEOFF]
	ldr	x8, [x20]
	cmp	x8, #0
	cset	w0, gt
	bl	_assert
	ldp	x9, x8, [x19, #8]
	str	x8, [x9]
	str	x9, [x8]
	ldr	x8, [x20]
	sub	x8, x8, #1
	str	x8, [x20]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
LBB0_2:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	.cfi_same_value w19
	.cfi_same_value w20
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_GD_MAGIC_MASK,4,2              ; @GD_MAGIC_MASK
	.comm	_GD_MAGIC,4,2                   ; @GD_MAGIC
	.comm	_active_gathers,8,3             ; @active_gathers
	.no_dead_strip	_free_gather
.subsections_via_symbols
