	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function translate_to_linear_space
_translate_to_linear_space:             ## @translate_to_linear_space
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, -44(%rbp)                 ## 4-byte Spill
	movl	%r8d, %r12d
	movl	%ecx, %r15d
	movl	%edx, %r13d
	movl	%edi, %ebx
	movl	%esi, %edi
	movl	%edx, %esi
	callq	_dc_fixpt_mul
	movl	%eax, %r14d
	movl	%eax, %edi
	callq	_dc_fixpt_neg
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_dc_fixpt_le
	testq	%rax, %rax
	je	LBB0_1
## %bb.4:
	movl	%r15d, %edi
	movl	%ebx, %esi
	callq	_dc_fixpt_sub
	movl	%eax, %ebx
	movq	_dc_fixpt_one@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%r12d, %esi
	callq	_dc_fixpt_add
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_dc_fixpt_div
	movl	%eax, %edi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_dc_fixpt_pow
	movl	%eax, %edi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dc_fixpt_neg                   ## TAILCALL
LBB0_1:
	movl	%r15d, -48(%rbp)                ## 4-byte Spill
	movl	%r12d, -52(%rbp)                ## 4-byte Spill
	movl	-44(%rbp), %r15d                ## 4-byte Reload
	movl	%r14d, %edi
	callq	_dc_fixpt_neg
	movl	%eax, %edi
	movl	%ebx, %esi
	callq	_dc_fixpt_le
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movl	%ebx, %edi
	movl	%r14d, %esi
	callq	_dc_fixpt_le
	testq	%rax, %rax
	je	LBB0_3
## %bb.5:
	movl	%ebx, %edi
	movl	%r13d, %esi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dc_fixpt_div                   ## TAILCALL
LBB0_3:
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	movl	%ebx, %esi
	callq	_dc_fixpt_add
	movl	%eax, %ebx
	movq	_dc_fixpt_one@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	callq	_dc_fixpt_add
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_dc_fixpt_div
	movl	%eax, %edi
	movl	%r15d, %esi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dc_fixpt_pow                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_dc_fixpt_one,4,2               ## @dc_fixpt_one
	.no_dead_strip	_translate_to_linear_space
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function translate_to_linear_space
_translate_to_linear_space:             ; @translate_to_linear_space
	.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, x5
	mov	x20, x4
	mov	x21, x3
	mov	x23, x0
	and	x0, x1, #0xffffffff
	and	x22, x2, #0xffffffff
	mov	x1, x22
	bl	_dc_fixpt_mul
	mov	w24, w0
	mov	x0, x24
	bl	_dc_fixpt_neg
	and	x23, x23, #0xffffffff
	mov	w1, w0
	mov	x0, x23
	bl	_dc_fixpt_le
	cbz	x0, LBB0_2
; %bb.1:
	and	x0, x21, #0xffffffff
	mov	x1, x23
	bl	_dc_fixpt_sub
	mov	x21, x0
Lloh0:
	adrp	x8, _dc_fixpt_one@GOTPAGE
Lloh1:
	ldr	x8, [x8, _dc_fixpt_one@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	and	x1, x20, #0xffffffff
	bl	_dc_fixpt_add
	mov	w8, w21
	mov	w1, w0
	mov	x0, x8
	bl	_dc_fixpt_div
	mov	w0, w0
	and	x1, x19, #0xffffffff
	bl	_dc_fixpt_pow
	mov	w0, w0
	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
	b	_dc_fixpt_neg
LBB0_2:
	mov	x0, x24
	bl	_dc_fixpt_neg
	mov	w0, w0
	mov	x1, x23
	bl	_dc_fixpt_le
	cbz	x0, LBB0_5
; %bb.3:
	mov	x0, x23
	mov	x1, x24
	bl	_dc_fixpt_le
	cbz	x0, LBB0_5
; %bb.4:
	mov	x0, x23
	mov	x1, x22
	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
	b	_dc_fixpt_div
LBB0_5:
	and	x0, x21, #0xffffffff
	mov	x1, x23
	bl	_dc_fixpt_add
	mov	x21, x0
Lloh3:
	adrp	x8, _dc_fixpt_one@GOTPAGE
Lloh4:
	ldr	x8, [x8, _dc_fixpt_one@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	and	x1, x20, #0xffffffff
	bl	_dc_fixpt_add
	mov	w8, w21
	mov	w1, w0
	mov	x0, x8
	bl	_dc_fixpt_div
	mov	w0, w0
	and	x1, x19, #0xffffffff
	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
	b	_dc_fixpt_pow
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_dc_fixpt_one,4,2               ; @dc_fixpt_one
	.no_dead_strip	_translate_to_linear_space
.subsections_via_symbols
