	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_standard_output
_set_standard_output:                   ## @set_standard_output
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%eax, %eax
	callq	_new_gwswriter
	movq	_gwswriter@GOTPCREL(%rip), %r14
	movl	%eax, (%r14)
	xorl	%eax, %eax
	callq	_new_gwsreader
	movq	_gwsreader@GOTPCREL(%rip), %r15
	movq	%rax, (%r15)
	leaq	L_.str(%rip), %rsi
	xorl	%edi, %edi
	xorl	%edx, %edx
	callq	_find_output_type
	testq	%rax, %rax
	sete	%al
	movq	_conf@GOTPCREL(%rip), %rbx
	cmpq	$0, (%rbx)
	sete	%cl
	orb	%al, %cl
	cmpb	$1, %cl
	jne	LBB0_6
## %bb.1:
	cmpq	$0, 16(%rbx)
	je	LBB0_6
## %bb.2:
	xorl	%eax, %eax
	callq	_open_fifoout
	movq	(%r15), %rsi
	movl	%eax, (%rsi)
	cmpl	$-1, %eax
	je	LBB0_7
## %bb.3:
	cmpq	$0, 8(%rbx)
	je	LBB0_5
## %bb.4:
	xorl	%eax, %eax
	callq	_daemonize
	movq	(%r15), %rsi
LBB0_5:
	movl	(%r14), %edi
	callq	_setup_ws_server
LBB0_6:
	xorl	%eax, %eax
	callq	_setup_thread_signals
	movq	_parsing_spinner@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ui_spinner_create              ## TAILCALL
LBB0_7:
	leaq	L_.str.1(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_LOG                            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_gwswriter,4,2                  ## @gwswriter
	.comm	_gwsreader,8,3                  ## @gwsreader
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"html"

	.comm	_conf,24,3                      ## @conf
L_.str.1:                               ## @.str.1
	.asciz	"Unable to open FIFO for read.\n"

	.comm	_parsing_spinner,4,2            ## @parsing_spinner
	.no_dead_strip	_set_standard_output
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_standard_output
_set_standard_output:                   ; @set_standard_output
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	bl	_new_gwswriter
Lloh0:
	adrp	x19, _gwswriter@GOTPAGE
Lloh1:
	ldr	x19, [x19, _gwswriter@GOTPAGEOFF]
	str	w0, [x19]
	bl	_new_gwsreader
Lloh2:
	adrp	x20, _gwsreader@GOTPAGE
Lloh3:
	ldr	x20, [x20, _gwsreader@GOTPAGEOFF]
	str	x0, [x20]
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, #0
	mov	w2, #0
	bl	_find_output_type
Lloh6:
	adrp	x21, _conf@GOTPAGE
Lloh7:
	ldr	x21, [x21, _conf@GOTPAGEOFF]
	ldr	x8, [x21]
	cmp	x8, #0
	ccmp	x0, #0, #4, ne
	ldr	x8, [x21, #16]
	ccmp	x8, #0, #4, eq
	b.eq	LBB0_5
; %bb.1:
	bl	_open_fifoout
	ldr	x1, [x20]
	str	w0, [x1]
	cmn	w0, #1
	b.eq	LBB0_6
; %bb.2:
	ldr	x8, [x21, #8]
	cbz	x8, LBB0_4
; %bb.3:
	bl	_daemonize
	ldr	x1, [x20]
LBB0_4:
	ldr	w0, [x19]
	bl	_setup_ws_server
LBB0_5:
	bl	_setup_thread_signals
Lloh8:
	adrp	x8, _parsing_spinner@GOTPAGE
Lloh9:
	ldr	x8, [x8, _parsing_spinner@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_ui_spinner_create
LBB0_6:
Lloh11:
	adrp	x0, l_.str.1@PAGE
Lloh12:
	add	x0, x0, l_.str.1@PAGEOFF
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_LOG
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_gwswriter,4,2                  ; @gwswriter
	.comm	_gwsreader,8,3                  ; @gwsreader
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"html"

	.comm	_conf,24,3                      ; @conf
l_.str.1:                               ; @.str.1
	.asciz	"Unable to open FIFO for read.\n"

	.comm	_parsing_spinner,4,2            ; @parsing_spinner
	.no_dead_strip	_set_standard_output
.subsections_via_symbols
