	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_destroy                     ## -- Begin function ff_destroy
	.p2align	4, 0x90
_ff_destroy:                            ## @ff_destroy
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_ff_mutex@GOTPCREL(%rip), %rbx
	movq	%rbx, %rdi
	callq	_pthread_mutex_lock
	leaq	L_.str(%rip), %rsi
	movl	$2, %edi
	callq	_vkprintf
	movq	_ff_stop_server@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	movq	%rbx, %rdi
	callq	_pthread_mutex_unlock
	movq	_ff_server_thread@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_pthread_join
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_pthread_mutex_destroy          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ff_mutex,4,2                   ## @ff_mutex
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ff_destroy ()\n"

	.comm	_ff_stop_server,4,2             ## @ff_stop_server
	.comm	_ff_server_thread,4,2           ## @ff_server_thread
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_destroy                     ; -- Begin function ff_destroy
	.p2align	2
_ff_destroy:                            ; @ff_destroy
	.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
Lloh0:
	adrp	x19, _ff_mutex@GOTPAGE
Lloh1:
	ldr	x19, [x19, _ff_mutex@GOTPAGEOFF]
	mov	x0, x19
	bl	_pthread_mutex_lock
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #2
	bl	_vkprintf
Lloh4:
	adrp	x8, _ff_stop_server@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ff_stop_server@GOTPAGEOFF]
	mov	w9, #1
Lloh6:
	str	w9, [x8]
	mov	x0, x19
	bl	_pthread_mutex_unlock
Lloh7:
	adrp	x8, _ff_server_thread@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ff_server_thread@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	mov	x1, #0
	bl	_pthread_join
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_pthread_mutex_destroy
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotStr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_ff_mutex,4,2                   ; @ff_mutex
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ff_destroy ()\n"

	.comm	_ff_stop_server,4,2             ; @ff_stop_server
	.comm	_ff_server_thread,4,2           ; @ff_server_thread
.subsections_via_symbols
