	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function resizer_set_luma
_resizer_set_luma:                      ## @resizer_set_luma
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rsi, %rbx
	callq	_to_isp_device
	movq	_ISPRSZ_YENH_ALGO_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	(%rbx), %esi
	movl	4(%rbx), %edx
	shll	%cl, %esi
	movq	_ISPRSZ_YENH_ALGO_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %esi
	movq	_ISPRSZ_YENH_GAIN_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %edx
	movq	_ISPRSZ_YENH_GAIN_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %edx
	movl	8(%rbx), %edi
	movq	_ISPRSZ_YENH_SLOP_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %edi
	movq	_ISPRSZ_YENH_SLOP_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %edi
	orl	%esi, %edx
	movl	12(%rbx), %esi
	movq	_ISPRSZ_YENH_CORE_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %esi
	movq	_ISPRSZ_YENH_CORE_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %esi
	orl	%edi, %esi
	orl	%edx, %esi
	movq	_OMAP3_ISP_IOMEM_RESZ@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_ISPRSZ_YENH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	%rax, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_isp_reg_writel                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ISPRSZ_YENH_ALGO_SHIFT,4,2     ## @ISPRSZ_YENH_ALGO_SHIFT
	.comm	_ISPRSZ_YENH_ALGO_MASK,4,2      ## @ISPRSZ_YENH_ALGO_MASK
	.comm	_ISPRSZ_YENH_GAIN_SHIFT,4,2     ## @ISPRSZ_YENH_GAIN_SHIFT
	.comm	_ISPRSZ_YENH_GAIN_MASK,4,2      ## @ISPRSZ_YENH_GAIN_MASK
	.comm	_ISPRSZ_YENH_SLOP_SHIFT,4,2     ## @ISPRSZ_YENH_SLOP_SHIFT
	.comm	_ISPRSZ_YENH_SLOP_MASK,4,2      ## @ISPRSZ_YENH_SLOP_MASK
	.comm	_ISPRSZ_YENH_CORE_SHIFT,4,2     ## @ISPRSZ_YENH_CORE_SHIFT
	.comm	_ISPRSZ_YENH_CORE_MASK,4,2      ## @ISPRSZ_YENH_CORE_MASK
	.comm	_OMAP3_ISP_IOMEM_RESZ,4,2       ## @OMAP3_ISP_IOMEM_RESZ
	.comm	_ISPRSZ_YENH,4,2                ## @ISPRSZ_YENH
	.no_dead_strip	_resizer_set_luma
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function resizer_set_luma
_resizer_set_luma:                      ; @resizer_set_luma
	.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, x1
	bl	_to_isp_device
Lloh0:
	adrp	x8, _ISPRSZ_YENH_ALGO_SHIFT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ISPRSZ_YENH_ALGO_SHIFT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _ISPRSZ_YENH_ALGO_MASK@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ISPRSZ_YENH_ALGO_MASK@GOTPAGEOFF]
	ldp	w10, w11, [x19]
	lsl	w8, w10, w8
Lloh5:
	ldr	w9, [x9]
	and	w8, w8, w9
Lloh6:
	adrp	x9, _ISPRSZ_YENH_GAIN_SHIFT@GOTPAGE
Lloh7:
	ldr	x9, [x9, _ISPRSZ_YENH_GAIN_SHIFT@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	lsl	w9, w11, w9
Lloh9:
	adrp	x10, _ISPRSZ_YENH_GAIN_MASK@GOTPAGE
Lloh10:
	ldr	x10, [x10, _ISPRSZ_YENH_GAIN_MASK@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	and	w9, w9, w10
	orr	w8, w9, w8
Lloh12:
	adrp	x9, _ISPRSZ_YENH_SLOP_SHIFT@GOTPAGE
Lloh13:
	ldr	x9, [x9, _ISPRSZ_YENH_SLOP_SHIFT@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	ldp	w10, w11, [x19, #8]
	lsl	w9, w10, w9
Lloh15:
	adrp	x10, _ISPRSZ_YENH_SLOP_MASK@GOTPAGE
Lloh16:
	ldr	x10, [x10, _ISPRSZ_YENH_SLOP_MASK@GOTPAGEOFF]
Lloh17:
	ldr	w10, [x10]
	and	w9, w9, w10
Lloh18:
	adrp	x10, _ISPRSZ_YENH_CORE_SHIFT@GOTPAGE
Lloh19:
	ldr	x10, [x10, _ISPRSZ_YENH_CORE_SHIFT@GOTPAGEOFF]
	orr	w8, w8, w9
Lloh20:
	ldr	w9, [x10]
	lsl	w9, w11, w9
Lloh21:
	adrp	x10, _ISPRSZ_YENH_CORE_MASK@GOTPAGE
Lloh22:
	ldr	x10, [x10, _ISPRSZ_YENH_CORE_MASK@GOTPAGEOFF]
Lloh23:
	ldr	w10, [x10]
	and	w9, w9, w10
	orr	w1, w8, w9
Lloh24:
	adrp	x8, _OMAP3_ISP_IOMEM_RESZ@GOTPAGE
Lloh25:
	ldr	x8, [x8, _OMAP3_ISP_IOMEM_RESZ@GOTPAGEOFF]
Lloh26:
	adrp	x9, _ISPRSZ_YENH@GOTPAGE
Lloh27:
	ldr	x9, [x9, _ISPRSZ_YENH@GOTPAGEOFF]
Lloh28:
	ldr	w2, [x8]
Lloh29:
	ldr	w3, [x9]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_isp_reg_writel
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh28
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ISPRSZ_YENH_ALGO_SHIFT,4,2     ; @ISPRSZ_YENH_ALGO_SHIFT
	.comm	_ISPRSZ_YENH_ALGO_MASK,4,2      ; @ISPRSZ_YENH_ALGO_MASK
	.comm	_ISPRSZ_YENH_GAIN_SHIFT,4,2     ; @ISPRSZ_YENH_GAIN_SHIFT
	.comm	_ISPRSZ_YENH_GAIN_MASK,4,2      ; @ISPRSZ_YENH_GAIN_MASK
	.comm	_ISPRSZ_YENH_SLOP_SHIFT,4,2     ; @ISPRSZ_YENH_SLOP_SHIFT
	.comm	_ISPRSZ_YENH_SLOP_MASK,4,2      ; @ISPRSZ_YENH_SLOP_MASK
	.comm	_ISPRSZ_YENH_CORE_SHIFT,4,2     ; @ISPRSZ_YENH_CORE_SHIFT
	.comm	_ISPRSZ_YENH_CORE_MASK,4,2      ; @ISPRSZ_YENH_CORE_MASK
	.comm	_OMAP3_ISP_IOMEM_RESZ,4,2       ; @OMAP3_ISP_IOMEM_RESZ
	.comm	_ISPRSZ_YENH,4,2                ; @ISPRSZ_YENH
	.no_dead_strip	_resizer_set_luma
.subsections_via_symbols
