	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ilk_pipe_crc_ctl_reg
_ilk_pipe_crc_ctl_reg:                  ## @ilk_pipe_crc_ctl_reg
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %eax
	movq	_INTEL_PIPE_CRC_SOURCE_AUTO@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_4
## %bb.1:
	movl	$130, (%rdi)
LBB0_2:
	movq	_PIPE_CRC_ENABLE@GOTPCREL(%rip), %rax
	movq	_PIPE_CRC_SOURCE_PIPE_ILK@GOTPCREL(%rip), %rcx
LBB0_3:
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movl	%ecx, (%rsi)
LBB0_10:
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_4:
	addl	$-128, %eax
	cmpl	$3, %eax
	ja	LBB0_7
## %bb.5:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_6:
	movq	_PIPE_CRC_ENABLE@GOTPCREL(%rip), %rax
	movq	_PIPE_CRC_SOURCE_SPRITE_ILK@GOTPCREL(%rip), %rcx
	jmp	LBB0_3
LBB0_7:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
LBB0_8:
	movq	_PIPE_CRC_ENABLE@GOTPCREL(%rip), %rax
	movq	_PIPE_CRC_SOURCE_PRIMARY_ILK@GOTPCREL(%rip), %rcx
	jmp	LBB0_3
LBB0_9:
	movl	$0, (%rsi)
	jmp	LBB0_10
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
LJTI0_0:
	.long	L0_0_set_6
	.long	L0_0_set_8
	.long	L0_0_set_2
	.long	L0_0_set_9
	.end_data_region
                                        ## -- End function
	.comm	_INTEL_PIPE_CRC_SOURCE_AUTO,4,2 ## @INTEL_PIPE_CRC_SOURCE_AUTO
	.comm	_PIPE_CRC_ENABLE,4,2            ## @PIPE_CRC_ENABLE
	.comm	_PIPE_CRC_SOURCE_PRIMARY_ILK,4,2 ## @PIPE_CRC_SOURCE_PRIMARY_ILK
	.comm	_PIPE_CRC_SOURCE_SPRITE_ILK,4,2 ## @PIPE_CRC_SOURCE_SPRITE_ILK
	.comm	_PIPE_CRC_SOURCE_PIPE_ILK,4,2   ## @PIPE_CRC_SOURCE_PIPE_ILK
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_ilk_pipe_crc_ctl_reg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ilk_pipe_crc_ctl_reg
_ilk_pipe_crc_ctl_reg:                  ; @ilk_pipe_crc_ctl_reg
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _INTEL_PIPE_CRC_SOURCE_AUTO@GOTPAGE
Lloh1:
	ldr	x9, [x9, _INTEL_PIPE_CRC_SOURCE_AUTO@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_4
; %bb.1:
	mov	w8, #130
	str	w8, [x0]
LBB0_2:
	mov	w0, #0
Lloh3:
	adrp	x8, _PIPE_CRC_ENABLE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PIPE_CRC_ENABLE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _PIPE_CRC_SOURCE_PIPE_ILK@GOTPAGE
Lloh7:
	ldr	x9, [x9, _PIPE_CRC_SOURCE_PIPE_ILK@GOTPAGEOFF]
LBB0_3:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [x1]
	ret
LBB0_4:
	sub	w8, w8, #128
	cmp	w8, #3
	b.hi	LBB0_7
; %bb.5:
Lloh8:
	adrp	x9, lJTI0_0@PAGE
Lloh9:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_6:
	mov	w0, #0
Lloh10:
	adrp	x8, _PIPE_CRC_ENABLE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _PIPE_CRC_ENABLE@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
Lloh13:
	adrp	x9, _PIPE_CRC_SOURCE_SPRITE_ILK@GOTPAGE
Lloh14:
	ldr	x9, [x9, _PIPE_CRC_SOURCE_SPRITE_ILK@GOTPAGEOFF]
	b	LBB0_3
LBB0_7:
Lloh15:
	adrp	x8, _EINVAL@GOTPAGE
Lloh16:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	neg	w0, w8
	ret
LBB0_8:
	mov	w0, #0
Lloh18:
	adrp	x8, _PIPE_CRC_ENABLE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _PIPE_CRC_ENABLE@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
Lloh21:
	adrp	x9, _PIPE_CRC_SOURCE_PRIMARY_ILK@GOTPAGE
Lloh22:
	ldr	x9, [x9, _PIPE_CRC_SOURCE_PRIMARY_ILK@GOTPAGEOFF]
	b	LBB0_3
LBB0_9:
	mov	w0, #0
	str	wzr, [x1]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
                                        ; -- End function
	.comm	_INTEL_PIPE_CRC_SOURCE_AUTO,4,2 ; @INTEL_PIPE_CRC_SOURCE_AUTO
	.comm	_PIPE_CRC_ENABLE,4,2            ; @PIPE_CRC_ENABLE
	.comm	_PIPE_CRC_SOURCE_PRIMARY_ILK,4,2 ; @PIPE_CRC_SOURCE_PRIMARY_ILK
	.comm	_PIPE_CRC_SOURCE_SPRITE_ILK,4,2 ; @PIPE_CRC_SOURCE_SPRITE_ILK
	.comm	_PIPE_CRC_SOURCE_PIPE_ILK,4,2   ; @PIPE_CRC_SOURCE_PIPE_ILK
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_ilk_pipe_crc_ctl_reg
.subsections_via_symbols
