	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fimd_win_set_bldmod
_fimd_win_set_bldmod:                   ## @fimd_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	%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
	movl	%edx, %r12d
	movq	%rdi, %r15
	xorl	%r13d, %r13d
	cmpl	$129, %ecx
	je	LBB0_2
## %bb.1:
	movq	_WINCON1_ALPHA_SEL@GOTPCREL(%rip), %rax
	movq	_WINCON1_BLD_PIX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r13d
	orl	(%rax), %r13d
	movq	_WINCON1_ALPHA_MUL@GOTPCREL(%rip), %rax
	orl	(%rax), %r13d
LBB0_2:
	movl	%r12d, %ebx
	shrl	$12, %ebx
	shrl	$8, %r12d
	andl	$15, %r12d
	movl	%esi, %edi
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	callq	_WINCON
	movq	_WINCONx_BLEND_MODE_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%r15, %rdi
	movl	%eax, %esi
	movl	%r13d, %ecx
	callq	_fimd_set_bits
	movl	%ebx, %edi
	callq	_VIDISD14C_ALPHA0_R
	movl	%eax, %r13d
	movl	%ebx, %edi
	callq	_VIDISD14C_ALPHA0_G
	orl	%eax, %r13d
	movl	%ebx, %edi
	callq	_VIDISD14C_ALPHA0_B
	movl	%eax, %r14d
	xorl	%edi, %edi
	callq	_VIDISD14C_ALPHA1_R
	orl	%eax, %r14d
	orl	%r13d, %r14d
	xorl	%edi, %edi
	callq	_VIDISD14C_ALPHA1_G
	movl	%eax, %ebx
	xorl	%edi, %edi
	callq	_VIDISD14C_ALPHA1_B
	orl	%eax, %ebx
	orl	%r14d, %ebx
	movq	(%r15), %r14
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	movl	%r13d, %edi
	callq	_VIDOSD_C
	addq	%rax, %r14
	movl	%ebx, %edi
	movq	%r14, %rsi
	callq	_writel
	movl	%r12d, %edi
	callq	_VIDW_ALPHA_R
	movl	%eax, %ebx
	movl	%r12d, %edi
	callq	_VIDW_ALPHA_G
	orl	%eax, %ebx
	movl	%r12d, %edi
	callq	_VIDW_ALPHA_B
	orl	%eax, %ebx
	movq	(%r15), %r14
	movl	%r13d, %edi
	callq	_VIDWnALPHA0
	addq	%rax, %r14
	movl	%ebx, %edi
	movq	%r14, %rsi
	callq	_writel
	xorl	%edi, %edi
	callq	_VIDW_ALPHA_R
	movl	%eax, %ebx
	xorl	%edi, %edi
	callq	_VIDW_ALPHA_G
	orl	%eax, %ebx
	xorl	%edi, %edi
	callq	_VIDW_ALPHA_B
	orl	%eax, %ebx
	movq	(%r15), %r14
	movl	%r13d, %edi
	callq	_VIDWnALPHA1
	addq	%rax, %r14
	movl	%ebx, %edi
	movq	%r14, %rsi
	callq	_writel
	movq	_BLENDCON@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_BLENDCON_NEW_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_BLENDCON_NEW_8BIT_ALPHA_VALUE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_fimd_set_bits                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_WINCON1_ALPHA_SEL,4,2          ## @WINCON1_ALPHA_SEL
	.comm	_WINCON1_BLD_PIX,4,2            ## @WINCON1_BLD_PIX
	.comm	_WINCON1_ALPHA_MUL,4,2          ## @WINCON1_ALPHA_MUL
	.comm	_WINCONx_BLEND_MODE_MASK,4,2    ## @WINCONx_BLEND_MODE_MASK
	.comm	_BLENDCON,4,2                   ## @BLENDCON
	.comm	_BLENDCON_NEW_MASK,4,2          ## @BLENDCON_NEW_MASK
	.comm	_BLENDCON_NEW_8BIT_ALPHA_VALUE,4,2 ## @BLENDCON_NEW_8BIT_ALPHA_VALUE
	.no_dead_strip	_fimd_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 fimd_win_set_bldmod
