	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function connection_launch
_connection_launch:                     ## @connection_launch
	.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	%rdi, %rbx
	xorl	%eax, %eax
	callq	_fork
	testl	%eax, %eax
	jg	LBB0_15
## %bb.1:
	cmpl	$-1, %eax
	je	LBB0_16
## %bb.2:
	movq	_LOG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %edx
	leaq	L_.str.1(%rip), %rsi
	callq	_g_gate_log
	movq	_inqueue_mtx@GOTPCREL(%rip), %rdi
	xorl	%esi, %esi
	callq	_pthread_mutex_init
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movl	%eax, %edi
	callq	_strerror
	leaq	L_.str.2(%rip), %rdi
	movl	%eax, %esi
	callq	_g_gate_xlog
LBB0_4:
	movq	_inqueue_cond@GOTPCREL(%rip), %rdi
	xorl	%esi, %esi
	callq	_pthread_cond_init
	testl	%eax, %eax
	je	LBB0_6
## %bb.5:
	movl	%eax, %edi
	callq	_strerror
	leaq	L_.str.3(%rip), %rdi
	movl	%eax, %esi
	callq	_g_gate_xlog
LBB0_6:
	movq	_outqueue_mtx@GOTPCREL(%rip), %rdi
	xorl	%esi, %esi
	callq	_pthread_mutex_init
	testl	%eax, %eax
	je	LBB0_8
## %bb.7:
	movl	%eax, %edi
	callq	_strerror
	leaq	L_.str.4(%rip), %rdi
	movl	%eax, %esi
	callq	_g_gate_xlog
LBB0_8:
	movq	_outqueue_cond@GOTPCREL(%rip), %rdi
	xorl	%esi, %esi
	callq	_pthread_cond_init
	testl	%eax, %eax
	je	LBB0_10
## %bb.9:
	movl	%eax, %edi
	callq	_strerror
	leaq	L_.str.5(%rip), %rdi
	movl	%eax, %esi
	callq	_g_gate_xlog
LBB0_10:
	movq	_send_thread@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-12(%rbp), %rdi
	xorl	%esi, %esi
	movq	%rbx, %rcx
	callq	_pthread_create
	testl	%eax, %eax
	je	LBB0_12
## %bb.11:
	movl	%eax, %edi
	callq	_strerror
	leaq	L_.str.6(%rip), %rdi
	movl	%eax, %esi
	callq	_g_gate_xlog
LBB0_12:
	movq	_recv_thread@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-12(%rbp), %rdi
	xorl	%esi, %esi
	movq	%rbx, %rcx
	callq	_pthread_create
	testl	%eax, %eax
	je	LBB0_14
## %bb.13:
	movl	%eax, %edi
	callq	_strerror
	leaq	L_.str.7(%rip), %rdi
	movl	%eax, %esi
	callq	_g_gate_xlog
LBB0_14:
	movq	%rbx, %rdi
	callq	_disk_thread
LBB0_15:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_16:
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edi
	movl	%eax, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_g_gate_log                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_LOG_ERR,4,2                    ## @LOG_ERR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Cannot fork: %s."

	.comm	_errno,4,2                      ## @errno
	.comm	_LOG_DEBUG,4,2                  ## @LOG_DEBUG
L_.str.1:                               ## @.str.1
	.asciz	"Process created [%s]."

	.comm	_inqueue_mtx,4,2                ## @inqueue_mtx
L_.str.2:                               ## @.str.2
	.asciz	"pthread_mutex_init(inqueue_mtx): %s."

	.comm	_inqueue_cond,4,2               ## @inqueue_cond
L_.str.3:                               ## @.str.3
	.asciz	"pthread_cond_init(inqueue_cond): %s."

	.comm	_outqueue_mtx,4,2               ## @outqueue_mtx
L_.str.4:                               ## @.str.4
	.asciz	"pthread_mutex_init(outqueue_mtx): %s."

	.comm	_outqueue_cond,4,2              ## @outqueue_cond
L_.str.5:                               ## @.str.5
	.asciz	"pthread_cond_init(outqueue_cond): %s."

	.comm	_send_thread,4,2                ## @send_thread
L_.str.6:                               ## @.str.6
	.asciz	"pthread_create(send_thread): %s."

	.comm	_recv_thread,4,2                ## @recv_thread
L_.str.7:                               ## @.str.7
	.asciz	"pthread_create(recv_thread): %s."

	.no_dead_strip	_connection_launch
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function connection_launch
_connection_launch:                     ; @connection_launch
	.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
	mov	x19, x0
	bl	_fork
	cmp	w0, #0
	b.gt	LBB0_15
; %bb.1:
	cmn	w0, #1
	b.eq	LBB0_16
; %bb.2:
Lloh0:
	adrp	x8, _LOG_DEBUG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LOG_DEBUG@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldr	w2, [x19]
Lloh3:
	adrp	x1, l_.str.1@PAGE
Lloh4:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_g_gate_log
Lloh5:
	adrp	x0, _inqueue_mtx@GOTPAGE
