	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_redirect_news                  ## -- Begin function redirect_news
	.p2align	4, 0x90
_redirect_news:                         ## @redirect_news
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, -64(%rbp)                 ## 4-byte Spill
	movq	%r8, -80(%rbp)                  ## 8-byte Spill
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movl	%edx, %r12d
	movl	%esi, %r14d
	xorl	%r15d, %r15d
	movl	%edi, -60(%rbp)                 ## 4-byte Spill
	xorl	%esi, %esi
	callq	_get_subscribers
	testq	%rax, %rax
	je	LBB0_25
## %bb.1:
	decl	-44(%rbp)                       ## 4-byte Folded Spill
	movl	(%rax), %edi
	movq	_sb@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rsi
	movq	_MAX_SUBSCR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_treap_conv_to_array
	movq	(%rbx), %rdi
	testl	%eax, %eax
	jle	LBB0_13
## %bb.2:
	movl	%eax, %ecx
	cmpl	$1, %eax
	jne	LBB0_4
## %bb.3:
	xorl	%eax, %eax
	xorl	%r15d, %r15d
LBB0_10:
	testb	$1, %cl
	je	LBB0_13
## %bb.11:
	movl	(%rdi,%rax,4), %eax
	movl	%eax, %ecx
	andl	%r14d, %ecx
	cmpl	%r12d, %ecx
	jne	LBB0_13
## %bb.12:
	movslq	%r15d, %rcx
	incl	%r15d
	movl	%eax, (%rdi,%rcx,4)
LBB0_13:
	movq	_sb2@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movl	%r15d, %esi
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	callq	_cnt_srt
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_15
## %bb.14:
	movq	_redirect_news_twice_cnt@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_STAT
LBB0_15:
	movq	_redirect_news_cnt@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_STAT
	movq	_redirect_news_len@GOTPCREL(%rip), %rax
	addl	%r15d, (%rax)
	testl	%r15d, %r15d
	js	LBB0_25
## %bb.16:
	movl	%r15d, %eax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	incl	%r15d
	movq	%r15, -96(%rbp)                 ## 8-byte Spill
	xorl	%ebx, %ebx
	movl	$0, -56(%rbp)                   ## 4-byte Folded Spill
	xorl	%r13d, %r13d
	movl	%r14d, -52(%rbp)                ## 4-byte Spill
	movl	%r12d, -48(%rbp)                ## 4-byte Spill
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_17 Depth=1
	movslq	%r13d, %r15
	movl	%ebx, %eax
	subl	%r13d, %eax
LBB0_22:                                ##   in Loop: Header=BB0_17 Depth=1
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%r15,4), %r10
	movl	-60(%rbp), %edi                 ## 4-byte Reload
	movl	%r14d, %esi
	movl	%r12d, %edx
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movq	-80(%rbp), %r8                  ## 8-byte Reload
	movl	-64(%rbp), %r9d                 ## 4-byte Reload
	pushq	%rax
	pushq	%r10
	callq	_redirect_news_
	addq	$16, %rsp
	movl	$1, -56(%rbp)                   ## 4-byte Folded Spill
	movl	%ebx, %r13d
LBB0_23:                                ##   in Loop: Header=BB0_17 Depth=1
	incq	%rbx
	cmpq	%rbx, -96(%rbp)                 ## 8-byte Folded Reload
	je	LBB0_24
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	cmpq	%rbx, -88(%rbp)                 ## 8-byte Folded Reload
	je	LBB0_18
## %bb.19:                              ##   in Loop: Header=BB0_17 Depth=1
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	movl	(%r14,%rbx,4), %edi
	callq	_dl_abs
	cltd
	movq	_engine_n@GOTPCREL(%rip), %rcx
	idivl	(%rcx)
	movl	%edx, %r12d
	movslq	%r13d, %r15
	movl	(%r14,%r15,4), %edi
	callq	_dl_abs
	cltd
	movq	_engine_n@GOTPCREL(%rip), %rcx
	idivl	(%rcx)
	movl	%ebx, %eax
	subl	%r15d, %eax
	cmpl	%edx, %r12d
	jne	LBB0_20
## %bb.21:                              ##   in Loop: Header=BB0_17 Depth=1
	cmpl	$50001, %eax                    ## imm = 0xC351
	movl	-48(%rbp), %r12d                ## 4-byte Reload
	movl	-52(%rbp), %r14d                ## 4-byte Reload
	jl	LBB0_23
	jmp	LBB0_22
LBB0_20:                                ##   in Loop: Header=BB0_17 Depth=1
	movl	-48(%rbp), %r12d                ## 4-byte Reload
	movl	-52(%rbp), %r14d                ## 4-byte Reload
	jmp	LBB0_22
LBB0_24:
	cmpl	$0, -56(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_25
## %bb.26:
	xorl	%eax, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_flush_news                     ## TAILCALL
LBB0_25:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movl	%ecx, %edx
	andl	$-2, %edx
	xorl	%eax, %eax
	xorl	%r15d, %r15d
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	addq	$2, %rax
	cmpq	%rax, %rdx
	je	LBB0_10
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rdi,%rax,4), %ebx
	movl	%ebx, %esi
	andl	%r14d, %esi
	cmpl	%r12d, %esi
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movslq	%r15d, %rsi
	incl	%r15d
	movl	%ebx, (%rdi,%rsi,4)
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	movl	4(%rdi,%rax,4), %ebx
	movl	%ebx, %esi
	andl	%r14d, %esi
	cmpl	%r12d, %esi
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movslq	%r15d, %rsi
	incl	%r15d
	movl	%ebx, (%rdi,%rsi,4)
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_sb,8,3                         ## @sb
	.comm	_MAX_SUBSCR,4,2                 ## @MAX_SUBSCR
	.comm	_sb2,8,3                        ## @sb2
	.comm	_redirect_news_twice_cnt,4,2    ## @redirect_news_twice_cnt
	.comm	_redirect_news_cnt,4,2          ## @redirect_news_cnt
	.comm	_redirect_news_len,4,2          ## @redirect_news_len
	.comm	_engine_n,4,2                   ## @engine_n
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_redirect_news                  ; -- Begin function redirect_news
	.p2align	2
