	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function map_oldvs_register
_map_oldvs_register:                    ## @map_oldvs_register
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movl	(%rdi), %eax
	cmpl	$131, %eax
	je	LBB0_13
## %bb.1:
	cmpl	$133, %eax
	je	LBB0_16
## %bb.2:
	cmpl	$132, %eax
	jne	LBB0_10
## %bb.3:
	movq	_BWRITERSPR_OUTPUT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	4(%rbx), %esi
	cmpl	$128, %esi
	je	LBB0_4
## %bb.5:
	cmpl	$129, %esi
	je	LBB0_11
## %bb.6:
	cmpl	$130, %esi
	jne	LBB0_8
## %bb.7:
	movq	_OFOG_REG@GOTPCREL(%rip), %rcx
	movq	_OFOG_WRITEMASK@GOTPCREL(%rip), %rbx
	jmp	LBB0_12
LBB0_13:
	movslq	4(%rbx), %rsi
	cmpq	$8, %rsi
	jae	LBB0_14
## %bb.15:
	movq	_BWRITERSPR_OUTPUT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	8(%rbx), %edx
	leaq	l_switch.table.map_oldvs_register(%rip), %rcx
	movq	(%rcx,%rsi,8), %rcx
	jmp	LBB0_20
LBB0_16:
	movl	4(%rbx), %esi
	movl	8(%rbx), %edx
	movq	_BWRITERSPR_OUTPUT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	testl	%esi, %esi
	je	LBB0_17
## %bb.18:
	cmpl	$1, %esi
	jne	LBB0_22
## %bb.19:
	movq	_OD1_REG@GOTPCREL(%rip), %rcx
	jmp	LBB0_20
LBB0_14:
	leaq	L_.str.1(%rip), %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	jmp	LBB0_9
LBB0_17:
	movq	_OD0_REG@GOTPCREL(%rip), %rcx
LBB0_20:
	movl	(%rcx), %ecx
	jmp	LBB0_21
LBB0_22:
	leaq	L_.str.2(%rip), %rdi
	jmp	LBB0_9
LBB0_4:
	addq	$8, %rbx
	movq	_OPOS_REG@GOTPCREL(%rip), %rcx
	jmp	LBB0_12
LBB0_11:
	movq	_OPTS_REG@GOTPCREL(%rip), %rcx
	movq	_OPTS_WRITEMASK@GOTPCREL(%rip), %rbx
LBB0_12:
	movl	(%rcx), %ecx
	movl	(%rbx), %edx
	jmp	LBB0_21
LBB0_8:
	leaq	L_.str(%rip), %rdi
LBB0_9:
	callq	_FIXME
LBB0_10:
	movq	(%rbx), %rax
	movq	%rax, %rcx
	shrq	$32, %rcx
	movl	8(%rbx), %edx
LBB0_21:
	shlq	$32, %rcx
	movl	%eax, %eax
	orq	%rcx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BWRITERSPR_OUTPUT,8,3          ## @BWRITERSPR_OUTPUT
	.comm	_OPOS_REG,4,2                   ## @OPOS_REG
	.comm	_OFOG_REG,4,2                   ## @OFOG_REG
	.comm	_OFOG_WRITEMASK,4,2             ## @OFOG_WRITEMASK
	.comm	_OPTS_REG,4,2                   ## @OPTS_REG
	.comm	_OPTS_WRITEMASK,4,2             ## @OPTS_WRITEMASK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unhandled RASTOUT register %u\n"

	.comm	_OT0_REG,4,2                    ## @OT0_REG
	.comm	_OT1_REG,4,2                    ## @OT1_REG
	.comm	_OT2_REG,4,2                    ## @OT2_REG
	.comm	_OT3_REG,4,2                    ## @OT3_REG
	.comm	_OT4_REG,4,2                    ## @OT4_REG
	.comm	_OT5_REG,4,2                    ## @OT5_REG
	.comm	_OT6_REG,4,2                    ## @OT6_REG
	.comm	_OT7_REG,4,2                    ## @OT7_REG
L_.str.1:                               ## @.str.1
	.asciz	"Unhandled TEXCRDOUT regnum %u\n"

	.comm	_OD0_REG,4,2                    ## @OD0_REG
	.comm	_OD1_REG,4,2                    ## @OD1_REG
L_.str.2:                               ## @.str.2
	.asciz	"Unhandled ATTROUT regnum %u\n"

	.no_dead_strip	_map_oldvs_register
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.map_oldvs_register
l_switch.table.map_oldvs_register:
	.quad	_OT0_REG
	.quad	_OT1_REG
	.quad	_OT2_REG
	.quad	_OT3_REG
	.quad	_OT4_REG
	.quad	_OT5_REG
	.quad	_OT6_REG
	.quad	_OT7_REG

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function map_oldvs_register
_map_oldvs_register:                    ; @map_oldvs_register
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	w8, [x0]
	cmp	w8, #131
	b.eq	LBB0_7
; %bb.1:
	cmp	w8, #133
	b.eq	LBB0_9
; %bb.2:
	cmp	w8, #132
	b.ne	LBB0_21
; %bb.3:
Lloh0:
	adrp	x8, _BWRITERSPR_OUTPUT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BWRITERSPR_OUTPUT@GOTPAGEOFF]
