	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function decon_win_set_pixfmt
_decon_win_set_pixfmt:                  ## @decon_win_set_pixfmt
	.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	%rdx, %r13
	movl	%esi, %r14d
	movq	%rdi, %r12
	movq	16(%rdi), %rax
	movl	%esi, %ecx
	movl	(%rax,%rcx,4), %edi
	callq	_to_exynos_plane_state
	movq	8(%r13), %rcx
	cmpq	$0, 16(%rcx)
	jne	LBB0_1
## %bb.2:
	movq	_DRM_MODE_BLEND_PIXEL_NONE@GOTPCREL(%rip), %rcx
	jmp	LBB0_3
LBB0_1:
	leaq	4(%rax), %rcx
LBB0_3:
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	(%rcx), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	8(%r12), %rbx
	movl	%r14d, %edi
	callq	_DECON_WINCONx
	addq	%rax, %rbx
	movq	%rbx, %rdi
	callq	_readl
	movq	%rax, %r15
	movq	_WINCONx_ENWIN_F@GOTPCREL(%rip), %rax
	andq	(%rax), %r15
	movq	8(%r13), %rax
	movl	(%rax), %ecx
	addl	$-128, %ecx
	cmpl	$2, %ecx
	ja	LBB0_4
## %bb.5:
	movslq	%ecx, %rcx
	leaq	l_switch.table.decon_win_set_pixfmt(%rip), %rdx
	movq	(%rdx,%rcx,8), %rdx
	leaq	l_switch.table.decon_win_set_pixfmt.1(%rip), %rsi
	movq	(%rsi,%rcx,8), %rcx
	jmp	LBB0_6
LBB0_4:
	movq	_WINCONx_WSWP_F@GOTPCREL(%rip), %rcx
	movq	_WINCONx_BPPMODE_32BPP_A8888@GOTPCREL(%rip), %rdx
LBB0_6:
	orq	(%rdx), %r15
	orq	(%rcx), %r15
	movq	_WINCONx_BURSTLEN_16WORD@GOTPCREL(%rip), %rcx
	orq	(%rcx), %r15
	movl	(%r12), %edi
	movq	8(%rax), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rsi
	callq	_DRM_DEV_DEBUG_KMS
	movq	(%r13), %rax
	movq	_MIN_FB_WIDTH_FOR_16WORD_BURST@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_8
## %bb.7:
	movq	_WINCONx_BURSTLEN_MASK@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	notq	%rax
	andq	%rax, %r15
	movq	_WINCONx_BURSTLEN_8WORD@GOTPCREL(%rip), %rax
	orq	(%rax), %r15
LBB0_8:
	movl	%r14d, %edi
	callq	_DECON_WINCONx
	movq	_WINCONx_BLEND_MODE_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	notl	%edx
	movq	%r12, %rdi
	movq	%rax, %rsi
	movq	%r15, %rcx
	callq	_decon_set_bits
	testl	%r14d, %r14d
	je	LBB0_9
