	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function Controls_Update
_Controls_Update:                       ## @Controls_Update
	.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
	.cfi_offset %rbx, -24
	movq	_C_MAX@GOTPCREL(%rip), %r8
	movl	(%r8), %r9d
	movq	_g_controls@GOTPCREL(%rip), %rax
	movq	(%rax), %r10
	testl	%r9d, %r9d
	jle	LBB0_7
## %bb.1:
	xorl	%r11d, %r11d
	movq	_QMF_HIDDEN@GOTPCREL(%rip), %rsi
	movq	_QMF_INACTIVE@GOTPCREL(%rip), %rdi
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%r11
	movslq	%r9d, %rax
	cmpq	%rax, %r11
	jge	LBB0_7
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	movq	(%r10,%r11,8), %rdx
	movq	(%rdx), %rax
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	addq	$8, %rdx
	.p2align	4, 0x90
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%rdi), %ecx
	orl	(%rsi), %ecx
	orl	%ecx, (%rax)
	movq	(%rdx), %rax
	addq	$8, %rdx
	testq	%rax, %rax
	jne	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r8), %r9d
	jmp	LBB0_6
LBB0_7:
	movq	_s_controls@GOTPCREL(%rip), %r8
	movq	(%r8), %r9
	movq	(%r10,%r9,8), %rdx
	movq	(%rdx), %rcx
	testq	%rcx, %rcx
	je	LBB0_13
## %bb.8:
	xorl	%eax, %eax
	movq	_QMF_GRAYED@GOTPCREL(%rip), %r10
	movq	_QMF_HIDDEN@GOTPCREL(%rip), %r11
	movq	_QMF_INACTIVE@GOTPCREL(%rip), %rdi
	movq	%rcx, %rsi
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r11), %ebx
	orl	(%r10), %ebx
	orl	(%rdi), %ebx
	notl	%ebx
	andl	%ebx, (%rsi)
	movq	8(%rdx,%rax,8), %rsi
	incq	%rax
	testq	%rsi, %rsi
	jne	LBB0_9
## %bb.10:
	testq	%rcx, %rcx
	je	LBB0_13
## %bb.11:
	movq	_SMALLCHAR_HEIGHT@GOTPCREL(%rip), %rsi
	movl	(%rsi), %r10d
	movq	_SCREEN_HEIGHT@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	imull	%r10d, %eax
	subl	%eax, %esi
	movl	%esi, %eax
	shrl	$31, %eax
	addl	%esi, %eax
	sarl	%eax
	movq	_SMALLCHAR_WIDTH@GOTPCREL(%rip), %rsi
	movl	(%rsi), %edi
	imull	$-19, %edi, %esi
	addl	$320, %esi                      ## imm = 0x140
	leal	(%rdi,%rdi,4), %ebx
	leal	(%rdi,%rbx,4), %edi
	addl	$320, %edi                      ## imm = 0x140
	addq	$8, %rdx
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movl	$320, 4(%rcx)                   ## imm = 0x140
	movl	%eax, 8(%rcx)
	movl	%esi, 12(%rcx)
	movl	%edi, 16(%rcx)
	movl	%eax, 20(%rcx)
	addl	%r10d, %eax
	movl	%eax, 24(%rcx)
	movq	(%rdx), %rcx
	addq	$8, %rdx
	testq	%rcx, %rcx
	jne	LBB0_12
LBB0_13:
	cmpq	$0, 56(%r8)
	movl	24(%r8), %r10d
	je	LBB0_17
## %bb.14:
	movq	40(%r8), %rcx
	testl	%r10d, %r10d
	jle	LBB0_25
## %bb.15:
	movq	%r10, %rax
	decq	%rax
	movl	%r10d, %esi
	andl	$3, %esi
	cmpq	$3, %rax
	jae	LBB0_20
## %bb.16:
	xorl	%eax, %eax
	jmp	LBB0_22
LBB0_17:
	testl	%r10d, %r10d
	jle	LBB0_30
## %bb.18:
	movq	40(%r8), %rsi
	cmpl	$1, %r10d
	jne	LBB0_26
## %bb.19:
	xorl	%eax, %eax
	jmp	LBB0_28
LBB0_20:
	andl	$-4, %r10d
	xorl	%eax, %eax
	movq	_QMF_GRAYED@GOTPCREL(%rip), %rdi
	.p2align	4, 0x90
LBB0_21:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rdi), %ebx
	movq	(%rcx,%rax,8), %rdx
	orl	%ebx, (%rdx)
	movl	(%rdi), %edx
	movq	8(%rcx,%rax,8), %rbx
	orl	%edx, (%rbx)
	movl	(%rdi), %edx
	movq	16(%rcx,%rax,8), %rbx
	orl	%edx, (%rbx)
	movl	(%rdi), %edx
	movq	24(%rcx,%rax,8), %rbx
	orl	%edx, (%rbx)
	addq	$4, %rax
	cmpq	%rax, %r10
	jne	LBB0_21
