	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_update_answer_correct_mistake  ## -- Begin function update_answer_correct_mistake
	.p2align	4, 0x90
_update_answer_correct_mistake:         ## @update_answer_correct_mistake
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r14d
	movl	%edx, %r15d
	movl	%esi, %r12d
	callq	_get_id_by_hash
	testl	%eax, %eax
	je	LBB0_4
## %bb.1:
	movl	%eax, %ebx
	movq	_cur_id@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	je	LBB0_4
## %bb.2:
	movq	_ratings@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movslq	%ebx, %rax
	movq	(%rcx,%rax,8), %rcx
	movq	_lowest_rate@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jle	LBB0_4
## %bb.3:
	movq	_names_buff@GOTPCREL(%rip), %rcx
	movq	_names@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	(%rdx,%rax,8), %rdi
	addq	(%rcx), %rdi
	callq	_black_list_check
	testl	%eax, %eax
	je	LBB0_5
LBB0_4:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	_diff@GOTPCREL(%rip), %rax
	movl	%r12d, (%rax)
	movq	_A@GOTPCREL(%rip), %rax
	movl	%r15d, (%rax)
	movq	_B@GOTPCREL(%rip), %rax
	movl	%r14d, (%rax)
	movl	%ebx, %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_merge                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_cur_id,4,2                     ## @cur_id
	.comm	_ratings,8,3                    ## @ratings
	.comm	_lowest_rate,8,3                ## @lowest_rate
	.comm	_names_buff,8,3                 ## @names_buff
	.comm	_names,8,3                      ## @names
	.comm	_diff,4,2                       ## @diff
	.comm	_A,4,2                          ## @A
	.comm	_B,4,2                          ## @B
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_update_answer_correct_mistake  ; -- Begin function update_answer_correct_mistake
	.p2align	2
_update_answer_correct_mistake:         ; @update_answer_correct_mistake
	.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, x3
	mov	x20, x2
	mov	x21, x1
	bl	_get_id_by_hash
	cbz	w0, LBB0_4
; %bb.1:
	mov	x22, x0
Lloh0:
	adrp	x8, _cur_id@GOTPAGE
Lloh1:
	ldr	x8, [x8, _cur_id@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w0, w8
	b.eq	LBB0_4
; %bb.2:
Lloh3:
	adrp	x8, _ratings@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ratings@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	ldr	x8, [x8, w22, sxtw #3]
Lloh6:
	adrp	x9, _lowest_rate@GOTPAGE
Lloh7:
	ldr	x9, [x9, _lowest_rate@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.le	LBB0_4
; %bb.3:
	sxtw	x8, w22
Lloh9:
	adrp	x9, _names_buff@GOTPAGE
Lloh10:
	ldr	x9, [x9, _names_buff@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
Lloh12:
	adrp	x10, _names@GOTPAGE
Lloh13:
	ldr	x10, [x10, _names@GOTPAGEOFF]
Lloh14:
	ldr	x10, [x10]
	ldr	x8, [x10, x8, lsl #3]
	add	x0, x8, x9
	bl	_black_list_check
	cbz	w0, LBB0_5
LBB0_4:
	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
LBB0_5:
Lloh15:
	adrp	x8, _diff@GOTPAGE
Lloh16:
	ldr	x8, [x8, _diff@GOTPAGEOFF]
Lloh17:
	str	w21, [x8]
Lloh18:
	adrp	x8, _A@GOTPAGE
Lloh19:
	ldr	x8, [x8, _A@GOTPAGEOFF]
Lloh20:
	str	w20, [x8]
Lloh21:
	adrp	x8, _B@GOTPAGE
Lloh22:
	ldr	x8, [x8, _B@GOTPAGEOFF]
Lloh23:
	str	w19, [x8]
	mov	w0, w22
	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
	b	_merge
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotStr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotStr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotStr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_cur_id,4,2                     ; @cur_id
	.comm	_ratings,8,3                    ; @ratings
	.comm	_lowest_rate,8,3                ; @lowest_rate
	.comm	_names_buff,8,3                 ; @names_buff
	.comm	_names,8,3                      ; @names
	.comm	_diff,4,2                       ; @diff
	.comm	_A,4,2                          ; @A
	.comm	_B,4,2                          ; @B
.subsections_via_symbols