Lloh2:
	ldr	x0, [x8]
	ldr	w1, [x19, #4]
	cmp	w1, #128
	b.eq	LBB0_16
; %bb.4:
	cmp	w1, #129
	b.eq	LBB0_17
; %bb.5:
	cmp	w1, #130
	b.ne	LBB0_19
; %bb.6:
Lloh3:
	adrp	x9, _OFOG_REG@GOTPAGE
Lloh4:
	ldr	x9, [x9, _OFOG_REG@GOTPAGEOFF]
Lloh5:
	adrp	x8, _OFOG_WRITEMASK@GOTPAGE
Lloh6:
	ldr	x8, [x8, _OFOG_WRITEMASK@GOTPAGEOFF]
	b	LBB0_18
LBB0_7:
	ldrsw	x1, [x19, #4]
	cmp	w1, #8
	b.hs	LBB0_12
; %bb.8:
Lloh7:
	adrp	x8, _BWRITERSPR_OUTPUT@GOTPAGE
Lloh8:
	ldr	x8, [x8, _BWRITERSPR_OUTPUT@GOTPAGEOFF]
Lloh9:
	ldr	x0, [x8]
	ldr	w8, [x19, #8]
Lloh10:
	adrp	x9, l_switch.table.map_oldvs_register@PAGE
Lloh11:
	add	x9, x9, l_switch.table.map_oldvs_register@PAGEOFF
	ldr	x9, [x9, x1, lsl #3]
	b	LBB0_14
LBB0_9:
Lloh12:
	adrp	x8, _BWRITERSPR_OUTPUT@GOTPAGE
Lloh13:
	ldr	x8, [x8, _BWRITERSPR_OUTPUT@GOTPAGEOFF]
Lloh14:
	ldr	x0, [x8]
	ldp	w1, w8, [x19, #4]
	cbz	w1, LBB0_13
; %bb.10:
	cmp	w1, #1
	b.ne	LBB0_15
; %bb.11:
Lloh15:
	adrp	x9, _OD1_REG@GOTPAGE
Lloh16:
	ldr	x9, [x9, _OD1_REG@GOTPAGEOFF]
	b	LBB0_14
LBB0_12:
Lloh17:
	adrp	x0, l_.str.1@PAGE
Lloh18:
	add	x0, x0, l_.str.1@PAGEOFF
                                        ; kill: def $w1 killed $w1 killed $x1
	b	LBB0_20
LBB0_13:
Lloh19:
	adrp	x9, _OD0_REG@GOTPAGE
Lloh20:
	ldr	x9, [x9, _OD0_REG@GOTPAGEOFF]
LBB0_14:
	ldr	w9, [x9]
	b	LBB0_22
LBB0_15:
Lloh21:
	adrp	x0, l_.str.2@PAGE
Lloh22:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_20
LBB0_16:
	add	x8, x19, #8
Lloh23:
	adrp	x9, _OPOS_REG@GOTPAGE
Lloh24:
	ldr	x9, [x9, _OPOS_REG@GOTPAGEOFF]
	b	LBB0_18
LBB0_17:
Lloh25:
	adrp	x9, _OPTS_REG@GOTPAGE
Lloh26:
	ldr	x9, [x9, _OPTS_REG@GOTPAGEOFF]
Lloh27:
	adrp	x8, _OPTS_WRITEMASK@GOTPAGE
Lloh28:
	ldr	x8, [x8, _OPTS_WRITEMASK@GOTPAGEOFF]
LBB0_18:
	ldr	w9, [x9]
	ldr	w8, [x8]
	b	LBB0_22
LBB0_19:
Lloh29:
	adrp	x0, l_.str@PAGE
Lloh30:
	add	x0, x0, l_.str@PAGEOFF
LBB0_20:
	bl	_FIXME
LBB0_21:
	ldr	x0, [x19]
	lsr	x9, x0, #32
	ldr	w8, [x19, #8]
                                        ; kill: def $w9 killed $w9 killed $x9 def $x9
LBB0_22:
	bfi	x0, x9, #32, #32
	mov	w1, w8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpAdd	Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.comm	_BWRITERSPR_OUTPUT,8,3          ; @BWRITERSPR_OUTPUT
	.comm	_OPOS_REG,4,2                   ; @OPOS_REG
	.comm	_OFOG_REG,4,2                   ; @OFOG_REG
	.comm	_OFOG_WRITEMASK,4,2             ; @OFOG_WRITEMASK
	.comm	_OPTS_REG,4,2                   ; @OPTS_REG
	.comm	_OPTS_WRITEMASK,4,2             ; @OPTS_WRITEMASK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unhandled RASTOUT register %u\n"

	.comm	_OT0_REG,4,2                    ; @OT0_REG
	.comm	_OT1_REG,4,2                    ; @OT1_REG
	.comm	_OT2_REG,4,2                    ; @OT2_REG
	.comm	_OT3_REG,4,2                    ; @OT3_REG
	.comm	_OT4_REG,4,2                    ; @OT4_REG
	.comm	_OT5_REG,4,2                    ; @OT5_REG
	.comm	_OT6_REG,4,2                    ; @OT6_REG
	.comm	_OT7_REG,4,2                    ; @OT7_REG
l_.str.1:                               ; @.str.1
	.asciz	"Unhandled TEXCRDOUT regnum %u\n"

	.comm	_OD0_REG,4,2                    ; @OD0_REG
	.comm	_OD1_REG,4,2                    ; @OD1_REG
l_.str.2:                               ; @.str.2
	.asciz	"Unhandled ATTROUT regnum %u\n"

	.no_dead_strip	_map_oldvs_register
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.map_oldvs_register
l_switch.table.map_oldvs_register:
	.quad	_OT0_REG
	.quad	_OT1_REG
	.quad	_OT2_REG
	.quad	_OT3_REG
	.quad	_OT4_REG
	.quad	_OT5_REG
	.quad	_OT6_REG
	.quad	_OT7_REG

.subsections_via_symbols
