	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ci_set_valid_flag
_ci_set_valid_flag:                     ## @ci_set_valid_flag
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %r8d
	testl	%r8d, %r8d
	jle	LBB0_8
## %bb.1:
	movl	4(%rdi), %r9d
	xorl	%ecx, %ecx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, %eax
	shll	%cl, %eax
	orl	%eax, 8(%rdi)
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%rcx
	cmpq	%r8, %rcx
	je	LBB0_8
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
	cmpl	$2, %r9d
	jl	LBB0_7
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%rdi), %rsi
	movq	(%rsi), %rax
	movq	(%rax,%rcx,8), %r10
	movl	$1, %edx
	.p2align	4, 0x90
LBB0_5:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%rsi,%rdx,8), %rax
	cmpq	(%rax,%rcx,8), %r10
	jne	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_5 Depth=2
	incq	%rdx
	cmpq	%rdx, %r9
	jne	LBB0_5
	jmp	LBB0_7
LBB0_8:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_ci_set_valid_flag
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ci_set_valid_flag
_ci_set_valid_flag:                     ; @ci_set_valid_flag
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.1:
	mov	x9, #0
	ldr	w10, [x0, #4]
	sub	x11, x10, #1
	mov	w12, #1
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	lsl	w13, w12, w9
	ldr	w14, [x0, #8]
	orr	w13, w14, w13
	str	w13, [x0, #8]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x9, x9, #1
	cmp	x9, x8
	b.eq	LBB0_8
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
	cmp	w10, #2
	b.lt	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x13, [x0, #16]
	ldr	x14, [x13], #8
	ldr	x14, [x14, x9, lsl #3]
	mov	x15, x11
LBB0_6:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x16, [x13]
	ldr	x16, [x16, x9, lsl #3]
	cmp	x14, x16
	b.ne	LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=2
	add	x13, x13, #8
	subs	x15, x15, #1
	b.ne	LBB0_6
	b	LBB0_3
LBB0_8:
	mov	w0, #0
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_ci_set_valid_flag
.subsections_via_symbols
