	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function preview_config_luma_enhancement
_preview_config_luma_enhancement:       ## @preview_config_luma_enhancement
	.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
	movq	%rsi, %r14
	callq	_to_isp_device
	movq	%rax, %r13
	movq	_ISPPRV_YENH_TABLE_ADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_OMAP3_ISP_IOMEM_PREV@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_ISPPRV_SET_TBL_ADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r13, %rdi
	callq	_isp_reg_writel
	movq	_OMAP3ISP_PREV_YENH_TBL_SIZE@GOTPCREL(%rip), %r12
	cmpl	$0, (%r12)
	je	LBB0_3
## %bb.1:
	xorl	%ebx, %ebx
	movq	_ISPPRV_SET_TBL_DATA@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %rax
	movl	(%rax,%rbx,4), %esi
	movq	_OMAP3_ISP_IOMEM_PREV@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%r15), %ecx
	movq	%r13, %rdi
	callq	_isp_reg_writel
	incq	%rbx
	movl	(%r12), %eax
	cmpq	%rax, %rbx
	jb	LBB0_2
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ISPPRV_YENH_TABLE_ADDR,4,2     ## @ISPPRV_YENH_TABLE_ADDR
	.comm	_OMAP3_ISP_IOMEM_PREV,4,2       ## @OMAP3_ISP_IOMEM_PREV
	.comm	_ISPPRV_SET_TBL_ADDR,4,2        ## @ISPPRV_SET_TBL_ADDR
	.comm	_OMAP3ISP_PREV_YENH_TBL_SIZE,4,2 ## @OMAP3ISP_PREV_YENH_TBL_SIZE
	.comm	_ISPPRV_SET_TBL_DATA,4,2        ## @ISPPRV_SET_TBL_DATA
	.no_dead_strip	_preview_config_luma_enhancement
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function preview_config_luma_enhancement
_preview_config_luma_enhancement:       ; @preview_config_luma_enhancement
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x1
	bl	_to_isp_device
	mov	x20, x0
Lloh0:
	adrp	x8, _ISPPRV_YENH_TABLE_ADDR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ISPPRV_YENH_TABLE_ADDR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x21, _OMAP3_ISP_IOMEM_PREV@GOTPAGE
Lloh4:
	ldr	x21, [x21, _OMAP3_ISP_IOMEM_PREV@GOTPAGEOFF]
	ldr	w2, [x21]
Lloh5:
	adrp	x8, _ISPPRV_SET_TBL_ADDR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ISPPRV_SET_TBL_ADDR@GOTPAGEOFF]
Lloh7:
	ldr	w3, [x8]
	bl	_isp_reg_writel
Lloh8:
	adrp	x22, _OMAP3ISP_PREV_YENH_TBL_SIZE@GOTPAGE
Lloh9:
	ldr	x22, [x22, _OMAP3ISP_PREV_YENH_TBL_SIZE@GOTPAGEOFF]
	ldr	w8, [x22]
	cbz	w8, LBB0_3
; %bb.1:
	mov	x23, #0
Lloh10:
	adrp	x24, _ISPPRV_SET_TBL_DATA@GOTPAGE
Lloh11:
	ldr	x24, [x24, _ISPPRV_SET_TBL_DATA@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19]
	ldr	w1, [x8, x23, lsl #2]
	ldr	w2, [x21]
	ldr	w3, [x24]
	mov	x0, x20
	bl	_isp_reg_writel
	add	x23, x23, #1
	ldr	w8, [x22]
	cmp	x23, x8
	b.lo	LBB0_2
LBB0_3:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_ISPPRV_YENH_TABLE_ADDR,4,2     ; @ISPPRV_YENH_TABLE_ADDR
	.comm	_OMAP3_ISP_IOMEM_PREV,4,2       ; @OMAP3_ISP_IOMEM_PREV
	.comm	_ISPPRV_SET_TBL_ADDR,4,2        ; @ISPPRV_SET_TBL_ADDR
	.comm	_OMAP3ISP_PREV_YENH_TBL_SIZE,4,2 ; @OMAP3ISP_PREV_YENH_TBL_SIZE
	.comm	_ISPPRV_SET_TBL_DATA,4,2        ; @ISPPRV_SET_TBL_DATA
	.no_dead_strip	_preview_config_luma_enhancement
.subsections_via_symbols
