	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function decon_commit
_decon_commit:                          ## @decon_commit
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	8(%rdi), %r13
	cmpq	$0, 16(%r13)
	je	LBB0_1
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	(%rdi), %r14
	cmpq	$0, (%r14)
	je	LBB0_8
## %bb.2:
	cmpq	$0, 8(%r14)
	je	LBB0_8
## %bb.3:
	cmpl	$0, 8(%r13)
	jne	LBB0_5
## %bb.4:
	movl	16(%r14), %edi
	movl	%edi, -44(%rbp)                 ## 4-byte Spill
	movl	20(%r14), %r15d
	movl	28(%r14), %r12d
	notl	%edi
	addl	24(%r14), %edi
	callq	_VIDTCON0_VBPD
	movl	%eax, %ebx
	notl	%r12d
	addl	%r15d, %r12d
	movl	%r12d, %edi
	callq	_VIDTCON0_VFPD
	orl	%eax, %ebx
	movq	_VIDTCON0@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r13), %rsi
	movl	%ebx, %edi
	callq	_writel
	notl	%r15d
	addl	-44(%rbp), %r15d                ## 4-byte Folded Reload
	movl	%r15d, %edi
	callq	_VIDTCON1_VSPW
	movq	_VIDTCON1@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	addq	(%r13), %rsi
	movl	%eax, %edi
	callq	_writel
	movl	32(%r14), %edi
	movl	%edi, -44(%rbp)                 ## 4-byte Spill
	movl	36(%r14), %r15d
	movl	44(%r14), %r12d
	notl	%edi
	addl	40(%r14), %edi
	callq	_VIDTCON2_HBPD
	movl	%eax, %ebx
	notl	%r12d
	addl	%r15d, %r12d
	movl	%r12d, %edi
	callq	_VIDTCON2_HFPD
	orl	%eax, %ebx
	movq	_VIDTCON2@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r13), %rsi
	movl	%ebx, %edi
	callq	_writel
	notl	%r15d
	addl	-44(%rbp), %r15d                ## 4-byte Folded Reload
	movl	%r15d, %edi
	callq	_VIDTCON3_HSPW
	movq	_VIDTCON3@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	addq	(%r13), %rsi
	movl	%eax, %edi
	callq	_writel
LBB0_5:
	movl	48(%r14), %edi
	decl	%edi
	callq	_VIDTCON4_LINEVAL
	movl	%eax, %ebx
	movq	56(%r14), %rdi
	decq	%rdi
	callq	_VIDTCON4_HOZVAL
	orl	%eax, %ebx
	movq	_VIDTCON4@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r13), %rsi
	movl	%ebx, %edi
	callq	_writel
	movl	48(%r14), %edi
	decl	%edi
	movq	_LINECNT_OP_THRESHOLD@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r13), %rsi
	callq	_writel
	movq	_VIDCON0_ENVID@GOTPCREL(%rip), %rax
	movq	_VIDCON0_ENVID_F@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	orl	(%rax), %edi
	movq	_VIDCON0@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r13), %rsi
	callq	_writel
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_decon_calc_clkdiv
	cmpl	$2, %eax
	jl	LBB0_7
## %bb.6:
	decl	%eax
	movl	%eax, %edi
	callq	_VCLKCON1_CLKVAL_NUM_VCLK
	movl	%eax, %ebx
	movq	_VCLKCON1@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r13), %rsi
	movl	%ebx, %edi
	callq	_writel
	movq	_VCLKCON2@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r13), %rsi
	movl	%ebx, %edi
	callq	_writel
LBB0_7:
	movq	_DECON_UPDATE@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	addq	(%r13), %rdi
	callq	_readl
	movq	_DECON_UPDATE_STANDALONE_F@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	(%rbx), %rsi
	addq	(%r13), %rsi
	movl	%eax, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_writel                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_VIDTCON0,8,3                   ## @VIDTCON0
	.comm	_VIDTCON1,8,3                   ## @VIDTCON1
	.comm	_VIDTCON2,8,3                   ## @VIDTCON2
	.comm	_VIDTCON3,8,3                   ## @VIDTCON3
	.comm	_VIDTCON4,8,3                   ## @VIDTCON4
	.comm	_LINECNT_OP_THRESHOLD,8,3       ## @LINECNT_OP_THRESHOLD
	.comm	_VIDCON0_ENVID,4,2              ## @VIDCON0_ENVID
	.comm	_VIDCON0_ENVID_F,4,2            ## @VIDCON0_ENVID_F
	.comm	_VIDCON0,8,3                    ## @VIDCON0
	.comm	_VCLKCON1,8,3                   ## @VCLKCON1
	.comm	_VCLKCON2,8,3                   ## @VCLKCON2
	.comm	_DECON_UPDATE,8,3               ## @DECON_UPDATE
	.comm	_DECON_UPDATE_STANDALONE_F,4,2  ## @DECON_UPDATE_STANDALONE_F
	.no_dead_strip	_decon_commit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function decon_commit
