	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function count_invalid
_count_invalid:                         ## @count_invalid
	.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
	movq	%rdi, %rbx
	incq	(%rdi)
	movq	_conf@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.1:
	movq	%rsi, %rdi
	callq	_LOG_INVALID
LBB0_2:
	movq	8(%rbx), %rax
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.3:
	movq	_MAX_LOG_ERRORS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%rax, (%rbx)
	jge	LBB0_7
## %bb.4:
	cmpq	$0, 24(%rbx)
	jne	LBB0_6
## %bb.5:
	movq	%rax, %rdi
	movl	$8, %esi
	callq	_xcalloc
	movq	%rax, 24(%rbx)
	movq	8(%rbx), %rax
	movq	(%rax), %rdi
LBB0_6:
	callq	_xstrdup
	movq	24(%rbx), %rcx
	movslq	16(%rbx), %rdx
	leal	1(%rdx), %esi
	movl	%esi, 16(%rbx)
	movl	%eax, (%rcx,%rdx,4)
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_conf,8,3                       ## @conf
	.comm	_MAX_LOG_ERRORS,8,3             ## @MAX_LOG_ERRORS
	.no_dead_strip	_count_invalid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function count_invalid
_count_invalid:                         ; @count_invalid
	.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	x19, x0
	ldr	x8, [x0]
	add	x8, x8, #1
	str	x8, [x0]
Lloh0:
	adrp	x8, _conf@GOTPAGE
Lloh1:
	ldr	x8, [x8, _conf@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x0, x1
	bl	_LOG_INVALID
LBB0_2:
	ldr	x8, [x19, #8]
	ldr	x0, [x8]
	cbz	x0, LBB0_7
; %bb.3:
	ldr	x9, [x19]
Lloh3:
	adrp	x8, _MAX_LOG_ERRORS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAX_LOG_ERRORS@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x9, x8
	b.ge	LBB0_7
; %bb.4:
	ldr	x9, [x19, #24]
	cbnz	x9, LBB0_6
; %bb.5:
	mov	x0, x8
	mov	w1, #8
	bl	_xcalloc
	str	x0, [x19, #24]
	ldr	x8, [x19, #8]
	ldr	x0, [x8]
LBB0_6:
	bl	_xstrdup
	ldr	x8, [x19, #24]
	ldrsw	x9, [x19, #16]
	add	w10, w9, #1
	str	w10, [x19, #16]
	str	w0, [x8, x9, lsl #2]
LBB0_7:
	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	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_conf,8,3                       ; @conf
	.comm	_MAX_LOG_ERRORS,8,3             ; @MAX_LOG_ERRORS
	.no_dead_strip	_count_invalid
.subsections_via_symbols
