	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function isif_config_bclamp
_isif_config_bclamp:                    ## @isif_config_bclamp
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movl	(%rdi), %edi
	movq	_CLDCOFST@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_regw
	cmpq	$0, 64(%r14)
	je	LBB0_4
## %bb.1:
	movq	_ISIF_BC_MODE_COLOR_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	4(%r14), %eax
	movl	32(%r14), %ebx
	shll	%cl, %eax
	movq	_ISIF_HORZ_BC_MODE_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %ebx
	orl	%eax, %ebx
	orl	$1, %ebx
	movq	_CLAMPCFG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_regw
	movl	32(%r14), %eax
	movq	_ISIF_HORZ_BC_DISABLE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_3
## %bb.2:
	xorl	%eax, %eax
	cmpl	$0, 60(%r14)
	setne	%al
	movq	_ISIF_HORZ_BC_WIN_SEL_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %eax
	orl	36(%r14), %eax
	xorl	%edx, %edx
	cmpl	$0, 56(%r14)
	setne	%dl
	movq	_ISIF_HORZ_BC_PIX_LIMIT_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %edx
	movq	_ISIF_HORZ_BC_WIN_H_SIZE_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	40(%r14), %esi
	shll	%cl, %esi
	movl	44(%r14), %ebx
	orl	%edx, %esi
	movq	_ISIF_HORZ_BC_WIN_V_SIZE_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %ebx
	orl	%esi, %ebx
	orl	%eax, %ebx
	movq	_CLHWIN0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_regw
	movl	48(%r14), %edi
	movq	_CLHWIN1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_regw
	movl	52(%r14), %edi
	movq	_CLHWIN2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_regw
LBB0_3:
	movq	_ISIF_VERT_BC_RST_VAL_SEL_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	12(%r14), %eax
	movl	16(%r14), %edi
	shll	%cl, %eax
	movq	_ISIF_VERT_BC_LINE_AVE_COEF_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %edi
	orl	%ebx, %edi
	orl	%eax, %edi
	movq	_CLVWIN0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_regw
	movl	20(%r14), %edi
	movq	_CLVWIN1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_regw
	movl	24(%r14), %edi
	movq	_CLVWIN2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_regw
	movl	28(%r14), %edi
	movq	_CLVWIN3@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_regw
	movl	8(%r14), %edi
	movq	_CLSV@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_regw                           ## TAILCALL
LBB0_4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CLDCOFST,4,2                   ## @CLDCOFST
	.comm	_ISIF_BC_MODE_COLOR_SHIFT,4,2   ## @ISIF_BC_MODE_COLOR_SHIFT
	.comm	_ISIF_HORZ_BC_MODE_SHIFT,4,2    ## @ISIF_HORZ_BC_MODE_SHIFT
	.comm	_CLAMPCFG,4,2                   ## @CLAMPCFG
	.comm	_ISIF_HORZ_BC_DISABLE,4,2       ## @ISIF_HORZ_BC_DISABLE
	.comm	_ISIF_HORZ_BC_WIN_SEL_SHIFT,4,2 ## @ISIF_HORZ_BC_WIN_SEL_SHIFT
	.comm	_ISIF_HORZ_BC_PIX_LIMIT_SHIFT,4,2 ## @ISIF_HORZ_BC_PIX_LIMIT_SHIFT
	.comm	_ISIF_HORZ_BC_WIN_H_SIZE_SHIFT,4,2 ## @ISIF_HORZ_BC_WIN_H_SIZE_SHIFT
	.comm	_ISIF_HORZ_BC_WIN_V_SIZE_SHIFT,4,2 ## @ISIF_HORZ_BC_WIN_V_SIZE_SHIFT
	.comm	_CLHWIN0,4,2                    ## @CLHWIN0
	.comm	_CLHWIN1,4,2                    ## @CLHWIN1
	.comm	_CLHWIN2,4,2                    ## @CLHWIN2
	.comm	_ISIF_VERT_BC_RST_VAL_SEL_SHIFT,4,2 ## @ISIF_VERT_BC_RST_VAL_SEL_SHIFT
	.comm	_ISIF_VERT_BC_LINE_AVE_COEF_SHIFT,4,2 ## @ISIF_VERT_BC_LINE_AVE_COEF_SHIFT
	.comm	_CLVWIN0,4,2                    ## @CLVWIN0
	.comm	_CLVWIN1,4,2                    ## @CLVWIN1
	.comm	_CLVWIN2,4,2                    ## @CLVWIN2
	.comm	_CLVWIN3,4,2                    ## @CLVWIN3
	.comm	_CLSV,4,2                       ## @CLSV
	.no_dead_strip	_isif_config_bclamp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function isif_config_bclamp
