	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dce_ipp_program_prescale
_dce_ipp_program_prescale:              ## @dce_ipp_program_prescale
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	callq	_TO_DCE_IPP
	movq	_PRESCALE_GRPH_CONTROL@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movq	_GRPH_PRESCALE_BYPASS@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movl	$1, %edx
	callq	_REG_UPDATE
	movq	_PRESCALE_VALUES_GRPH_R@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_GRPH_PRESCALE_SCALE_R@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	8(%rbx), %r9d
	movl	12(%rbx), %ecx
	movq	_GRPH_PRESCALE_BIAS_R@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	xorl	%esi, %esi
	callq	_REG_SET_2
	movq	_PRESCALE_VALUES_GRPH_G@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_GRPH_PRESCALE_SCALE_G@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	8(%rbx), %r9d
	movl	12(%rbx), %ecx
	movq	_GRPH_PRESCALE_BIAS_G@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	xorl	%esi, %esi
	callq	_REG_SET_2
	movq	_PRESCALE_VALUES_GRPH_B@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_GRPH_PRESCALE_SCALE_B@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	8(%rbx), %r9d
	movl	12(%rbx), %ecx
	movq	_GRPH_PRESCALE_BIAS_B@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	xorl	%esi, %esi
	callq	_REG_SET_2
	movq	(%rbx), %rax
	movq	_IPP_PRESCALE_MODE_BYPASS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movl	(%r14), %edi
	movl	(%r15), %esi
	xorl	%edx, %edx
	callq	_REG_UPDATE
	movq	_INPUT_GAMMA_CONTROL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_GRPH_INPUT_GAMMA_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$1, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_REG_UPDATE                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PRESCALE_GRPH_CONTROL,4,2      ## @PRESCALE_GRPH_CONTROL
	.comm	_GRPH_PRESCALE_BYPASS,4,2       ## @GRPH_PRESCALE_BYPASS
	.comm	_PRESCALE_VALUES_GRPH_R,4,2     ## @PRESCALE_VALUES_GRPH_R
	.comm	_GRPH_PRESCALE_SCALE_R,4,2      ## @GRPH_PRESCALE_SCALE_R
	.comm	_GRPH_PRESCALE_BIAS_R,4,2       ## @GRPH_PRESCALE_BIAS_R
	.comm	_PRESCALE_VALUES_GRPH_G,4,2     ## @PRESCALE_VALUES_GRPH_G
	.comm	_GRPH_PRESCALE_SCALE_G,4,2      ## @GRPH_PRESCALE_SCALE_G
	.comm	_GRPH_PRESCALE_BIAS_G,4,2       ## @GRPH_PRESCALE_BIAS_G
	.comm	_PRESCALE_VALUES_GRPH_B,4,2     ## @PRESCALE_VALUES_GRPH_B
	.comm	_GRPH_PRESCALE_SCALE_B,4,2      ## @GRPH_PRESCALE_SCALE_B
	.comm	_GRPH_PRESCALE_BIAS_B,4,2       ## @GRPH_PRESCALE_BIAS_B
	.comm	_IPP_PRESCALE_MODE_BYPASS,8,3   ## @IPP_PRESCALE_MODE_BYPASS
	.comm	_INPUT_GAMMA_CONTROL,4,2        ## @INPUT_GAMMA_CONTROL
	.comm	_GRPH_INPUT_GAMMA_MODE,4,2      ## @GRPH_INPUT_GAMMA_MODE
	.no_dead_strip	_dce_ipp_program_prescale
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dce_ipp_program_prescale
_dce_ipp_program_prescale:              ; @dce_ipp_program_prescale
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x1
	bl	_TO_DCE_IPP
Lloh0:
	adrp	x20, _PRESCALE_GRPH_CONTROL@GOTPAGE
Lloh1:
	ldr	x20, [x20, _PRESCALE_GRPH_CONTROL@GOTPAGEOFF]
	ldr	w0, [x20]
Lloh2:
	adrp	x21, _GRPH_PRESCALE_BYPASS@GOTPAGE
