	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dispc_ovl_setup_global_alpha
_dispc_ovl_setup_global_alpha:          ## @dispc_ovl_setup_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
	movq	_OMAP_DSS_OVL_CAP_GLOBAL_ALPHA@GOTPCREL(%rip), %rax
	testl	%edx, (%rax)
	je	LBB0_1
## %bb.2:
	movl	%esi, %eax
	leaq	_dispc_ovl_setup_global_alpha.shifts(%rip), %rdx
	movl	(%rdx,%rax,4), %r8d
	movq	_DISPC_GLOBAL_ALPHA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leal	7(%r8), %eax
	movl	%ecx, %edx
	movl	%eax, %ecx
                                        ## kill: def $r8d killed $r8d killed $r8
	popq	%rbp
	jmp	_REG_FLD_MOD                    ## TAILCALL
LBB0_1:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @dispc_ovl_setup_global_alpha.shifts
_dispc_ovl_setup_global_alpha.shifts:
	.long	0                               ## 0x0
	.long	8                               ## 0x8
	.long	16                              ## 0x10
	.long	24                              ## 0x18

	.comm	_OMAP_DSS_OVL_CAP_GLOBAL_ALPHA,4,2 ## @OMAP_DSS_OVL_CAP_GLOBAL_ALPHA
	.comm	_DISPC_GLOBAL_ALPHA,4,2         ## @DISPC_GLOBAL_ALPHA
	.no_dead_strip	_dispc_ovl_setup_global_alpha
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dispc_ovl_setup_global_alpha
_dispc_ovl_setup_global_alpha:          ; @dispc_ovl_setup_global_alpha
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _OMAP_DSS_OVL_CAP_GLOBAL_ALPHA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OMAP_DSS_OVL_CAP_GLOBAL_ALPHA@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w2
	b.eq	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _dispc_ovl_setup_global_alpha.shifts@PAGE
Lloh4:
	add	x8, x8, _dispc_ovl_setup_global_alpha.shifts@PAGEOFF
	ldr	w4, [x8, w1, uxtw #2]
Lloh5:
	adrp	x8, _DISPC_GLOBAL_ALPHA@GOTPAGE
Lloh6:
	ldr	x8, [x8, _DISPC_GLOBAL_ALPHA@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	add	w8, w4, #7
	mov	x2, x3
	mov	x3, x8
	b	_REG_FLD_MOD
LBB0_2:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @dispc_ovl_setup_global_alpha.shifts
_dispc_ovl_setup_global_alpha.shifts:
	.long	0                               ; 0x0
	.long	8                               ; 0x8
	.long	16                              ; 0x10
	.long	24                              ; 0x18

	.comm	_OMAP_DSS_OVL_CAP_GLOBAL_ALPHA,4,2 ; @OMAP_DSS_OVL_CAP_GLOBAL_ALPHA
	.comm	_DISPC_GLOBAL_ALPHA,4,2         ; @DISPC_GLOBAL_ALPHA
	.no_dead_strip	_dispc_ovl_setup_global_alpha
.subsections_via_symbols
