	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cx25821_registers_init
_cx25821_registers_init:                ## @cx25821_registers_init
	.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
	movq	_DEV_CNTRL2@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$32, %esi
	callq	_cx_write
	movq	_PCI_INT_MSK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$537001983, %esi                ## imm = 0x2001FFFF
	callq	_cx_write
	movq	_RDR_TLCTL0@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_cx_read
	movq	_FLD_CFG_RCB_CK_EN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	notl	%esi
	andl	%eax, %esi
	movl	(%rbx), %edi
	callq	_cx_write
	movq	_PLL_A_INT_FRAC@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movl	$-1744329333, %esi              ## imm = 0x9807A58B
	callq	_cx_write
	movq	_PLL_A_POST_STAT_BIST@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$-2147483236, %esi              ## imm = 0x8000019C
	callq	_cx_write
	movl	(%rbx), %edi
	callq	_cx_read
	movl	(%rbx), %edi
	andl	$2147483647, %eax               ## imm = 0x7FFFFFFF
	movl	%eax, %esi
	callq	_cx_write
	movq	_PLL_B_INT_FRAC@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movl	$-1736202129, %esi              ## imm = 0x9883A86F
	callq	_cx_write
	movq	_PLL_B_POST_STAT_BIST@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$-2147483251, %esi              ## imm = 0x8000018D
	callq	_cx_write
	movl	(%rbx), %edi
	callq	_cx_read
	movl	(%rbx), %edi
	andl	$2147483647, %eax               ## imm = 0x7FFFFFFF
	movl	%eax, %esi
	callq	_cx_write
	movq	_PLL_C_INT_FRAC@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movl	$-1767839169, %esi              ## imm = 0x96A0EA3F
	callq	_cx_write
	movq	_PLL_C_POST_STAT_BIST@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$-2147483389, %esi              ## imm = 0x80000103
	callq	_cx_write
	movl	(%rbx), %edi
	callq	_cx_read
	movl	(%rbx), %edi
	andl	$2147483647, %eax               ## imm = 0x7FFFFFFF
	movl	%eax, %esi
	callq	_cx_write
	movq	_PLL_D_INT_FRAC@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movl	$-1737130149, %esi              ## imm = 0x98757F5B
	callq	_cx_write
	movq	_PLL_D_POST_STAT_BIST@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$-2147483373, %esi              ## imm = 0x80000113
	callq	_cx_write
	movl	(%rbx), %edi
	callq	_cx_read
	movl	(%rbx), %edi
	andl	$2147483647, %eax               ## imm = 0x7FFFFFFF
	movl	%eax, %esi
	callq	_cx_write
	movq	_VID_CH_CLK_SEL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_cx_read
                                        ## kill: def $eax killed $eax def $rax
	movl	(%rbx), %edi
	andl	$16777215, %eax                 ## imm = 0xFFFFFF
	leal	603979776(%rax), %esi
	callq	_cx_write
	movq	_VID_CH_MODE_SEL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_cx_read
	movl	(%rbx), %edi
	andl	$-512, %eax                     ## imm = 0xFE00
	movl	%eax, %esi
	callq	_cx_write
	movq	_CLK_RST@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_cx_read
	movq	_FLD_USE_ALT_PLL_REF@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	(%rbx), %edi
	movq	_FLD_VID_I_CLK_NOE@GOTPCREL(%rip), %rcx
	movq	_FLD_VID_J_CLK_NOE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	orl	(%rcx), %esi
	notl	%esi
	andl	%eax, %esi
	callq	_cx_write
	movl	$100, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_msleep                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DEV_CNTRL2,4,2                 ## @DEV_CNTRL2
	.comm	_PCI_INT_MSK,4,2                ## @PCI_INT_MSK
	.comm	_RDR_TLCTL0,4,2                 ## @RDR_TLCTL0
	.comm	_FLD_CFG_RCB_CK_EN,4,2          ## @FLD_CFG_RCB_CK_EN
	.comm	_PLL_A_INT_FRAC,4,2             ## @PLL_A_INT_FRAC
	.comm	_PLL_A_POST_STAT_BIST,4,2       ## @PLL_A_POST_STAT_BIST
	.comm	_PLL_B_INT_FRAC,4,2             ## @PLL_B_INT_FRAC
	.comm	_PLL_B_POST_STAT_BIST,4,2       ## @PLL_B_POST_STAT_BIST
	.comm	_PLL_C_INT_FRAC,4,2             ## @PLL_C_INT_FRAC
	.comm	_PLL_C_POST_STAT_BIST,4,2       ## @PLL_C_POST_STAT_BIST
	.comm	_PLL_D_INT_FRAC,4,2             ## @PLL_D_INT_FRAC
	.comm	_PLL_D_POST_STAT_BIST,4,2       ## @PLL_D_POST_STAT_BIST
	.comm	_VID_CH_CLK_SEL,4,2             ## @VID_CH_CLK_SEL
	.comm	_VID_CH_MODE_SEL,4,2            ## @VID_CH_MODE_SEL
	.comm	_CLK_RST,4,2                    ## @CLK_RST
	.comm	_FLD_USE_ALT_PLL_REF,4,2        ## @FLD_USE_ALT_PLL_REF
	.comm	_FLD_VID_I_CLK_NOE,4,2          ## @FLD_VID_I_CLK_NOE
	.comm	_FLD_VID_J_CLK_NOE,4,2          ## @FLD_VID_J_CLK_NOE
	.no_dead_strip	_cx25821_registers_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cx25821_registers_init
