	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dce_set_blender_mode           ## -- Begin function dce_set_blender_mode
	.p2align	4, 0x90
_dce_set_blender_mode:                  ## @dce_set_blender_mode
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	xorl	%r15d, %r15d
	movl	%esi, %r12d
	cmpl	$128, %edx
	je	LBB0_1
## %bb.2:
	cmpl	$130, %edx
	jne	LBB0_4
## %bb.3:
	movl	$1, %ebx
	movl	$2, %edx
	xorl	%r13d, %r13d
	jmp	LBB0_5
LBB0_1:
	movl	$1, %edx
	xorl	%ebx, %ebx
	xorl	%r13d, %r13d
	jmp	LBB0_5
LBB0_4:
	movl	%esi, %ebx
	movq	_BLND_CONTROL@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%r12,4), %edi
	callq	_REG
	movl	%eax, %r15d
	movq	_BLNDV_CONTROL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_REG
	cmpl	%eax, %r15d
	setne	%al
	testl	%ebx, %ebx
	setne	%cl
	andb	%al, %cl
	movzbl	%cl, %r15d
	movl	$2, %r13d
	xorl	%edx, %edx
	xorl	%ebx, %ebx
LBB0_5:
	movq	_BLND_CONTROL@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movl	(%rax,%r12,4), %edi
	movq	_BLND_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_REG_UPDATE
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	cmpq	$0, (%rax)
	je	LBB0_7
## %bb.6:
	movq	(%r14), %rax
	movl	(%rax,%r12,4), %edi
	movq	_BLND_FEEDTHROUGH_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_BLND_ALPHA_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_BLND_MULTIPLIED_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movl	%ebx, (%rsp)
	movl	%r15d, %edx
	movl	%r13d, %r8d
	callq	_REG_UPDATE_3
LBB0_7:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BLND_CONTROL,8,3               ## @BLND_CONTROL
	.comm	_BLNDV_CONTROL,4,2              ## @BLNDV_CONTROL
	.comm	_BLND_MODE,4,2                  ## @BLND_MODE
	.comm	_BLND_FEEDTHROUGH_EN,4,2        ## @BLND_FEEDTHROUGH_EN
	.comm	_BLND_ALPHA_MODE,4,2            ## @BLND_ALPHA_MODE
	.comm	_BLND_MULTIPLIED_MODE,4,2       ## @BLND_MULTIPLIED_MODE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dce_set_blender_mode           ; -- Begin function dce_set_blender_mode
	.p2align	2
_dce_set_blender_mode:                  ; @dce_set_blender_mode
	.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	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x24, _BLND_CONTROL@GOTPAGE
Lloh1:
	ldr	x24, [x24, _BLND_CONTROL@GOTPAGEOFF]
	cmp	w2, #128
	b.eq	LBB0_3
; %bb.1:
	cmp	w2, #130
	b.ne	LBB0_4
; %bb.2:
	mov	w22, #0
	mov	w23, #0
	mov	w21, #1
	mov	w2, #2
	b	LBB0_5
LBB0_3:
	mov	w22, #0
	mov	w21, #0
	mov	w23, #0
	mov	w2, #1
	b	LBB0_5
LBB0_4:
	ldr	x8, [x24]
	ldr	w0, [x8, w19, uxtw #2]
	bl	_REG
	mov	x22, x0
Lloh2:
	adrp	x8, _BLNDV_CONTROL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _BLNDV_CONTROL@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	bl	_REG
	mov	w2, #0
	mov	w21, #0
	cmp	w19, #0
	ccmp	w22, w0, #4, ne
	cset	w22, ne
	mov	w23, #2
LBB0_5:
	ldr	x8, [x24]
	ldr	w0, [x8, w19, uxtw #2]
Lloh5:
	adrp	x8, _BLND_MODE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _BLND_MODE@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	bl	_REG_UPDATE
	ldr	x8, [x20]
	ldr	x8, [x8]
	cbz	x8, LBB0_7
; %bb.6:
	mov	w8, w19
	ldr	x9, [x24]
	ldr	w0, [x9, x8, lsl #2]
Lloh8:
	adrp	x8, _BLND_FEEDTHROUGH_EN@GOTPAGE
Lloh9:
	ldr	x8, [x8, _BLND_FEEDTHROUGH_EN@GOTPAGEOFF]
Lloh10:
	adrp	x9, _BLND_ALPHA_MODE@GOTPAGE
Lloh11:
	ldr	x9, [x9, _BLND_ALPHA_MODE@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
Lloh13:
	ldr	w3, [x9]
Lloh14:
	adrp	x8, _BLND_MULTIPLIED_MODE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _BLND_MULTIPLIED_MODE@GOTPAGEOFF]
Lloh16:
	ldr	w5, [x8]
	mov	x2, x22
	mov	x4, x23
	mov	x6, x21
	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	_REG_UPDATE_3
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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_BLND_CONTROL,8,3               ; @BLND_CONTROL
	.comm	_BLNDV_CONTROL,4,2              ; @BLNDV_CONTROL
	.comm	_BLND_MODE,4,2                  ; @BLND_MODE
	.comm	_BLND_FEEDTHROUGH_EN,4,2        ; @BLND_FEEDTHROUGH_EN
	.comm	_BLND_ALPHA_MODE,4,2            ; @BLND_ALPHA_MODE
	.comm	_BLND_MULTIPLIED_MODE,4,2       ; @BLND_MULTIPLIED_MODE
.subsections_via_symbols