_isif_config_bclamp:                    ; @isif_config_bclamp
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	w0, [x0]
Lloh0:
	adrp	x8, _CLDCOFST@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CLDCOFST@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_regw
	ldr	x8, [x19, #64]
	cbz	x8, LBB0_4
; %bb.1:
	ldr	w8, [x19, #4]
Lloh3:
	adrp	x9, _ISIF_BC_MODE_COLOR_SHIFT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ISIF_BC_MODE_COLOR_SHIFT@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	lsl	w8, w8, w9
	ldr	w9, [x19, #32]
Lloh6:
	adrp	x10, _ISIF_HORZ_BC_MODE_SHIFT@GOTPAGE
Lloh7:
	ldr	x10, [x10, _ISIF_HORZ_BC_MODE_SHIFT@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	lsl	w9, w9, w10
	orr	w8, w8, w9
	orr	w20, w8, #0x1
Lloh9:
	adrp	x8, _CLAMPCFG@GOTPAGE
Lloh10:
	ldr	x8, [x8, _CLAMPCFG@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_regw
	ldr	w8, [x19, #32]
Lloh12:
	adrp	x9, _ISIF_HORZ_BC_DISABLE@GOTPAGE
Lloh13:
	ldr	x9, [x9, _ISIF_HORZ_BC_DISABLE@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	cmp	w8, w9
	b.eq	LBB0_3
; %bb.2:
	ldp	w9, w8, [x19, #56]
	cmp	w8, #0
	cset	w8, ne
Lloh15:
	adrp	x10, _ISIF_HORZ_BC_WIN_SEL_SHIFT@GOTPAGE
Lloh16:
	ldr	x10, [x10, _ISIF_HORZ_BC_WIN_SEL_SHIFT@GOTPAGEOFF]
Lloh17:
	ldr	w10, [x10]
	lsl	w8, w8, w10
	ldp	w10, w11, [x19, #36]
	orr	w8, w8, w10
	cmp	w9, #0
Lloh18:
	adrp	x9, _ISIF_HORZ_BC_PIX_LIMIT_SHIFT@GOTPAGE
Lloh19:
	ldr	x9, [x9, _ISIF_HORZ_BC_PIX_LIMIT_SHIFT@GOTPAGEOFF]
	cset	w10, ne
Lloh20:
	ldr	w9, [x9]
	lsl	w9, w10, w9
	orr	w8, w8, w9
Lloh21:
	adrp	x9, _ISIF_HORZ_BC_WIN_H_SIZE_SHIFT@GOTPAGE
Lloh22:
	ldr	x9, [x9, _ISIF_HORZ_BC_WIN_H_SIZE_SHIFT@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	lsl	w9, w11, w9
	orr	w8, w8, w9
	ldr	w9, [x19, #44]
Lloh24:
	adrp	x10, _ISIF_HORZ_BC_WIN_V_SIZE_SHIFT@GOTPAGE
Lloh25:
	ldr	x10, [x10, _ISIF_HORZ_BC_WIN_V_SIZE_SHIFT@GOTPAGEOFF]
Lloh26:
	ldr	w10, [x10]
	lsl	w9, w9, w10
	orr	w20, w8, w9
Lloh27:
	adrp	x8, _CLHWIN0@GOTPAGE
Lloh28:
	ldr	x8, [x8, _CLHWIN0@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_regw
	ldr	w0, [x19, #48]
Lloh30:
	adrp	x8, _CLHWIN1@GOTPAGE
Lloh31:
	ldr	x8, [x8, _CLHWIN1@GOTPAGEOFF]
Lloh32:
	ldr	w1, [x8]
	bl	_regw
	ldr	w0, [x19, #52]
Lloh33:
	adrp	x8, _CLHWIN2@GOTPAGE
Lloh34:
	ldr	x8, [x8, _CLHWIN2@GOTPAGEOFF]
Lloh35:
	ldr	w1, [x8]
	bl	_regw
LBB0_3:
Lloh36:
	adrp	x8, _ISIF_VERT_BC_RST_VAL_SEL_SHIFT@GOTPAGE
Lloh37:
	ldr	x8, [x8, _ISIF_VERT_BC_RST_VAL_SEL_SHIFT@GOTPAGEOFF]
Lloh38:
	ldr	w8, [x8]
	ldp	w9, w10, [x19, #12]
	lsl	w8, w9, w8
Lloh39:
	adrp	x9, _ISIF_VERT_BC_LINE_AVE_COEF_SHIFT@GOTPAGE
Lloh40:
	ldr	x9, [x9, _ISIF_VERT_BC_LINE_AVE_COEF_SHIFT@GOTPAGEOFF]
Lloh41:
	ldr	w9, [x9]
	lsl	w9, w10, w9
	orr	w8, w8, w20
	orr	w0, w8, w9
Lloh42:
	adrp	x8, _CLVWIN0@GOTPAGE
Lloh43:
	ldr	x8, [x8, _CLVWIN0@GOTPAGEOFF]
Lloh44:
	ldr	w1, [x8]
	bl	_regw
	ldr	w0, [x19, #20]
Lloh45:
	adrp	x8, _CLVWIN1@GOTPAGE
Lloh46:
	ldr	x8, [x8, _CLVWIN1@GOTPAGEOFF]
Lloh47:
	ldr	w1, [x8]
	bl	_regw
	ldr	w0, [x19, #24]
Lloh48:
	adrp	x8, _CLVWIN2@GOTPAGE
Lloh49:
	ldr	x8, [x8, _CLVWIN2@GOTPAGEOFF]
Lloh50:
	ldr	w1, [x8]
	bl	_regw
	ldr	w0, [x19, #28]
Lloh51:
	adrp	x8, _CLVWIN3@GOTPAGE
Lloh52:
	ldr	x8, [x8, _CLVWIN3@GOTPAGEOFF]
Lloh53:
	ldr	w1, [x8]
	bl	_regw
	ldr	w0, [x19, #8]
Lloh54:
	adrp	x8, _CLSV@GOTPAGE
Lloh55:
	ldr	x8, [x8, _CLSV@GOTPAGEOFF]
Lloh56:
	ldr	w1, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_regw
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.cfi_endproc
                                        ; -- End function
	.comm	_CLDCOFST,4,2                   ; @CLDCOFST
	.comm	_ISIF_BC_MODE_COLOR_SHIFT,4,2   ; @ISIF_BC_MODE_COLOR_SHIFT
	.comm	_ISIF_HORZ_BC_MODE_SHIFT,4,2    ; @ISIF_HORZ_BC_MODE_SHIFT
	.comm	_CLAMPCFG,4,2                   ; @CLAMPCFG
	.comm	_ISIF_HORZ_BC_DISABLE,4,2       ; @ISIF_HORZ_BC_DISABLE
	.comm	_ISIF_HORZ_BC_WIN_SEL_SHIFT,4,2 ; @ISIF_HORZ_BC_WIN_SEL_SHIFT
	.comm	_ISIF_HORZ_BC_PIX_LIMIT_SHIFT,4,2 ; @ISIF_HORZ_BC_PIX_LIMIT_SHIFT
	.comm	_ISIF_HORZ_BC_WIN_H_SIZE_SHIFT,4,2 ; @ISIF_HORZ_BC_WIN_H_SIZE_SHIFT
	.comm	_ISIF_HORZ_BC_WIN_V_SIZE_SHIFT,4,2 ; @ISIF_HORZ_BC_WIN_V_SIZE_SHIFT
	.comm	_CLHWIN0,4,2                    ; @CLHWIN0
	.comm	_CLHWIN1,4,2                    ; @CLHWIN1
	.comm	_CLHWIN2,4,2                    ; @CLHWIN2
	.comm	_ISIF_VERT_BC_RST_VAL_SEL_SHIFT,4,2 ; @ISIF_VERT_BC_RST_VAL_SEL_SHIFT
	.comm	_ISIF_VERT_BC_LINE_AVE_COEF_SHIFT,4,2 ; @ISIF_VERT_BC_LINE_AVE_COEF_SHIFT
	.comm	_CLVWIN0,4,2                    ; @CLVWIN0
	.comm	_CLVWIN1,4,2                    ; @CLVWIN1
	.comm	_CLVWIN2,4,2                    ; @CLVWIN2
	.comm	_CLVWIN3,4,2                    ; @CLVWIN3
	.comm	_CLSV,4,2                       ; @CLSV
	.no_dead_strip	_isif_config_bclamp
.subsections_via_symbols
