	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function decon_init
_decon_init:                            ## @decon_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	_VIDCON0_SWRESET@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_VIDCON0@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%rbx), %rsi
	callq	_writel
	movq	_VIDOUTCON0_DISP_IF_0_ON@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	cmpl	$0, 8(%rbx)
	jne	LBB0_2
## %bb.1:
	movq	_VIDOUTCON0_RGBIF@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
LBB0_2:
	orl	(%rax), %edi
	movq	_VIDOUTCON0@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%rbx), %rsi
	callq	_writel
	movq	_VCLKCON0_CLKVALUP@GOTPCREL(%rip), %rax
	movq	_VCLKCON0_VCLKFREE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	orl	(%rax), %edi
	movq	_VCLKCON0@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%rbx), %rsi
	callq	_writel
	cmpl	$0, 8(%rbx)
	je	LBB0_4
## %bb.3:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_4:
	movq	_VIDCON1_VCLK_HOLD@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	(%rbx), %rbx
	xorl	%edi, %edi
	callq	_VIDCON1
	addq	%rax, %rbx
	movl	%r14d, %edi
	movq	%rbx, %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_writel                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_VIDCON0_SWRESET,4,2            ## @VIDCON0_SWRESET
	.comm	_VIDCON0,8,3                    ## @VIDCON0
	.comm	_VIDOUTCON0_DISP_IF_0_ON,4,2    ## @VIDOUTCON0_DISP_IF_0_ON
	.comm	_VIDOUTCON0_RGBIF,4,2           ## @VIDOUTCON0_RGBIF
	.comm	_VIDOUTCON0,8,3                 ## @VIDOUTCON0
	.comm	_VCLKCON0_CLKVALUP,4,2          ## @VCLKCON0_CLKVALUP
	.comm	_VCLKCON0_VCLKFREE,4,2          ## @VCLKCON0_VCLKFREE
	.comm	_VCLKCON0,8,3                   ## @VCLKCON0
	.comm	_VIDCON1_VCLK_HOLD,4,2          ## @VIDCON1_VCLK_HOLD
	.no_dead_strip	_decon_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function decon_init
_decon_init:                            ; @decon_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
	mov	x19, x0
Lloh0:
	adrp	x8, _VIDCON0_SWRESET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VIDCON0_SWRESET@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldr	x8, [x19]
Lloh3:
	adrp	x9, _VIDCON0@GOTPAGE
Lloh4:
	ldr	x9, [x9, _VIDCON0@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
Lloh6:
	adrp	x8, _VIDOUTCON0_DISP_IF_0_ON@GOTPAGE
Lloh7:
	ldr	x8, [x8, _VIDOUTCON0_DISP_IF_0_ON@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	ldr	w9, [x19, #8]
Lloh9:
	adrp	x10, _VIDOUTCON0_RGBIF@GOTPAGE
Lloh10:
	ldr	x10, [x10, _VIDOUTCON0_RGBIF@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	cmp	w9, #0
	csel	w9, w10, wzr, eq
	orr	w0, w9, w8
	ldr	x8, [x19]
Lloh12:
	adrp	x9, _VIDOUTCON0@GOTPAGE
Lloh13:
	ldr	x9, [x9, _VIDOUTCON0@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
Lloh15:
	adrp	x8, _VCLKCON0_CLKVALUP@GOTPAGE
Lloh16:
	ldr	x8, [x8, _VCLKCON0_CLKVALUP@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
Lloh18:
	adrp	x9, _VCLKCON0_VCLKFREE@GOTPAGE
Lloh19:
	ldr	x9, [x9, _VCLKCON0_VCLKFREE@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	orr	w0, w9, w8
	ldr	x8, [x19]
Lloh21:
	adrp	x9, _VCLKCON0@GOTPAGE
Lloh22:
	ldr	x9, [x9, _VCLKCON0@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
	ldr	w8, [x19, #8]
	cbz	w8, LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
Lloh24:
	adrp	x8, _VIDCON1_VCLK_HOLD@GOTPAGE
Lloh25:
	ldr	x8, [x8, _VIDCON1_VCLK_HOLD@GOTPAGEOFF]
Lloh26:
	ldr	w20, [x8]
	ldr	x19, [x19]
	mov	w0, #0
	bl	_VIDCON1
	add	x1, x0, x19
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_writel
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.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
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_VIDCON0_SWRESET,4,2            ; @VIDCON0_SWRESET
	.comm	_VIDCON0,8,3                    ; @VIDCON0
	.comm	_VIDOUTCON0_DISP_IF_0_ON,4,2    ; @VIDOUTCON0_DISP_IF_0_ON
	.comm	_VIDOUTCON0_RGBIF,4,2           ; @VIDOUTCON0_RGBIF
	.comm	_VIDOUTCON0,8,3                 ; @VIDOUTCON0
	.comm	_VCLKCON0_CLKVALUP,4,2          ; @VCLKCON0_CLKVALUP
	.comm	_VCLKCON0_VCLKFREE,4,2          ; @VCLKCON0_VCLKFREE
	.comm	_VCLKCON0,8,3                   ; @VCLKCON0
	.comm	_VIDCON1_VCLK_HOLD,4,2          ; @VIDCON1_VCLK_HOLD
	.no_dead_strip	_decon_init
.subsections_via_symbols
