	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tw9910_power
_tw9910_power:                          ## @tw9910_power
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	xorl	%ecx, %ecx
	movl	$0, %r14d
	testl	%esi, %esi
	jne	LBB0_2
## %bb.1:
	movq	_CLK_PDN@GOTPCREL(%rip), %rax
	movq	_Y_PDN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_C_PDN@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_PLL_PDN@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
LBB0_2:
	movq	_ACNTL1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ACNTL1_PDN_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_tw9910_mask_set
	testl	%eax, %eax
	js	LBB0_3
## %bb.4:
	movq	_ACNTL2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ACNTL2_PDN_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	%r14d, %ecx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_tw9910_mask_set                ## TAILCALL
LBB0_3:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CLK_PDN,4,2                    ## @CLK_PDN
	.comm	_Y_PDN,4,2                      ## @Y_PDN
	.comm	_C_PDN,4,2                      ## @C_PDN
	.comm	_PLL_PDN,4,2                    ## @PLL_PDN
	.comm	_ACNTL1,4,2                     ## @ACNTL1
	.comm	_ACNTL1_PDN_MASK,4,2            ## @ACNTL1_PDN_MASK
	.comm	_ACNTL2,4,2                     ## @ACNTL2
	.comm	_ACNTL2_PDN_MASK,4,2            ## @ACNTL2_PDN_MASK
	.no_dead_strip	_tw9910_power
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tw9910_power
_tw9910_power:                          ; @tw9910_power
	.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
	cbz	w1, LBB0_2
; %bb.1:
	mov	w3, #0
	mov	w20, #0
	b	LBB0_3
LBB0_2:
Lloh0:
	adrp	x8, _CLK_PDN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CLK_PDN@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _Y_PDN@GOTPAGE
Lloh4:
	ldr	x9, [x9, _Y_PDN@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
Lloh6:
	adrp	x10, _C_PDN@GOTPAGE
Lloh7:
	ldr	x10, [x10, _C_PDN@GOTPAGEOFF]
	orr	w8, w9, w8
Lloh8:
	ldr	w9, [x10]
	orr	w3, w8, w9
Lloh9:
	adrp	x8, _PLL_PDN@GOTPAGE
Lloh10:
	ldr	x8, [x8, _PLL_PDN@GOTPAGEOFF]
Lloh11:
	ldr	w20, [x8]
LBB0_3:
Lloh12:
	adrp	x8, _ACNTL1@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ACNTL1@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
Lloh15:
	adrp	x8, _ACNTL1_PDN_MASK@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ACNTL1_PDN_MASK@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_tw9910_mask_set
	tbnz	w0, #31, LBB0_5
; %bb.4:
Lloh18:
	adrp	x8, _ACNTL2@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ACNTL2@GOTPAGEOFF]
Lloh20:
	adrp	x9, _ACNTL2_PDN_MASK@GOTPAGE
Lloh21:
	ldr	x9, [x9, _ACNTL2_PDN_MASK@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
Lloh23:
	ldr	w2, [x9]
	mov	x0, x19
	mov	x3, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_tw9910_mask_set
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_CLK_PDN,4,2                    ; @CLK_PDN
	.comm	_Y_PDN,4,2                      ; @Y_PDN
	.comm	_C_PDN,4,2                      ; @C_PDN
	.comm	_PLL_PDN,4,2                    ; @PLL_PDN
	.comm	_ACNTL1,4,2                     ; @ACNTL1
	.comm	_ACNTL1_PDN_MASK,4,2            ; @ACNTL1_PDN_MASK
	.comm	_ACNTL2,4,2                     ; @ACNTL2
	.comm	_ACNTL2_PDN_MASK,4,2            ; @ACNTL2_PDN_MASK
	.no_dead_strip	_tw9910_power
.subsections_via_symbols
