	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function log_tf
_log_tf:                                ## @log_tf
	.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
	movl	%edx, %ebx
	movq	%rsi, %r15
	movl	(%rdi), %edi
	callq	_DC_LOGGER_INIT
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_DC_LOG_GAMMA
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_DC_LOG_ALL_GAMMA
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_DC_LOG_ALL_TF_CHANNELS
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	testl	%ebx, %ebx
	jle	LBB0_3
## %bb.1:
	movl	-44(%rbp), %r12d                ## 4-byte Reload
	leaq	L_.str.4(%rip), %r13
	leaq	L_.str.5(%rip), %rbx
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r15), %rax
	movl	(%rax,%r14,4), %edx
	leaq	L_.str.3(%rip), %rdi
	movl	%r14d, %esi
	xorl	%eax, %eax
	callq	_DC_LOG_GAMMA
	movq	8(%r15), %rax
	movl	(%rax,%r14,4), %edx
	movq	%r13, %rdi
	movl	%r14d, %esi
	xorl	%eax, %eax
	callq	_DC_LOG_ALL_TF_CHANNELS
	movq	(%r15), %rax
	movl	(%rax,%r14,4), %edx
	movq	%rbx, %rdi
	movl	%r14d, %esi
	xorl	%eax, %eax
	callq	_DC_LOG_ALL_TF_CHANNELS
	incq	%r14
	cmpq	%r14, %r12
	jne	LBB0_2
LBB0_3:
	movq	_MAX_NUM_HW_POINTS@GOTPCREL(%rip), %r14
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	cmpl	%eax, (%r14)
	jle	LBB0_6
## %bb.4:
	movslq	%eax, %rbx
	leaq	L_.str.4(%rip), %r12
	leaq	L_.str.5(%rip), %r13
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r15), %rax
	movl	(%rax,%rbx,4), %edx
	leaq	L_.str.3(%rip), %rdi
	movl	%ebx, %esi
	xorl	%eax, %eax
	callq	_DC_LOG_ALL_GAMMA
	movq	8(%r15), %rax
	movl	(%rax,%rbx,4), %edx
	movq	%r12, %rdi
	movl	%ebx, %esi
	xorl	%eax, %eax
	callq	_DC_LOG_ALL_TF_CHANNELS
	movq	(%r15), %rax
	movl	(%rax,%rbx,4), %edx
	movq	%r13, %rdi
	movl	%ebx, %esi
	xorl	%eax, %eax
	callq	_DC_LOG_ALL_TF_CHANNELS
	incq	%rbx
	movslq	(%r14), %rax
	cmpq	%rax, %rbx
	jl	LBB0_5
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Gamma Correction TF"

L_.str.1:                               ## @.str.1
	.asciz	"Logging all tf points..."

L_.str.2:                               ## @.str.2
	.asciz	"Logging all channels..."

L_.str.3:                               ## @.str.3
	.asciz	"R\t%d\t%llu\n"

L_.str.4:                               ## @.str.4
	.asciz	"G\t%d\t%llu\n"

L_.str.5:                               ## @.str.5
	.asciz	"B\t%d\t%llu\n"

	.comm	_MAX_NUM_HW_POINTS,4,2          ## @MAX_NUM_HW_POINTS
	.no_dead_strip	_log_tf
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function log_tf
_log_tf:                                ; @log_tf
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x2
	mov	x19, x1
	ldr	w0, [x0]
	bl	_DC_LOGGER_INIT
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DC_LOG_GAMMA
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_DC_LOG_ALL_GAMMA
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_DC_LOG_ALL_TF_CHANNELS
	cmp	w20, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x24, #0
	mov	w25, w20
Lloh6:
	adrp	x21, l_.str.3@PAGE
Lloh7:
	add	x21, x21, l_.str.3@PAGEOFF
Lloh8:
	adrp	x22, l_.str.4@PAGE
Lloh9:
	add	x22, x22, l_.str.4@PAGEOFF
Lloh10:
	adrp	x23, l_.str.5@PAGE
Lloh11:
	add	x23, x23, l_.str.5@PAGEOFF
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #16]
	lsl	x26, x24, #2
	ldr	w8, [x8, x26]
	stp	x24, x8, [sp]
	mov	x0, x21
	bl	_DC_LOG_GAMMA
	ldr	x8, [x19, #8]
	ldr	w8, [x8, x26]
	stp	x24, x8, [sp]
	mov	x0, x22
	bl	_DC_LOG_ALL_TF_CHANNELS
	ldr	x8, [x19]
	ldr	w8, [x8, x26]
	stp	x24, x8, [sp]
	mov	x0, x23
	bl	_DC_LOG_ALL_TF_CHANNELS
	add	x24, x24, #1
	cmp	x25, x24
	b.ne	LBB0_2
LBB0_3:
Lloh12:
	adrp	x23, _MAX_NUM_HW_POINTS@GOTPAGE
Lloh13:
	ldr	x23, [x23, _MAX_NUM_HW_POINTS@GOTPAGEOFF]
	ldr	w8, [x23]
	cmp	w8, w20
	b.le	LBB0_6
; %bb.4:
	sxtw	x24, w20
Lloh14:
	adrp	x20, l_.str.3@PAGE
Lloh15:
	add	x20, x20, l_.str.3@PAGEOFF
Lloh16:
	adrp	x21, l_.str.4@PAGE
Lloh17:
	add	x21, x21, l_.str.4@PAGEOFF
Lloh18:
	adrp	x22, l_.str.5@PAGE
Lloh19:
	add	x22, x22, l_.str.5@PAGEOFF
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #16]
	lsl	x25, x24, #2
	ldr	w8, [x8, x25]
	stp	x24, x8, [sp]
	mov	x0, x20
	bl	_DC_LOG_ALL_GAMMA
	ldr	x8, [x19, #8]
	ldr	w8, [x8, x25]
	stp	x24, x8, [sp]
	mov	x0, x21
	bl	_DC_LOG_ALL_TF_CHANNELS
	ldr	x8, [x19]
	ldr	w8, [x8, x25]
	stp	x24, x8, [sp]
	mov	x0, x22
	bl	_DC_LOG_ALL_TF_CHANNELS
	add	x24, x24, #1
	ldrsw	x8, [x23]
	cmp	x24, x8
	b.lt	LBB0_5
LBB0_6:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Gamma Correction TF"

l_.str.1:                               ; @.str.1
	.asciz	"Logging all tf points..."

l_.str.2:                               ; @.str.2
	.asciz	"Logging all channels..."

l_.str.3:                               ; @.str.3
	.asciz	"R\t%d\t%llu\n"

l_.str.4:                               ; @.str.4
	.asciz	"G\t%d\t%llu\n"

l_.str.5:                               ; @.str.5
	.asciz	"B\t%d\t%llu\n"

	.comm	_MAX_NUM_HW_POINTS,4,2          ; @MAX_NUM_HW_POINTS
	.no_dead_strip	_log_tf
.subsections_via_symbols