LBB0_22:
	testq	%rsi, %rsi
	je	LBB0_25
## %bb.23:
	leaq	(%rcx,%rax,8), %rax
	xorl	%edx, %edx
	movq	_QMF_GRAYED@GOTPCREL(%rip), %r9
	.p2align	4, 0x90
LBB0_24:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r9), %ebx
	movq	(%rax,%rdx,8), %rdi
	orl	%ebx, (%rdi)
	incq	%rdx
	cmpq	%rdx, %rsi
	jne	LBB0_24
LBB0_25:
	movq	_QMF_GRAYED@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	notl	%edx
	movq	32(%r8), %rsi
	movq	(%rcx,%rsi,8), %rcx
	andl	%edx, (%rcx)
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, 48(%r8)
LBB0_36:
	popq	%rbx
	popq	%rbp
	retq
LBB0_26:
	movl	%r10d, %ecx
	andl	$-2, %ecx
	xorl	%eax, %eax
	movq	_QMF_GRAYED@GOTPCREL(%rip), %rdi
	.p2align	4, 0x90
LBB0_27:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rdi), %edx
	notl	%edx
	movq	(%rsi,%rax,8), %rbx
	andl	%edx, (%rbx)
	movl	(%rdi), %edx
	notl	%edx
	movq	8(%rsi,%rax,8), %rbx
	andl	%edx, (%rbx)
	addq	$2, %rax
	cmpq	%rax, %rcx
	jne	LBB0_27
LBB0_28:
	testb	$1, %r10b
	je	LBB0_30
## %bb.29:
	movq	_QMF_GRAYED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	notl	%ecx
	movq	(%rsi,%rax,8), %rax
	andl	%ecx, (%rax)
LBB0_30:
	movq	_QMF_HIGHLIGHT@GOTPCREL(%rip), %rax
	movq	_QMF_HIGHLIGHT_IF_FOCUS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	_QMF_GRAYED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%edx, %eax
	notl	%eax
	movq	_QMF_PULSEIFFOCUS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movdqu	8(%r8), %xmm1
	movd	%eax, %xmm0
	pshufd	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	pand	%xmm1, %xmm0
	movd	%esi, %xmm1
	pshufd	$0, %xmm1, %xmm1                ## xmm1 = xmm1[0,0,0,0]
	por	%xmm0, %xmm1
	movdqu	%xmm1, 8(%r8)
	addq	$-128, %r9
	cmpq	$3, %r9
	ja	LBB0_36
## %bb.31:
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%r9,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_34:
	pextrd	$1, %xmm0, %eax
	notl	%esi
	andl	%esi, %eax
	orl	%eax, %edx
	movl	%edx, 12(%r8)
	jmp	LBB0_36
LBB0_32:
	pextrd	$3, %xmm0, %eax
	notl	%esi
	andl	%esi, %eax
	orl	%eax, %edx
	movl	%edx, 20(%r8)
	jmp	LBB0_36
LBB0_35:
	notl	%esi
	movd	%xmm0, %eax
	andl	%esi, %eax
	orl	%eax, %edx
	movl	%edx, 8(%r8)
	jmp	LBB0_36
LBB0_33:
	pextrd	$2, %xmm0, %eax
	notl	%esi
	andl	%esi, %eax
	orl	%eax, %edx
	movl	%edx, 16(%r8)
	jmp	LBB0_36
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_34, LBB0_34-LJTI0_0
.set L0_0_set_32, LBB0_32-LJTI0_0
.set L0_0_set_35, LBB0_35-LJTI0_0
.set L0_0_set_33, LBB0_33-LJTI0_0
LJTI0_0:
	.long	L0_0_set_34
	.long	L0_0_set_32
	.long	L0_0_set_35
	.long	L0_0_set_33
	.end_data_region
                                        ## -- End function
	.comm	_C_MAX,4,2                      ## @C_MAX
	.comm	_g_controls,8,3                 ## @g_controls
	.comm	_QMF_HIDDEN,4,2                 ## @QMF_HIDDEN
	.comm	_QMF_INACTIVE,4,2               ## @QMF_INACTIVE
	.comm	_s_controls,64,3                ## @s_controls
	.comm	_QMF_GRAYED,4,2                 ## @QMF_GRAYED
	.comm	_SCREEN_HEIGHT,4,2              ## @SCREEN_HEIGHT
	.comm	_SMALLCHAR_HEIGHT,4,2           ## @SMALLCHAR_HEIGHT
	.comm	_SMALLCHAR_WIDTH,4,2            ## @SMALLCHAR_WIDTH
	.comm	_QMF_HIGHLIGHT,4,2              ## @QMF_HIGHLIGHT
	.comm	_QMF_HIGHLIGHT_IF_FOCUS,4,2     ## @QMF_HIGHLIGHT_IF_FOCUS
	.comm	_QMF_PULSEIFFOCUS,4,2           ## @QMF_PULSEIFFOCUS
	.no_dead_strip	_Controls_Update
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function Controls_Update
lCPI0_0:
	.long	4294967277                      ; 0xffffffed
	.long	21                              ; 0x15
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_Controls_Update:                       ; @Controls_Update
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _C_MAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _C_MAX@GOTPAGEOFF]
	ldr	w13, [x8]