_redirect_news:                         ; @redirect_news
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	str	w5, [sp, #24]                   ; 4-byte Folded Spill
	str	x4, [sp, #16]                   ; 8-byte Folded Spill
	mov	x24, x3
	mov	x21, x2
	mov	x22, x1
	str	w0, [sp, #12]                   ; 4-byte Folded Spill
	mov	w1, #0
	bl	_get_subscribers
	cbz	x0, LBB0_19
; %bb.1:
	sub	w8, w24, #1
	str	w8, [sp, #28]                   ; 4-byte Folded Spill
	ldr	w0, [x0]
Lloh0:
	adrp	x19, _sb@GOTPAGE
Lloh1:
	ldr	x19, [x19, _sb@GOTPAGEOFF]
	ldr	x1, [x19]
Lloh2:
	adrp	x8, _MAX_SUBSCR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MAX_SUBSCR@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	bl	_treap_conv_to_array
	mov	x8, x0
	ldr	x0, [x19]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.2:
	mov	w26, #0
	mov	w8, w8
	mov	x9, x0
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x9, x9, #4
	subs	x8, x8, #1
	b.eq	LBB0_7
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x9]
	and	w11, w10, w22
	cmp	w11, w21
	b.ne	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	str	w10, [x0, w26, sxtw #2]
	add	w26, w26, #1
	b	LBB0_3
LBB0_6:
	mov	w26, #0
LBB0_7:
Lloh5:
	adrp	x8, _sb2@GOTPAGE
Lloh6:
	ldr	x8, [x8, _sb2@GOTPAGEOFF]
Lloh7:
	ldr	x25, [x8]
	mov	x1, x26
	mov	x2, x25
	bl	_cnt_srt
	ldr	w8, [sp, #28]                   ; 4-byte Folded Reload
	cbnz	w8, LBB0_9
; %bb.8:
Lloh8:
	adrp	x8, _redirect_news_twice_cnt@GOTPAGE
Lloh9:
	ldr	x8, [x8, _redirect_news_twice_cnt@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	bl	_STAT
LBB0_9:
Lloh11:
	adrp	x8, _redirect_news_cnt@GOTPAGE
Lloh12:
	ldr	x8, [x8, _redirect_news_cnt@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	bl	_STAT
Lloh14:
	adrp	x8, _redirect_news_len@GOTPAGE
Lloh15:
	ldr	x8, [x8, _redirect_news_len@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, w26
	str	w9, [x8]
	tbnz	w26, #31, LBB0_19
; %bb.10:
	mov	x27, #0
	mov	w24, #0
	mov	w19, #0
	add	w28, w26, #1
Lloh16:
	adrp	x20, _engine_n@GOTPAGE
Lloh17:
	ldr	x20, [x20, _engine_n@GOTPAGEOFF]
	mov	w26, w26
	b	LBB0_14
LBB0_11:                                ;   in Loop: Header=BB0_14 Depth=1
	sxtw	x8, w19
	sub	w7, w27, w19
LBB0_12:                                ;   in Loop: Header=BB0_14 Depth=1
	mov	x19, x27
	add	x6, x25, x8, lsl #2
	ldr	w0, [sp, #12]                   ; 4-byte Folded Reload
	mov	x1, x22
	mov	x2, x21
	ldp	w5, w3, [sp, #24]               ; 8-byte Folded Reload
	ldr	x4, [sp, #16]                   ; 8-byte Folded Reload
	bl	_redirect_news_
	mov	w24, #1
LBB0_13:                                ;   in Loop: Header=BB0_14 Depth=1
	add	x27, x27, #1
	cmp	x28, x27
	b.eq	LBB0_17
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	cmp	x26, x27
	b.eq	LBB0_11
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=1
	ldr	w0, [x25, x27, lsl #2]
	bl	_dl_abs
	ldr	w8, [x20]
	sdiv	w9, w0, w8
	msub	w23, w9, w8, w0
	ldr	w0, [x25, w19, sxtw #2]
	bl	_dl_abs
	ldr	w8, [x20]
	sdiv	w9, w0, w8
	msub	w8, w9, w8, w0
	sub	w7, w27, w19
	cmp	w23, w8
	mov	w8, #50001
	ccmp	w7, w8, #0, eq
	b.lt	LBB0_13
; %bb.16:                               ;   in Loop: Header=BB0_14 Depth=1
                                        ; kill: def $w19 killed $w19 killed $x19 def $x19
	sxtw	x8, w19
	b	LBB0_12
LBB0_17:
	cbz	w24, LBB0_19
; %bb.18:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	b	_flush_news
LBB0_19:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_sb,8,3                         ; @sb
	.comm	_MAX_SUBSCR,4,2                 ; @MAX_SUBSCR
	.comm	_sb2,8,3                        ; @sb2
	.comm	_redirect_news_twice_cnt,4,2    ; @redirect_news_twice_cnt
	.comm	_redirect_news_cnt,4,2          ; @redirect_news_cnt
	.comm	_redirect_news_len,4,2          ; @redirect_news_len
	.comm	_engine_n,4,2                   ; @engine_n
.subsections_via_symbols
