	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ipu_dp_set_global_alpha        ## -- Begin function ipu_dp_set_global_alpha
	.p2align	4, 0x90
_ipu_dp_set_global_alpha:               ## @ipu_dp_set_global_alpha
	.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	%ecx, %r13d
	movq	%rdx, %r15
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	callq	_to_flow
	movq	%rax, %rbx
	movq	8(%rax), %r14
	movq	%r14, %rdi
	callq	_mutex_lock
	movq	_DP_COM_CONF@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	addq	(%rbx), %rdi
	callq	_readl
	movq	_DP_COM_CONF_GWSEL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movl	%edi, %ecx
	notl	%ecx
	andl	%eax, %ecx
	orl	%eax, %edi
	testl	%r13d, %r13d
	movq	%r12, %r13
	cmovnel	%ecx, %edi
	movq	(%r12), %rsi
	addq	(%rbx), %rsi
	callq	_writel
	movq	(%rbx), %rdi
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_2
## %bb.1:
	movq	_DP_GRAPH_WIND_CTRL@GOTPCREL(%rip), %r12
	addq	(%r12), %rdi
	callq	_readl
	andl	$16777215, %eax                 ## imm = 0xFFFFFF
	shll	$24, %r15d
	orl	%eax, %r15d
	movq	(%r12), %rsi
	addq	(%rbx), %rsi
	movl	%r15d, %edi
	callq	_writel
	movq	(%r13), %rdi
	addq	(%rbx), %rdi
	callq	_readl
	movl	%eax, %edi
	movq	_DP_COM_CONF_GWAM@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	jmp	LBB0_3
LBB0_2:
	addq	(%r13), %rdi
	callq	_readl
	movq	_DP_COM_CONF_GWAM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	notl	%edi
	andl	%eax, %edi
LBB0_3:
	movq	(%r13), %rsi
	addq	(%rbx), %rsi
	callq	_writel
	movl	4(%r14), %edi
	movl	$1, %esi
	callq	_ipu_srm_dp_update
	movq	%r14, %rdi
	callq	_mutex_unlock
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DP_COM_CONF,8,3                ## @DP_COM_CONF
	.comm	_DP_COM_CONF_GWSEL,4,2          ## @DP_COM_CONF_GWSEL
	.comm	_DP_GRAPH_WIND_CTRL,8,3         ## @DP_GRAPH_WIND_CTRL
	.comm	_DP_COM_CONF_GWAM,4,2           ## @DP_COM_CONF_GWAM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ipu_dp_set_global_alpha        ; -- Begin function ipu_dp_set_global_alpha
	.p2align	2
_ipu_dp_set_global_alpha:               ; @ipu_dp_set_global_alpha
	.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	x22, x3
	mov	x21, x2
	mov	x23, x1
	bl	_to_flow
	mov	x20, x0
	ldr	x19, [x0, #8]
	mov	x0, x19
	bl	_mutex_lock
	ldr	x8, [x20]
Lloh0:
	adrp	x24, _DP_COM_CONF@GOTPAGE
Lloh1:
	ldr	x24, [x24, _DP_COM_CONF@GOTPAGEOFF]
	ldr	x9, [x24]
	add	x0, x9, x8
	bl	_readl
Lloh2:
	adrp	x8, _DP_COM_CONF_GWSEL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _DP_COM_CONF_GWSEL@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	bic	w9, w0, w8
	orr	w8, w8, w0
	cmp	w22, #0
	csel	w0, w8, w9, eq
	ldr	x8, [x20]
	ldr	x9, [x24]
	add	x1, x9, x8
	bl	_writel
	ldr	x8, [x20]
	cbz	w23, LBB0_2
; %bb.1:
Lloh5:
	adrp	x22, _DP_GRAPH_WIND_CTRL@GOTPAGE
Lloh6:
	ldr	x22, [x22, _DP_GRAPH_WIND_CTRL@GOTPAGEOFF]
	ldr	x9, [x22]
	add	x0, x9, x8
	bl	_readl
	bfi	w0, w21, #24, #8
	ldr	x8, [x20]
	ldr	x9, [x22]
	add	x1, x9, x8
	bl	_writel
	ldr	x8, [x20]
	ldr	x9, [x24]
	add	x0, x9, x8
	bl	_readl
Lloh7:
	adrp	x8, _DP_COM_CONF_GWAM@GOTPAGE
Lloh8:
	ldr	x8, [x8, _DP_COM_CONF_GWAM@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	orr	w0, w8, w0
	b	LBB0_3
LBB0_2:
	ldr	x9, [x24]
	add	x0, x9, x8
	bl	_readl
Lloh10:
	adrp	x8, _DP_COM_CONF_GWAM@GOTPAGE
Lloh11:
	ldr	x8, [x8, _DP_COM_CONF_GWAM@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	bic	w0, w0, w8
LBB0_3:
	ldr	x8, [x20]
	ldr	x9, [x24]
	add	x1, x9, x8
	bl	_writel
	ldr	w0, [x19, #4]
	mov	w1, #1
	bl	_ipu_srm_dp_update
	mov	x0, x19
	bl	_mutex_unlock
	mov	w0, #0
	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 AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_DP_COM_CONF,8,3                ; @DP_COM_CONF
	.comm	_DP_COM_CONF_GWSEL,4,2          ; @DP_COM_CONF_GWSEL
	.comm	_DP_GRAPH_WIND_CTRL,8,3         ; @DP_GRAPH_WIND_CTRL
	.comm	_DP_COM_CONF_GWAM,4,2           ; @DP_COM_CONF_GWAM
.subsections_via_symbols
