	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dce_ipp_set_degamma
_dce_ipp_set_degamma:                   ## @dce_ipp_set_degamma
	.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
	movl	%esi, %r14d
	callq	_TO_DCE_IPP
	movq	_IPP_DEGAMMA_MODE_HW_sRGB@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	cmpl	%r14d, (%rax)
	sete	%bl
	movq	_IPP_DEGAMMA_MODE_BYPASS@GOTPCREL(%rip), %rax
	cmpl	%r14d, (%rax)
	sete	%al
	movl	%ebx, %ecx
	orb	%al, %cl
	movzbl	%cl, %edi
	callq	_ASSERT
	movq	_DEGAMMA_CONTROL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_GRPH_DEGAMMA_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_CURSOR_DEGAMMA_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_CURSOR2_DEGAMMA_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%esi, %esi
	movl	%ebx, %ecx
	movl	%ebx, %r9d
	pushq	%rbx
	pushq	%rax
	callq	_REG_SET_3
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IPP_DEGAMMA_MODE_HW_sRGB,4,2   ## @IPP_DEGAMMA_MODE_HW_sRGB
	.comm	_IPP_DEGAMMA_MODE_BYPASS,4,2    ## @IPP_DEGAMMA_MODE_BYPASS
	.comm	_DEGAMMA_CONTROL,4,2            ## @DEGAMMA_CONTROL
	.comm	_GRPH_DEGAMMA_MODE,4,2          ## @GRPH_DEGAMMA_MODE
	.comm	_CURSOR_DEGAMMA_MODE,4,2        ## @CURSOR_DEGAMMA_MODE
	.comm	_CURSOR2_DEGAMMA_MODE,4,2       ## @CURSOR2_DEGAMMA_MODE
	.no_dead_strip	_dce_ipp_set_degamma
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dce_ipp_set_degamma
_dce_ipp_set_degamma:                   ; @dce_ipp_set_degamma
	.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_DCE_IPP
Lloh0:
	adrp	x8, _IPP_DEGAMMA_MODE_HW_sRGB@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IPP_DEGAMMA_MODE_HW_sRGB@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w19
	cset	w20, eq
Lloh3:
	adrp	x8, _IPP_DEGAMMA_MODE_BYPASS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IPP_DEGAMMA_MODE_BYPASS@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w8, w19
	cset	w8, eq
	orr	w0, w8, w20
	bl	_ASSERT
Lloh6:
	adrp	x8, _DEGAMMA_CONTROL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DEGAMMA_CONTROL@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x8, _GRPH_DEGAMMA_MODE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _GRPH_DEGAMMA_MODE@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
Lloh12:
	adrp	x8, _CURSOR_DEGAMMA_MODE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _CURSOR_DEGAMMA_MODE@GOTPAGEOFF]
Lloh14:
	ldr	w4, [x8]
Lloh15:
	adrp	x8, _CURSOR2_DEGAMMA_MODE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _CURSOR2_DEGAMMA_MODE@GOTPAGEOFF]
Lloh17:
	ldr	w6, [x8]
	mov	w1, #0
	mov	x3, x20
	mov	x5, x20
	mov	x7, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_REG_SET_3
	.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	_IPP_DEGAMMA_MODE_HW_sRGB,4,2   ; @IPP_DEGAMMA_MODE_HW_sRGB
	.comm	_IPP_DEGAMMA_MODE_BYPASS,4,2    ; @IPP_DEGAMMA_MODE_BYPASS
	.comm	_DEGAMMA_CONTROL,4,2            ; @DEGAMMA_CONTROL
	.comm	_GRPH_DEGAMMA_MODE,4,2          ; @GRPH_DEGAMMA_MODE
	.comm	_CURSOR_DEGAMMA_MODE,4,2        ; @CURSOR_DEGAMMA_MODE
	.comm	_CURSOR2_DEGAMMA_MODE,4,2       ; @CURSOR2_DEGAMMA_MODE
	.no_dead_strip	_dce_ipp_set_degamma
.subsections_via_symbols
