	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mixer_cfg_gfx_blend
_mixer_cfg_gfx_blend:                   ## @mixer_cfg_gfx_blend
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	_MXR_GRP_CFG_COLOR_KEY_DISABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	$129, %edx
	je	LBB0_4
## %bb.1:
	cmpl	$130, %edx
	je	LBB0_3
## %bb.2:
	movq	_MXR_GRP_CFG_BLEND_PRE_MUL@GOTPCREL(%rip), %rdx
	orl	(%rdx), %eax
LBB0_3:
	movq	_MXR_GRP_CFG_PIXEL_BLEND_EN@GOTPCREL(%rip), %rdx
	orl	(%rdx), %eax
LBB0_4:
	movl	%ecx, %ebx
	shrl	$8, %ebx
	movq	_DRM_BLEND_ALPHA_OPAQUE@GOTPCREL(%rip), %rdx
	movq	_MXR_GRP_CFG_WIN_BLEND_EN@GOTPCREL(%rip), %rdi
	orl	%eax, %ebx
	orl	(%rdi), %ebx
	cmpl	%ecx, (%rdx)
	cmovel	%eax, %ebx
	movl	%esi, %edi
	callq	_MXR_GRAPHIC_CFG
	movq	_MXR_GRP_CFG_MISC_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	%r14, %rdi
	movl	%eax, %esi
	movl	%ebx, %edx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_mixer_reg_writemask            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MXR_GRP_CFG_COLOR_KEY_DISABLE,4,2 ## @MXR_GRP_CFG_COLOR_KEY_DISABLE
	.comm	_MXR_GRP_CFG_PIXEL_BLEND_EN,4,2 ## @MXR_GRP_CFG_PIXEL_BLEND_EN
	.comm	_MXR_GRP_CFG_BLEND_PRE_MUL,4,2  ## @MXR_GRP_CFG_BLEND_PRE_MUL
	.comm	_DRM_BLEND_ALPHA_OPAQUE,4,2     ## @DRM_BLEND_ALPHA_OPAQUE
	.comm	_MXR_GRP_CFG_WIN_BLEND_EN,4,2   ## @MXR_GRP_CFG_WIN_BLEND_EN
	.comm	_MXR_GRP_CFG_MISC_MASK,4,2      ## @MXR_GRP_CFG_MISC_MASK
	.no_dead_strip	_mixer_cfg_gfx_blend
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mixer_cfg_gfx_blend
_mixer_cfg_gfx_blend:                   ; @mixer_cfg_gfx_blend
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, _MXR_GRP_CFG_COLOR_KEY_DISABLE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MXR_GRP_CFG_COLOR_KEY_DISABLE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w2, #129
	b.eq	LBB0_4
; %bb.1:
	cmp	w2, #130
	b.ne	LBB0_3
; %bb.2:
Lloh3:
	adrp	x9, _MXR_GRP_CFG_PIXEL_BLEND_EN@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MXR_GRP_CFG_PIXEL_BLEND_EN@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
	b	LBB0_4
LBB0_3:
Lloh6:
	adrp	x9, _MXR_GRP_CFG_BLEND_PRE_MUL@GOTPAGE
Lloh7:
	ldr	x9, [x9, _MXR_GRP_CFG_BLEND_PRE_MUL@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh9:
	adrp	x9, _MXR_GRP_CFG_PIXEL_BLEND_EN@GOTPAGE
Lloh10:
	ldr	x9, [x9, _MXR_GRP_CFG_PIXEL_BLEND_EN@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w8, w8, w9
LBB0_4:
Lloh12:
	adrp	x9, _DRM_BLEND_ALPHA_OPAQUE@GOTPAGE
Lloh13:
	ldr	x9, [x9, _DRM_BLEND_ALPHA_OPAQUE@GOTPAGEOFF]
Lloh14:
	adrp	x10, _MXR_GRP_CFG_WIN_BLEND_EN@GOTPAGE
Lloh15:
	ldr	x10, [x10, _MXR_GRP_CFG_WIN_BLEND_EN@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
Lloh17:
	ldr	w10, [x10]
	orr	w11, w8, w3, lsr #8
	orr	w10, w11, w10
	cmp	w9, w3
	csel	w20, w8, w10, eq
	mov	x0, x1
	bl	_MXR_GRAPHIC_CFG
	mov	x1, x0
Lloh18:
	adrp	x8, _MXR_GRP_CFG_MISC_MASK@GOTPAGE
Lloh19:
	ldr	x8, [x8, _MXR_GRP_CFG_MISC_MASK@GOTPAGEOFF]
Lloh20:
	ldr	w3, [x8]
	mov	x0, x19
	mov	x2, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_mixer_reg_writemask
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_MXR_GRP_CFG_COLOR_KEY_DISABLE,4,2 ; @MXR_GRP_CFG_COLOR_KEY_DISABLE
	.comm	_MXR_GRP_CFG_PIXEL_BLEND_EN,4,2 ; @MXR_GRP_CFG_PIXEL_BLEND_EN
	.comm	_MXR_GRP_CFG_BLEND_PRE_MUL,4,2  ; @MXR_GRP_CFG_BLEND_PRE_MUL
	.comm	_DRM_BLEND_ALPHA_OPAQUE,4,2     ; @DRM_BLEND_ALPHA_OPAQUE
	.comm	_MXR_GRP_CFG_WIN_BLEND_EN,4,2   ; @MXR_GRP_CFG_WIN_BLEND_EN
	.comm	_MXR_GRP_CFG_MISC_MASK,4,2      ; @MXR_GRP_CFG_MISC_MASK
	.no_dead_strip	_mixer_cfg_gfx_blend
.subsections_via_symbols
