	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_update_news                    ## -- Begin function update_news
	.p2align	4, 0x90
_update_news:                           ## @update_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movl	4(%rdi), %edi
	movl	$2, %esi
	callq	_qkey_get
	movq	%rax, %rbx
	movl	4(%r14), %esi
	leaq	L_.str(%rip), %rdi
	movq	%rax, %rdx
	callq	_dbg
	cmpq	$0, 40(%rbx)
	jne	LBB0_2
## %bb.1:
	movq	%r14, 40(%rbx)
	movq	$0, 48(%rbx)
	incl	(%r14)
	movq	$0, 24(%rbx)
	movl	$0, 32(%rbx)
	movq	_engine_id@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, %ecx
	shrl	$31, %ecx
	addl	%eax, %ecx
	andl	$-2, %ecx
	subl	%ecx, %eax
	leal	(%rax,%rax,4), %eax
	leal	20(,%rax,4), %eax
	movl	%eax, (%rbx)
	movq	$0, 8(%rbx)
	movl	$0, 16(%rbx)
LBB0_2:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_qkey_fix_timeout               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"update news [%s] mk = %p\n"

	.comm	_engine_id,4,2                  ## @engine_id
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_update_news                    ; -- Begin function update_news
	.p2align	2
_update_news:                           ; @update_news
	.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
	mov	x20, x0
	ldr	w0, [x0, #4]
	mov	w1, #2
	bl	_qkey_get
	mov	x19, x0
	ldr	w1, [x20, #4]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x2, x19
	bl	_dbg
	ldr	x8, [x19, #40]
	cbnz	x8, LBB0_2
; %bb.1:
	stp	x20, xzr, [x19, #40]
	ldr	w8, [x20]
	add	w8, w8, #1
	str	w8, [x20]
	str	xzr, [x19, #24]
	str	wzr, [x19, #32]
Lloh2:
	adrp	x8, _engine_id@GOTPAGE
Lloh3:
	ldr	x8, [x8, _engine_id@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	and	w9, w8, #0x1
	cmp	w8, #0
	cneg	w8, w9, lt
	mov	w9, #20
	mul	w8, w8, w9
	add	w8, w8, #20
	str	w8, [x19]
	str	xzr, [x19, #8]
	str	wzr, [x19, #16]
LBB0_2:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_qkey_fix_timeout
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"update news [%s] mk = %p\n"

	.comm	_engine_id,4,2                  ; @engine_id
.subsections_via_symbols
