	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hist_setup_regs
_hist_setup_regs:                       ## @hist_setup_regs
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_OMAP3ISP_HIST_MAX_REGIONS@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	leaq	(,%r13,4), %rbx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	movq	%rbx, %rax
	callq	____chkstk_darwin
	movq	%r15, %rbx
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	cmpq	$0, 32(%rbx)
	je	LBB0_13
## %bb.1:
	movq	(%rbx), %rax
	movq	_ISPSTAT_DISABLED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_13
## %bb.2:
	movq	_ISPSTAT_DISABLING@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_13
## %bb.3:
	movl	(%r12), %eax
	movq	_ISPHIST_CNT_CFA_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	%eax, %r8d
	shll	%cl, %r8d
	movq	8(%r12), %rdx
	movq	_ISPHIST_WB_GAIN_WG00_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	(%rdx), %esi
	movl	4(%rdx), %edi
	shll	%cl, %esi
	movq	_ISPHIST_WB_GAIN_WG01_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %edi
	orl	%esi, %edi
	movl	8(%rdx), %esi
	movq	_ISPHIST_WB_GAIN_WG02_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %esi
	orl	%edi, %esi
	movq	_OMAP3ISP_HIST_CFA_BAYER@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	jne	LBB0_5
## %bb.4:
	movl	12(%rdx), %eax
	movq	_ISPHIST_WB_GAIN_WG03_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %eax
	orl	%eax, %esi
LBB0_5:
	movl	%esi, -52(%rbp)                 ## 4-byte Spill
	testl	%r13d, %r13d
	jle	LBB0_10
## %bb.6:
	movslq	16(%r12), %r9
	movq	_ISPHIST_REG_START_SHIFT@GOTPCREL(%rip), %rax
	movl	(%rax), %r10d
	movq	_ISPHIST_REG_END_SHIFT@GOTPCREL(%rip), %rax
	movl	(%rax), %r11d
	movl	$3, %ebx
	xorl	%esi, %esi
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=1
	movl	%edi, (%r14,%rsi,4)
	movl	%eax, (%r15,%rsi,4)
	incq	%rsi
	addq	$4, %rbx
	cmpq	%rsi, %r13
	je	LBB0_10
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movl	$0, %edi
	movl	$0, %eax
	cmpq	%r9, %rsi
	jge	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	32(%r12), %rax
	movl	-12(%rax,%rbx,4), %edx
	movl	%r10d, %ecx
	shll	%cl, %edx
	movl	-8(%rax,%rbx,4), %edi
	movl	%r11d, %ecx
	shll	%cl, %edi
	orl	%edx, %edi
	movl	-4(%rax,%rbx,4), %edx
	movl	%r10d, %ecx
	shll	%cl, %edx
	movl	(%rax,%rbx,4), %eax
	movl	%r11d, %ecx
	shll	%cl, %eax
	orl	%edx, %eax
	jmp	LBB0_9
LBB0_10:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	40(%rdi), %r13
	movl	20(%r12), %edx
	movq	_ISPHIST_CNT_BINS_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	%edx, %ebx
	shll	%cl, %ebx
	orl	%r8d, %ebx
	addl	$-128, %edx
	movl	$-5, %eax
	cmpl	$2, %edx
	ja	LBB0_12
## %bb.11:
	movslq	%edx, %rax
	leaq	l_switch.table.hist_setup_regs(%rip), %rcx
	movl	(%rcx,%rax,4), %eax
