	.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, %r12
	movl	%esi, %r14d
	movq	%rdi, %r15
	movq	(%rdi), %rbx
	movl	%esi, %edi
	callq	_WINCON
	addq	%rax, %rbx
	movq	%rbx, %rdi
	callq	_readl
	movq	_WINCONx_BPPMODE_MASK@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r13
	notq	%r13
	andq	%rax, %r13
	movq	16(%r12), %rax
	movl	(%rax), %ecx
	addl	$-128, %ecx
	cmpl	$8, %ecx
	ja	LBB0_11
## %bb.1:
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rcx,4), %rcx
	addq	%rdx, %rcx
	jmpq	*%rcx
LBB0_4:
	movq	_WINCONx_BPPMODE_24BPP_xRGB@GOTPCREL(%rip), %rcx
	jmp	LBB0_3
LBB0_5:
	movq	_WINCONx_BPPMODE_24BPP_xBGR@GOTPCREL(%rip), %rcx
	jmp	LBB0_3
LBB0_6:
	movq	_WINCONx_BPPMODE_24BPP_RGBx@GOTPCREL(%rip), %rcx
	jmp	LBB0_3
LBB0_10:
	movq	_WINCONx_BPPMODE_32BPP_RGBA@GOTPCREL(%rip), %rcx
	jmp	LBB0_12
LBB0_2:
	movq	_WINCONx_BPPMODE_16BPP_565@GOTPCREL(%rip), %rcx
	jmp	LBB0_3
LBB0_7:
	movq	_WINCONx_BPPMODE_24BPP_BGRx@GOTPCREL(%rip), %rcx
LBB0_3:
	orq	(%rcx), %r13
	movq	_WINCONx_BURSTLEN_16WORD@GOTPCREL(%rip), %rcx
	orq	(%rcx), %r13
	jmp	LBB0_13
LBB0_11:
	movq	_WINCONx_BPPMODE_32BPP_BGRA@GOTPCREL(%rip), %rcx
	jmp	LBB0_12
LBB0_8:
	movq	_WINCONx_BPPMODE_32BPP_ARGB@GOTPCREL(%rip), %rcx
	jmp	LBB0_12
LBB0_9:
	movq	_WINCONx_BPPMODE_32BPP_ABGR@GOTPCREL(%rip), %rcx
LBB0_12:
	movq	_WINCONx_BLD_PIX@GOTPCREL(%rip), %rdx
	movq	_WINCONx_ALPHA_SEL@GOTPCREL(%rip), %rsi
	movq	_WINCONx_BURSTLEN_16WORD@GOTPCREL(%rip), %rdi
	orq	(%rcx), %r13
	orq	(%rdx), %r13
	orq	(%rsi), %r13
	orq	(%rdi), %r13
LBB0_13:
	movl	8(%r15), %edi
	movq	8(%rax), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rsi
	callq	_DRM_DEV_DEBUG_KMS
	movq	(%r12), %rax
	movq	16(%r12), %rcx
	movl	(%rax), %eax
	movq	8(%rcx), %rcx
	cltd
	idivl	(%rcx)
	movq	_MIN_FB_WIDTH_FOR_16WORD_BURST@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jge	LBB0_15
## %bb.14:
	movq	_WINCONx_BURSTLEN_MASK@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	notq	%rax
	andq	%rax, %r13
	movq	_WINCONx_BURSTLEN_8WORD@GOTPCREL(%rip), %rax
	orq	(%rax), %r13
LBB0_15:
	movq	(%r15), %rbx
	movl	%r14d, %edi
	callq	_WINCON
	addq	%rax, %rbx
	movq	%r13, %rdi
	movq	%rbx, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_writel                         ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
LJTI0_0:
	.long	L0_0_set_4
	.long	L0_0_set_5
	.long	L0_0_set_6
	.long	L0_0_set_10
	.long	L0_0_set_2
	.long	L0_0_set_7
	.long	L0_0_set_11
	.long	L0_0_set_8
	.long	L0_0_set_9
	.end_data_region
                                        ## -- End function
	.comm	_WINCONx_BPPMODE_MASK,8,3       ## @WINCONx_BPPMODE_MASK
	.comm	_WINCONx_BPPMODE_16BPP_565,8,3  ## @WINCONx_BPPMODE_16BPP_565
	.comm	_WINCONx_BURSTLEN_16WORD,8,3    ## @WINCONx_BURSTLEN_16WORD
	.comm	_WINCONx_BPPMODE_24BPP_xRGB,8,3 ## @WINCONx_BPPMODE_24BPP_xRGB
	.comm	_WINCONx_BPPMODE_24BPP_xBGR,8,3 ## @WINCONx_BPPMODE_24BPP_xBGR
	.comm	_WINCONx_BPPMODE_24BPP_RGBx,8,3 ## @WINCONx_BPPMODE_24BPP_RGBx
	.comm	_WINCONx_BPPMODE_24BPP_BGRx,8,3 ## @WINCONx_BPPMODE_24BPP_BGRx
	.comm	_WINCONx_BPPMODE_32BPP_ARGB,8,3 ## @WINCONx_BPPMODE_32BPP_ARGB
	.comm	_WINCONx_BLD_PIX,8,3            ## @WINCONx_BLD_PIX
	.comm	_WINCONx_ALPHA_SEL,8,3          ## @WINCONx_ALPHA_SEL
	.comm	_WINCONx_BPPMODE_32BPP_ABGR,8,3 ## @WINCONx_BPPMODE_32BPP_ABGR
	.comm	_WINCONx_BPPMODE_32BPP_RGBA,8,3 ## @WINCONx_BPPMODE_32BPP_RGBA
	.comm	_WINCONx_BPPMODE_32BPP_BGRA,8,3 ## @WINCONx_BPPMODE_32BPP_BGRA
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cpp = %d\n"

	.comm	_MIN_FB_WIDTH_FOR_16WORD_BURST,4,2 ## @MIN_FB_WIDTH_FOR_16WORD_BURST
	.comm	_WINCONx_BURSTLEN_MASK,8,3      ## @WINCONx_BURSTLEN_MASK
	.comm	_WINCONx_BURSTLEN_8WORD,8,3     ## @WINCONx_BURSTLEN_8WORD
	.no_dead_strip	_decon_win_set_pixfmt