_fimd_win_set_bldmod:                   ; @fimd_win_set_bldmod
	.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	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, _WINCON1_ALPHA_SEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WINCON1_ALPHA_SEL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _WINCON1_BLD_PIX@GOTPAGE
Lloh4:
	ldr	x9, [x9, _WINCON1_BLD_PIX@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh6:
	adrp	x9, _WINCON1_ALPHA_MUL@GOTPAGE
Lloh7:
	ldr	x9, [x9, _WINCON1_ALPHA_MUL@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w22, w8, w9
LBB0_3:
	lsr	w23, w2, #12
	ubfx	w21, w2, #8, #4
	mov	x0, x20
	bl	_WINCON
	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	_fimd_set_bits
	mov	x0, x23
	bl	_VIDISD14C_ALPHA0_R
	mov	x22, x0
	mov	x0, x23
	bl	_VIDISD14C_ALPHA0_G
	orr	w22, w0, w22
	mov	x0, x23
	bl	_VIDISD14C_ALPHA0_B
	orr	w22, w22, w0
	mov	w0, #0
	bl	_VIDISD14C_ALPHA1_R
	orr	w22, w22, w0
	mov	w0, #0
	bl	_VIDISD14C_ALPHA1_G
	orr	w22, w22, w0
	mov	w0, #0
	bl	_VIDISD14C_ALPHA1_B
	orr	w22, w22, w0
	ldr	x23, [x19]
	mov	x0, x20
	bl	_VIDOSD_C
	add	x1, x0, x23
	mov	x0, x22
	bl	_writel
	mov	x0, x21
	bl	_VIDW_ALPHA_R
	mov	x22, x0
	mov	x0, x21
	bl	_VIDW_ALPHA_G
	orr	w22, w0, w22
	mov	x0, x21
	bl	_VIDW_ALPHA_B
	orr	w21, w22, w0
	ldr	x22, [x19]
	mov	x0, x20
	bl	_VIDWnALPHA0
	add	x1, x0, x22
	mov	x0, x21
	bl	_writel
	mov	w0, #0
	bl	_VIDW_ALPHA_R
	mov	x21, x0
	mov	w0, #0
	bl	_VIDW_ALPHA_G
	orr	w21, w0, w21
	mov	w0, #0
	bl	_VIDW_ALPHA_B
	orr	w21, w21, w0
	ldr	x22, [x19]
	mov	x0, x20
	bl	_VIDWnALPHA1
	add	x1, x0, x22
	mov	x0, x21
	bl	_writel
Lloh12:
	adrp	x8, _BLENDCON@GOTPAGE
Lloh13:
	ldr	x8, [x8, _BLENDCON@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
Lloh15:
	adrp	x8, _BLENDCON_NEW_MASK@GOTPAGE
Lloh16:
	ldr	x8, [x8, _BLENDCON_NEW_MASK@GOTPAGEOFF]
Lloh17:
	adrp	x9, _BLENDCON_NEW_8BIT_ALPHA_VALUE@GOTPAGE
Lloh18:
	ldr	x9, [x9, _BLENDCON_NEW_8BIT_ALPHA_VALUE@GOTPAGEOFF]
Lloh19:
	ldr	w2, [x8]
Lloh20:
	ldr	w3, [x9]
	mov	x0, x19
	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	_fimd_set_bits
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh19
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_WINCON1_ALPHA_SEL,4,2          ; @WINCON1_ALPHA_SEL
	.comm	_WINCON1_BLD_PIX,4,2            ; @WINCON1_BLD_PIX
	.comm	_WINCON1_ALPHA_MUL,4,2          ; @WINCON1_ALPHA_MUL
	.comm	_WINCONx_BLEND_MODE_MASK,4,2    ; @WINCONx_BLEND_MODE_MASK
	.comm	_BLENDCON,4,2                   ; @BLENDCON
	.comm	_BLENDCON_NEW_MASK,4,2          ; @BLENDCON_NEW_MASK
	.comm	_BLENDCON_NEW_8BIT_ALPHA_VALUE,4,2 ; @BLENDCON_NEW_8BIT_ALPHA_VALUE
	.no_dead_strip	_fimd_win_set_bldmod
.subsections_via_symbols