LBB0_12:
	movq	_ISPHIST_IN_BIT_WIDTH_CCDC@GOTPCREL(%rip), %rcx
	addl	(%rcx), %eax
	movq	_ISPHIST_CNT_SHIFT_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %eax
	orl	%eax, %ebx
	callq	_hist_reset_mem
	movq	_OMAP3_ISP_IOMEM_HIST@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_ISPHIST_CNT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r13, %rdi
	movl	%ebx, %esi
	callq	_isp_reg_writel
	movq	_OMAP3_ISP_IOMEM_HIST@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movq	_ISPHIST_WB_GAIN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r13, %rdi
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	callq	_isp_reg_writel
	movl	(%r14), %esi
	movl	(%rbx), %edx
	movq	_ISPHIST_R0_HORZ@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r13, %rdi
	callq	_isp_reg_writel
	movl	(%r15), %esi
	movl	(%rbx), %edx
	movq	_ISPHIST_R0_VERT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r13, %rdi
	callq	_isp_reg_writel
	movl	4(%r14), %esi
	movl	(%rbx), %edx
	movq	_ISPHIST_R1_HORZ@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r13, %rdi
	callq	_isp_reg_writel
	movl	4(%r15), %esi
	movl	(%rbx), %edx
	movq	_ISPHIST_R1_VERT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r13, %rdi
	callq	_isp_reg_writel
	movl	8(%r14), %esi
	movl	(%rbx), %edx
	movq	_ISPHIST_R2_HORZ@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r13, %rdi
	callq	_isp_reg_writel
	movl	8(%r15), %esi
	movl	(%rbx), %edx
	movq	_ISPHIST_R2_VERT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r13, %rdi
	callq	_isp_reg_writel
	movl	12(%r14), %esi
	movl	(%rbx), %edx
	movq	_ISPHIST_R3_HORZ@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r13, %rdi
	callq	_isp_reg_writel
	movl	12(%r15), %esi
	movl	(%rbx), %edx
	movq	_ISPHIST_R3_VERT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r13, %rdi
	callq	_isp_reg_writel
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	$0, 32(%rcx)
	movl	16(%rcx), %eax
	addl	%eax, 24(%rcx)
	movq	$0, 16(%rcx)
	movl	24(%r12), %eax
	movl	%eax, 8(%rcx)
LBB0_13:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_15
## %bb.14:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_OMAP3ISP_HIST_MAX_REGIONS,4,2  ## @OMAP3ISP_HIST_MAX_REGIONS
	.comm	_ISPSTAT_DISABLED,8,3           ## @ISPSTAT_DISABLED
	.comm	_ISPSTAT_DISABLING,8,3          ## @ISPSTAT_DISABLING
	.comm	_ISPHIST_CNT_CFA_SHIFT,4,2      ## @ISPHIST_CNT_CFA_SHIFT
	.comm	_ISPHIST_WB_GAIN_WG00_SHIFT,4,2 ## @ISPHIST_WB_GAIN_WG00_SHIFT
	.comm	_ISPHIST_WB_GAIN_WG01_SHIFT,4,2 ## @ISPHIST_WB_GAIN_WG01_SHIFT
	.comm	_ISPHIST_WB_GAIN_WG02_SHIFT,4,2 ## @ISPHIST_WB_GAIN_WG02_SHIFT
	.comm	_OMAP3ISP_HIST_CFA_BAYER,4,2    ## @OMAP3ISP_HIST_CFA_BAYER
	.comm	_ISPHIST_WB_GAIN_WG03_SHIFT,4,2 ## @ISPHIST_WB_GAIN_WG03_SHIFT
	.comm	_ISPHIST_REG_START_SHIFT,4,2    ## @ISPHIST_REG_START_SHIFT
	.comm	_ISPHIST_REG_END_SHIFT,4,2      ## @ISPHIST_REG_END_SHIFT
	.comm	_ISPHIST_CNT_BINS_SHIFT,4,2     ## @ISPHIST_CNT_BINS_SHIFT
	.comm	_ISPHIST_IN_BIT_WIDTH_CCDC,4,2  ## @ISPHIST_IN_BIT_WIDTH_CCDC
	.comm	_ISPHIST_CNT_SHIFT_SHIFT,4,2    ## @ISPHIST_CNT_SHIFT_SHIFT
	.comm	_OMAP3_ISP_IOMEM_HIST,4,2       ## @OMAP3_ISP_IOMEM_HIST
	.comm	_ISPHIST_CNT,4,2                ## @ISPHIST_CNT
	.comm	_ISPHIST_WB_GAIN,4,2            ## @ISPHIST_WB_GAIN
	.comm	_ISPHIST_R0_HORZ,4,2            ## @ISPHIST_R0_HORZ
	.comm	_ISPHIST_R0_VERT,4,2            ## @ISPHIST_R0_VERT
	.comm	_ISPHIST_R1_HORZ,4,2            ## @ISPHIST_R1_HORZ
	.comm	_ISPHIST_R1_VERT,4,2            ## @ISPHIST_R1_VERT
	.comm	_ISPHIST_R2_HORZ,4,2            ## @ISPHIST_R2_HORZ
	.comm	_ISPHIST_R2_VERT,4,2            ## @ISPHIST_R2_VERT
	.comm	_ISPHIST_R3_HORZ,4,2            ## @ISPHIST_R3_HORZ
	.comm	_ISPHIST_R3_VERT,4,2            ## @ISPHIST_R3_VERT
	.no_dead_strip	_hist_setup_regs
	.section	__TEXT,__const
	.p2align	2                               ## @switch.table.hist_setup_regs
