	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gamma_display_init
_gamma_display_init:                    ## @gamma_display_init
	.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
	movsd	%xmm2, -64(%rbp)                ## 8-byte Spill
	movl	%r9d, %r14d
	movl	%r8d, %r15d
	movl	%ecx, %r12d
	movsd	%xmm1, -56(%rbp)                ## 8-byte Spill
	movsd	%xmm0, -48(%rbp)                ## 8-byte Spill
	movq	%rsi, %r13
	movq	%rdi, %rbx
	addq	$88, %rdi
	addq	$4, %rsi
	movq	_do_read_interlace@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	(%r13), %r8d
	callq	_standard_display_init
	movq	%r13, 80(%rbx)
	movsd	-48(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	movsd	%xmm0, (%rbx)
	movsd	-56(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	movsd	%xmm0, 8(%rbx)
	movsd	-64(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	movsd	%xmm0, 16(%rbx)
	movl	%r12d, 76(%rbx)
	movl	%r15d, 24(%rbx)
	movl	%r14d, 28(%rbx)
	movl	16(%rbp), %eax
	movl	%eax, 32(%rbx)
	movl	24(%rbp), %eax
	movl	%eax, 36(%rbx)
	movl	32(%rbp), %eax
	movl	%eax, 40(%rbx)
	testl	%eax, %eax
	je	LBB0_3
## %bb.1:
	movq	40(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movl	(%rax), %eax
	movl	%eax, 72(%rbx)
	jmp	LBB0_4
LBB0_3:
	leaq	72(%rbx), %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
LBB0_4:
	xorps	%xmm0, %xmm0
	movups	%xmm0, 48(%rbx)
	movq	$0, 64(%rbx)
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_do_read_interlace,4,2          ## @do_read_interlace
	.no_dead_strip	_gamma_display_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gamma_display_init
_gamma_display_init:                    ; @gamma_display_init
	.cfi_startproc
; %bb.0:
	stp	d11, d10, [sp, #-112]!          ; 16-byte Folded Spill
	.cfi_def_cfa_offset 112
	stp	d9, d8, [sp, #16]               ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset b8, -88
	.cfi_offset b9, -96
	.cfi_offset b10, -104
	.cfi_offset b11, -112
	mov	x20, x7
	mov	x21, x6
	mov	x22, x5
	mov	x23, x4
	mov	x24, x3
	fmov	d8, d2
	fmov	d9, d1
	fmov	d10, d0
	mov	x25, x1
	mov	x19, x0
	ldr	w26, [x29, #16]
	add	x0, x0, #88
	add	x1, x1, #4
Lloh0:
	adrp	x8, _do_read_interlace@GOTPAGE
Lloh1:
	ldr	x8, [x8, _do_read_interlace@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
	ldr	w4, [x25]
	bl	_standard_display_init
	str	x25, [x19, #80]
	stp	d10, d9, [x19]
	str	d8, [x19, #16]
	str	w24, [x19, #76]
	stp	w23, w22, [x19, #24]
	stp	w21, w20, [x19, #32]
	str	w26, [x19, #40]
	cbz	w26, LBB0_3
; %bb.1:
	ldr	x8, [x29, #24]
	cbz	x8, LBB0_3
; %bb.2:
	ldr	w8, [x8]
	str	w8, [x19, #72]
	b	LBB0_4
LBB0_3:
	add	x0, x19, #72
	mov	w1, #0
	mov	w2, #4
	bl	_memset
LBB0_4:
	stp	xzr, xzr, [x19, #48]
	str	xzr, [x19, #64]
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #16]               ; 16-byte Folded Reload
	ldp	d11, d10, [sp], #112            ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_do_read_interlace,4,2          ; @do_read_interlace
	.no_dead_strip	_gamma_display_init
.subsections_via_symbols
