	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dce110_set_input_transfer_func
_dce110_set_input_transfer_func:        ## @dce110_set_input_transfer_func
	.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	(%rdi), %r15
	movl	$0, -48(%rbp)
	xorl	%r14d, %r14d
	testq	%r15, %r15
	je	LBB0_14
## %bb.1:
	movq	%rsi, %rbx
	movq	16(%rsi), %r13
	leaq	-48(%rbp), %r12
	movq	%r12, %rdi
	callq	_build_prescale_params
	movq	(%r15), %rax
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	*16(%rax)
	movq	(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.2:
	cmpl	$0, (%rax)
	jne	LBB0_5
## %bb.3:
	movl	8(%rbx), %edi
	callq	_dce_use_lut
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	(%r15), %rax
	movq	(%rbx), %rsi
	movq	%r15, %rdi
	callq	*8(%rax)
LBB0_5:
	movq	_IPP_DEGAMMA_MODE_HW_sRGB@GOTPCREL(%rip), %rax
	testq	%r13, %r13
	je	LBB0_13
## %bb.6:
	movq	(%r13), %rcx
	movq	_TF_TYPE_PREDEFINED@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_11
## %bb.7:
	movl	8(%r13), %ecx
	cmpl	$128, %ecx
	je	LBB0_13
## %bb.8:
	cmpl	$130, %ecx
	je	LBB0_12
## %bb.9:
	cmpl	$131, %ecx
	jne	LBB0_14
## %bb.10:
	movq	_IPP_DEGAMMA_MODE_HW_xvYCC@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_11:
	movq	_TF_TYPE_BYPASS@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	jne	LBB0_14
LBB0_12:
	movq	_IPP_DEGAMMA_MODE_BYPASS@GOTPCREL(%rip), %rax
LBB0_13:
	movq	(%r15), %rcx
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	*(%rcx)
	movl	$1, %r14d
LBB0_14:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IPP_DEGAMMA_MODE_HW_sRGB,4,2   ## @IPP_DEGAMMA_MODE_HW_sRGB
	.comm	_TF_TYPE_PREDEFINED,8,3         ## @TF_TYPE_PREDEFINED
	.comm	_IPP_DEGAMMA_MODE_HW_xvYCC,4,2  ## @IPP_DEGAMMA_MODE_HW_xvYCC
	.comm	_IPP_DEGAMMA_MODE_BYPASS,4,2    ## @IPP_DEGAMMA_MODE_BYPASS
	.comm	_TF_TYPE_BYPASS,8,3             ## @TF_TYPE_BYPASS
	.no_dead_strip	_dce110_set_input_transfer_func
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dce110_set_input_transfer_func
_dce110_set_input_transfer_func:        ; @dce110_set_input_transfer_func
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	ldr	x19, [x0]
	str	wzr, [sp, #8]
	cbz	x19, LBB0_15
; %bb.1:
	mov	x20, x1
	ldr	x21, [x1, #16]
	add	x0, sp, #8
	bl	_build_prescale_params
	ldr	x8, [x19]
	ldr	x8, [x8, #16]
	add	x1, sp, #8
	mov	x0, x19
	blr	x8
	ldr	x8, [x20]
	cbz	x8, LBB0_5
; %bb.2:
	ldr	w8, [x8]
	cbnz	w8, LBB0_5
; %bb.3:
	ldr	w0, [x20, #8]
	bl	_dce_use_lut
	cbz	x0, LBB0_5
; %bb.4:
	ldr	x8, [x19]
	ldr	x8, [x8, #8]
	ldr	x1, [x20]
	mov	x0, x19
	blr	x8
LBB0_5:
	cbz	x21, LBB0_11
; %bb.6:
	ldr	x8, [x21]
Lloh0:
	adrp	x9, _TF_TYPE_PREDEFINED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _TF_TYPE_PREDEFINED@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_12
; %bb.7:
	ldr	w8, [x21, #8]
	cmp	w8, #128
	b.eq	LBB0_11
; %bb.8:
	cmp	w8, #130
	b.eq	LBB0_13
; %bb.9:
	cmp	w8, #131
	b.ne	LBB0_15
; %bb.10:
Lloh3:
	adrp	x8, _IPP_DEGAMMA_MODE_HW_xvYCC@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IPP_DEGAMMA_MODE_HW_xvYCC@GOTPAGEOFF]
	b	LBB0_14
LBB0_11:
Lloh5:
	adrp	x8, _IPP_DEGAMMA_MODE_HW_sRGB@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IPP_DEGAMMA_MODE_HW_sRGB@GOTPAGEOFF]
	b	LBB0_14
LBB0_12:
Lloh7:
	adrp	x9, _TF_TYPE_BYPASS@GOTPAGE
Lloh8:
	ldr	x9, [x9, _TF_TYPE_BYPASS@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_15
LBB0_13:
Lloh10:
	adrp	x8, _IPP_DEGAMMA_MODE_BYPASS@GOTPAGE
Lloh11:
	ldr	x8, [x8, _IPP_DEGAMMA_MODE_BYPASS@GOTPAGEOFF]
LBB0_14:
	ldr	x9, [x19]
	ldr	x9, [x9]
	ldr	w1, [x8]
	mov	x0, x19
	blr	x9
	mov	w0, #1
	b	LBB0_16
LBB0_15:
	mov	w0, #0
LBB0_16:
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_IPP_DEGAMMA_MODE_HW_sRGB,4,2   ; @IPP_DEGAMMA_MODE_HW_sRGB
	.comm	_TF_TYPE_PREDEFINED,8,3         ; @TF_TYPE_PREDEFINED
	.comm	_IPP_DEGAMMA_MODE_HW_xvYCC,4,2  ; @IPP_DEGAMMA_MODE_HW_xvYCC
	.comm	_IPP_DEGAMMA_MODE_BYPASS,4,2    ; @IPP_DEGAMMA_MODE_BYPASS
	.comm	_TF_TYPE_BYPASS,8,3             ; @TF_TYPE_BYPASS
	.no_dead_strip	_dce110_set_input_transfer_func
.subsections_via_symbols
