	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_update_answer_mistakes         ## -- Begin function update_answer_mistakes
	.p2align	4, 0x90
_update_answer_mistakes:                ## @update_answer_mistakes
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	callq	_get_id_by_hash
	movl	%eax, %ebx
	movq	_mark@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movslq	%ebx, %rax
	cmpl	$0, (%rcx,%rax,4)
	jne	LBB0_10
## %bb.1:
	movq	_ratings@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx,%rax,8), %rcx
	movq	_lowest_rate@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jle	LBB0_10
## %bb.2:
	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
	jne	LBB0_10
## %bb.3:
	movq	_mistakes_cnt@GOTPCREL(%rip), %rax
	movslq	(%rax), %rcx
	movl	%ecx, %edx
	testq	%rcx, %rcx
	jle	LBB0_4
## %bb.6:
	movq	_mistakes@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rdi
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	(%rdi,%rsi,4), %ebx
	je	LBB0_5
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	incq	%rsi
	cmpq	%rsi, %rdx
	jne	LBB0_7
	jmp	LBB0_9
LBB0_4:
	xorl	%esi, %esi
LBB0_5:
	cmpl	%edx, %esi
	jne	LBB0_10
LBB0_9:
	movq	_mistakes@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	leal	1(%rcx), %esi
	movl	%esi, (%rax)
	movl	%ebx, (%rdx,%rcx,4)
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_mark,8,3                       ## @mark
	.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	_mistakes_cnt,4,2               ## @mistakes_cnt
	.comm	_mistakes,8,3                   ## @mistakes
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_update_answer_mistakes         ; -- Begin function update_answer_mistakes
	.p2align	2
_update_answer_mistakes:                ; @update_answer_mistakes
	.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
	bl	_get_id_by_hash
Lloh0:
	adrp	x8, _mark@GOTPAGE
Lloh1:
	ldr	x8, [x8, _mark@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	w8, [x8, w0, sxtw #2]
	cbnz	w8, LBB0_10
; %bb.1:
	mov	x19, x0
	sxtw	x8, w19
Lloh3:
	adrp	x9, _ratings@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ratings@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	ldr	x9, [x9, x8, lsl #3]
Lloh6:
	adrp	x10, _lowest_rate@GOTPAGE
Lloh7:
	ldr	x10, [x10, _lowest_rate@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x10]
	cmp	x9, x10
	b.le	LBB0_10
; %bb.2:
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
	cbnz	w0, LBB0_10
; %bb.3:
Lloh15:
	adrp	x8, _mistakes_cnt@GOTPAGE
Lloh16:
	ldr	x8, [x8, _mistakes_cnt@GOTPAGEOFF]
	ldr	w9, [x8]
Lloh17:
	adrp	x10, _mistakes@GOTPAGE
Lloh18:
	ldr	x10, [x10, _mistakes@GOTPAGEOFF]
	cmp	w9, #1
	b.lt	LBB0_7
; %bb.4:
	mov	x11, #0
	ldr	x12, [x10]
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w13, [x12, x11, lsl #2]
	cmp	w19, w13
	b.eq	LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x11, x11, #1
	cmp	x9, x11
	b.ne	LBB0_5
	b	LBB0_9
LBB0_7:
	mov	w11, #0
LBB0_8:
	cmp	w11, w9
	b.ne	LBB0_10
LBB0_9:
	sxtw	x9, w9
	ldr	x10, [x10]
	add	w11, w9, #1
	str	w11, [x8]
	str	w19, [x10, x9, lsl #2]
LBB0_10:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.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 AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_mark,8,3                       ; @mark
	.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	_mistakes_cnt,4,2               ; @mistakes_cnt
	.comm	_mistakes,8,3                   ; @mistakes
.subsections_via_symbols
