	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function process_news_comment
_process_news_comment:                  ## @process_news_comment
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_now@GOTPCREL(%rip), %r13
	movq	(%r13), %rax
	movq	_min_logevent_time@GOTPCREL(%rip), %rcx
	xorl	%r14d, %r14d
	cmpq	(%rcx), %rax
	jl	LBB0_5
## %bb.1:
	movq	%rdi, %rbx
	movzbl	(%rdi), %r15d
	movl	16(%rdi), %edx
	movl	20(%rdi), %esi
	movl	%r15d, %edi
	callq	_check_obj
	movl	$-1, %r14d
	testl	%eax, %eax
	je	LBB0_5
## %bb.2:
	movq	_COMM_MODE@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_5
## %bb.3:
	movq	_index_mode@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	movl	$0, %r14d
	jne	LBB0_5
## %bb.4:
	movl	16(%rbx), %edx
	movl	20(%rbx), %esi
	movl	$1, %r14d
	movl	%r15d, %edi
	movl	$1, %ecx
	callq	_get_place_f
	movq	%rax, %r15
	xorl	%eax, %eax
	callq	_new_comment
	movq	%rax, %r12
	movq	16(%r15), %rax
	movq	%rax, 40(%r12)
	movq	%r12, 32(%rax)
	movq	%r15, 32(%r12)
	movq	%r12, 16(%r15)
	incl	12(%r15)
	movq	(%r13), %rax
	movq	%rax, 8(%r12)
	xorl	%eax, %eax
	callq	_lrand48
                                        ## kill: def $eax killed $eax def $rax
	andl	$2147483647, %eax               ## imm = 0x7FFFFFFF
	movl	%eax, (%r12)
	movl	12(%rbx), %ecx
	movl	%ecx, 24(%r12)
	movl	8(%rbx), %ecx
	movl	%ecx, 20(%r12)
	movl	4(%rbx), %r9d
	movl	%r9d, 16(%r12)
	movl	8(%r15), %edx
	movl	(%r15), %r8d
	movl	4(%r15), %ecx
	leaq	L_.str(%rip), %rsi
	movl	$2, %edi
	pushq	%rax
	pushq	8(%r12)
	callq	_vkprintf
	addq	$16, %rsp
	movq	%r15, %rdi
	callq	_remove_old_comments
	movq	_items_removed_in_process_new@GOTPCREL(%rip), %rcx
	addl	%eax, (%rcx)
LBB0_5:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_now,8,3                        ## @now
	.comm	_min_logevent_time,8,3          ## @min_logevent_time
	.comm	_COMM_MODE,4,2                  ## @COMM_MODE
	.comm	_index_mode,8,3                 ## @index_mode
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"new comment stored: place=%d:%d:%d item=%d date=%d tag=%d\n"

	.comm	_items_removed_in_process_new,4,2 ## @items_removed_in_process_new
	.no_dead_strip	_process_news_comment
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function process_news_comment
_process_news_comment:                  ; @process_news_comment
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
Lloh0:
	adrp	x23, _now@GOTPAGE
Lloh1:
	ldr	x23, [x23, _now@GOTPAGEOFF]
	ldr	x8, [x23]
Lloh2:
	adrp	x9, _min_logevent_time@GOTPAGE
Lloh3:
	ldr	x9, [x9, _min_logevent_time@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.lt	LBB0_4
; %bb.1:
	mov	x20, x0
	ldrb	w21, [x0]
	ldp	w2, w1, [x0, #16]
	mov	x0, x21
	bl	_check_obj
Lloh5:
	adrp	x8, _COMM_MODE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _COMM_MODE@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	cmp	w0, #0
	ccmp	w8, #0, #4, ne
	b.ne	LBB0_3
; %bb.2:
	mov	w19, #-1
	b	LBB0_5
LBB0_3:
Lloh8:
	adrp	x8, _index_mode@GOTPAGE
Lloh9:
	ldr	x8, [x8, _index_mode@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	cbz	x8, LBB0_6
LBB0_4:
	mov	w19, #0
LBB0_5:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_6:
	ldp	w2, w1, [x20, #16]
	mov	w19, #1
	mov	x0, x21
	mov	w3, #1
	bl	_get_place_f
	mov	x21, x0
	bl	_new_comment
	mov	x22, x0
	ldr	x8, [x21, #16]
	str	x0, [x8, #32]
	stp	x21, x8, [x0, #32]
	str	x0, [x21, #16]
	ldr	w8, [x21, #12]
	add	w8, w8, #1
	str	w8, [x21, #12]
	ldr	x8, [x23]
	str	x8, [x0, #8]
	bl	_lrand48
	and	w7, w0, #0x7fffffff
	str	w7, [x22]
	ldr	w8, [x20, #12]
	str	w8, [x22, #24]
	ldur	d0, [x20, #4]
	str	d0, [x22, #16]
	ldp	w3, w2, [x21, #4]
	ldr	w4, [x21]
	ldr	x6, [x22, #8]
	fmov	w5, s0
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #2
	bl	_vkprintf
	mov	x0, x21
	bl	_remove_old_comments
Lloh13:
	adrp	x8, _items_removed_in_process_new@GOTPAGE
Lloh14:
	ldr	x8, [x8, _items_removed_in_process_new@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, w0
	str	w9, [x8]
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_now,8,3                        ; @now
	.comm	_min_logevent_time,8,3          ; @min_logevent_time
	.comm	_COMM_MODE,4,2                  ; @COMM_MODE
	.comm	_index_mode,8,3                 ; @index_mode
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"new comment stored: place=%d:%d:%d item=%d date=%d tag=%d\n"

	.comm	_items_removed_in_process_new,4,2 ; @items_removed_in_process_new
	.no_dead_strip	_process_news_comment
.subsections_via_symbols
