	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mdp_ctl_blend_ext_mask
_mdp_ctl_blend_ext_mask:                ## @mdp_ctl_blend_ext_mask
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $edi killed $edi def $rdi
	movl	%edi, %ecx
	andl	$-2, %ecx
	xorl	%eax, %eax
	cmpl	$138, %ecx
	je	LBB0_2
## %bb.1:
	movq	_STAGE6@GOTPCREL(%rip), %rcx
	cmpl	%esi, (%rcx)
	jbe	LBB0_2
LBB0_17:
	popq	%rbp
	retq
LBB0_2:
	addl	$-128, %edi
	cmpl	$11, %edi
	ja	LBB0_17
## %bb.3:
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rdi,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_11:
	movq	_MDP5_CTL_LAYER_EXT_REG_VIG3_BIT3@GOTPCREL(%rip), %rax
	jmp	LBB0_16
LBB0_5:
	movq	_MDP5_CTL_LAYER_EXT_REG_VIG2_BIT3@GOTPCREL(%rip), %rax
	jmp	LBB0_16
LBB0_4:
	movq	_MDP5_CTL_LAYER_EXT_REG_VIG1_BIT3@GOTPCREL(%rip), %rax
	jmp	LBB0_16
LBB0_15:
	movq	_MDP5_CTL_LAYER_EXT_REG_VIG0_BIT3@GOTPCREL(%rip), %rax
	jmp	LBB0_16
LBB0_12:
	movq	_MDP5_CTL_LAYER_EXT_REG_RGB3_BIT3@GOTPCREL(%rip), %rax
	jmp	LBB0_16
LBB0_8:
	movq	_MDP5_CTL_LAYER_EXT_REG_RGB2_BIT3@GOTPCREL(%rip), %rax
	jmp	LBB0_16
LBB0_7:
	movq	_MDP5_CTL_LAYER_EXT_REG_RGB1_BIT3@GOTPCREL(%rip), %rax
	jmp	LBB0_16
LBB0_6:
	movq	_MDP5_CTL_LAYER_EXT_REG_RGB0_BIT3@GOTPCREL(%rip), %rax
	jmp	LBB0_16
LBB0_10:
	movq	_MDP5_CTL_LAYER_EXT_REG_DMA1_BIT3@GOTPCREL(%rip), %rax
	jmp	LBB0_16
LBB0_9:
	movq	_MDP5_CTL_LAYER_EXT_REG_DMA0_BIT3@GOTPCREL(%rip), %rax
LBB0_16:
	movl	(%rax), %eax
	popq	%rbp
	retq
LBB0_14:
	movl	%esi, %edi
	popq	%rbp
	jmp	_MDP5_CTL_LAYER_EXT_REG_CURSOR1 ## TAILCALL
LBB0_13:
	movl	%esi, %edi
	popq	%rbp
	jmp	_MDP5_CTL_LAYER_EXT_REG_CURSOR0 ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
