	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gfx_v8_0_raster_config
_gfx_v8_0_raster_config:                ## @gfx_v8_0_raster_config
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movl	(%rdi), %esi
	leal	-128(%rsi), %eax
	cmpl	$8, %eax
	ja	LBB0_8
## %bb.1:
	movq	%rdx, %r13
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_2:
	movl	$2, %edi
	callq	_RB_MAP_PKR0
	movl	%eax, %r12d
	movl	$2, %edi
	callq	_RB_MAP_PKR1
	movq	%r13, -48(%rbp)                 ## 8-byte Spill
	movl	%eax, %r13d
	orl	%r12d, %r13d
	movl	$1, %edi
	callq	_RB_XSEL2
	movl	%eax, %r12d
	movl	$2, %edi
	callq	_PKR_MAP
	movl	%eax, %r14d
	orl	%r12d, %r14d
	orl	%r13d, %r14d
	movl	$1, %edi
	callq	_PKR_XSEL
	movl	%eax, %r12d
	movl	$1, %edi
	callq	_PKR_YSEL
	movl	%eax, %r13d
	orl	%r12d, %r13d
	movl	$2, %edi
	callq	_SE_MAP
	movl	%eax, %ebx
	orl	%r13d, %ebx
	orl	%r14d, %ebx
	movl	$2, %edi
	callq	_SE_XSEL
	movl	%eax, %r14d
	movl	$3, %edi
	callq	_SE_YSEL
	orl	%r14d, %eax
	orl	%ebx, %eax
	orl	%eax, (%r15)
	movl	$2, %edi
	callq	_SE_PAIR_MAP
	movl	%eax, %r14d
	movl	$3, %edi
	callq	_SE_PAIR_XSEL
	movl	%eax, %ebx
	orl	%r14d, %ebx
	movl	$2, %edi
	callq	_SE_PAIR_YSEL
	orl	%ebx, %eax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	orl	%eax, (%rcx)
	jmp	LBB0_7
LBB0_3:
	movl	$2, %edi
	callq	_RB_MAP_PKR0
	jmp	LBB0_6
LBB0_4:
	movl	$2, %edi
	callq	_RB_MAP_PKR0
	movl	%eax, %r14d
	movl	$1, %edi
	callq	_RB_XSEL2
	movl	%eax, %r12d
	orl	%r14d, %r12d
	movl	$2, %edi
	callq	_SE_MAP
	movl	%eax, %r14d
	movl	$1, %edi
	callq	_SE_XSEL
	movl	%eax, %ebx
	orl	%r14d, %ebx
	orl	%r12d, %ebx
	movl	$1, %edi
	callq	_SE_YSEL
	orl	%ebx, %eax
	orl	%eax, (%r15)
	movl	$2, %edi
	callq	_SE_PAIR_MAP
	movl	%eax, %r14d
	movl	$2, %edi
	callq	_SE_PAIR_XSEL
	movl	%eax, %ebx
	orl	%r14d, %ebx
	movl	$2, %edi
	callq	_SE_PAIR_YSEL
	orl	%ebx, %eax
	orl	%eax, (%r13)
	jmp	LBB0_7
LBB0_5:
	movl	$2, %edi
	callq	_RB_MAP_PKR0
	movl	%eax, %r14d
	movl	$1, %edi
	callq	_RB_XSEL2
	movl	%eax, %r12d
	orl	%r14d, %r12d
	movl	$2, %edi
	callq	_SE_MAP
	movl	%eax, %r14d
	movl	$1, %edi
	callq	_SE_XSEL
	movl	%eax, %ebx
	orl	%r14d, %ebx
	orl	%r12d, %ebx
	movl	$1, %edi
	callq	_SE_YSEL
	orl	%ebx, %eax
LBB0_6:
	orl	%eax, (%r15)
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	leaq	L_.str(%rip), %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_DRM_ERROR                      ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_3
	.long	L0_0_set_4
	.long	L0_0_set_7
	.long	L0_0_set_5
	.long	L0_0_set_5
	.long	L0_0_set_4
	.long	L0_0_set_2
	.long	L0_0_set_3
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unknown asic: 0x%x\n"

	.no_dead_strip	_gfx_v8_0_raster_config
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gfx_v8_0_raster_config
_gfx_v8_0_raster_config:                ; @gfx_v8_0_raster_config
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x19, x1
	ldr	w1, [x0]
	sub	w8, w1, #128
	cmp	w8, #8
	b.hi	LBB0_9
; %bb.1:
	mov	x20, x2
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	mov	w0, #2
	bl	_RB_MAP_PKR0
	mov	x21, x0
	mov	w0, #2
	bl	_RB_MAP_PKR1
	orr	w21, w0, w21
	mov	w0, #1
	bl	_RB_XSEL2
	orr	w21, w21, w0
	mov	w0, #2
	bl	_PKR_MAP
	orr	w21, w21, w0
	mov	w0, #1
	bl	_PKR_XSEL
	orr	w21, w21, w0
	mov	w0, #1
	bl	_PKR_YSEL
	orr	w21, w21, w0
	mov	w0, #2
	bl	_SE_MAP
	orr	w21, w21, w0
	mov	w0, #2
	bl	_SE_XSEL
	orr	w21, w21, w0
	mov	w0, #3
	bl	_SE_YSEL
	orr	w8, w21, w0
	ldr	w9, [x19]
	orr	w8, w8, w9
	str	w8, [x19]
	mov	w0, #2
	bl	_SE_PAIR_MAP
	mov	x19, x0
	mov	w0, #3
	b	LBB0_5
LBB0_3:
	mov	w0, #2
	bl	_RB_MAP_PKR0
	ldr	w8, [x19]
	orr	w8, w8, w0
	b	LBB0_7
LBB0_4:
	mov	w0, #2
	bl	_RB_MAP_PKR0
	mov	x21, x0
	mov	w0, #1
	bl	_RB_XSEL2
	orr	w21, w0, w21
	mov	w0, #2
	bl	_SE_MAP
	orr	w21, w21, w0
	mov	w0, #1
	bl	_SE_XSEL
	orr	w21, w21, w0
	mov	w0, #1
	bl	_SE_YSEL
	orr	w8, w21, w0
	ldr	w9, [x19]
	orr	w8, w8, w9
	str	w8, [x19]
	mov	w0, #2
	bl	_SE_PAIR_MAP
	mov	x19, x0
	mov	w0, #2
LBB0_5:
	bl	_SE_PAIR_XSEL
	orr	w19, w0, w19
	mov	w0, #2
	bl	_SE_PAIR_YSEL
	orr	w8, w19, w0
	ldr	w9, [x20]
	orr	w8, w8, w9
	str	w8, [x20]
	b	LBB0_8
LBB0_6:
	mov	w0, #2
	bl	_RB_MAP_PKR0
	mov	x20, x0
	mov	w0, #1
	bl	_RB_XSEL2
	orr	w20, w0, w20
	mov	w0, #2
	bl	_SE_MAP
	orr	w20, w20, w0
	mov	w0, #1
	bl	_SE_XSEL
	orr	w20, w20, w0
	mov	w0, #1
	bl	_SE_YSEL
	orr	w8, w20, w0
	ldr	w9, [x19]
	orr	w8, w8, w9
LBB0_7:
	str	w8, [x19]
LBB0_8:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_9:
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_DRM_ERROR
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unknown asic: 0x%x\n"

	.no_dead_strip	_gfx_v8_0_raster_config
.subsections_via_symbols
