	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function map_vs_output
_map_vs_output:                         ## @map_vs_output
	.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	_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rcx)
	cmpq	%rsi, (%rdi)
	jne	LBB0_2
## %bb.1:
	movq	_D3DSPR_RASTOUT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_D3DSRO_POSITION@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	jmp	LBB0_13
LBB0_2:
	movq	%rdi, %rbx
	cmpq	%rsi, 8(%rdi)
	jne	LBB0_6
## %bb.3:
	cmpq	%rdx, 16(%rbx)
	jne	LBB0_6
## %bb.4:
	movq	_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rcx)
	movq	_D3DSPR_RASTOUT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_D3DSRO_FOG@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_6:
	cmpq	%rsi, 24(%rbx)
	jne	LBB0_9
## %bb.7:
	cmpq	%rdx, 32(%rbx)
	jne	LBB0_9
## %bb.8:
	movq	_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rcx)
	movq	_D3DSPR_RASTOUT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_D3DSRO_POINT_SIZE@GOTPCREL(%rip), %rax
LBB0_5:
	movq	(%rax), %rsi
	callq	_d3dsp_register
	movq	_D3DSP_WRITEMASK_ALL@GOTPCREL(%rip), %rcx
	orq	(%rcx), %rax
LBB0_26:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_9:
	movq	40(%rbx), %rcx
	cmpq	%rsi, (%rcx)
	jne	LBB0_14
## %bb.10:
	xorl	%eax, %eax
	jmp	LBB0_11
LBB0_14:
	movl	$1, %eax
	cmpq	%rsi, 8(%rcx)
	jne	LBB0_15
LBB0_11:
	movq	_D3DSPR_ATTROUT@GOTPCREL(%rip), %rcx
	jmp	LBB0_12
LBB0_15:
	movq	48(%rbx), %rcx
	cmpq	%rsi, (%rcx)
	jne	LBB0_18
## %bb.16:
	xorl	%eax, %eax
	jmp	LBB0_17
LBB0_18:
	movl	$1, %eax
	cmpq	%rsi, 8(%rcx)
	je	LBB0_17
## %bb.19:
	movl	$2, %eax
	cmpq	%rsi, 16(%rcx)
	je	LBB0_17
## %bb.20:
	movl	$3, %eax
	cmpq	%rsi, 24(%rcx)
	je	LBB0_17
## %bb.21:
	movl	$4, %eax
	cmpq	%rsi, 32(%rcx)
	je	LBB0_17
## %bb.22:
	movl	$5, %eax
	cmpq	%rsi, 40(%rcx)
	je	LBB0_17
## %bb.23:
	movl	$6, %eax
	cmpq	%rsi, 48(%rcx)
	je	LBB0_17
## %bb.24:
	movl	$7, %eax
	cmpq	%rsi, 56(%rcx)
	jne	LBB0_25
LBB0_17:
	movq	_D3DSPR_TEXCRDOUT@GOTPCREL(%rip), %rcx
LBB0_12:
	movl	(%rcx), %edi
	movq	%rax, %rsi
LBB0_13:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_d3dsp_register                 ## TAILCALL
LBB0_25:
	leaq	L_.str(%rip), %rdi
	callq	_WARN
	movq	_E_INVALIDARG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 56(%rbx)
	movq	$-1, %rax
	jmp	LBB0_26
	.cfi_endproc
                                        ## -- End function
	.comm	_TRUE,8,3                       ## @TRUE
	.comm	_D3DSPR_RASTOUT,4,2             ## @D3DSPR_RASTOUT
	.comm	_D3DSRO_POSITION,8,3            ## @D3DSRO_POSITION
	.comm	_FALSE,8,3                      ## @FALSE
	.comm	_D3DSRO_FOG,8,3                 ## @D3DSRO_FOG
	.comm	_D3DSP_WRITEMASK_ALL,8,3        ## @D3DSP_WRITEMASK_ALL
	.comm	_D3DSRO_POINT_SIZE,8,3          ## @D3DSRO_POINT_SIZE
	.comm	_D3DSPR_ATTROUT,4,2             ## @D3DSPR_ATTROUT
	.comm	_D3DSPR_TEXCRDOUT,4,2           ## @D3DSPR_TEXCRDOUT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Undeclared varying %u\n"

	.comm	_E_INVALIDARG,4,2               ## @E_INVALIDARG
	.no_dead_strip	_map_vs_output
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function map_vs_output
_map_vs_output:                         ; @map_vs_output
	.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
Lloh0:
	adrp	x8, _TRUE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [x3]
	ldr	x8, [x0]
	cmp	x8, x1
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _D3DSPR_RASTOUT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _D3DSPR_RASTOUT@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x8, _D3DSRO_POSITION@GOTPAGE
Lloh7:
	ldr	x8, [x8, _D3DSRO_POSITION@GOTPAGEOFF]
Lloh8:
	ldr	x1, [x8]
	b	LBB0_33