.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	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
	ldr	x22, [x0]
	mov	x0, x1
	bl	_WINCON
	add	x0, x0, x22
	bl	_readl
Lloh0:
	adrp	x8, _WINCONx_BPPMODE_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WINCONx_BPPMODE_MASK@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	bic	x9, x0, x8
	ldr	x8, [x21, #16]
	ldr	w10, [x8]
	sub	w10, w10, #128
	cmp	w10, #8
	b.hi	LBB0_9
; %bb.1:
Lloh3:
	adrp	x11, lJTI0_0@PAGE
Lloh4:
	add	x11, x11, lJTI0_0@PAGEOFF
	adr	x12, LBB0_2
	ldrb	w13, [x11, x10]
	add	x12, x12, x13, lsl #2
	br	x12
LBB0_2:
Lloh5:
	adrp	x10, _WINCONx_BPPMODE_24BPP_xRGB@GOTPAGE
Lloh6:
	ldr	x10, [x10, _WINCONx_BPPMODE_24BPP_xRGB@GOTPAGEOFF]
	b	LBB0_8
LBB0_3:
Lloh7:
	adrp	x10, _WINCONx_BPPMODE_24BPP_xBGR@GOTPAGE
Lloh8:
	ldr	x10, [x10, _WINCONx_BPPMODE_24BPP_xBGR@GOTPAGEOFF]
	b	LBB0_8
LBB0_4:
Lloh9:
	adrp	x10, _WINCONx_BPPMODE_24BPP_RGBx@GOTPAGE
Lloh10:
	ldr	x10, [x10, _WINCONx_BPPMODE_24BPP_RGBx@GOTPAGEOFF]
	b	LBB0_8
LBB0_5:
Lloh11:
	adrp	x10, _WINCONx_BPPMODE_32BPP_RGBA@GOTPAGE
Lloh12:
	ldr	x10, [x10, _WINCONx_BPPMODE_32BPP_RGBA@GOTPAGEOFF]
	b	LBB0_12
LBB0_6:
Lloh13:
	adrp	x10, _WINCONx_BPPMODE_16BPP_565@GOTPAGE
Lloh14:
	ldr	x10, [x10, _WINCONx_BPPMODE_16BPP_565@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:
Lloh15:
	adrp	x10, _WINCONx_BPPMODE_24BPP_BGRx@GOTPAGE
Lloh16:
	ldr	x10, [x10, _WINCONx_BPPMODE_24BPP_BGRx@GOTPAGEOFF]
LBB0_8:
	ldr	x10, [x10]
	orr	x9, x10, x9
Lloh17:
	adrp	x10, _WINCONx_BURSTLEN_16WORD@GOTPAGE
Lloh18:
	ldr	x10, [x10, _WINCONx_BURSTLEN_16WORD@GOTPAGEOFF]
Lloh19:
	ldr	x10, [x10]
	orr	x22, x9, x10
	b	LBB0_13
LBB0_9:
Lloh20:
	adrp	x10, _WINCONx_BPPMODE_32BPP_BGRA@GOTPAGE
Lloh21:
	ldr	x10, [x10, _WINCONx_BPPMODE_32BPP_BGRA@GOTPAGEOFF]
	b	LBB0_12
LBB0_10:
Lloh22:
	adrp	x10, _WINCONx_BPPMODE_32BPP_ARGB@GOTPAGE
Lloh23:
	ldr	x10, [x10, _WINCONx_BPPMODE_32BPP_ARGB@GOTPAGEOFF]
	b	LBB0_12
LBB0_11:
Lloh24:
	adrp	x10, _WINCONx_BPPMODE_32BPP_ABGR@GOTPAGE
Lloh25:
	ldr	x10, [x10, _WINCONx_BPPMODE_32BPP_ABGR@GOTPAGEOFF]
LBB0_12:
Lloh26:
	adrp	x11, _WINCONx_BLD_PIX@GOTPAGE
Lloh27:
	ldr	x11, [x11, _WINCONx_BLD_PIX@GOTPAGEOFF]
	ldr	x10, [x10]
Lloh28:
	ldr	x11, [x11]
Lloh29:
	adrp	x12, _WINCONx_ALPHA_SEL@GOTPAGE
Lloh30:
	ldr	x12, [x12, _WINCONx_ALPHA_SEL@GOTPAGEOFF]
Lloh31:
	adrp	x13, _WINCONx_BURSTLEN_16WORD@GOTPAGE
Lloh32:
	ldr	x13, [x13, _WINCONx_BURSTLEN_16WORD@GOTPAGEOFF]
Lloh33:
	ldr	x12, [x12]
Lloh34:
	ldr	x13, [x13]
	orr	x9, x10, x9
	orr	x9, x9, x11
	orr	x9, x9, x12
	orr	x22, x9, x13
LBB0_13:
	ldr	w0, [x20, #8]
	ldr	x8, [x8, #8]
	ldr	w2, [x8]
Lloh35:
	adrp	x1, l_.str@PAGE
Lloh36:
	add	x1, x1, l_.str@PAGEOFF
	bl	_DRM_DEV_DEBUG_KMS
	ldr	x8, [x21]
	ldr	w8, [x8]
	ldr	x9, [x21, #16]
	ldr	x9, [x9, #8]
	ldr	w9, [x9]
	sdiv	w8, w8, w9
Lloh37:
	adrp	x9, _MIN_FB_WIDTH_FOR_16WORD_BURST@GOTPAGE
Lloh38:
	ldr	x9, [x9, _MIN_FB_WIDTH_FOR_16WORD_BURST@GOTPAGEOFF]
Lloh39:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ge	LBB0_15
; %bb.14:
Lloh40:
	adrp	x8, _WINCONx_BURSTLEN_MASK@GOTPAGE
Lloh41:
	ldr	x8, [x8, _WINCONx_BURSTLEN_MASK@GOTPAGEOFF]
Lloh42:
	ldr	x8, [x8]
	bic	x8, x22, x8
Lloh43:
	adrp	x9, _WINCONx_BURSTLEN_8WORD@GOTPAGE
Lloh44:
	ldr	x9, [x9, _WINCONx_BURSTLEN_8WORD@GOTPAGEOFF]
Lloh45:
	ldr	x9, [x9]
	orr	x22, x8, x9
LBB0_15:
	ldr	x20, [x20]
	mov	x0, x19
	bl	_WINCON
	add	x1, x0, x20
	mov	x0, x22
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_writel
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh33
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
	.byte	(LBB0_11-LBB0_2)>>2
                                        ; -- End function
	.comm	_WINCONx_BPPMODE_MASK,8,3       ; @WINCONx_BPPMODE_MASK
	.comm	_WINCONx_BPPMODE_16BPP_565,8,3  ; @WINCONx_BPPMODE_16BPP_565
	.comm	_WINCONx_BURSTLEN_16WORD,8,3    ; @WINCONx_BURSTLEN_16WORD
	.comm	_WINCONx_BPPMODE_24BPP_xRGB,8,3 ; @WINCONx_BPPMODE_24BPP_xRGB
	.comm	_WINCONx_BPPMODE_24BPP_xBGR,8,3 ; @WINCONx_BPPMODE_24BPP_xBGR
	.comm	_WINCONx_BPPMODE_24BPP_RGBx,8,3 ; @WINCONx_BPPMODE_24BPP_RGBx
	.comm	_WINCONx_BPPMODE_24BPP_BGRx,8,3 ; @WINCONx_BPPMODE_24BPP_BGRx
	.comm	_WINCONx_BPPMODE_32BPP_ARGB,8,3 ; @WINCONx_BPPMODE_32BPP_ARGB
	.comm	_WINCONx_BLD_PIX,8,3            ; @WINCONx_BLD_PIX
	.comm	_WINCONx_ALPHA_SEL,8,3          ; @WINCONx_ALPHA_SEL
	.comm	_WINCONx_BPPMODE_32BPP_ABGR,8,3 ; @WINCONx_BPPMODE_32BPP_ABGR
	.comm	_WINCONx_BPPMODE_32BPP_RGBA,8,3 ; @WINCONx_BPPMODE_32BPP_RGBA
	.comm	_WINCONx_BPPMODE_32BPP_BGRA,8,3 ; @WINCONx_BPPMODE_32BPP_BGRA
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cpp = %d\n"

	.comm	_MIN_FB_WIDTH_FOR_16WORD_BURST,4,2 ; @MIN_FB_WIDTH_FOR_16WORD_BURST
	.comm	_WINCONx_BURSTLEN_MASK,8,3      ; @WINCONx_BURSTLEN_MASK
	.comm	_WINCONx_BURSTLEN_8WORD,8,3     ; @WINCONx_BURSTLEN_8WORD
	.no_dead_strip	_decon_win_set_pixfmt
.subsections_via_symbols
