	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hts_stop                       ## -- Begin function hts_stop
	.p2align	4, 0x90
_hts_stop:                              ## @hts_stop
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_hts_stopped@GOTPCREL(%rip), %rbx
	cmpl	$0, (%rbx)
	jne	LBB0_4
## %bb.1:
	movq	_http_sfd@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	cmpl	$-1, %edi
	je	LBB0_3
## %bb.2:
	callq	_epoll_close
	movl	(%r14), %edi
	callq	_close
	movl	$-1, (%r14)
LBB0_3:
	movq	_precise_now@GOTPCREL(%rip), %rax
	movq	_SIGTERM_WAIT_TIMEOUT@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	addq	(%rax), %rcx
	movq	_sigterm_time@GOTPCREL(%rip), %rax
	movq	%rcx, (%rax)
	movl	$1, (%rbx)
LBB0_4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_hts_stopped,4,2                ## @hts_stopped
	.comm	_http_sfd,4,2                   ## @http_sfd
	.comm	_precise_now,8,3                ## @precise_now
	.comm	_SIGTERM_WAIT_TIMEOUT,8,3       ## @SIGTERM_WAIT_TIMEOUT
	.comm	_sigterm_time,8,3               ## @sigterm_time
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hts_stop                       ; -- Begin function hts_stop
	.p2align	2
_hts_stop:                              ; @hts_stop
	.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
Lloh0:
	adrp	x19, _hts_stopped@GOTPAGE
Lloh1:
	ldr	x19, [x19, _hts_stopped@GOTPAGEOFF]
	ldr	w8, [x19]
	cbnz	w8, LBB0_4
; %bb.1:
Lloh2:
	adrp	x20, _http_sfd@GOTPAGE
Lloh3:
	ldr	x20, [x20, _http_sfd@GOTPAGEOFF]
	ldr	w0, [x20]
	cmn	w0, #1
	b.eq	LBB0_3
; %bb.2:
	bl	_epoll_close
	ldr	w0, [x20]
	bl	_close
	mov	w8, #-1
	str	w8, [x20]
LBB0_3:
Lloh4:
	adrp	x8, _precise_now@GOTPAGE
Lloh5:
	ldr	x8, [x8, _precise_now@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
Lloh7:
	adrp	x9, _SIGTERM_WAIT_TIMEOUT@GOTPAGE
Lloh8:
	ldr	x9, [x9, _SIGTERM_WAIT_TIMEOUT@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	add	x8, x9, x8
Lloh10:
	adrp	x9, _sigterm_time@GOTPAGE
Lloh11:
	ldr	x9, [x9, _sigterm_time@GOTPAGEOFF]
Lloh12:
	str	x8, [x9]
	mov	w8, #1
	str	w8, [x19]
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotStr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_hts_stopped,4,2                ; @hts_stopped
	.comm	_http_sfd,4,2                   ; @http_sfd
	.comm	_precise_now,8,3                ; @precise_now
	.comm	_SIGTERM_WAIT_TIMEOUT,8,3       ; @SIGTERM_WAIT_TIMEOUT
	.comm	_sigterm_time,8,3               ; @sigterm_time
.subsections_via_symbols
