	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function decon_win_set_bldmod
_decon_win_set_bldmod:                  ## @decon_win_set_bldmod
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r12d
	movl	%esi, %r14d
	movq	%rdi, %r15
	xorl	%ebx, %ebx
	cmpl	$129, %ecx
	je	LBB0_2
## %bb.1:
	movq	_WINCONx_ALPHA_SEL_F@GOTPCREL(%rip), %rax
	movq	_WINCONx_BLD_PIX_F@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	orl	(%rax), %ebx
	movq	_WINCONx_ALPHA_MUL_F@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
LBB0_2:
	movl	%r14d, %edi
	callq	_DECON_WINCONx
	movq	_WINCONx_BLEND_MODE_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%r15, %rdi
	movl	%eax, %esi
	movl	%ebx, %ecx
	callq	_decon_set_bits
	movq	_DRM_BLEND_ALPHA_OPAQUE@GOTPCREL(%rip), %rax
	cmpl	%r12d, (%rax)
	jne	LBB0_4
## %bb.3:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	shrl	$8, %r12d
	movl	%r12d, %edi
	callq	_VIDOSD_Wx_ALPHA_R_F
	movl	%eax, %ebx
	movl	%r12d, %edi
	callq	_VIDOSD_Wx_ALPHA_G_F
	orl	%eax, %ebx
	movl	%r12d, %edi
	callq	_VIDOSD_Wx_ALPHA_B_F
	orl	%eax, %ebx
	movl	%r14d, %edi
	callq	_DECON_VIDOSDxC
	movq	_VIDOSDxC_ALPHA0_RGB_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%r15, %rdi
	movl	%eax, %esi
	movl	%ebx, %ecx
	callq	_decon_set_bits
	movq	_DECON_BLENDCON@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_BLEND_NEW@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdi
	movl	%ecx, %edx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_decon_set_bits                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_WINCONx_ALPHA_SEL_F,4,2        ## @WINCONx_ALPHA_SEL_F
	.comm	_WINCONx_BLD_PIX_F,4,2          ## @WINCONx_BLD_PIX_F
	.comm	_WINCONx_ALPHA_MUL_F,4,2        ## @WINCONx_ALPHA_MUL_F
	.comm	_WINCONx_BLEND_MODE_MASK,4,2    ## @WINCONx_BLEND_MODE_MASK
	.comm	_DRM_BLEND_ALPHA_OPAQUE,4,2     ## @DRM_BLEND_ALPHA_OPAQUE
	.comm	_VIDOSDxC_ALPHA0_RGB_MASK,4,2   ## @VIDOSDxC_ALPHA0_RGB_MASK
	.comm	_DECON_BLENDCON,4,2             ## @DECON_BLENDCON
	.comm	_BLEND_NEW,4,2                  ## @BLEND_NEW
	.no_dead_strip	_decon_win_set_bldmod
.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_bldmod
_decon_win_set_bldmod:                  ; @decon_win_set_bldmod
	.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	x20, x1
	mov	x19, x0
	cmp	w3, #129
	b.ne	LBB0_2
; %bb.1:
	mov	w22, #0
	b	LBB0_3
LBB0_2:
Lloh0:
	adrp	x8, _WINCONx_ALPHA_SEL_F@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WINCONx_ALPHA_SEL_F@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _WINCONx_BLD_PIX_F@GOTPAGE
Lloh4:
	ldr	x9, [x9, _WINCONx_BLD_PIX_F@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh6:
	adrp	x9, _WINCONx_ALPHA_MUL_F@GOTPAGE
Lloh7:
	ldr	x9, [x9, _WINCONx_ALPHA_MUL_F@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w22, w8, w9
LBB0_3:
	mov	x0, x20
	bl	_DECON_WINCONx
	mov	x1, x0
Lloh9:
	adrp	x8, _WINCONx_BLEND_MODE_MASK@GOTPAGE
Lloh10:
	ldr	x8, [x8, _WINCONx_BLEND_MODE_MASK@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x3, x22
	bl	_decon_set_bits
Lloh12:
	adrp	x8, _DRM_BLEND_ALPHA_OPAQUE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _DRM_BLEND_ALPHA_OPAQUE@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	cmp	w8, w21
	b.ne	LBB0_5
; %bb.4:
	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
	ret
LBB0_5:
	lsr	w21, w21, #8
	mov	x0, x21
	bl	_VIDOSD_Wx_ALPHA_R_F
	mov	x22, x0
	mov	x0, x21
	bl	_VIDOSD_Wx_ALPHA_G_F
	orr	w22, w0, w22
	mov	x0, x21
	bl	_VIDOSD_Wx_ALPHA_B_F
	orr	w21, w22, w0
	mov	x0, x20
	bl	_DECON_VIDOSDxC
	mov	x1, x0
Lloh15:
	adrp	x8, _VIDOSDxC_ALPHA0_RGB_MASK@GOTPAGE
Lloh16:
	ldr	x8, [x8, _VIDOSDxC_ALPHA0_RGB_MASK@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x3, x21
	bl	_decon_set_bits
Lloh18:
	adrp	x8, _DECON_BLENDCON@GOTPAGE
Lloh19:
	ldr	x8, [x8, _DECON_BLENDCON@GOTPAGEOFF]
Lloh20:
	adrp	x9, _BLEND_NEW@GOTPAGE
Lloh21:
	ldr	x9, [x9, _BLEND_NEW@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
Lloh23:
	ldr	w2, [x9]
	mov	x0, x19
	mov	x3, x2
	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	_decon_set_bits
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh22
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_WINCONx_ALPHA_SEL_F,4,2        ; @WINCONx_ALPHA_SEL_F
	.comm	_WINCONx_BLD_PIX_F,4,2          ; @WINCONx_BLD_PIX_F
	.comm	_WINCONx_ALPHA_MUL_F,4,2        ; @WINCONx_ALPHA_MUL_F
	.comm	_WINCONx_BLEND_MODE_MASK,4,2    ; @WINCONx_BLEND_MODE_MASK
	.comm	_DRM_BLEND_ALPHA_OPAQUE,4,2     ; @DRM_BLEND_ALPHA_OPAQUE
	.comm	_VIDOSDxC_ALPHA0_RGB_MASK,4,2   ; @VIDOSDxC_ALPHA0_RGB_MASK
	.comm	_DECON_BLENDCON,4,2             ; @DECON_BLENDCON
	.comm	_BLEND_NEW,4,2                  ; @BLEND_NEW
	.no_dead_strip	_decon_win_set_bldmod
.subsections_via_symbols