l_switch.table.hist_setup_regs:
	.long	4294967290                      ## 0xfffffffa
	.long	4294967288                      ## 0xfffffff8
	.long	4294967289                      ## 0xfffffff9

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hist_setup_regs
_hist_setup_regs:                       ; @hist_setup_regs
	.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
	sub	sp, sp, #16
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
	ldr	x21, [x0, #40]
Lloh3:
	adrp	x8, _OMAP3ISP_HIST_MAX_REGIONS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _OMAP3ISP_HIST_MAX_REGIONS@GOTPAGEOFF]
Lloh5:
	ldr	w12, [x8]
	lsl	x8, x12, #2
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x10, x8, #15
	and	x13, x10, #0x7fffffff0
	sub	x25, x9, x13
	mov	sp, x25
	mov	x9, x8
Lloh8:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh9:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	sub	x24, x8, x13
	mov	sp, x24
	ldr	x8, [x0, #32]
	cbz	x8, LBB0_14
; %bb.1:
	ldr	x8, [x19]
Lloh10:
	adrp	x9, _ISPSTAT_DISABLED@GOTPAGE
Lloh11:
	ldr	x9, [x9, _ISPSTAT_DISABLED@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
Lloh13:
	adrp	x10, _ISPSTAT_DISABLING@GOTPAGE
Lloh14:
	ldr	x10, [x10, _ISPSTAT_DISABLING@GOTPAGEOFF]
Lloh15:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.eq	LBB0_14
; %bb.2:
Lloh16:
	adrp	x9, _ISPHIST_CNT_CFA_SHIFT@GOTPAGE
Lloh17:
	ldr	x9, [x9, _ISPHIST_CNT_CFA_SHIFT@GOTPAGEOFF]
	ldr	w8, [x20]
Lloh18:
	ldr	w9, [x9]
	ldr	x10, [x20, #8]
Lloh19:
	adrp	x11, _ISPHIST_WB_GAIN_WG00_SHIFT@GOTPAGE
Lloh20:
	ldr	x11, [x11, _ISPHIST_WB_GAIN_WG00_SHIFT@GOTPAGEOFF]
Lloh21:
	ldr	w11, [x11]
	ldp	w13, w14, [x10]
	lsl	w11, w13, w11
Lloh22:
	adrp	x13, _ISPHIST_WB_GAIN_WG01_SHIFT@GOTPAGE
Lloh23:
	ldr	x13, [x13, _ISPHIST_WB_GAIN_WG01_SHIFT@GOTPAGEOFF]
Lloh24:
	ldr	w13, [x13]
	lsl	w13, w14, w13
	orr	w11, w13, w11
	ldr	w13, [x10, #8]
Lloh25:
	adrp	x14, _ISPHIST_WB_GAIN_WG02_SHIFT@GOTPAGE
Lloh26:
	ldr	x14, [x14, _ISPHIST_WB_GAIN_WG02_SHIFT@GOTPAGEOFF]
Lloh27:
	ldr	w14, [x14]
	lsl	w13, w13, w14
	orr	w22, w11, w13
Lloh28:
	adrp	x11, _OMAP3ISP_HIST_CFA_BAYER@GOTPAGE
Lloh29:
	ldr	x11, [x11, _OMAP3ISP_HIST_CFA_BAYER@GOTPAGEOFF]
Lloh30:
	ldr	w11, [x11]
	cmp	w8, w11
	b.ne	LBB0_4
; %bb.3:
	ldr	w10, [x10, #12]
Lloh31:
	adrp	x11, _ISPHIST_WB_GAIN_WG03_SHIFT@GOTPAGE
Lloh32:
	ldr	x11, [x11, _ISPHIST_WB_GAIN_WG03_SHIFT@GOTPAGEOFF]
Lloh33:
	ldr	w11, [x11]
	lsl	w10, w10, w11
	orr	w22, w10, w22
LBB0_4:
	lsl	w8, w8, w9
	cmp	w12, #1
	b.lt	LBB0_10
; %bb.5:
	mov	x9, #0
Lloh34:
	adrp	x11, _ISPHIST_REG_START_SHIFT@GOTPAGE
Lloh35:
	ldr	x11, [x11, _ISPHIST_REG_START_SHIFT@GOTPAGEOFF]
	ldrsw	x10, [x20, #16]
Lloh36:
	ldr	w11, [x11]
Lloh37:
	adrp	x13, _ISPHIST_REG_END_SHIFT@GOTPAGE
Lloh38:
	ldr	x13, [x13, _ISPHIST_REG_END_SHIFT@GOTPAGEOFF]
Lloh39:
	ldr	w13, [x13]
	mov	w14, #8
	b	LBB0_8
LBB0_6:                                 ;   in Loop: Header=BB0_8 Depth=1
	ldr	x15, [x20, #32]
	add	x16, x15, x14
	ldp	w15, w17, [x16, #-8]
	lsl	w15, w15, w11
	lsl	w17, w17, w13
	orr	w15, w17, w15
	ldp	w17, w16, [x16]
	lsl	w17, w17, w11
	lsl	w16, w16, w13
	orr	w16, w16, w17
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	lsl	x17, x9, #2
	str	w15, [x25, x17]
	str	w16, [x24, x17]
	add	x9, x9, #1
	add	x14, x14, #16
	cmp	x12, x9
	b.eq	LBB0_10
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	cmp	x9, x10
	b.lt	LBB0_6
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	w15, #0
	mov	w16, #0
	b	LBB0_7
LBB0_10:
Lloh40:
	adrp	x9, _ISPHIST_CNT_BINS_SHIFT@GOTPAGE
Lloh41:
	ldr	x9, [x9, _ISPHIST_CNT_BINS_SHIFT@GOTPAGEOFF]
	ldr	w10, [x20, #20]
Lloh42:
	ldr	w9, [x9]
	lsl	w9, w10, w9
	orr	w8, w9, w8
	sub	w9, w10, #128
	cmp	w9, #2
	b.hi	LBB0_12
; %bb.11:
Lloh43:
	adrp	x10, l_switch.table.hist_setup_regs@PAGE
Lloh44:
	add	x10, x10, l_switch.table.hist_setup_regs@PAGEOFF
	ldr	w9, [x10, w9, sxtw #2]
	b	LBB0_13
LBB0_12:
	mov	w9, #-5
LBB0_13:
Lloh45:
	adrp	x10, _ISPHIST_IN_BIT_WIDTH_CCDC@GOTPAGE
Lloh46:
	ldr	x10, [x10, _ISPHIST_IN_BIT_WIDTH_CCDC@GOTPAGEOFF]
Lloh47:
	ldr	w10, [x10]
	add	w9, w10, w9
Lloh48:
	adrp	x10, _ISPHIST_CNT_SHIFT_SHIFT@GOTPAGE
Lloh49:
	ldr	x10, [x10, _ISPHIST_CNT_SHIFT_SHIFT@GOTPAGEOFF]
Lloh50:
	ldr	w10, [x10]
	lsl	w9, w9, w10
	orr	w23, w8, w9
	mov	x0, x19
	bl	_hist_reset_mem
Lloh51:
	adrp	x26, _OMAP3_ISP_IOMEM_HIST@GOTPAGE
Lloh52:
	ldr	x26, [x26, _OMAP3_ISP_IOMEM_HIST@GOTPAGEOFF]
	ldr	w2, [x26]
Lloh53:
	adrp	x8, _ISPHIST_CNT@GOTPAGE
Lloh54:
	ldr	x8, [x8, _ISPHIST_CNT@GOTPAGEOFF]
Lloh55:
	ldr	w3, [x8]
	mov	x0, x21
	mov	x1, x23
	bl	_isp_reg_writel
	ldr	w2, [x26]
Lloh56:
	adrp	x8, _ISPHIST_WB_GAIN@GOTPAGE
Lloh57:
	ldr	x8, [x8, _ISPHIST_WB_GAIN@GOTPAGEOFF]
Lloh58:
	ldr	w3, [x8]
	mov	x0, x21
	mov	x1, x22
	bl	_isp_reg_writel
	ldr	w1, [x25]
	ldr	w2, [x26]
Lloh59:
	adrp	x8, _ISPHIST_R0_HORZ@GOTPAGE
Lloh60:
	ldr	x8, [x8, _ISPHIST_R0_HORZ@GOTPAGEOFF]
Lloh61:
	ldr	w3, [x8]
	mov	x0, x21
	bl	_isp_reg_writel
	ldr	w1, [x24]
	ldr	w2, [x26]
Lloh62:
	adrp	x8, _ISPHIST_R0_VERT@GOTPAGE
Lloh63:
	ldr	x8, [x8, _ISPHIST_R0_VERT@GOTPAGEOFF]
Lloh64:
	ldr	w3, [x8]
	mov	x0, x21
	bl	_isp_reg_writel
	ldr	w1, [x25, #4]
	ldr	w2, [x26]
Lloh65:
	adrp	x8, _ISPHIST_R1_HORZ@GOTPAGE
Lloh66:
	ldr	x8, [x8, _ISPHIST_R1_HORZ@GOTPAGEOFF]
Lloh67:
	ldr	w3, [x8]
	mov	x0, x21
	bl	_isp_reg_writel
	ldr	w1, [x24, #4]
	ldr	w2, [x26]
Lloh68:
	adrp	x8, _ISPHIST_R1_VERT@GOTPAGE
Lloh69:
	ldr	x8, [x8, _ISPHIST_R1_VERT@GOTPAGEOFF]
Lloh70:
	ldr	w3, [x8]
	mov	x0, x21
	bl	_isp_reg_writel
	ldr	w1, [x25, #8]
	ldr	w2, [x26]
Lloh71:
	adrp	x8, _ISPHIST_R2_HORZ@GOTPAGE
Lloh72:
	ldr	x8, [x8, _ISPHIST_R2_HORZ@GOTPAGEOFF]
Lloh73:
	ldr	w3, [x8]
	mov	x0, x21
	bl	_isp_reg_writel
	ldr	w1, [x24, #8]
	ldr	w2, [x26]
Lloh74:
	adrp	x8, _ISPHIST_R2_VERT@GOTPAGE
Lloh75:
	ldr	x8, [x8, _ISPHIST_R2_VERT@GOTPAGEOFF]
Lloh76:
	ldr	w3, [x8]
	mov	x0, x21
	bl	_isp_reg_writel
	ldr	w1, [x25, #12]
	ldr	w2, [x26]
Lloh77:
	adrp	x8, _ISPHIST_R3_HORZ@GOTPAGE
Lloh78:
	ldr	x8, [x8, _ISPHIST_R3_HORZ@GOTPAGEOFF]
Lloh79:
	ldr	w3, [x8]
	mov	x0, x21
	bl	_isp_reg_writel
	ldr	w1, [x24, #12]
	ldr	w2, [x26]
Lloh80:
	adrp	x8, _ISPHIST_R3_VERT@GOTPAGE
Lloh81:
	ldr	x8, [x8, _ISPHIST_R3_VERT@GOTPAGEOFF]
Lloh82:
	ldr	w3, [x8]
	mov	x0, x21
	bl	_isp_reg_writel
	str	xzr, [x19, #32]
	ldr	w8, [x19, #16]
	ldr	w9, [x19, #24]
	add	w8, w9, w8
	str	w8, [x19, #24]
	str	xzr, [x19, #16]
	ldr	w8, [x20, #24]
	str	w8, [x19, #8]
LBB0_14:
	ldur	x8, [x29, #-72]
Lloh83:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh84:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh85:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_16
; %bb.15:
	sub	sp, x29, #64
	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
	ret
LBB0_16:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh80, Lloh81, Lloh82
	.loh AdrpLdrGotLdr	Lloh77, Lloh78, Lloh79
	.loh AdrpLdrGotLdr	Lloh74, Lloh75, Lloh76
	.loh AdrpLdrGotLdr	Lloh71, Lloh72, Lloh73
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGot	Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh83, Lloh84, Lloh85
	.cfi_endproc
                                        ; -- End function
	.comm	_OMAP3ISP_HIST_MAX_REGIONS,4,2  ; @OMAP3ISP_HIST_MAX_REGIONS
	.comm	_ISPSTAT_DISABLED,8,3           ; @ISPSTAT_DISABLED
	.comm	_ISPSTAT_DISABLING,8,3          ; @ISPSTAT_DISABLING
	.comm	_ISPHIST_CNT_CFA_SHIFT,4,2      ; @ISPHIST_CNT_CFA_SHIFT
	.comm	_ISPHIST_WB_GAIN_WG00_SHIFT,4,2 ; @ISPHIST_WB_GAIN_WG00_SHIFT
	.comm	_ISPHIST_WB_GAIN_WG01_SHIFT,4,2 ; @ISPHIST_WB_GAIN_WG01_SHIFT
	.comm	_ISPHIST_WB_GAIN_WG02_SHIFT,4,2 ; @ISPHIST_WB_GAIN_WG02_SHIFT
	.comm	_OMAP3ISP_HIST_CFA_BAYER,4,2    ; @OMAP3ISP_HIST_CFA_BAYER
	.comm	_ISPHIST_WB_GAIN_WG03_SHIFT,4,2 ; @ISPHIST_WB_GAIN_WG03_SHIFT
	.comm	_ISPHIST_REG_START_SHIFT,4,2    ; @ISPHIST_REG_START_SHIFT
	.comm	_ISPHIST_REG_END_SHIFT,4,2      ; @ISPHIST_REG_END_SHIFT
	.comm	_ISPHIST_CNT_BINS_SHIFT,4,2     ; @ISPHIST_CNT_BINS_SHIFT
	.comm	_ISPHIST_IN_BIT_WIDTH_CCDC,4,2  ; @ISPHIST_IN_BIT_WIDTH_CCDC
	.comm	_ISPHIST_CNT_SHIFT_SHIFT,4,2    ; @ISPHIST_CNT_SHIFT_SHIFT
	.comm	_OMAP3_ISP_IOMEM_HIST,4,2       ; @OMAP3_ISP_IOMEM_HIST
	.comm	_ISPHIST_CNT,4,2                ; @ISPHIST_CNT
	.comm	_ISPHIST_WB_GAIN,4,2            ; @ISPHIST_WB_GAIN
	.comm	_ISPHIST_R0_HORZ,4,2            ; @ISPHIST_R0_HORZ
	.comm	_ISPHIST_R0_VERT,4,2            ; @ISPHIST_R0_VERT
	.comm	_ISPHIST_R1_HORZ,4,2            ; @ISPHIST_R1_HORZ
	.comm	_ISPHIST_R1_VERT,4,2            ; @ISPHIST_R1_VERT
	.comm	_ISPHIST_R2_HORZ,4,2            ; @ISPHIST_R2_HORZ
	.comm	_ISPHIST_R2_VERT,4,2            ; @ISPHIST_R2_VERT
	.comm	_ISPHIST_R3_HORZ,4,2            ; @ISPHIST_R3_HORZ
	.comm	_ISPHIST_R3_VERT,4,2            ; @ISPHIST_R3_VERT
	.no_dead_strip	_hist_setup_regs
	.section	__TEXT,__const
	.p2align	2                               ; @switch.table.hist_setup_regs
l_switch.table.hist_setup_regs:
	.long	4294967290                      ; 0xfffffffa
	.long	4294967288                      ; 0xfffffff8
	.long	4294967289                      ; 0xfffffff9

.subsections_via_symbols
