	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_unload_search_metafile         ## -- Begin function unload_search_metafile
	.p2align	4, 0x90
_unload_search_metafile:                ## @unload_search_metafile
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	callq	_get_user
	movq	%rax, %r15
	movq	_verbosity@GOTPCREL(%rip), %r12
	cmpl	$2, (%r12)
	jl	LBB0_2
## %bb.1:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdx
	callq	_fprintf
LBB0_2:
	testq	%r15, %r15
	je	LBB0_5
## %bb.3:
	movq	(%r15), %rbx
	testq	%rbx, %rbx
	je	LBB0_5
## %bb.4:
	cmpq	$0, 24(%rbx)
	je	LBB0_7
LBB0_5:
	xorl	%ebx, %ebx
	cmpl	$1, (%r12)
	jle	LBB0_10
## %bb.6:
	leaq	L_.str.1(%rip), %rsi
LBB0_9:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rdx
	callq	_fprintf
LBB0_10:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	16(%rbx), %rdi
	callq	_assert
	movq	8(%rbx), %rax
	movq	16(%rbx), %rcx
	movq	%rax, 8(%rcx)
	movq	%rcx, (%rax)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 8(%rbx)
	movl	(%rbx), %eax
	movq	_allocated_search_metafile_bytes@GOTPCREL(%rip), %rcx
	subl	%eax, (%rcx)
	movq	_cur_search_metafile_bytes@GOTPCREL(%rip), %rcx
	subl	%eax, (%rcx)
	movq	_cur_search_metafiles@GOTPCREL(%rip), %rax
	decl	(%rax)
	movq	%rbx, %rdi
	callq	_free
	movq	$0, (%r15)
	movl	$1, %ebx
	cmpl	$2, (%r12)
	jl	LBB0_10
## %bb.8:
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_verbosity,4,2                  ## @verbosity
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unload_search_metafile(%lld)\n"

L_.str.1:                               ## @.str.1
	.asciz	"cannot unload search metafile (%lld)\n"

	.comm	_allocated_search_metafile_bytes,4,2 ## @allocated_search_metafile_bytes
	.comm	_cur_search_metafile_bytes,4,2  ## @cur_search_metafile_bytes
	.comm	_cur_search_metafiles,4,2       ## @cur_search_metafiles
L_.str.2:                               ## @.str.2
	.asciz	"unload_search_metafile(%lld) END\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_unload_search_metafile         ; -- Begin function unload_search_metafile
	.p2align	2
_unload_search_metafile:                ; @unload_search_metafile
	.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
	bl	_get_user
	mov	x20, x0
Lloh0:
	adrp	x23, _verbosity@GOTPAGE
Lloh1:
	ldr	x23, [x23, _verbosity@GOTPAGEOFF]
	ldr	w8, [x23]
Lloh2:
	adrp	x22, _stderr@GOTPAGE
Lloh3:
	ldr	x22, [x22, _stderr@GOTPAGEOFF]
	cmp	w8, #2
	b.lt	LBB0_2
; %bb.1:
	ldr	w0, [x22]
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x19
	bl	_fprintf
LBB0_2:
	cbz	x20, LBB0_5
; %bb.3:
	ldr	x21, [x20]
	cbz	x21, LBB0_5
; %bb.4:
	ldr	x8, [x21, #24]
	cbz	x8, LBB0_9
LBB0_5:
	mov	w20, #0
	ldr	w8, [x23]
	cmp	w8, #1
	b.le	LBB0_8
; %bb.6:
Lloh6:
	adrp	x1, l_.str.1@PAGE
Lloh7:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_7:
	ldr	w0, [x22]
	mov	x2, x19
	bl	_fprintf
LBB0_8:
	mov	x0, x20
	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
	ret
LBB0_9:
	ldr	x0, [x21, #16]
	bl	_assert
	ldp	x8, x9, [x21, #8]
	str	x8, [x9, #8]
	str	x9, [x8]
	stp	xzr, xzr, [x21, #8]
	ldr	w8, [x21]
Lloh8:
	adrp	x9, _allocated_search_metafile_bytes@GOTPAGE
Lloh9:
	ldr	x9, [x9, _allocated_search_metafile_bytes@GOTPAGEOFF]
	ldr	w10, [x9]
	sub	w10, w10, w8
	str	w10, [x9]
Lloh10:
	adrp	x9, _cur_search_metafile_bytes@GOTPAGE
Lloh11:
	ldr	x9, [x9, _cur_search_metafile_bytes@GOTPAGEOFF]
	ldr	w10, [x9]
	sub	w8, w10, w8
	str	w8, [x9]
Lloh12:
	adrp	x8, _cur_search_metafiles@GOTPAGE
Lloh13:
	ldr	x8, [x8, _cur_search_metafiles@GOTPAGEOFF]
	ldr	w9, [x8]
	sub	w9, w9, #1
	str	w9, [x8]
	mov	x0, x21
	bl	_free
	str	xzr, [x20]
	ldr	w8, [x23]
	mov	w20, #1
	cmp	w8, #2
	b.lt	LBB0_8
; %bb.10:
Lloh14:
	adrp	x1, l_.str.2@PAGE
Lloh15:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_7
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_verbosity,4,2                  ; @verbosity
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unload_search_metafile(%lld)\n"

l_.str.1:                               ; @.str.1
	.asciz	"cannot unload search metafile (%lld)\n"

	.comm	_allocated_search_metafile_bytes,4,2 ; @allocated_search_metafile_bytes
	.comm	_cur_search_metafile_bytes,4,2  ; @cur_search_metafile_bytes
	.comm	_cur_search_metafiles,4,2       ; @cur_search_metafiles
l_.str.2:                               ; @.str.2
	.asciz	"unload_search_metafile(%lld) END\n"

.subsections_via_symbols