LJTI0_0:
	.long	L0_0_set_11
	.long	L0_0_set_5
	.long	L0_0_set_4
	.long	L0_0_set_15
	.long	L0_0_set_12
	.long	L0_0_set_8
	.long	L0_0_set_7
	.long	L0_0_set_6
	.long	L0_0_set_10
	.long	L0_0_set_9
	.long	L0_0_set_14
	.long	L0_0_set_13
	.end_data_region
                                        ## -- End function
	.comm	_STAGE6,4,2                     ## @STAGE6
	.comm	_MDP5_CTL_LAYER_EXT_REG_VIG0_BIT3,4,2 ## @MDP5_CTL_LAYER_EXT_REG_VIG0_BIT3
	.comm	_MDP5_CTL_LAYER_EXT_REG_VIG1_BIT3,4,2 ## @MDP5_CTL_LAYER_EXT_REG_VIG1_BIT3
	.comm	_MDP5_CTL_LAYER_EXT_REG_VIG2_BIT3,4,2 ## @MDP5_CTL_LAYER_EXT_REG_VIG2_BIT3
	.comm	_MDP5_CTL_LAYER_EXT_REG_RGB0_BIT3,4,2 ## @MDP5_CTL_LAYER_EXT_REG_RGB0_BIT3
	.comm	_MDP5_CTL_LAYER_EXT_REG_RGB1_BIT3,4,2 ## @MDP5_CTL_LAYER_EXT_REG_RGB1_BIT3
	.comm	_MDP5_CTL_LAYER_EXT_REG_RGB2_BIT3,4,2 ## @MDP5_CTL_LAYER_EXT_REG_RGB2_BIT3
	.comm	_MDP5_CTL_LAYER_EXT_REG_DMA0_BIT3,4,2 ## @MDP5_CTL_LAYER_EXT_REG_DMA0_BIT3
	.comm	_MDP5_CTL_LAYER_EXT_REG_DMA1_BIT3,4,2 ## @MDP5_CTL_LAYER_EXT_REG_DMA1_BIT3
	.comm	_MDP5_CTL_LAYER_EXT_REG_VIG3_BIT3,4,2 ## @MDP5_CTL_LAYER_EXT_REG_VIG3_BIT3
	.comm	_MDP5_CTL_LAYER_EXT_REG_RGB3_BIT3,4,2 ## @MDP5_CTL_LAYER_EXT_REG_RGB3_BIT3
	.no_dead_strip	_mdp_ctl_blend_ext_mask
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mdp_ctl_blend_ext_mask
_mdp_ctl_blend_ext_mask:                ; @mdp_ctl_blend_ext_mask
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _STAGE6@GOTPAGE
Lloh1:
	ldr	x8, [x8, _STAGE6@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	and	w9, w0, #0xfffffffe
	cmp	w9, #138
	ccmp	w8, w1, #0, ne
	b.hi	LBB0_4
; %bb.1:
	sub	w8, w0, #128
	cmp	w8, #11
	b.hi	LBB0_4
;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22:
	ldr	w0, [x8]
	ret
LBB0_10:
Lloh23:
	adrp	x8, _MDP5_CTL_LAYER_EXT_REG_RGB1_BIT3@GOTPAGE
Lloh24:
	ldr	x8, [x8, _MDP5_CTL_LAYER_EXT_REG_RGB1_BIT3@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
	ret
LBB0_11:
Lloh26:
	adrp	x8, _MDP5_CTL_LAYER_EXT_REG_RGB0_BIT3@GOTPAGE
Lloh27:
	ldr	x8, [x8, _MDP5_CTL_LAYER_EXT_REG_RGB0_BIT3@GOTPAGEOFF]
Lloh28:
	ldr	w0, [x8]
	ret
LBB0_12:
Lloh29:
	adrp	x8, _MDP5_CTL_LAYER_EXT_REG_DMA1_BIT3@GOTPAGE
Lloh30:
	ldr	x8, [x8, _MDP5_CTL_LAYER_EXT_REG_DMA1_BIT3@GOTPAGEOFF]
Lloh31:
	ldr	w0, [x8]
	ret
LBB0_13:
Lloh32:
	adrp	x8, _MDP5_CTL_LAYER_EXT_REG_DMA0_BIT3@GOTPAGE
Lloh33:
	ldr	x8, [x8, _MDP5_CTL_LAYER_EXT_REG_DMA0_BIT3@GOTPAGEOFF]
Lloh34:
	ldr	w0, [x8]
	ret
LBB0_14:
	mov	x0, x1
	b	_MDP5_CTL_LAYER_EXT_REG_CURSOR1
LBB0_15:
	mov	x0, x1
	b	_MDP5_CTL_LAYER_EXT_REG_CURSOR0
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_5-LBB0_3)>>2
	.byte	(LBB0_6-LBB0_3)>>2
	.byte	(LBB0_7-LBB0_3)>>2
	.byte	(LBB0_8-LBB0_3)>>2
	.byte	(LBB0_9-LBB0_3)>>2
	.byte	(LBB0_10-LBB0_3)>>2
	.byte	(LBB0_11-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
	.byte	(LBB0_13-LBB0_3)>>2
	.byte	(LBB0_14-LBB0_3)>>2
	.byte	(LBB0_15-LBB0_3)>>2
                                        ; -- End function
	.comm	_STAGE6,4,2                     ; @STAGE6
	.comm	_MDP5_CTL_LAYER_EXT_REG_VIG0_BIT3,4,2 ; @MDP5_CTL_LAYER_EXT_REG_VIG0_BIT3
	.comm	_MDP5_CTL_LAYER_EXT_REG_VIG1_BIT3,4,2 ; @MDP5_CTL_LAYER_EXT_REG_VIG1_BIT3
	.comm	_MDP5_CTL_LAYER_EXT_REG_VIG2_BIT3,4,2 ; @MDP5_CTL_LAYER_EXT_REG_VIG2_BIT3
	.comm	_MDP5_CTL_LAYER_EXT_REG_RGB0_BIT3,4,2 ; @MDP5_CTL_LAYER_EXT_REG_RGB0_BIT3
	.comm	_MDP5_CTL_LAYER_EXT_REG_RGB1_BIT3,4,2 ; @MDP5_CTL_LAYER_EXT_REG_RGB1_BIT3
	.comm	_MDP5_CTL_LAYER_EXT_REG_RGB2_BIT3,4,2 ; @MDP5_CTL_LAYER_EXT_REG_RGB2_BIT3
	.comm	_MDP5_CTL_LAYER_EXT_REG_DMA0_BIT3,4,2 ; @MDP5_CTL_LAYER_EXT_REG_DMA0_BIT3
	.comm	_MDP5_CTL_LAYER_EXT_REG_DMA1_BIT3,4,2 ; @MDP5_CTL_LAYER_EXT_REG_DMA1_BIT3
	.comm	_MDP5_CTL_LAYER_EXT_REG_VIG3_BIT3,4,2 ; @MDP5_CTL_LAYER_EXT_REG_VIG3_BIT3
	.comm	_MDP5_CTL_LAYER_EXT_REG_RGB3_BIT3,4,2 ; @MDP5_CTL_LAYER_EXT_REG_RGB3_BIT3
	.no_dead_strip	_mdp_ctl_blend_ext_mask
.subsections_via_symbols