_cx25821_registers_init:                ; @cx25821_registers_init
	.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
Lloh0:
	adrp	x8, _DEV_CNTRL2@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DEV_CNTRL2@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	w1, #32
	bl	_cx_write
Lloh3:
	adrp	x8, _PCI_INT_MSK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PCI_INT_MSK@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	mov	w1, #537001983
	bl	_cx_write
Lloh6:
	adrp	x19, _RDR_TLCTL0@GOTPAGE
Lloh7:
	ldr	x19, [x19, _RDR_TLCTL0@GOTPAGEOFF]
	ldr	w0, [x19]
	bl	_cx_read
Lloh8:
	adrp	x8, _FLD_CFG_RCB_CK_EN@GOTPAGE
Lloh9:
	ldr	x8, [x8, _FLD_CFG_RCB_CK_EN@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	bic	w1, w0, w8
	ldr	w0, [x19]
	bl	_cx_write
Lloh11:
	adrp	x20, _PLL_A_INT_FRAC@GOTPAGE
Lloh12:
	ldr	x20, [x20, _PLL_A_INT_FRAC@GOTPAGEOFF]
	ldr	w0, [x20]
	mov	w1, #42379
	movk	w1, #38919, lsl #16
	bl	_cx_write
Lloh13:
	adrp	x8, _PLL_A_POST_STAT_BIST@GOTPAGE
Lloh14:
	ldr	x8, [x8, _PLL_A_POST_STAT_BIST@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	mov	w19, #259
	movk	w19, #32768, lsl #16
	add	w1, w19, #153
	bl	_cx_write
	ldr	w0, [x20]
	bl	_cx_read
	ldr	w8, [x20]
	and	w1, w0, #0x7fffffff
	mov	x0, x8
	bl	_cx_write
Lloh16:
	adrp	x20, _PLL_B_INT_FRAC@GOTPAGE
Lloh17:
	ldr	x20, [x20, _PLL_B_INT_FRAC@GOTPAGEOFF]
	ldr	w0, [x20]
	mov	w1, #43119
	movk	w1, #39043, lsl #16
	bl	_cx_write
Lloh18:
	adrp	x8, _PLL_B_POST_STAT_BIST@GOTPAGE
Lloh19:
	ldr	x8, [x8, _PLL_B_POST_STAT_BIST@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	add	w1, w19, #138
	bl	_cx_write
	ldr	w0, [x20]
	bl	_cx_read
	ldr	w8, [x20]
	and	w1, w0, #0x7fffffff
	mov	x0, x8
	bl	_cx_write
Lloh21:
	adrp	x20, _PLL_C_INT_FRAC@GOTPAGE
Lloh22:
	ldr	x20, [x20, _PLL_C_INT_FRAC@GOTPAGEOFF]
	ldr	w0, [x20]
	mov	w1, #59967
	movk	w1, #38560, lsl #16
	bl	_cx_write
Lloh23:
	adrp	x8, _PLL_C_POST_STAT_BIST@GOTPAGE
Lloh24:
	ldr	x8, [x8, _PLL_C_POST_STAT_BIST@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
	mov	w1, #259
	movk	w1, #32768, lsl #16
	bl	_cx_write
	ldr	w0, [x20]
	bl	_cx_read
	ldr	w8, [x20]
	and	w1, w0, #0x7fffffff
	mov	x0, x8
	bl	_cx_write
Lloh26:
	adrp	x20, _PLL_D_INT_FRAC@GOTPAGE
Lloh27:
	ldr	x20, [x20, _PLL_D_INT_FRAC@GOTPAGEOFF]
	ldr	w0, [x20]
	mov	w1, #32603
	movk	w1, #39029, lsl #16
	bl	_cx_write
Lloh28:
	adrp	x8, _PLL_D_POST_STAT_BIST@GOTPAGE
Lloh29:
	ldr	x8, [x8, _PLL_D_POST_STAT_BIST@GOTPAGEOFF]
Lloh30:
	ldr	w0, [x8]
	orr	w1, w19, #0x10
	bl	_cx_write
	ldr	w0, [x20]
	bl	_cx_read
	ldr	w8, [x20]
	and	w1, w0, #0x7fffffff
	mov	x0, x8
	bl	_cx_write
Lloh31:
	adrp	x19, _VID_CH_CLK_SEL@GOTPAGE
Lloh32:
	ldr	x19, [x19, _VID_CH_CLK_SEL@GOTPAGEOFF]
	ldr	w0, [x19]
	bl	_cx_read
	ldr	w8, [x19]
	mov	w1, #603979776
	bfxil	w1, w0, #0, #24
	mov	x0, x8
	bl	_cx_write
Lloh33:
	adrp	x19, _VID_CH_MODE_SEL@GOTPAGE
Lloh34:
	ldr	x19, [x19, _VID_CH_MODE_SEL@GOTPAGEOFF]
	ldr	w0, [x19]
	bl	_cx_read
	ldr	w8, [x19]
	and	w1, w0, #0xfffffe00
	mov	x0, x8
	bl	_cx_write
Lloh35:
	adrp	x19, _CLK_RST@GOTPAGE
Lloh36:
	ldr	x19, [x19, _CLK_RST@GOTPAGEOFF]
	ldr	w0, [x19]
	bl	_cx_read
Lloh37:
	adrp	x8, _FLD_USE_ALT_PLL_REF@GOTPAGE
Lloh38:
	ldr	x8, [x8, _FLD_USE_ALT_PLL_REF@GOTPAGEOFF]
Lloh39:
	ldr	w8, [x8]
	orr	w8, w8, w0
	ldr	w0, [x19]
Lloh40:
	adrp	x9, _FLD_VID_I_CLK_NOE@GOTPAGE
Lloh41:
	ldr	x9, [x9, _FLD_VID_I_CLK_NOE@GOTPAGEOFF]
Lloh42:
	ldr	w9, [x9]
Lloh43:
	adrp	x10, _FLD_VID_J_CLK_NOE@GOTPAGE
Lloh44:
	ldr	x10, [x10, _FLD_VID_J_CLK_NOE@GOTPAGEOFF]
Lloh45:
	ldr	w10, [x10]
	orr	w9, w10, w9
	bic	w1, w8, w9
	bl	_cx_write
	mov	w0, #100
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_msleep
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DEV_CNTRL2,4,2                 ; @DEV_CNTRL2
	.comm	_PCI_INT_MSK,4,2                ; @PCI_INT_MSK
	.comm	_RDR_TLCTL0,4,2                 ; @RDR_TLCTL0
	.comm	_FLD_CFG_RCB_CK_EN,4,2          ; @FLD_CFG_RCB_CK_EN
	.comm	_PLL_A_INT_FRAC,4,2             ; @PLL_A_INT_FRAC
	.comm	_PLL_A_POST_STAT_BIST,4,2       ; @PLL_A_POST_STAT_BIST
	.comm	_PLL_B_INT_FRAC,4,2             ; @PLL_B_INT_FRAC
	.comm	_PLL_B_POST_STAT_BIST,4,2       ; @PLL_B_POST_STAT_BIST
	.comm	_PLL_C_INT_FRAC,4,2             ; @PLL_C_INT_FRAC
	.comm	_PLL_C_POST_STAT_BIST,4,2       ; @PLL_C_POST_STAT_BIST
	.comm	_PLL_D_INT_FRAC,4,2             ; @PLL_D_INT_FRAC
	.comm	_PLL_D_POST_STAT_BIST,4,2       ; @PLL_D_POST_STAT_BIST
	.comm	_VID_CH_CLK_SEL,4,2             ; @VID_CH_CLK_SEL
	.comm	_VID_CH_MODE_SEL,4,2            ; @VID_CH_MODE_SEL
	.comm	_CLK_RST,4,2                    ; @CLK_RST
	.comm	_FLD_USE_ALT_PLL_REF,4,2        ; @FLD_USE_ALT_PLL_REF
	.comm	_FLD_VID_I_CLK_NOE,4,2          ; @FLD_VID_I_CLK_NOE
	.comm	_FLD_VID_J_CLK_NOE,4,2          ; @FLD_VID_J_CLK_NOE
	.no_dead_strip	_cx25821_registers_init
.subsections_via_symbols
