	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_init                        ## -- Begin function ff_init
	.p2align	4, 0x90
_ff_init:                               ## @ff_init
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	leaq	L_.str(%rip), %rsi
	movl	$2, %edi
	callq	_vkprintf
	movq	_ff_mutex@GOTPCREL(%rip), %rdi
	xorl	%esi, %esi
	callq	_pthread_mutex_init
	movq	_ff_start_server@GOTPCREL(%rip), %r14
	cmpq	$0, (%r14)
	je	LBB0_2
## %bb.1:
	leaq	-20(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_pthread_attr_init
	movq	_PTHREAD_CREATE_JOINABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_pthread_attr_setdetachstate
	movq	%rbx, %rdi
	movl	$4194304, %esi                  ## imm = 0x400000
	callq	_pthread_attr_setstacksize
	movq	_start_server@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_ff_server_thread@GOTPCREL(%rip), %rdi
	movq	%rbx, %rsi
	xorl	%ecx, %ecx
	callq	_pthread_create
	movq	%rbx, %rdi
	callq	_pthread_attr_destroy
	movq	$0, (%r14)
LBB0_2:
	xorl	%eax, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ff_init\n"

	.comm	_ff_mutex,4,2                   ## @ff_mutex
	.comm	_ff_start_server,8,3            ## @ff_start_server
	.comm	_PTHREAD_CREATE_JOINABLE,4,2    ## @PTHREAD_CREATE_JOINABLE
	.comm	_ff_server_thread,4,2           ## @ff_server_thread
	.comm	_start_server,4,2               ## @start_server
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_init                        ; -- Begin function ff_init
	.p2align	2
_ff_init:                               ; @ff_init
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #2
	bl	_vkprintf
Lloh2:
	adrp	x0, _ff_mutex@GOTPAGE
Lloh3:
	ldr	x0, [x0, _ff_mutex@GOTPAGEOFF]
	mov	x1, #0
	bl	_pthread_mutex_init
Lloh4:
	adrp	x19, _ff_start_server@GOTPAGE
Lloh5:
	ldr	x19, [x19, _ff_start_server@GOTPAGEOFF]
	ldr	x8, [x19]
	cbz	x8, LBB0_2
; %bb.1:
	add	x0, sp, #12
	bl	_pthread_attr_init
Lloh6:
	adrp	x8, _PTHREAD_CREATE_JOINABLE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PTHREAD_CREATE_JOINABLE@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	add	x0, sp, #12
	bl	_pthread_attr_setdetachstate
	add	x0, sp, #12
	mov	w1, #4194304
	bl	_pthread_attr_setstacksize
Lloh9:
	adrp	x8, _start_server@GOTPAGE
Lloh10:
	ldr	x8, [x8, _start_server@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
Lloh12:
	adrp	x0, _ff_server_thread@GOTPAGE
Lloh13:
	ldr	x0, [x0, _ff_server_thread@GOTPAGEOFF]
	add	x1, sp, #12
	mov	x3, #0
	bl	_pthread_create
	add	x0, sp, #12
	bl	_pthread_attr_destroy
	str	xzr, [x19]
LBB0_2:
	mov	x0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ff_init\n"

	.comm	_ff_mutex,4,2                   ; @ff_mutex
	.comm	_ff_start_server,8,3            ; @ff_start_server
	.comm	_PTHREAD_CREATE_JOINABLE,4,2    ; @PTHREAD_CREATE_JOINABLE
	.comm	_ff_server_thread,4,2           ; @ff_server_thread
	.comm	_start_server,4,2               ; @start_server
.subsections_via_symbols
