	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ERR_clear_last_mark            ## -- Begin function ERR_clear_last_mark
	.p2align	4, 0x90
_ERR_clear_last_mark:                   ## @ERR_clear_last_mark
	.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
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_ERR_get_state
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movl	(%rax), %ecx
	movl	4(%rax), %edx
	cmpl	%ecx, %edx
	je	LBB0_6
## %bb.2:
	movq	8(%rax), %r8
	movq	_ERR_FLAG_MARK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ERR_NUM_ERRORS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movslq	%ecx, %rbx
	movl	(%r8,%rbx,4), %eax
	testl	%eax, %esi
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	testl	%ecx, %ecx
	cmovlel	%edi, %ecx
	decl	%ecx
	cmpl	%ecx, %edx
	jne	LBB0_3
	jmp	LBB0_6
LBB0_5:
	notl	%esi
	andl	%esi, %eax
	movl	%eax, (%r8,%rbx,4)
	movl	$1, %r14d
LBB0_6:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ERR_FLAG_MARK,4,2              ## @ERR_FLAG_MARK
	.comm	_ERR_NUM_ERRORS,4,2             ## @ERR_NUM_ERRORS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ERR_clear_last_mark            ; -- Begin function ERR_clear_last_mark
	.p2align	2
_ERR_clear_last_mark:                   ; @ERR_clear_last_mark
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	bl	_ERR_get_state
	cbz	x0, LBB0_7
; %bb.1:
	ldp	w11, w8, [x0]
	cmp	w8, w11
	b.eq	LBB0_5
; %bb.2:
	ldr	x9, [x0, #8]
Lloh0:
	adrp	x10, _ERR_FLAG_MARK@GOTPAGE
Lloh1:
	ldr	x10, [x10, _ERR_FLAG_MARK@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
Lloh3:
	adrp	x12, _ERR_NUM_ERRORS@GOTPAGE
Lloh4:
	ldr	x12, [x12, _ERR_NUM_ERRORS@GOTPAGEOFF]
Lloh5:
	ldr	w12, [x12]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	sxtw	x13, w11
	ldr	w11, [x9, w11, sxtw #2]
	tst	w10, w11
	b.ne	LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w13, #0
	csel	w11, w13, w12, gt
	sub	w11, w11, #1
	cmp	w8, w11
	b.ne	LBB0_3
LBB0_5:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_6:
	bic	w8, w11, w10
	str	w8, [x9, x13, lsl #2]
	mov	w0, #1
LBB0_7:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ERR_FLAG_MARK,4,2              ; @ERR_FLAG_MARK
	.comm	_ERR_NUM_ERRORS,4,2             ; @ERR_NUM_ERRORS
.subsections_via_symbols
