	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_ctrl
_set_ctrl:                              ## @set_ctrl
	.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	%edx, %r14d
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	48(%rsi), %rax
	movq	(%rax), %r12
	movl	(%r12), %edx
	testl	%edx, %edx
	jle	LBB0_18
## %bb.1:
	movq	48(%r12), %rcx
	leaq	-1(%rdx), %rsi
	movl	%edx, %eax
	andl	$3, %eax
	cmpq	$3, %rsi
	jae	LBB0_3
## %bb.2:
	xorl	%esi, %esi
LBB0_13:
	testq	%rax, %rax
	je	LBB0_18
## %bb.14:
	leaq	(%rcx,%rsi,8), %rcx
	xorl	%edx, %edx
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_15 Depth=1
	incq	%rdx
	cmpq	%rdx, %rax
	je	LBB0_18
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rcx,%rdx,8), %rsi
	testq	%rsi, %rsi
	je	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_15 Depth=1
	movl	$0, 4(%rsi)
	jmp	LBB0_17
LBB0_18:
	movl	40(%rbx), %esi
	movq	%rbx, %rdi
	callq	_validate_new
	testl	%eax, %eax
	je	LBB0_19
## %bb.26:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_19:
	cmpq	$0, 32(%r12)
	je	LBB0_25
## %bb.20:
	cmpq	$0, 24(%r12)
	je	LBB0_25
## %bb.21:
	cmpq	%rbx, %r12
	jne	LBB0_25
## %bb.22:
	movq	%rbx, %rdi
	callq	_is_cur_manual
	testl	%eax, %eax
	jne	LBB0_25
## %bb.23:
	movq	8(%rbx), %rax
	cmpq	16(%rbx), %rax
	jne	LBB0_25
## %bb.24:
	movq	%rbx, %rdi
	callq	_update_from_auto_cluster
LBB0_25:
	movl	$1, 4(%rbx)
	movq	%r15, %rdi
	movq	%r12, %rsi
	movl	$1, %edx
	movl	%r14d, %ecx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_try_or_set_cluster             ## TAILCALL
LBB0_3:
	andl	$-4, %edx
	xorl	%esi, %esi
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_4 Depth=1
	addq	$4, %rsi
	cmpq	%rsi, %rdx
	je	LBB0_13
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rcx,%rsi,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	$0, 4(%rdi)
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	8(%rcx,%rsi,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	$0, 4(%rdi)
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	16(%rcx,%rsi,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	$0, 4(%rdi)
LBB0_10:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	24(%rcx,%rsi,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_4 Depth=1
	movl	$0, 4(%rdi)
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_set_ctrl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_ctrl
_set_ctrl:                              ; @set_ctrl
	.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, x2
	mov	x21, x1
	mov	x20, x0
	ldr	x8, [x1, #48]
	ldr	x22, [x8]
	ldr	w8, [x22]
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.1:
	ldr	x9, [x22, #48]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x9, x9, #8
	subs	x8, x8, #1
	b.eq	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x9]
	cbz	x10, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	str	wzr, [x10, #4]
	b	LBB0_2
LBB0_5:
	ldr	w1, [x21, #40]
	mov	x0, x21
	bl	_validate_new
	cbz	w0, LBB0_7
; %bb.6:
	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_7:
	ldr	x8, [x22, #32]
	cbz	x8, LBB0_12
; %bb.8:
	ldr	x8, [x22, #24]
	cmp	x8, #0
	ccmp	x22, x21, #0, ne
	b.ne	LBB0_12
; %bb.9:
	mov	x0, x21
	bl	_is_cur_manual
	cbnz	w0, LBB0_12
; %bb.10:
	ldp	x8, x9, [x21, #8]
	cmp	x8, x9
	b.ne	LBB0_12
; %bb.11:
	mov	x0, x21
	bl	_update_from_auto_cluster
LBB0_12:
	mov	w8, #1
	str	w8, [x21, #4]
	mov	x0, x20
	mov	x1, x22
	mov	w2, #1
	mov	x3, x19
	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	_try_or_set_cluster
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_set_ctrl
.subsections_via_symbols
