	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_news_queue                 ## -- Begin function get_news_queue
	.p2align	4, 0x90
_get_news_queue:                        ## @get_news_queue
	.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
	movl	%esi, %r14d
	movl	%edi, %ebx
	callq	_IS_UID
	movl	%ebx, %edi
	testl	%eax, %eax
	je	LBB0_4
## %bb.1:
	callq	_get_news_s
	movl	%eax, %edi
	movl	%r14d, %esi
	callq	_get_queue
	jmp	LBB0_2
LBB0_4:
	callq	_get_queue_by_alias
LBB0_2:
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_3
## %bb.5:
	testl	%r14d, %r14d
	jne	LBB0_7
## %bb.6:
	cmpq	$0, (%rbx)
	jne	LBB0_7
LBB0_3:
	xorl	%ebx, %ebx
	jmp	LBB0_11
LBB0_7:
	cmpq	$0, 8(%rbx)
	jne	LBB0_9
## %bb.8:
	xorl	%eax, %eax
	callq	_dl_get_memory_used
	movq	_queues_memory@GOTPCREL(%rip), %r15
	subl	%eax, (%r15)
	movl	$4, %edi
	callq	_dl_malloc
	movq	%rax, 8(%rbx)
	xorl	%eax, %eax
	callq	_dl_get_memory_used
	addl	%eax, (%r15)
	movq	8(%rbx), %rdi
	callq	_treap_init
LBB0_9:
	testl	%r14d, %r14d
	je	LBB0_11
## %bb.10:
	movq	%rbx, %rdi
	callq	_update_news
LBB0_11:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_queues_memory,4,2              ## @queues_memory
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_news_queue                 ; -- Begin function get_news_queue
	.p2align	2
_get_news_queue:                        ; @get_news_queue
	.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
	mov	x19, x1
	mov	x20, x0
	bl	_IS_UID
	cbz	w0, LBB0_2
; %bb.1:
	mov	x0, x20
	bl	_get_news_s
	mov	x1, x19
	bl	_get_queue
	mov	x20, x0
	cbnz	x0, LBB0_3
	b	LBB0_10
LBB0_2:
	mov	x0, x20
	bl	_get_queue_by_alias
	mov	x20, x0
	cbz	x0, LBB0_10
LBB0_3:
	cbnz	w19, LBB0_6
; %bb.4:
	ldr	x8, [x20]
	cbnz	x8, LBB0_6
; %bb.5:
	mov	x20, #0
	b	LBB0_10
LBB0_6:
	ldr	x8, [x20, #8]
	cbnz	x8, LBB0_8
; %bb.7:
	bl	_dl_get_memory_used
Lloh0:
	adrp	x21, _queues_memory@GOTPAGE
Lloh1:
	ldr	x21, [x21, _queues_memory@GOTPAGEOFF]
	ldr	w8, [x21]
	sub	w8, w8, w0
	str	w8, [x21]
	mov	w0, #4
	bl	_dl_malloc
	str	x0, [x20, #8]
	bl	_dl_get_memory_used
	ldr	w8, [x21]
	add	w8, w8, w0
	str	w8, [x21]
	ldr	x0, [x20, #8]
	bl	_treap_init
LBB0_8:
	cbz	w19, LBB0_10
; %bb.9:
	mov	x0, x20
	bl	_update_news
LBB0_10:
	mov	x0, x20
	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
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_queues_memory,4,2              ; @queues_memory
.subsections_via_symbols
