	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tda998x_bridge_enable
_tda998x_bridge_enable:                 ## @tda998x_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	callq	_bridge_to_tda998x_priv
	cmpl	$0, (%rax)
	jne	LBB0_2
## %bb.1:
	movq	%rax, %rbx
	movq	_REG_ENA_VP_0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$255, %edx
	callq	_reg_write
	movq	_REG_ENA_VP_1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$255, %edx
	callq	_reg_write
	movq	_REG_ENA_VP_2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$255, %edx
	callq	_reg_write
	movq	_REG_VIP_CNTRL_0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	4(%rbx), %edx
	movq	%rbx, %rdi
	callq	_reg_write
	movq	_REG_VIP_CNTRL_1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	8(%rbx), %edx
	movq	%rbx, %rdi
	callq	_reg_write
	movq	_REG_VIP_CNTRL_2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	12(%rbx), %edx
	movq	%rbx, %rdi
	callq	_reg_write
	movl	$1, (%rbx)
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_REG_ENA_VP_0,4,2               ## @REG_ENA_VP_0
	.comm	_REG_ENA_VP_1,4,2               ## @REG_ENA_VP_1
	.comm	_REG_ENA_VP_2,4,2               ## @REG_ENA_VP_2
	.comm	_REG_VIP_CNTRL_0,4,2            ## @REG_VIP_CNTRL_0
	.comm	_REG_VIP_CNTRL_1,4,2            ## @REG_VIP_CNTRL_1
	.comm	_REG_VIP_CNTRL_2,4,2            ## @REG_VIP_CNTRL_2
	.no_dead_strip	_tda998x_bridge_enable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tda998x_bridge_enable
_tda998x_bridge_enable:                 ; @tda998x_bridge_enable
	.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
	bl	_bridge_to_tda998x_priv
	ldr	w8, [x0]
	cbnz	w8, LBB0_2
; %bb.1:
	mov	x19, x0
Lloh0:
	adrp	x8, _REG_ENA_VP_0@GOTPAGE
Lloh1:
	ldr	x8, [x8, _REG_ENA_VP_0@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w2, #255
	bl	_reg_write
Lloh3:
	adrp	x8, _REG_ENA_VP_1@GOTPAGE
Lloh4:
	ldr	x8, [x8, _REG_ENA_VP_1@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #255
	bl	_reg_write
Lloh6:
	adrp	x8, _REG_ENA_VP_2@GOTPAGE
Lloh7:
	ldr	x8, [x8, _REG_ENA_VP_2@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #255
	bl	_reg_write
Lloh9:
	adrp	x8, _REG_VIP_CNTRL_0@GOTPAGE
Lloh10:
	ldr	x8, [x8, _REG_VIP_CNTRL_0@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	ldr	w2, [x19, #4]
	mov	x0, x19
	bl	_reg_write
Lloh12:
	adrp	x8, _REG_VIP_CNTRL_1@GOTPAGE
Lloh13:
	ldr	x8, [x8, _REG_VIP_CNTRL_1@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	ldr	w2, [x19, #8]
	mov	x0, x19
	bl	_reg_write
Lloh15:
	adrp	x8, _REG_VIP_CNTRL_2@GOTPAGE
Lloh16:
	ldr	x8, [x8, _REG_VIP_CNTRL_2@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	ldr	w2, [x19, #12]
	mov	x0, x19
	bl	_reg_write
	mov	w8, #1
	str	w8, [x19]
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.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	_REG_ENA_VP_0,4,2               ; @REG_ENA_VP_0
	.comm	_REG_ENA_VP_1,4,2               ; @REG_ENA_VP_1
	.comm	_REG_ENA_VP_2,4,2               ; @REG_ENA_VP_2
	.comm	_REG_VIP_CNTRL_0,4,2            ; @REG_VIP_CNTRL_0
	.comm	_REG_VIP_CNTRL_1,4,2            ; @REG_VIP_CNTRL_1
	.comm	_REG_VIP_CNTRL_2,4,2            ; @REG_VIP_CNTRL_2
	.no_dead_strip	_tda998x_bridge_enable
.subsections_via_symbols