_decon_commit:                          ; @decon_commit
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	ldr	x19, [x0, #8]
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_2
LBB0_1:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_2:
	ldr	x20, [x0]
	ldr	x8, [x20]
	cbz	x8, LBB0_1
; %bb.3:
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_1
; %bb.4:
	ldr	w8, [x19, #8]
	cbnz	w8, LBB0_6
; %bb.5:
	ldp	w22, w23, [x20, #16]
	ldp	w8, w24, [x20, #24]
	mvn	w9, w22
	add	w0, w8, w9
	bl	_VIDTCON0_VBPD
	mov	x21, x0
	mvn	w8, w24
	add	w0, w23, w8
	bl	_VIDTCON0_VFPD
	orr	w0, w0, w21
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _VIDTCON0@GOTPAGE
Lloh1:
	ldr	x9, [x9, _VIDTCON0@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
	mvn	w8, w23
	add	w0, w22, w8
	bl	_VIDTCON1_VSPW
	ldr	x8, [x19]
Lloh3:
	adrp	x9, _VIDTCON1@GOTPAGE
Lloh4:
	ldr	x9, [x9, _VIDTCON1@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
	ldp	w22, w23, [x20, #32]
	ldp	w8, w24, [x20, #40]
	mvn	w9, w22
	add	w0, w8, w9
	bl	_VIDTCON2_HBPD
	mov	x21, x0
	mvn	w8, w24
	add	w0, w23, w8
	bl	_VIDTCON2_HFPD
	orr	w0, w0, w21
	ldr	x8, [x19]
Lloh6:
	adrp	x9, _VIDTCON2@GOTPAGE
Lloh7:
	ldr	x9, [x9, _VIDTCON2@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
	mvn	w8, w23
	add	w0, w22, w8
	bl	_VIDTCON3_HSPW
	ldr	x8, [x19]
Lloh9:
	adrp	x9, _VIDTCON3@GOTPAGE
Lloh10:
	ldr	x9, [x9, _VIDTCON3@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
LBB0_6:
	ldr	w8, [x20, #48]
	sub	w0, w8, #1
	bl	_VIDTCON4_LINEVAL
	mov	x21, x0
	ldr	x8, [x20, #56]
	sub	x0, x8, #1
	bl	_VIDTCON4_HOZVAL
	orr	w0, w0, w21
	ldr	x8, [x19]
Lloh12:
	adrp	x9, _VIDTCON4@GOTPAGE
Lloh13:
	ldr	x9, [x9, _VIDTCON4@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
	ldr	w8, [x20, #48]
	sub	w0, w8, #1
	ldr	x8, [x19]
Lloh15:
	adrp	x9, _LINECNT_OP_THRESHOLD@GOTPAGE
Lloh16:
	ldr	x9, [x9, _LINECNT_OP_THRESHOLD@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
Lloh18:
	adrp	x8, _VIDCON0_ENVID@GOTPAGE
Lloh19:
	ldr	x8, [x8, _VIDCON0_ENVID@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
Lloh21:
	adrp	x9, _VIDCON0_ENVID_F@GOTPAGE
Lloh22:
	ldr	x9, [x9, _VIDCON0_ENVID_F@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	orr	w0, w9, w8
	ldr	x8, [x19]
Lloh24:
	adrp	x9, _VIDCON0@GOTPAGE
Lloh25:
	ldr	x9, [x9, _VIDCON0@GOTPAGEOFF]
Lloh26:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
	mov	x0, x19
	mov	x1, x20
	bl	_decon_calc_clkdiv
	cmp	w0, #2
	b.lt	LBB0_8
; %bb.7:
	sub	w0, w0, #1
	bl	_VCLKCON1_CLKVAL_NUM_VCLK
	mov	x20, x0
	ldr	x8, [x19]
Lloh27:
	adrp	x9, _VCLKCON1@GOTPAGE
Lloh28:
	ldr	x9, [x9, _VCLKCON1@GOTPAGEOFF]
Lloh29:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
	ldr	x8, [x19]
Lloh30:
	adrp	x9, _VCLKCON2@GOTPAGE
Lloh31:
	ldr	x9, [x9, _VCLKCON2@GOTPAGEOFF]
Lloh32:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	x0, x20
	bl	_writel
LBB0_8:
	ldr	x8, [x19]
Lloh33:
	adrp	x20, _DECON_UPDATE@GOTPAGE
Lloh34:
	ldr	x20, [x20, _DECON_UPDATE@GOTPAGEOFF]
	ldr	x9, [x20]
	add	x0, x9, x8
	bl	_readl
Lloh35:
	adrp	x8, _DECON_UPDATE_STANDALONE_F@GOTPAGE
Lloh36:
	ldr	x8, [x8, _DECON_UPDATE_STANDALONE_F@GOTPAGEOFF]
Lloh37:
	ldr	w8, [x8]
	orr	w0, w8, w0
	ldr	x8, [x19]
	ldr	x9, [x20]
	add	x1, x9, x8
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_writel
	.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
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh33, Lloh34
	.cfi_endproc
                                        ; -- End function
	.comm	_VIDTCON0,8,3                   ; @VIDTCON0
	.comm	_VIDTCON1,8,3                   ; @VIDTCON1
	.comm	_VIDTCON2,8,3                   ; @VIDTCON2
	.comm	_VIDTCON3,8,3                   ; @VIDTCON3
	.comm	_VIDTCON4,8,3                   ; @VIDTCON4
	.comm	_LINECNT_OP_THRESHOLD,8,3       ; @LINECNT_OP_THRESHOLD
	.comm	_VIDCON0_ENVID,4,2              ; @VIDCON0_ENVID
	.comm	_VIDCON0_ENVID_F,4,2            ; @VIDCON0_ENVID_F
	.comm	_VIDCON0,8,3                    ; @VIDCON0
	.comm	_VCLKCON1,8,3                   ; @VCLKCON1
	.comm	_VCLKCON2,8,3                   ; @VCLKCON2
	.comm	_DECON_UPDATE,8,3               ; @DECON_UPDATE
	.comm	_DECON_UPDATE_STANDALONE_F,4,2  ; @DECON_UPDATE_STANDALONE_F
	.no_dead_strip	_decon_commit
.subsections_via_symbols
