	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function crtc_state_is_legacy_gamma
_crtc_state_is_legacy_gamma:            ## @crtc_state_is_legacy_gamma
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	xorl	%eax, %eax
	cmpl	$0, 12(%rdi)
	je	LBB0_1
LBB0_4:
	popq	%rbp
	retq
LBB0_1:
	cmpl	$0, 8(%rdi)
	jne	LBB0_4
## %bb.2:
	movq	(%rdi), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.3:
	callq	_lut_is_legacy
	movq	%rax, %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	setne	%al
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_crtc_state_is_legacy_gamma
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function crtc_state_is_legacy_gamma
_crtc_state_is_legacy_gamma:            ; @crtc_state_is_legacy_gamma
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	w8, [x0, #12]
	cbnz	w8, LBB0_2
; %bb.1:
	ldr	w8, [x0, #8]
	cbz	w8, LBB0_3
LBB0_2:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_3:
	ldr	x0, [x0]
	cbz	x0, LBB0_5
; %bb.4:
	bl	_lut_is_legacy
	cmp	x0, #0
	cset	w0, ne
LBB0_5:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_crtc_state_is_legacy_gamma
.subsections_via_symbols
