	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_client_start                   ## -- Begin function client_start
	.p2align	4, 0x90
_client_start:                          ## @client_start
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_client_enabled@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_3
## %bb.1:
	movq	_running@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	movq	_QUEUE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$1, %esi
	callq	_calloc
	movq	_queue@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	_qsize@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_mtx_plain@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_mutex@GOTPCREL(%rip), %rdi
	callq	_mtx_init
	movq	_recv_worker@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_recv_thread@GOTPCREL(%rip), %rdi
	xorl	%edx, %edx
	callq	_thrd_create
	movq	_thrd_success@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
LBB0_3:
	popq	%rbp
	retq
LBB0_2:
	callq	_client_start.cold.1
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.p2align	4, 0x90                         ## -- Begin function client_start.cold.1
_client_start.cold.1:                   ## @client_start.cold.1
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	leaq	L_.str(%rip), %rdi
	callq	_perror
	pushq	$1
	popq	%rdi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_client_enabled,4,2             ## @client_enabled
	.comm	_running,4,2                    ## @running
	.comm	_QUEUE_SIZE,4,2                 ## @QUEUE_SIZE
	.comm	_queue,8,3                      ## @queue
	.comm	_qsize,8,3                      ## @qsize
	.comm	_mutex,4,2                      ## @mutex
	.comm	_mtx_plain,4,2                  ## @mtx_plain
	.comm	_recv_thread,4,2                ## @recv_thread
	.comm	_recv_worker,4,2                ## @recv_worker
	.comm	_thrd_success,8,3               ## @thrd_success
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"thrd_create"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_client_start                   ; -- Begin function client_start
	.p2align	2
_client_start:                          ; @client_start
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _client_enabled@GOTPAGE
Lloh1:
	ldr	x8, [x8, _client_enabled@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cbz	w8, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _running@GOTPAGE
Lloh4:
	ldr	x8, [x8, _running@GOTPAGEOFF]
	mov	w9, #1
Lloh5:
	str	w9, [x8]
Lloh6:
	adrp	x8, _QUEUE_SIZE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _QUEUE_SIZE@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	mov	w1, #1
	bl	_calloc
Lloh9:
	adrp	x8, _queue@GOTPAGE
Lloh10:
	ldr	x8, [x8, _queue@GOTPAGEOFF]
Lloh11:
	str	x0, [x8]
Lloh12:
	adrp	x8, _qsize@GOTPAGE
Lloh13:
	ldr	x8, [x8, _qsize@GOTPAGEOFF]
Lloh14:
	str	xzr, [x8]
Lloh15:
	adrp	x8, _mtx_plain@GOTPAGE
Lloh16:
	ldr	x8, [x8, _mtx_plain@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
Lloh18:
	adrp	x0, _mutex@GOTPAGE
Lloh19:
	ldr	x0, [x0, _mutex@GOTPAGEOFF]
	bl	_mtx_init
Lloh20:
	adrp	x8, _recv_worker@GOTPAGE
Lloh21:
	ldr	x8, [x8, _recv_worker@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
Lloh23:
	adrp	x0, _recv_thread@GOTPAGE
Lloh24:
	ldr	x0, [x0, _recv_thread@GOTPAGEOFF]
	mov	x2, #0
	bl	_thrd_create
Lloh25:
	adrp	x8, _thrd_success@GOTPAGE
Lloh26:
	ldr	x8, [x8, _thrd_success@GOTPAGEOFF]
Lloh27:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_3
LBB0_2:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_3:
	bl	_client_start.cold.1
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotStr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotStr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotStr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.p2align	2                               ; -- Begin function client_start.cold.1
_client_start.cold.1:                   ; @client_start.cold.1
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh28:
	adrp	x0, l_.str@PAGE
Lloh29:
	add	x0, x0, l_.str@PAGEOFF
	bl	_perror
	mov	w0, #1
	bl	_exit
	.loh AdrpAdd	Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_client_enabled,4,2             ; @client_enabled
	.comm	_running,4,2                    ; @running
	.comm	_QUEUE_SIZE,4,2                 ; @QUEUE_SIZE
	.comm	_queue,8,3                      ; @queue
	.comm	_qsize,8,3                      ; @qsize
	.comm	_mutex,4,2                      ; @mutex
	.comm	_mtx_plain,4,2                  ; @mtx_plain
	.comm	_recv_thread,4,2                ; @recv_thread
	.comm	_recv_worker,4,2                ; @recv_worker
	.comm	_thrd_success,8,3               ; @thrd_success
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"thrd_create"

.subsections_via_symbols
