	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ispif_select_cid
_ispif_select_cid:                      ## @ispif_select_cid
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %r14d
	movl	%edx, %r12d
                                        ## kill: def $esi killed $esi def $rsi
	movq	%rdi, %r15
	addl	$-128, %esi
	cmpl	$4, %esi
	ja	LBB0_3
## %bb.1:
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rsi,4), %rdx
	addq	%rax, %rdx
	jmpq	*%rdx
LBB0_2:
	movl	%ecx, %edi
	movl	$2, %esi
	jmp	LBB0_6
LBB0_3:
	xorl	%ebx, %ebx
	jmp	LBB0_11
LBB0_4:
	movl	%ecx, %edi
	movl	$1, %esi
	jmp	LBB0_6
LBB0_5:
	movl	%ecx, %edi
	xorl	%esi, %esi
LBB0_6:
	callq	_ISPIF_VFE_m_RDI_INTF_n_CID_MASK
	jmp	LBB0_10
LBB0_7:
	movl	%ecx, %edi
	movl	$1, %esi
	jmp	LBB0_9
LBB0_8:
	movl	%ecx, %edi
	xorl	%esi, %esi
LBB0_9:
	callq	_ISPIF_VFE_m_PIX_INTF_n_CID_MASK
LBB0_10:
	movl	%eax, %ebx
LBB0_11:
	movl	(%r15), %edi
	addl	%ebx, %edi
	callq	_readl_relaxed
	movl	%eax, %edi
	btsl	%r12d, %edi
	btrl	%r12d, %eax
	testl	%r14d, %r14d
	cmovel	%eax, %edi
	addl	(%r15), %ebx
	movl	%ebx, %esi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_writel                         ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_4
	.long	L0_0_set_5
	.long	L0_0_set_7
	.long	L0_0_set_8
	.end_data_region
                                        ## -- End function
	.no_dead_strip	_ispif_select_cid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ispif_select_cid
_ispif_select_cid:                      ; @ispif_select_cid
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x4
	mov	x21, x2
	mov	x20, x0
	sub	w8, w1, #128
	cmp	w8, #4
	b.hi	LBB0_3
; %bb.1:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	mov	x0, x3
	mov	w1, #2
	b	LBB0_6
LBB0_3:
	mov	w22, #0
	b	LBB0_11
LBB0_4:
	mov	x0, x3
	mov	w1, #1
	b	LBB0_6
LBB0_5:
	mov	x0, x3
	mov	w1, #0
LBB0_6:
	bl	_ISPIF_VFE_m_RDI_INTF_n_CID_MASK
	b	LBB0_10
LBB0_7:
	mov	x0, x3
	mov	w1, #1
	b	LBB0_9
LBB0_8:
	mov	x0, x3
	mov	w1, #0
LBB0_9:
	bl	_ISPIF_VFE_m_PIX_INTF_n_CID_MASK
LBB0_10:
	mov	x22, x0
LBB0_11:
	mov	w8, #1
	lsl	w21, w8, w21
	ldr	w8, [x20]
	add	w0, w8, w22
	bl	_readl_relaxed
	orr	w8, w0, w21
	bic	w9, w0, w21
	cmp	w19, #0
	csel	w0, w9, w8, eq
	ldr	w8, [x20]
	add	w1, w8, w22
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_writel
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
                                        ; -- End function
	.no_dead_strip	_ispif_select_cid
.subsections_via_symbols
