	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function summarize_gamma_errors
_summarize_gamma_errors:                ## @summarize_gamma_errors
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r14d
	movl	%edx, %r15d
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_fflush
	testq	%rbx, %rbx
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rsi
	xorl	%eax, %eax
	callq	_printf
	testl	%r15d, %r15d
	jne	LBB0_4
	jmp	LBB0_6
LBB0_2:
	leaq	L_str(%rip), %rdi
	callq	_puts
	testl	%r15d, %r15d
	je	LBB0_6
LBB0_4:
	movl	24(%r12), %esi
	leaq	L_.str.2(%rip), %rdi
	callq	_print_one
	movl	20(%r12), %esi
	leaq	L_.str.3(%rip), %rdi
	callq	_print_one
	movl	16(%r12), %esi
	leaq	L_.str.4(%rip), %rdi
	callq	_print_one
	movl	12(%r12), %esi
	leaq	L_.str.5(%rip), %rdi
	callq	_print_one
	testl	%r14d, %r14d
	je	LBB0_6
## %bb.5:
	movl	8(%r12), %esi
	leaq	L_.str.6(%rip), %rdi
	callq	_print_one
LBB0_6:
	movl	4(%r12), %esi
	leaq	L_.str.7(%rip), %rdi
	callq	_print_one
	movl	(%r12), %esi
	leaq	L_.str.8(%rip), %rdi
	callq	_print_one
	movq	_stdout@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_fflush                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\nGamma correction with %s:\n"

L_.str.2:                               ## @.str.2
	.asciz	" 2 bit gray: "

L_.str.3:                               ## @.str.3
	.asciz	" 4 bit gray: "

L_.str.4:                               ## @.str.4
	.asciz	" 8 bit gray: "

L_.str.5:                               ## @.str.5
	.asciz	" 8 bit color:"

L_.str.6:                               ## @.str.6
	.asciz	" indexed:    "

L_.str.7:                               ## @.str.7
	.asciz	"16 bit gray: "

L_.str.8:                               ## @.str.8
	.asciz	"16 bit color:"

	.comm	_stdout,4,2                     ## @stdout
L_str:                                  ## @str
	.asciz	"\nBasic gamma correction:"

	.no_dead_strip	_summarize_gamma_errors
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function summarize_gamma_errors
_summarize_gamma_errors:                ; @summarize_gamma_errors
	.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
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _stderr@GOTPAGE
Lloh1:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_fflush
	cbz	x22, LBB0_2
; %bb.1:
	str	x22, [sp]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printf
	cbnz	w21, LBB0_3
	b	LBB0_5
LBB0_2:
Lloh5:
	adrp	x0, l_str@PAGE
Lloh6:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
	cbz	w21, LBB0_5
LBB0_3:
	ldr	w1, [x19, #24]
Lloh7:
	adrp	x0, l_.str.2@PAGE
Lloh8:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_print_one
	ldr	w1, [x19, #20]
Lloh9:
	adrp	x0, l_.str.3@PAGE
Lloh10:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_print_one
	ldr	w1, [x19, #16]
Lloh11:
	adrp	x0, l_.str.4@PAGE
Lloh12:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_print_one
	ldr	w1, [x19, #12]
Lloh13:
	adrp	x0, l_.str.5@PAGE
Lloh14:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_print_one
	cbz	w20, LBB0_5
; %bb.4:
	ldr	w1, [x19, #8]
Lloh15:
	adrp	x0, l_.str.6@PAGE
Lloh16:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_print_one
LBB0_5:
	ldr	w1, [x19, #4]
Lloh17:
	adrp	x0, l_.str.7@PAGE
Lloh18:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_print_one
	ldr	w1, [x19]
Lloh19:
	adrp	x0, l_.str.8@PAGE
Lloh20:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_print_one
Lloh21:
	adrp	x8, _stdout@GOTPAGE
Lloh22:
	ldr	x8, [x8, _stdout@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
	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
	b	_fflush
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\nGamma correction with %s:\n"

l_.str.2:                               ; @.str.2
	.asciz	" 2 bit gray: "

l_.str.3:                               ; @.str.3
	.asciz	" 4 bit gray: "

l_.str.4:                               ; @.str.4
	.asciz	" 8 bit gray: "

l_.str.5:                               ; @.str.5
	.asciz	" 8 bit color:"

l_.str.6:                               ; @.str.6
	.asciz	" indexed:    "

l_.str.7:                               ; @.str.7
	.asciz	"16 bit gray: "

l_.str.8:                               ; @.str.8
	.asciz	"16 bit color:"

	.comm	_stdout,4,2                     ; @stdout
l_str:                                  ; @str
	.asciz	"\nBasic gamma correction:"

	.no_dead_strip	_summarize_gamma_errors
.subsections_via_symbols