## %bb.10:
	movq	%r12, %rdi
	movl	%r14d, %esi
	movl	-48(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %edx
	movl	-44(%rbp), %r15d                ## 4-byte Reload
	movl	%r15d, %ecx
	callq	_decon_win_set_bldmod
	movq	%r12, %rdi
	movl	%r14d, %esi
	movl	%ebx, %edx
	movl	%r15d, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_decon_win_set_bldeq            ## TAILCALL
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DRM_MODE_BLEND_PIXEL_NONE,4,2  ## @DRM_MODE_BLEND_PIXEL_NONE
	.comm	_WINCONx_ENWIN_F,8,3            ## @WINCONx_ENWIN_F
	.comm	_WINCONx_BPPMODE_16BPP_I1555,8,3 ## @WINCONx_BPPMODE_16BPP_I1555
	.comm	_WINCONx_HAWSWP_F,8,3           ## @WINCONx_HAWSWP_F
	.comm	_WINCONx_BURSTLEN_16WORD,8,3    ## @WINCONx_BURSTLEN_16WORD
	.comm	_WINCONx_BPPMODE_16BPP_565,8,3  ## @WINCONx_BPPMODE_16BPP_565
	.comm	_WINCONx_BPPMODE_24BPP_888,8,3  ## @WINCONx_BPPMODE_24BPP_888
	.comm	_WINCONx_WSWP_F,8,3             ## @WINCONx_WSWP_F
	.comm	_WINCONx_BPPMODE_32BPP_A8888,8,3 ## @WINCONx_BPPMODE_32BPP_A8888
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cpp = %u\n"

	.comm	_MIN_FB_WIDTH_FOR_16WORD_BURST,8,3 ## @MIN_FB_WIDTH_FOR_16WORD_BURST
	.comm	_WINCONx_BURSTLEN_MASK,8,3      ## @WINCONx_BURSTLEN_MASK
	.comm	_WINCONx_BURSTLEN_8WORD,8,3     ## @WINCONx_BURSTLEN_8WORD
	.comm	_WINCONx_BLEND_MODE_MASK,4,2    ## @WINCONx_BLEND_MODE_MASK
	.no_dead_strip	_decon_win_set_pixfmt
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.decon_win_set_pixfmt
l_switch.table.decon_win_set_pixfmt:
	.quad	_WINCONx_BPPMODE_24BPP_888
	.quad	_WINCONx_BPPMODE_16BPP_I1555
	.quad	_WINCONx_BPPMODE_16BPP_565

	.p2align	3                               ## @switch.table.decon_win_set_pixfmt.1
l_switch.table.decon_win_set_pixfmt.1:
	.quad	_WINCONx_WSWP_F
	.quad	_WINCONx_HAWSWP_F
	.quad	_WINCONx_HAWSWP_F

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function decon_win_set_pixfmt
_decon_win_set_pixfmt:                  ; @decon_win_set_pixfmt
	.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
	mov	x23, x2
	mov	x19, x1
	mov	x20, x0
	ldr	x8, [x0, #16]
	ldr	w0, [x8, w1, uxtw #2]
	bl	_to_exynos_plane_state
	ldr	w21, [x0], #4
	ldr	x8, [x23, #8]
	ldr	x8, [x8, #16]
Lloh0:
	adrp	x9, _DRM_MODE_BLEND_PIXEL_NONE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _DRM_MODE_BLEND_PIXEL_NONE@GOTPAGEOFF]
	cmp	x8, #0
	csel	x8, x9, x0, eq
	ldr	w22, [x8]
	ldr	x24, [x20, #8]
	mov	x0, x19
	bl	_DECON_WINCONx
	add	x0, x0, x24
	bl	_readl
Lloh2:
	adrp	x8, _WINCONx_ENWIN_F@GOTPAGE
Lloh3:
	ldr	x8, [x8, _WINCONx_ENWIN_F@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	and	x9, x8, x0
	ldr	x8, [x23, #8]
	ldr	w10, [x8]
	sub	w10, w10, #128
	cmp	w10, #2
	b.hi	LBB0_2
; %bb.1:
	sbfiz	x10, x10, #3, #32
Lloh5:
	adrp	x11, l_switch.table.decon_win_set_pixfmt@PAGE
Lloh6:
	add	x11, x11, l_switch.table.decon_win_set_pixfmt@PAGEOFF
	ldr	x11, [x11, x10]
Lloh7:
	adrp	x12, l_switch.table.decon_win_set_pixfmt.1@PAGE
Lloh8:
	add	x12, x12, l_switch.table.decon_win_set_pixfmt.1@PAGEOFF
	ldr	x10, [x12, x10]
	b	LBB0_3
LBB0_2:
Lloh9:
	adrp	x10, _WINCONx_WSWP_F@GOTPAGE
Lloh10:
	ldr	x10, [x10, _WINCONx_WSWP_F@GOTPAGEOFF]
Lloh11:
	adrp	x11, _WINCONx_BPPMODE_32BPP_A8888@GOTPAGE
Lloh12:
	ldr	x11, [x11, _WINCONx_BPPMODE_32BPP_A8888@GOTPAGEOFF]
LBB0_3:
	ldr	x11, [x11]
	orr	x9, x11, x9
	ldr	x10, [x10]
Lloh13:
	adrp	x11, _WINCONx_BURSTLEN_16WORD@GOTPAGE
Lloh14:
	ldr	x11, [x11, _WINCONx_BURSTLEN_16WORD@GOTPAGEOFF]
	orr	x9, x9, x10
Lloh15:
	ldr	x10, [x11]
	orr	x24, x9, x10
	ldr	w0, [x20]
	ldr	x8, [x8, #8]
	ldr	w2, [x8]
Lloh16:
	adrp	x1, l_.str@PAGE
Lloh17:
	add	x1, x1, l_.str@PAGEOFF
	bl	_DRM_DEV_DEBUG_KMS
	ldr	x8, [x23]
Lloh18:
	adrp	x9, _MIN_FB_WIDTH_FOR_16WORD_BURST@GOTPAGE
Lloh19:
	ldr	x9, [x9, _MIN_FB_WIDTH_FOR_16WORD_BURST@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ge	LBB0_5
; %bb.4:
Lloh21:
	adrp	x8, _WINCONx_BURSTLEN_MASK@GOTPAGE
Lloh22:
	ldr	x8, [x8, _WINCONx_BURSTLEN_MASK@GOTPAGEOFF]
Lloh23:
	ldr	x8, [x8]
	bic	x8, x24, x8
Lloh24:
	adrp	x9, _WINCONx_BURSTLEN_8WORD@GOTPAGE
Lloh25:
	ldr	x9, [x9, _WINCONx_BURSTLEN_8WORD@GOTPAGEOFF]
Lloh26:
	ldr	x9, [x9]
	orr	x24, x8, x9
LBB0_5:
	mov	x0, x19
	bl	_DECON_WINCONx
	mov	x1, x0
Lloh27:
	adrp	x8, _WINCONx_BLEND_MODE_MASK@GOTPAGE
Lloh28:
	ldr	x8, [x8, _WINCONx_BLEND_MODE_MASK@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	mvn	w2, w8
	mov	x0, x20
	mov	x3, x24
	bl	_decon_set_bits
	cbz	w19, LBB0_7
; %bb.6:
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	mov	x3, x22
	bl	_decon_win_set_bldmod
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	mov	x3, x22
	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	_decon_win_set_bldeq
LBB0_7:
	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
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_DRM_MODE_BLEND_PIXEL_NONE,4,2  ; @DRM_MODE_BLEND_PIXEL_NONE
	.comm	_WINCONx_ENWIN_F,8,3            ; @WINCONx_ENWIN_F
	.comm	_WINCONx_BPPMODE_16BPP_I1555,8,3 ; @WINCONx_BPPMODE_16BPP_I1555
	.comm	_WINCONx_HAWSWP_F,8,3           ; @WINCONx_HAWSWP_F
	.comm	_WINCONx_BURSTLEN_16WORD,8,3    ; @WINCONx_BURSTLEN_16WORD
	.comm	_WINCONx_BPPMODE_16BPP_565,8,3  ; @WINCONx_BPPMODE_16BPP_565
	.comm	_WINCONx_BPPMODE_24BPP_888,8,3  ; @WINCONx_BPPMODE_24BPP_888
	.comm	_WINCONx_WSWP_F,8,3             ; @WINCONx_WSWP_F
	.comm	_WINCONx_BPPMODE_32BPP_A8888,8,3 ; @WINCONx_BPPMODE_32BPP_A8888
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cpp = %u\n"

	.comm	_MIN_FB_WIDTH_FOR_16WORD_BURST,8,3 ; @MIN_FB_WIDTH_FOR_16WORD_BURST
	.comm	_WINCONx_BURSTLEN_MASK,8,3      ; @WINCONx_BURSTLEN_MASK
	.comm	_WINCONx_BURSTLEN_8WORD,8,3     ; @WINCONx_BURSTLEN_8WORD
	.comm	_WINCONx_BLEND_MODE_MASK,4,2    ; @WINCONx_BLEND_MODE_MASK
	.no_dead_strip	_decon_win_set_pixfmt
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.decon_win_set_pixfmt
l_switch.table.decon_win_set_pixfmt:
	.quad	_WINCONx_BPPMODE_24BPP_888
	.quad	_WINCONx_BPPMODE_16BPP_I1555
	.quad	_WINCONx_BPPMODE_16BPP_565

	.p2align	3                               ; @switch.table.decon_win_set_pixfmt.1
l_switch.table.decon_win_set_pixfmt.1:
	.quad	_WINCONx_WSWP_F
	.quad	_WINCONx_HAWSWP_F
	.quad	_WINCONx_HAWSWP_F

.subsections_via_symbols
