	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ivb_sprite_ctl_crtc
_ivb_sprite_ctl_crtc:                   ## @ivb_sprite_ctl_crtc
	.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
	cmpq	$0, 8(%rdi)
	movl	$0, %ecx
	je	LBB0_2
## %bb.1:
	movq	_SPRITE_GAMMA_ENABLE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_2:
	cmpq	$0, (%rdi)
	je	LBB0_4
## %bb.3:
	movq	_SPRITE_PIPE_CSC_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_4:
	orl	%ecx, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SPRITE_GAMMA_ENABLE,4,2        ## @SPRITE_GAMMA_ENABLE
	.comm	_SPRITE_PIPE_CSC_ENABLE,4,2     ## @SPRITE_PIPE_CSC_ENABLE
	.no_dead_strip	_ivb_sprite_ctl_crtc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ivb_sprite_ctl_crtc
_ivb_sprite_ctl_crtc:                   ; @ivb_sprite_ctl_crtc
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _SPRITE_GAMMA_ENABLE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SPRITE_GAMMA_ENABLE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldp	x10, x9, [x0]
	cmp	x9, #0
Lloh3:
	adrp	x9, _SPRITE_PIPE_CSC_ENABLE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SPRITE_PIPE_CSC_ENABLE@GOTPAGEOFF]
	csel	w8, wzr, w8, eq
Lloh5:
	ldr	w9, [x9]
	cmp	x10, #0
	csel	w9, wzr, w9, eq
	orr	w0, w9, w8
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SPRITE_GAMMA_ENABLE,4,2        ; @SPRITE_GAMMA_ENABLE
	.comm	_SPRITE_PIPE_CSC_ENABLE,4,2     ; @SPRITE_PIPE_CSC_ENABLE
	.no_dead_strip	_ivb_sprite_ctl_crtc
.subsections_via_symbols