Lloh2:
	adrp	x9, _g_controls@GOTPAGE
Lloh3:
	ldr	x9, [x9, _g_controls@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
Lloh5:
	adrp	x11, _QMF_HIDDEN@GOTPAGE
Lloh6:
	ldr	x11, [x11, _QMF_HIDDEN@GOTPAGEOFF]
Lloh7:
	adrp	x12, _QMF_INACTIVE@GOTPAGE
Lloh8:
	ldr	x12, [x12, _QMF_INACTIVE@GOTPAGEOFF]
	cmp	w13, #1
	b.lt	LBB0_7
; %bb.1:
	mov	x10, #0
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x10, x10, #1
	cmp	x10, w13, sxtw
	b.ge	LBB0_7
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
	ldr	x15, [x9, x10, lsl #3]
	ldr	x14, [x15]
	cbz	x14, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x13, x15, #8
LBB0_5:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w15, [x11]
	ldr	w16, [x12]
	orr	w15, w16, w15
	ldr	w16, [x14]
	orr	w15, w15, w16
	str	w15, [x14]
	ldr	x14, [x13], #8
	cbnz	x14, LBB0_5
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w13, [x8]
	b	LBB0_2
LBB0_7:
Lloh9:
	adrp	x8, _s_controls@GOTPAGE
Lloh10:
	ldr	x8, [x8, _s_controls@GOTPAGEOFF]
	ldr	x10, [x8]
	ldr	x14, [x9, x10, lsl #3]
	ldr	x13, [x14]
Lloh11:
	adrp	x9, _QMF_GRAYED@GOTPAGE
Lloh12:
	ldr	x9, [x9, _QMF_GRAYED@GOTPAGEOFF]
	cbz	x13, LBB0_13
; %bb.8:
	mov	x16, #0
	add	x15, x14, #8
	mov	x17, x13
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x9]
	ldr	w1, [x11]
	orr	w0, w1, w0
	ldr	w1, [x12]
	orr	w0, w0, w1
	ldr	w1, [x17]
	bic	w0, w1, w0
	str	w0, [x17]
	ldr	x17, [x15, x16, lsl #3]
	add	x16, x16, #1
	cbnz	x17, LBB0_9
; %bb.10:
	cbz	x13, LBB0_13
; %bb.11:
Lloh13:
	adrp	x11, _SMALLCHAR_HEIGHT@GOTPAGE
Lloh14:
	ldr	x11, [x11, _SMALLCHAR_HEIGHT@GOTPAGEOFF]
Lloh15:
	ldr	w11, [x11]
Lloh16:
	adrp	x12, _SCREEN_HEIGHT@GOTPAGE
Lloh17:
	ldr	x12, [x12, _SCREEN_HEIGHT@GOTPAGEOFF]
Lloh18:
	ldr	w12, [x12]
	msub	w12, w11, w16, w12
	cmp	w12, #0
	cinc	w12, w12, lt
	asr	w12, w12, #1
Lloh19:
	adrp	x15, _SMALLCHAR_WIDTH@GOTPAGE
Lloh20:
	ldr	x15, [x15, _SMALLCHAR_WIDTH@GOTPAGEOFF]
	ld1r.2s	{ v1 }, [x15]
Lloh21:
	adrp	x15, lCPI0_0@PAGE
Lloh22:
	ldr	d2, [x15, lCPI0_0@PAGEOFF]
	mov	w15, #320
	dup.2s	v0, w15
	mla.2s	v0, v1, v2
	add	x14, x14, #8
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	stp	w15, w12, [x13, #4]
	stur	d0, [x13, #12]
	str	w12, [x13, #20]
	add	w12, w12, w11
	str	w12, [x13, #24]
	ldr	x13, [x14], #8
	cbnz	x13, LBB0_12
LBB0_13:
	ldr	x12, [x8, #56]
	ldr	w11, [x8, #24]
	cbz	x12, LBB0_18
; %bb.14:
	ldr	x10, [x8, #40]
	cmp	w11, #1
	b.lt	LBB0_17
; %bb.15:
	mov	x12, x10
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	ldr	w13, [x9]
	ldr	x14, [x12], #8
	ldr	w15, [x14]
	orr	w13, w15, w13
	str	w13, [x14]
	subs	x11, x11, #1
	b.ne	LBB0_16
LBB0_17:
	ldr	w11, [x9]
	ldr	x12, [x8, #32]
	ldr	x10, [x10, x12, lsl #3]
	ldr	w12, [x10]
	bic	w11, w12, w11
	str	w11, [x10]
	ldr	w9, [x9]
	ldr	w10, [x8, #48]
	bic	w9, w10, w9
	str	w9, [x8, #48]
	ret
LBB0_18:
	cmp	w11, #1
	b.lt	LBB0_21
; %bb.19:
	ldr	x12, [x8, #40]
LBB0_20:                                ; =>This Inner Loop Header: Depth=1
	ldr	w13, [x9]
	ldr	x14, [x12], #8
	ldr	w15, [x14]
	bic	w13, w15, w13
	str	w13, [x14]
	subs	x11, x11, #1
	b.ne	LBB0_20
LBB0_21:
	ldr	w11, [x9]
Lloh23:
	adrp	x9, _QMF_HIGHLIGHT@GOTPAGE
Lloh24:
	ldr	x9, [x9, _QMF_HIGHLIGHT@GOTPAGEOFF]
Lloh25:
	adrp	x12, _QMF_HIGHLIGHT_IF_FOCUS@GOTPAGE
Lloh26:
	ldr	x12, [x12, _QMF_HIGHLIGHT_IF_FOCUS@GOTPAGEOFF]
Lloh27:
	ldr	w9, [x9]
Lloh28:
	ldr	w12, [x12]
	orr	w9, w12, w9
	orr	w11, w9, w11
Lloh29:
	adrp	x12, _QMF_PULSEIFFOCUS@GOTPAGE
Lloh30:
	ldr	x12, [x12, _QMF_PULSEIFFOCUS@GOTPAGEOFF]
	mvn	w13, w11
Lloh31:
	ldr	w11, [x12]
	ldur	q0, [x8, #8]
	dup.4s	v1, w13
	and.16b	v0, v0, v1
	dup.4s	v1, w11
	orr.16b	v1, v1, v0
	stur	q1, [x8, #8]
	sub	x10, x10, #128
	cmp	x10, #3
	b.hi	LBB0_26
; %bb.22:
Lloh32:
	adrp	x12, lJTI0_0@PAGE
Lloh33:
	add	x12, x12, lJTI0_0@PAGEOFF
	adr	x13, LBB0_23
	ldrb	w14, [x12, x10]
	add	x13, x13, x14, lsl #2
	br	x13
LBB0_23:
	mov.s	w10, v0[1]
	bic	w10, w10, w11
	orr	w9, w9, w10
	str	w9, [x8, #12]
	ret
LBB0_24:
	mov.s	w10, v0[3]
	bic	w10, w10, w11
	orr	w9, w9, w10
	str	w9, [x8, #20]
	ret
LBB0_25:
	fmov	w10, s0
	bic	w10, w10, w11
	orr	w9, w9, w10
	str	w9, [x8, #8]
LBB0_26:
	ret
LBB0_27:
	mov.s	w10, v0[2]
	bic	w10, w10, w11
	orr	w9, w9, w10
	str	w9, [x8, #16]
	ret
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdr	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh27
	.loh AdrpAdd	Lloh32, Lloh33
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_23-LBB0_23)>>2
	.byte	(LBB0_24-LBB0_23)>>2
	.byte	(LBB0_25-LBB0_23)>>2
	.byte	(LBB0_27-LBB0_23)>>2
                                        ; -- End function
	.comm	_C_MAX,4,2                      ; @C_MAX
	.comm	_g_controls,8,3                 ; @g_controls
	.comm	_QMF_HIDDEN,4,2                 ; @QMF_HIDDEN
	.comm	_QMF_INACTIVE,4,2               ; @QMF_INACTIVE
	.comm	_s_controls,64,3                ; @s_controls
	.comm	_QMF_GRAYED,4,2                 ; @QMF_GRAYED
	.comm	_SCREEN_HEIGHT,4,2              ; @SCREEN_HEIGHT
	.comm	_SMALLCHAR_HEIGHT,4,2           ; @SMALLCHAR_HEIGHT
	.comm	_SMALLCHAR_WIDTH,4,2            ; @SMALLCHAR_WIDTH
	.comm	_QMF_HIGHLIGHT,4,2              ; @QMF_HIGHLIGHT
	.comm	_QMF_HIGHLIGHT_IF_FOCUS,4,2     ; @QMF_HIGHLIGHT_IF_FOCUS
	.comm	_QMF_PULSEIFFOCUS,4,2           ; @QMF_PULSEIFFOCUS
	.no_dead_strip	_Controls_Update
.subsections_via_symbols
