	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function isif_config_csc
_isif_config_csc:                       ## @isif_config_csc
	.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
	cmpl	$0, 24(%rdi)
	je	LBB0_1
## %bb.2:
	movq	%rdi, %r15
	movq	_ISIF_CSC_NUM_COEFF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	jle	LBB0_8
## %bb.3:
	xorl	%ebx, %ebx
	movl	$-2, %r12d
	movq	_ISIF_CSC_COEF_INTEG_SHIFT@GOTPCREL(%rip), %r13
	xorl	%r14d, %r14d
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	_ISIF_CSCM_MSB_SHIFT@GOTPCREL(%rip), %rax
	movzbl	(%rax), %ecx
	shll	%cl, %edi
	orl	%r14d, %edi
	movslq	%r12d, %rsi
	movq	_CSCM0@GOTPCREL(%rip), %rax
	addq	(%rax), %rsi
	callq	_regw
	movq	_ISIF_CSC_NUM_COEFF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	incq	%rbx
	movslq	%eax, %rcx
	addl	$2, %r12d
	cmpq	%rcx, %rbx
	jge	LBB0_8
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r15), %rdx
	movl	(%rdx,%rbx,8), %edi
	movzbl	(%r13), %ecx
	shll	%cl, %edi
	orl	4(%rdx,%rbx,8), %edi
	testb	$1, %bl
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	%edi, %r14d
	jmp	LBB0_7
LBB0_8:
	movl	(%r15), %edi
	movq	_FMTSPH@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	callq	_regw
	movl	4(%r15), %edi
	movq	_FMTLNH@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	callq	_regw
	movl	8(%r15), %edi
	movq	_FMTSLV@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	callq	_regw
	movl	12(%r15), %edi
	movq	_FMTLNV@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	callq	_regw
	movl	$1, %edi
	jmp	LBB0_9
LBB0_1:
	xorl	%edi, %edi
LBB0_9:
	movq	_CSCCTL@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_regw                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CSCCTL,8,3                     ## @CSCCTL
	.comm	_ISIF_CSC_NUM_COEFF,4,2         ## @ISIF_CSC_NUM_COEFF
	.comm	_ISIF_CSC_COEF_INTEG_SHIFT,4,2  ## @ISIF_CSC_COEF_INTEG_SHIFT
	.comm	_ISIF_CSCM_MSB_SHIFT,4,2        ## @ISIF_CSCM_MSB_SHIFT
	.comm	_CSCM0,8,3                      ## @CSCM0
	.comm	_FMTSPH,8,3                     ## @FMTSPH
	.comm	_FMTLNH,8,3                     ## @FMTLNH
	.comm	_FMTSLV,8,3                     ## @FMTSLV
	.comm	_FMTLNV,8,3                     ## @FMTLNV
	.no_dead_strip	_isif_config_csc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function isif_config_csc
_isif_config_csc:                       ; @isif_config_csc
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	ldr	w8, [x0, #24]
	cbz	w8, LBB0_7
; %bb.1:
	mov	x19, x0
Lloh0:
	adrp	x20, _ISIF_CSC_NUM_COEFF@GOTPAGE
Lloh1:
	ldr	x20, [x20, _ISIF_CSC_NUM_COEFF@GOTPAGEOFF]
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.2:
	mov	x21, #0
	mov	x22, #0
	mov	w26, #0
Lloh2:
	adrp	x23, _ISIF_CSC_COEF_INTEG_SHIFT@GOTPAGE
Lloh3:
	ldr	x23, [x23, _ISIF_CSC_COEF_INTEG_SHIFT@GOTPAGEOFF]
Lloh4:
	adrp	x24, _ISIF_CSCM_MSB_SHIFT@GOTPAGE
Lloh5:
	ldr	x24, [x24, _ISIF_CSCM_MSB_SHIFT@GOTPAGEOFF]
Lloh6:
	adrp	x25, _CSCM0@GOTPAGE
Lloh7:
	ldr	x25, [x25, _CSCM0@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x22, x22, #1
	add	x21, x21, #2
	cmp	x22, w8, sxtw
	mov	x26, x9
	b.ge	LBB0_6
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x19, #16]
	add	x9, x9, x21, lsl #2
	ldr	w10, [x23]
	ldp	w11, w9, [x9]
	lsl	w10, w11, w10
	orr	w9, w10, w9
	tbz	w22, #0, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x24]
	lsl	w8, w9, w8
	orr	w0, w8, w26
	ldr	x8, [x25]
	sub	w9, w21, #2
	add	x1, x8, w9, sxtw
	bl	_regw
	ldr	w8, [x20]
	mov	x9, x26
	b	LBB0_3
LBB0_6:
	ldr	w0, [x19]
Lloh8:
	adrp	x8, _FMTSPH@GOTPAGE
Lloh9:
	ldr	x8, [x8, _FMTSPH@GOTPAGEOFF]
Lloh10:
	ldr	x1, [x8]
	bl	_regw
	ldr	w0, [x19, #4]
Lloh11:
	adrp	x8, _FMTLNH@GOTPAGE
Lloh12:
	ldr	x8, [x8, _FMTLNH@GOTPAGEOFF]
Lloh13:
	ldr	x1, [x8]
	bl	_regw
	ldr	w0, [x19, #8]
Lloh14:
	adrp	x8, _FMTSLV@GOTPAGE
Lloh15:
	ldr	x8, [x8, _FMTSLV@GOTPAGEOFF]
Lloh16:
	ldr	x1, [x8]
	bl	_regw
	ldr	w0, [x19, #12]
Lloh17:
	adrp	x8, _FMTLNV@GOTPAGE
Lloh18:
	ldr	x8, [x8, _FMTLNV@GOTPAGEOFF]
Lloh19:
	ldr	x1, [x8]
	bl	_regw
	mov	w0, #1
	b	LBB0_8
LBB0_7:
	mov	w0, #0
LBB0_8:
Lloh20:
	adrp	x8, _CSCCTL@GOTPAGE
Lloh21:
	ldr	x8, [x8, _CSCCTL@GOTPAGEOFF]
Lloh22:
	ldr	x1, [x8]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_regw
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_CSCCTL,8,3                     ; @CSCCTL
	.comm	_ISIF_CSC_NUM_COEFF,4,2         ; @ISIF_CSC_NUM_COEFF
	.comm	_ISIF_CSC_COEF_INTEG_SHIFT,4,2  ; @ISIF_CSC_COEF_INTEG_SHIFT
	.comm	_ISIF_CSCM_MSB_SHIFT,4,2        ; @ISIF_CSCM_MSB_SHIFT
	.comm	_CSCM0,8,3                      ; @CSCM0
	.comm	_FMTSPH,8,3                     ; @FMTSPH
	.comm	_FMTLNH,8,3                     ; @FMTLNH
	.comm	_FMTSLV,8,3                     ; @FMTSLV
	.comm	_FMTLNV,8,3                     ; @FMTLNV
	.no_dead_strip	_isif_config_csc
.subsections_via_symbols