Lloh3:
	ldr	x21, [x21, _GRPH_PRESCALE_BYPASS@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	w2, #1
	bl	_REG_UPDATE
Lloh4:
	adrp	x8, _PRESCALE_VALUES_GRPH_R@GOTPAGE
Lloh5:
	ldr	x8, [x8, _PRESCALE_VALUES_GRPH_R@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
Lloh7:
	adrp	x8, _GRPH_PRESCALE_SCALE_R@GOTPAGE
Lloh8:
	ldr	x8, [x8, _GRPH_PRESCALE_SCALE_R@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x8]
Lloh10:
	adrp	x8, _GRPH_PRESCALE_BIAS_R@GOTPAGE
Lloh11:
	ldr	x8, [x8, _GRPH_PRESCALE_BIAS_R@GOTPAGEOFF]
Lloh12:
	ldr	w4, [x8]
	ldp	w5, w3, [x19, #8]
	mov	w1, #0
	bl	_REG_SET_2
Lloh13:
	adrp	x8, _PRESCALE_VALUES_GRPH_G@GOTPAGE
Lloh14:
	ldr	x8, [x8, _PRESCALE_VALUES_GRPH_G@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
Lloh16:
	adrp	x8, _GRPH_PRESCALE_SCALE_G@GOTPAGE
Lloh17:
	ldr	x8, [x8, _GRPH_PRESCALE_SCALE_G@GOTPAGEOFF]
Lloh18:
	ldr	w2, [x8]
Lloh19:
	adrp	x8, _GRPH_PRESCALE_BIAS_G@GOTPAGE
Lloh20:
	ldr	x8, [x8, _GRPH_PRESCALE_BIAS_G@GOTPAGEOFF]
Lloh21:
	ldr	w4, [x8]
	ldp	w5, w3, [x19, #8]
	mov	w1, #0
	bl	_REG_SET_2
Lloh22:
	adrp	x8, _PRESCALE_VALUES_GRPH_B@GOTPAGE
Lloh23:
	ldr	x8, [x8, _PRESCALE_VALUES_GRPH_B@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
Lloh25:
	adrp	x8, _GRPH_PRESCALE_SCALE_B@GOTPAGE
Lloh26:
	ldr	x8, [x8, _GRPH_PRESCALE_SCALE_B@GOTPAGEOFF]
Lloh27:
	ldr	w2, [x8]
Lloh28:
	adrp	x8, _GRPH_PRESCALE_BIAS_B@GOTPAGE
Lloh29:
	ldr	x8, [x8, _GRPH_PRESCALE_BIAS_B@GOTPAGEOFF]
Lloh30:
	ldr	w4, [x8]
	ldp	w5, w3, [x19, #8]
	mov	w1, #0
	bl	_REG_SET_2
	ldr	x8, [x19]
Lloh31:
	adrp	x9, _IPP_PRESCALE_MODE_BYPASS@GOTPAGE
Lloh32:
	ldr	x9, [x9, _IPP_PRESCALE_MODE_BYPASS@GOTPAGEOFF]
Lloh33:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_2:
	ldr	w0, [x20]
	ldr	w1, [x21]
	mov	w2, #0
	bl	_REG_UPDATE
Lloh34:
	adrp	x8, _INPUT_GAMMA_CONTROL@GOTPAGE
Lloh35:
	ldr	x8, [x8, _INPUT_GAMMA_CONTROL@GOTPAGEOFF]
Lloh36:
	ldr	w0, [x8]
Lloh37:
	adrp	x8, _GRPH_INPUT_GAMMA_MODE@GOTPAGE
Lloh38:
	ldr	x8, [x8, _GRPH_INPUT_GAMMA_MODE@GOTPAGEOFF]
Lloh39:
	ldr	w1, [x8]
	mov	w2, #1
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_REG_UPDATE
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.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	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.cfi_endproc
                                        ; -- End function
	.comm	_PRESCALE_GRPH_CONTROL,4,2      ; @PRESCALE_GRPH_CONTROL
	.comm	_GRPH_PRESCALE_BYPASS,4,2       ; @GRPH_PRESCALE_BYPASS
	.comm	_PRESCALE_VALUES_GRPH_R,4,2     ; @PRESCALE_VALUES_GRPH_R
	.comm	_GRPH_PRESCALE_SCALE_R,4,2      ; @GRPH_PRESCALE_SCALE_R
	.comm	_GRPH_PRESCALE_BIAS_R,4,2       ; @GRPH_PRESCALE_BIAS_R
	.comm	_PRESCALE_VALUES_GRPH_G,4,2     ; @PRESCALE_VALUES_GRPH_G
	.comm	_GRPH_PRESCALE_SCALE_G,4,2      ; @GRPH_PRESCALE_SCALE_G
	.comm	_GRPH_PRESCALE_BIAS_G,4,2       ; @GRPH_PRESCALE_BIAS_G
	.comm	_PRESCALE_VALUES_GRPH_B,4,2     ; @PRESCALE_VALUES_GRPH_B
	.comm	_GRPH_PRESCALE_SCALE_B,4,2      ; @GRPH_PRESCALE_SCALE_B
	.comm	_GRPH_PRESCALE_BIAS_B,4,2       ; @GRPH_PRESCALE_BIAS_B
	.comm	_IPP_PRESCALE_MODE_BYPASS,8,3   ; @IPP_PRESCALE_MODE_BYPASS
	.comm	_INPUT_GAMMA_CONTROL,4,2        ; @INPUT_GAMMA_CONTROL
	.comm	_GRPH_INPUT_GAMMA_MODE,4,2      ; @GRPH_INPUT_GAMMA_MODE
	.no_dead_strip	_dce_ipp_program_prescale
.subsections_via_symbols