LBB0_2:
	mov	x19, x0
	ldr	x8, [x0, #8]
	cmp	x8, x1
	b.ne	LBB0_5
; %bb.3:
	ldr	x8, [x19, #16]
	cmp	x8, x2
	b.ne	LBB0_5
; %bb.4:
Lloh9:
	adrp	x8, _FALSE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	str	x8, [x3]
Lloh12:
	adrp	x8, _D3DSPR_RASTOUT@GOTPAGE
Lloh13:
	ldr	x8, [x8, _D3DSPR_RASTOUT@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
Lloh15:
	adrp	x8, _D3DSRO_FOG@GOTPAGE
Lloh16:
	ldr	x8, [x8, _D3DSRO_FOG@GOTPAGEOFF]
	b	LBB0_8
LBB0_5:
	ldr	x8, [x19, #24]
	cmp	x8, x1
	b.ne	LBB0_10
; %bb.6:
	ldr	x8, [x19, #32]
	cmp	x8, x2
	b.ne	LBB0_10
; %bb.7:
Lloh17:
	adrp	x8, _FALSE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh19:
	ldr	x8, [x8]
	str	x8, [x3]
Lloh20:
	adrp	x8, _D3DSPR_RASTOUT@GOTPAGE
Lloh21:
	ldr	x8, [x8, _D3DSPR_RASTOUT@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
Lloh23:
	adrp	x8, _D3DSRO_POINT_SIZE@GOTPAGE
Lloh24:
	ldr	x8, [x8, _D3DSRO_POINT_SIZE@GOTPAGEOFF]
LBB0_8:
	ldr	x1, [x8]
	bl	_d3dsp_register
Lloh25:
	adrp	x8, _D3DSP_WRITEMASK_ALL@GOTPAGE
Lloh26:
	ldr	x8, [x8, _D3DSP_WRITEMASK_ALL@GOTPAGEOFF]
Lloh27:
	ldr	x8, [x8]
	orr	x0, x8, x0
LBB0_9:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_10:
	ldr	x8, [x19, #40]
	ldr	x9, [x8]
	cmp	x9, x1
	b.ne	LBB0_12
; %bb.11:
	mov	x1, #0
	b	LBB0_14
LBB0_12:
	ldr	x8, [x8, #8]
	cmp	x8, x1
	b.ne	LBB0_15
; %bb.13:
	mov	w1, #1
LBB0_14:
Lloh28:
	adrp	x8, _D3DSPR_ATTROUT@GOTPAGE
Lloh29:
	ldr	x8, [x8, _D3DSPR_ATTROUT@GOTPAGEOFF]
	b	LBB0_32
LBB0_15:
	ldr	x8, [x19, #48]
	ldr	x9, [x8]
	cmp	x9, x1
	b.ne	LBB0_17
; %bb.16:
	mov	x1, #0
	b	LBB0_31
LBB0_17:
	ldr	x9, [x8, #8]
	cmp	x9, x1
	b.ne	LBB0_19
; %bb.18:
	mov	w1, #1
	b	LBB0_31
LBB0_19:
	ldr	x9, [x8, #16]
	cmp	x9, x1
	b.ne	LBB0_21
; %bb.20:
	mov	w1, #2
	b	LBB0_31
LBB0_21:
	ldr	x9, [x8, #24]
	cmp	x9, x1
	b.ne	LBB0_23
; %bb.22:
	mov	w1, #3
	b	LBB0_31
LBB0_23:
	ldr	x9, [x8, #32]
	cmp	x9, x1
	b.ne	LBB0_25
; %bb.24:
	mov	w1, #4
	b	LBB0_31
LBB0_25:
	ldr	x9, [x8, #40]
	cmp	x9, x1
	b.ne	LBB0_27
; %bb.26:
	mov	w1, #5
	b	LBB0_31
LBB0_27:
	ldr	x9, [x8, #48]
	cmp	x9, x1
	b.ne	LBB0_29
; %bb.28:
	mov	w1, #6
	b	LBB0_31
LBB0_29:
	ldr	x8, [x8, #56]
	cmp	x8, x1
	b.ne	LBB0_34
; %bb.30:
	mov	w1, #7
LBB0_31:
Lloh30:
	adrp	x8, _D3DSPR_TEXCRDOUT@GOTPAGE
Lloh31:
	ldr	x8, [x8, _D3DSPR_TEXCRDOUT@GOTPAGEOFF]
LBB0_32:
	ldr	w0, [x8]
LBB0_33:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_d3dsp_register
LBB0_34:
Lloh32:
	adrp	x0, l_.str@PAGE
Lloh33:
	add	x0, x0, l_.str@PAGEOFF
	bl	_WARN
Lloh34:
	adrp	x8, _E_INVALIDARG@GOTPAGE
Lloh35:
	ldr	x8, [x8, _E_INVALIDARG@GOTPAGEOFF]
Lloh36:
	ldr	w8, [x8]
	str	w8, [x19, #56]
	mov	x0, #-1
	b	LBB0_9
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpAdd	Lloh32, Lloh33
	.cfi_endproc
                                        ; -- End function
	.comm	_TRUE,8,3                       ; @TRUE
	.comm	_D3DSPR_RASTOUT,4,2             ; @D3DSPR_RASTOUT
	.comm	_D3DSRO_POSITION,8,3            ; @D3DSRO_POSITION
	.comm	_FALSE,8,3                      ; @FALSE
	.comm	_D3DSRO_FOG,8,3                 ; @D3DSRO_FOG
	.comm	_D3DSP_WRITEMASK_ALL,8,3        ; @D3DSP_WRITEMASK_ALL
	.comm	_D3DSRO_POINT_SIZE,8,3          ; @D3DSRO_POINT_SIZE
	.comm	_D3DSPR_ATTROUT,4,2             ; @D3DSPR_ATTROUT
	.comm	_D3DSPR_TEXCRDOUT,4,2           ; @D3DSPR_TEXCRDOUT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Undeclared varying %u\n"

	.comm	_E_INVALIDARG,4,2               ; @E_INVALIDARG
	.no_dead_strip	_map_vs_output
.subsections_via_symbols
