	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function handle_signal_action
_handle_signal_action:                  ## @handle_signal_action
	.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
	cmpl	$130, %edi
	je	LBB0_3
## %bb.1:
	cmpl	$129, %edi
	je	LBB0_5
## %bb.2:
	cmpl	$128, %edi
	jne	LBB0_6
LBB0_3:
	movq	_stderr@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	callq	_fprintf
	movl	(%rbx), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_fprintf
	movq	_gwswriter@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_gwsreader@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_stop_ws_server
	movq	_conf@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	cmpl	$0, 4(%rax)
	je	LBB0_4
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_5:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_fprintf                        ## TAILCALL
LBB0_4:
	movq	_EXIT_SUCCESS@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_cleanup
	movl	(%rbx), %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\nSIGINT caught!\n"

L_.str.1:                               ## @.str.1
	.asciz	"Closing GoAccess...\n"

	.comm	_gwswriter,4,2                  ## @gwswriter
	.comm	_gwsreader,4,2                  ## @gwsreader
	.comm	_conf,8,2                       ## @conf
	.comm	_EXIT_SUCCESS,4,2               ## @EXIT_SUCCESS
L_.str.2:                               ## @.str.2
	.asciz	"SIGPIPE caught!\n"

	.no_dead_strip	_handle_signal_action
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function handle_signal_action
_handle_signal_action:                  ; @handle_signal_action
	.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
	cmp	w0, #130
	b.eq	LBB0_3
; %bb.1:
	cmp	w0, #129
	b.eq	LBB0_5
; %bb.2:
	cmp	w0, #128
	b.ne	LBB0_4
LBB0_3:
Lloh0:
	adrp	x19, _stderr@GOTPAGE
Lloh1:
	ldr	x19, [x19, _stderr@GOTPAGEOFF]
	ldr	w0, [x19]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
	ldr	w0, [x19]
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_fprintf
Lloh6:
	adrp	x8, _gwswriter@GOTPAGE
Lloh7:
	ldr	x8, [x8, _gwswriter@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x8, _gwsreader@GOTPAGE
Lloh10:
	ldr	x8, [x8, _gwsreader@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	bl	_stop_ws_server
Lloh12:
	adrp	x8, _conf@GOTPAGE
Lloh13:
	ldr	x8, [x8, _conf@GOTPAGEOFF]
	mov	w9, #1
	str	w9, [x8]
	ldr	w8, [x8, #4]
	cbz	w8, LBB0_6
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_5:
Lloh14:
	adrp	x8, _stderr@GOTPAGE
Lloh15:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
Lloh17:
	adrp	x1, l_.str.2@PAGE
Lloh18:
	add	x1, x1, l_.str.2@PAGEOFF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_fprintf
LBB0_6:
Lloh19:
	adrp	x19, _EXIT_SUCCESS@GOTPAGE
Lloh20:
	ldr	x19, [x19, _EXIT_SUCCESS@GOTPAGEOFF]
	ldr	w0, [x19]
	bl	_cleanup
	ldr	w0, [x19]
	bl	_exit
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\nSIGINT caught!\n"

l_.str.1:                               ; @.str.1
	.asciz	"Closing GoAccess...\n"

	.comm	_gwswriter,4,2                  ; @gwswriter
	.comm	_gwsreader,4,2                  ; @gwsreader
	.comm	_conf,8,2                       ; @conf
	.comm	_EXIT_SUCCESS,4,2               ; @EXIT_SUCCESS
l_.str.2:                               ; @.str.2
	.asciz	"SIGPIPE caught!\n"

	.no_dead_strip	_handle_signal_action
.subsections_via_symbols
