	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function decon_clear_channels
_decon_clear_channels:                  ## @decon_clear_channels
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %r14
	movq	_decon_clks_name@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_ARRAY_SIZE
	xorl	%r15d, %r15d
	testl	%eax, %eax
	jle	LBB0_3
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %rax
	movl	(%rax,%r15,4), %edi
	callq	_clk_prepare_enable
	testl	%eax, %eax
	js	LBB0_7
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	incq	%r15
	movl	(%rbx), %edi
	callq	_ARRAY_SIZE
	cltq
	cmpq	%rax, %r15
	jl	LBB0_1
LBB0_3:
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_decon_shadow_protect
	movq	_WINDOWS_NR@GOTPCREL(%rip), %r12
	cmpl	$0, (%r12)
	jle	LBB0_6
## %bb.4:
	xorl	%ebx, %ebx
	movq	_WINCONx_ENWIN_F@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_DECON_WINCONx
	movl	(%r13), %edx
	movq	%r14, %rdi
	movl	%eax, %esi
	xorl	%ecx, %ecx
	callq	_decon_set_bits
	incl	%ebx
	cmpl	(%r12), %ebx
	jl	LBB0_5
LBB0_6:
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_decon_shadow_protect
	movq	_DECON_UPDATE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_STANDALONE_UPDATE_F@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	$-1, %ecx
	callq	_decon_set_bits
	movl	$50, %edi
	callq	_msleep
LBB0_7:
	testl	%r15d, %r15d
	jle	LBB0_10
## %bb.8:
	movl	%r15d, %ebx
	incq	%rbx
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %rax
	movl	-8(%rax,%rbx,4), %edi
	callq	_clk_disable_unprepare
	decq	%rbx
	cmpq	$1, %rbx
	ja	LBB0_9
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_decon_clks_name,4,2            ## @decon_clks_name
	.comm	_WINDOWS_NR,4,2                 ## @WINDOWS_NR
	.comm	_WINCONx_ENWIN_F,4,2            ## @WINCONx_ENWIN_F
	.comm	_DECON_UPDATE,4,2               ## @DECON_UPDATE
	.comm	_STANDALONE_UPDATE_F,4,2        ## @STANDALONE_UPDATE_F
	.no_dead_strip	_decon_clear_channels
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function decon_clear_channels
_decon_clear_channels:                  ; @decon_clear_channels
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	ldr	x19, [x0]
Lloh0:
	adrp	x20, _decon_clks_name@GOTPAGE
Lloh1:
	ldr	x20, [x20, _decon_clks_name@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_4
; %bb.1:
	mov	x21, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19]
	ldr	w0, [x8, x21, lsl #2]
	bl	_clk_prepare_enable
	tbnz	w0, #31, LBB0_9
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x21, x21, #1
	ldr	w0, [x20]
	bl	_ARRAY_SIZE
	cmp	x21, w0, sxtw
	b.lt	LBB0_2
	b	LBB0_5
LBB0_4:
	mov	w21, #0
LBB0_5:
	mov	x0, x19
	mov	w1, #1
	bl	_decon_shadow_protect
Lloh2:
	adrp	x22, _WINDOWS_NR@GOTPAGE
Lloh3:
	ldr	x22, [x22, _WINDOWS_NR@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.6:
	mov	w20, #0
Lloh4:
	adrp	x23, _WINCONx_ENWIN_F@GOTPAGE
Lloh5:
	ldr	x23, [x23, _WINCONx_ENWIN_F@GOTPAGEOFF]
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_DECON_WINCONx
	mov	x1, x0
	ldr	w2, [x23]
	mov	x0, x19
	mov	w3, #0
	bl	_decon_set_bits
	add	w20, w20, #1
	ldr	w8, [x22]
	cmp	w20, w8
	b.lt	LBB0_7
LBB0_8:
	mov	x0, x19
	mov	w1, #0
	bl	_decon_shadow_protect
Lloh6:
	adrp	x8, _DECON_UPDATE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DECON_UPDATE@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x8, _STANDALONE_UPDATE_F@GOTPAGE
Lloh10:
	ldr	x8, [x8, _STANDALONE_UPDATE_F@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w3, #-1
	bl	_decon_set_bits
	mov	w0, #50
	bl	_msleep
LBB0_9:
	cmp	w21, #1
	b.lt	LBB0_12
; %bb.10:
	mov	w8, w21
	sub	x20, x8, #1
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19]
	ldr	w0, [x8, x20, lsl #2]
	bl	_clk_disable_unprepare
	add	x8, x20, #1
	sub	x20, x20, #1
	cmp	x8, #1
	b.hi	LBB0_11
LBB0_12:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_decon_clks_name,4,2            ; @decon_clks_name
	.comm	_WINDOWS_NR,4,2                 ; @WINDOWS_NR
	.comm	_WINCONx_ENWIN_F,4,2            ; @WINCONx_ENWIN_F
	.comm	_DECON_UPDATE,4,2               ; @DECON_UPDATE
	.comm	_STANDALONE_UPDATE_F,4,2        ; @STANDALONE_UPDATE_F
	.no_dead_strip	_decon_clear_channels
.subsections_via_symbols