Lloh6:
	ldr	x0, [x0, _inqueue_mtx@GOTPAGEOFF]
	mov	x1, #0
	bl	_pthread_mutex_init
	cbz	w0, LBB0_4
; %bb.3:
	bl	_strerror
	mov	x1, x0
Lloh7:
	adrp	x0, l_.str.2@PAGE
Lloh8:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_g_gate_xlog
LBB0_4:
Lloh9:
	adrp	x0, _inqueue_cond@GOTPAGE
Lloh10:
	ldr	x0, [x0, _inqueue_cond@GOTPAGEOFF]
	mov	x1, #0
	bl	_pthread_cond_init
	cbz	w0, LBB0_6
; %bb.5:
	bl	_strerror
	mov	x1, x0
Lloh11:
	adrp	x0, l_.str.3@PAGE
Lloh12:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_g_gate_xlog
LBB0_6:
Lloh13:
	adrp	x0, _outqueue_mtx@GOTPAGE
Lloh14:
	ldr	x0, [x0, _outqueue_mtx@GOTPAGEOFF]
	mov	x1, #0
	bl	_pthread_mutex_init
	cbz	w0, LBB0_8
; %bb.7:
	bl	_strerror
	mov	x1, x0
Lloh15:
	adrp	x0, l_.str.4@PAGE
Lloh16:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_g_gate_xlog
LBB0_8:
Lloh17:
	adrp	x0, _outqueue_cond@GOTPAGE
Lloh18:
	ldr	x0, [x0, _outqueue_cond@GOTPAGEOFF]
	mov	x1, #0
	bl	_pthread_cond_init
	cbz	w0, LBB0_10
; %bb.9:
	bl	_strerror
	mov	x1, x0
Lloh19:
	adrp	x0, l_.str.5@PAGE
Lloh20:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_g_gate_xlog
LBB0_10:
Lloh21:
	adrp	x8, _send_thread@GOTPAGE
Lloh22:
	ldr	x8, [x8, _send_thread@GOTPAGEOFF]
Lloh23:
	ldr	w2, [x8]
	add	x0, sp, #12
	mov	x1, #0
	mov	x3, x19
	bl	_pthread_create
	cbz	w0, LBB0_12
; %bb.11:
	bl	_strerror
	mov	x1, x0
Lloh24:
	adrp	x0, l_.str.6@PAGE
Lloh25:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_g_gate_xlog
LBB0_12:
Lloh26:
	adrp	x8, _recv_thread@GOTPAGE
Lloh27:
	ldr	x8, [x8, _recv_thread@GOTPAGEOFF]
Lloh28:
	ldr	w2, [x8]
	add	x0, sp, #12
	mov	x1, #0
	mov	x3, x19
	bl	_pthread_create
	cbz	w0, LBB0_14
; %bb.13:
	bl	_strerror
	mov	x1, x0
Lloh29:
	adrp	x0, l_.str.7@PAGE
Lloh30:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_g_gate_xlog
LBB0_14:
	mov	x0, x19
	bl	_disk_thread
LBB0_15:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_16:
Lloh31:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh32:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh33:
	ldr	w19, [x8]
Lloh34:
	adrp	x8, _errno@GOTPAGE
Lloh35:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh36:
	ldr	w0, [x8]
	bl	_strerror
	mov	x2, x0
Lloh37:
	adrp	x1, l_.str@PAGE
Lloh38:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_g_gate_log
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.cfi_endproc
                                        ; -- End function
	.comm	_LOG_ERR,4,2                    ; @LOG_ERR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Cannot fork: %s."

	.comm	_errno,4,2                      ; @errno
	.comm	_LOG_DEBUG,4,2                  ; @LOG_DEBUG
l_.str.1:                               ; @.str.1
	.asciz	"Process created [%s]."

	.comm	_inqueue_mtx,4,2                ; @inqueue_mtx
l_.str.2:                               ; @.str.2
	.asciz	"pthread_mutex_init(inqueue_mtx): %s."

	.comm	_inqueue_cond,4,2               ; @inqueue_cond
l_.str.3:                               ; @.str.3
	.asciz	"pthread_cond_init(inqueue_cond): %s."

	.comm	_outqueue_mtx,4,2               ; @outqueue_mtx
l_.str.4:                               ; @.str.4
	.asciz	"pthread_mutex_init(outqueue_mtx): %s."

	.comm	_outqueue_cond,4,2              ; @outqueue_cond
l_.str.5:                               ; @.str.5
	.asciz	"pthread_cond_init(outqueue_cond): %s."

	.comm	_send_thread,4,2                ; @send_thread
l_.str.6:                               ; @.str.6
	.asciz	"pthread_create(send_thread): %s."

	.comm	_recv_thread,4,2                ; @recv_thread
l_.str.7:                               ; @.str.7
	.asciz	"pthread_create(recv_thread): %s."

	.no_dead_strip	_connection_launch
.subsections_via_symbols
