	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sii902x_bridge_enable
_sii902x_bridge_enable:                 ## @sii902x_bridge_enable
	.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
	callq	_bridge_to_sii902x
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_mutex_lock
	movl	4(%rbx), %r14d
	movq	_SII902X_PWR_STATE_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_SII902X_AVI_POWER_STATE_MSK@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	xorl	%edi, %edi
	callq	_SII902X_AVI_POWER_STATE_D
	movl	%r14d, %edi
	movl	%r15d, %esi
	movl	%r12d, %edx
	movl	%eax, %ecx
	callq	_regmap_update_bits
	movl	4(%rbx), %edi
	movq	_SII902X_SYS_CTRL_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SII902X_SYS_CTRL_PWR_DWN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%ecx, %ecx
	callq	_regmap_update_bits
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mutex_unlock                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SII902X_PWR_STATE_CTRL,4,2     ## @SII902X_PWR_STATE_CTRL
	.comm	_SII902X_AVI_POWER_STATE_MSK,4,2 ## @SII902X_AVI_POWER_STATE_MSK
	.comm	_SII902X_SYS_CTRL_DATA,4,2      ## @SII902X_SYS_CTRL_DATA
	.comm	_SII902X_SYS_CTRL_PWR_DWN,4,2   ## @SII902X_SYS_CTRL_PWR_DWN
	.no_dead_strip	_sii902x_bridge_enable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sii902x_bridge_enable
_sii902x_bridge_enable:                 ; @sii902x_bridge_enable
	.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
	bl	_bridge_to_sii902x
	mov	x19, x0
	bl	_mutex_lock
	ldr	w20, [x19, #4]
Lloh0:
	adrp	x8, _SII902X_PWR_STATE_CTRL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SII902X_PWR_STATE_CTRL@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x8]
Lloh3:
	adrp	x8, _SII902X_AVI_POWER_STATE_MSK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SII902X_AVI_POWER_STATE_MSK@GOTPAGEOFF]
Lloh5:
	ldr	w22, [x8]
	mov	w0, #0
	bl	_SII902X_AVI_POWER_STATE_D
	mov	x3, x0
	mov	x0, x20
	mov	x1, x21
	mov	x2, x22
	bl	_regmap_update_bits
	ldr	w0, [x19, #4]
Lloh6:
	adrp	x8, _SII902X_SYS_CTRL_DATA@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SII902X_SYS_CTRL_DATA@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x8, _SII902X_SYS_CTRL_PWR_DWN@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SII902X_SYS_CTRL_PWR_DWN@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	mov	w3, #0
	bl	_regmap_update_bits
	mov	x0, 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	_mutex_unlock
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SII902X_PWR_STATE_CTRL,4,2     ; @SII902X_PWR_STATE_CTRL
	.comm	_SII902X_AVI_POWER_STATE_MSK,4,2 ; @SII902X_AVI_POWER_STATE_MSK
	.comm	_SII902X_SYS_CTRL_DATA,4,2      ; @SII902X_SYS_CTRL_DATA
	.comm	_SII902X_SYS_CTRL_PWR_DWN,4,2   ; @SII902X_SYS_CTRL_PWR_DWN
	.no_dead_strip	_sii902x_bridge_enable
.subsections_via_symbols
