	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_argreg
_get_argreg:                            ## @get_argreg
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_ARG_UNUSED@GOTPCREL(%rip), %rax
	cmpl	%ecx, (%rax)
	jne	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rbx
	jmp	LBB0_20
LBB0_2:
	movl	%ecx, %r12d
	movq	_WINED3DTA_SELECTMASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%ecx, %eax
	addl	$-128, %eax
	cmpl	$6, %eax
	ja	LBB0_3
## %bb.4:
	movl	%esi, %r15d
	movq	%rdi, %r14
	leaq	L_.str.1(%rip), %rbx
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_8:
	leaq	L_.str.12(%rip), %rbx
	jmp	LBB0_16
LBB0_3:
	leaq	L_.str.24(%rip), %rbx
	jmp	LBB0_20
LBB0_6:
	cmpl	$8, %edx
	jae	LBB0_7
## %bb.13:
	movslq	%edx, %rax
	leaq	l_reltable.get_argreg(%rip), %rcx
	jmp	LBB0_15
LBB0_10:
	leaq	L_.str.14(%rip), %rbx
	jmp	LBB0_16
LBB0_9:
	leaq	L_.str.13(%rip), %rbx
	jmp	LBB0_16
LBB0_5:
	leaq	L_.str.2(%rip), %rbx
	jmp	LBB0_16
LBB0_11:
	cmpl	$8, %edx
	jae	LBB0_12
## %bb.14:
	movslq	%edx, %rax
	leaq	l_reltable.get_argreg.31(%rip), %rcx
LBB0_15:
	movslq	(%rcx,%rax,4), %rbx
	addq	%rcx, %rbx
	jmp	LBB0_16
LBB0_7:
	leaq	L_.str.11(%rip), %rbx
	jmp	LBB0_16
LBB0_12:
	leaq	L_.str.23(%rip), %rbx
LBB0_16:
	movq	_WINED3DTA_COMPLEMENT@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_18
## %bb.17:
	leaq	L_.str.25(%rip), %rsi
	movq	%r14, %rdi
	movl	%r15d, %edx
	movq	%rbx, %rcx
	callq	_shader_addline
	testl	%r15d, %r15d
	leaq	L_.str.26(%rip), %rax
	cmovneq	%rbx, %rax
	cmpl	$1, %r15d
	leaq	L_.str.27(%rip), %rcx
	cmovneq	%rax, %rcx
	cmpl	$2, %r15d
	leaq	L_.str.28(%rip), %rbx
	cmovneq	%rcx, %rbx
LBB0_18:
	movq	_WINED3DTA_ALPHAREPLICATE@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_20
## %bb.19:
	leaq	L_.str.29(%rip), %rsi
	movq	%r14, %rdi
	movl	%r15d, %edx
	movq	%rbx, %rcx
	callq	_shader_addline
	testl	%r15d, %r15d
	leaq	L_.str.26(%rip), %rax
	cmovneq	%rbx, %rax
	cmpl	$1, %r15d
	leaq	L_.str.27(%rip), %rcx
	cmovneq	%rax, %rcx
	cmpl	$2, %r15d
	leaq	L_.str.28(%rip), %rbx
	cmovneq	%rcx, %rbx
LBB0_20:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
LJTI0_0:
	.long	L0_0_set_8
	.long	L0_0_set_6
	.long	L0_0_set_10
	.long	L0_0_set_9
	.long	L0_0_set_16
	.long	L0_0_set_5
	.long	L0_0_set_11
	.end_data_region
                                        ## -- End function
	.comm	_ARG_UNUSED,4,2                 ## @ARG_UNUSED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unused"

	.comm	_WINED3DTA_SELECTMASK,4,2       ## @WINED3DTA_SELECTMASK
L_.str.1:                               ## @.str.1
	.asciz	"fragment.color.primary"

L_.str.2:                               ## @.str.2
	.asciz	"ret"

L_.str.3:                               ## @.str.3
	.asciz	"tex0"

L_.str.4:                               ## @.str.4
	.asciz	"tex1"

L_.str.5:                               ## @.str.5
	.asciz	"tex2"

L_.str.6:                               ## @.str.6
	.asciz	"tex3"

L_.str.7:                               ## @.str.7
	.asciz	"tex4"

L_.str.8:                               ## @.str.8
	.asciz	"tex5"

L_.str.9:                               ## @.str.9
	.asciz	"tex6"

L_.str.10:                              ## @.str.10
	.asciz	"tex7"

L_.str.11:                              ## @.str.11
	.asciz	"unknown texture"

L_.str.12:                              ## @.str.12
	.asciz	"tfactor"

L_.str.13:                              ## @.str.13
	.asciz	"fragment.color.secondary"

L_.str.14:                              ## @.str.14
	.asciz	"tempreg"

L_.str.15:                              ## @.str.15
	.asciz	"const0"

L_.str.16:                              ## @.str.16
	.asciz	"const1"

L_.str.17:                              ## @.str.17
	.asciz	"const2"

L_.str.18:                              ## @.str.18
	.asciz	"const3"

L_.str.19:                              ## @.str.19
	.asciz	"const4"

L_.str.20:                              ## @.str.20
	.asciz	"const5"

L_.str.21:                              ## @.str.21
	.asciz	"const6"

L_.str.22:                              ## @.str.22
	.asciz	"const7"

L_.str.23:                              ## @.str.23
	.asciz	"unknown constant"

L_.str.24:                              ## @.str.24
	.asciz	"unknown"

	.comm	_WINED3DTA_COMPLEMENT,4,2       ## @WINED3DTA_COMPLEMENT
L_.str.25:                              ## @.str.25
	.asciz	"SUB arg%u, const.x, %s;\n"

L_.str.26:                              ## @.str.26
	.asciz	"arg0"

L_.str.27:                              ## @.str.27
	.asciz	"arg1"

L_.str.28:                              ## @.str.28
	.asciz	"arg2"

	.comm	_WINED3DTA_ALPHAREPLICATE,4,2   ## @WINED3DTA_ALPHAREPLICATE
L_.str.29:                              ## @.str.29
	.asciz	"MOV arg%u, %s.w;\n"

	.no_dead_strip	_get_argreg
	.section	__TEXT,__const
	.p2align	2                               ## @reltable.get_argreg
l_reltable.get_argreg:
	.long	L_.str.3-l_reltable.get_argreg
	.long	L_.str.4-l_reltable.get_argreg
	.long	L_.str.5-l_reltable.get_argreg
	.long	L_.str.6-l_reltable.get_argreg
	.long	L_.str.7-l_reltable.get_argreg
	.long	L_.str.8-l_reltable.get_argreg
	.long	L_.str.9-l_reltable.get_argreg
	.long	L_.str.10-l_reltable.get_argreg

	.p2align	2                               ## @reltable.get_argreg.31
l_reltable.get_argreg.31:
	.long	L_.str.15-l_reltable.get_argreg.31
	.long	L_.str.16-l_reltable.get_argreg.31
	.long	L_.str.17-l_reltable.get_argreg.31
	.long	L_.str.18-l_reltable.get_argreg.31
	.long	L_.str.19-l_reltable.get_argreg.31
	.long	L_.str.20-l_reltable.get_argreg.31
	.long	L_.str.21-l_reltable.get_argreg.31
	.long	L_.str.22-l_reltable.get_argreg.31

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_argreg
_get_argreg:                            ; @get_argreg
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
Lloh0:
	adrp	x8, _ARG_UNUSED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ARG_UNUSED@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w3
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x22, l_.str@PAGE
Lloh4:
	add	x22, x22, l_.str@PAGEOFF
	b	LBB0_20
LBB0_2:
	mov	x21, x3
Lloh5:
	adrp	x8, _WINED3DTA_SELECTMASK@GOTPAGE
Lloh6:
	ldr	x8, [x8, _WINED3DTA_SELECTMASK@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	and	w8, w8, w3
	sub	w8, w8, #128
	cmp	w8, #6
	b.hi	LBB0_5
; %bb.3:
	mov	x19, x1
	mov	x20, x0
Lloh8:
	adrp	x22, l_.str.1@PAGE
Lloh9:
	add	x22, x22, l_.str.1@PAGEOFF
Lloh10:
	adrp	x9, lJTI0_0@PAGE
Lloh11:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_4
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_4:
Lloh12:
	adrp	x22, l_.str.12@PAGE
Lloh13:
	add	x22, x22, l_.str.12@PAGEOFF
	b	LBB0_16
LBB0_5:
Lloh14:
	adrp	x22, l_.str.24@PAGE
Lloh15:
	add	x22, x22, l_.str.24@PAGEOFF
	b	LBB0_20
LBB0_6:
	cmp	w2, #8
	b.hs	LBB0_14
; %bb.7:
Lloh16:
	adrp	x8, l_switch.table.get_argreg@PAGE
Lloh17:
	add	x8, x8, l_switch.table.get_argreg@PAGEOFF
	b	LBB0_13
LBB0_8:
Lloh18:
	adrp	x22, l_.str.14@PAGE
Lloh19:
	add	x22, x22, l_.str.14@PAGEOFF
	b	LBB0_16
LBB0_9:
Lloh20:
	adrp	x22, l_.str.13@PAGE
Lloh21:
	add	x22, x22, l_.str.13@PAGEOFF
	b	LBB0_16
LBB0_10:
Lloh22:
	adrp	x22, l_.str.2@PAGE
Lloh23:
	add	x22, x22, l_.str.2@PAGEOFF
	b	LBB0_16
LBB0_11:
	cmp	w2, #8
	b.hs	LBB0_15
; %bb.12:
Lloh24:
	adrp	x8, l_switch.table.get_argreg.30@PAGE
Lloh25:
	add	x8, x8, l_switch.table.get_argreg.30@PAGEOFF
LBB0_13:
	ldr	x22, [x8, w2, sxtw #3]
	b	LBB0_16
LBB0_14:
Lloh26:
	adrp	x22, l_.str.11@PAGE
Lloh27:
	add	x22, x22, l_.str.11@PAGEOFF
	b	LBB0_16
LBB0_15:
Lloh28:
	adrp	x22, l_.str.23@PAGE
Lloh29:
	add	x22, x22, l_.str.23@PAGEOFF
LBB0_16:
Lloh30:
	adrp	x8, _WINED3DTA_COMPLEMENT@GOTPAGE
Lloh31:
	ldr	x8, [x8, _WINED3DTA_COMPLEMENT@GOTPAGEOFF]
Lloh32:
	adrp	x25, l_.str.26@PAGE
Lloh33:
	add	x25, x25, l_.str.26@PAGEOFF
Lloh34:
	ldr	w8, [x8]
Lloh35:
	adrp	x24, l_.str.27@PAGE
Lloh36:
	add	x24, x24, l_.str.27@PAGEOFF
Lloh37:
	adrp	x23, l_.str.28@PAGE
Lloh38:
	add	x23, x23, l_.str.28@PAGEOFF
	tst	w8, w21
	b.eq	LBB0_18
; %bb.17:
Lloh39:
	adrp	x1, l_.str.25@PAGE
Lloh40:
	add	x1, x1, l_.str.25@PAGEOFF
	mov	x0, x20
	mov	x2, x19
	mov	x3, x22
	bl	_shader_addline
	cmp	w19, #0
	csel	x8, x25, x22, eq
	cmp	w19, #1
	csel	x8, x24, x8, eq
	cmp	w19, #2
	csel	x22, x23, x8, eq
LBB0_18:
Lloh41:
	adrp	x8, _WINED3DTA_ALPHAREPLICATE@GOTPAGE
Lloh42:
	ldr	x8, [x8, _WINED3DTA_ALPHAREPLICATE@GOTPAGEOFF]
Lloh43:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_20
; %bb.19:
Lloh44:
	adrp	x1, l_.str.29@PAGE
Lloh45:
	add	x1, x1, l_.str.29@PAGEOFF
	mov	x0, x20
	mov	x2, x19
	mov	x3, x22
	bl	_shader_addline
	cmp	w19, #0
	csel	x8, x25, x22, eq
	cmp	w19, #1
	csel	x8, x24, x8, eq
	cmp	w19, #2
	csel	x22, x23, x8, eq
LBB0_20:
	mov	x0, x22
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh34
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpAdd	Lloh44, Lloh45
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_6-LBB0_4)>>2
	.byte	(LBB0_8-LBB0_4)>>2
	.byte	(LBB0_9-LBB0_4)>>2
	.byte	(LBB0_16-LBB0_4)>>2
	.byte	(LBB0_10-LBB0_4)>>2
	.byte	(LBB0_11-LBB0_4)>>2
                                        ; -- End function
	.comm	_ARG_UNUSED,4,2                 ; @ARG_UNUSED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unused"

	.comm	_WINED3DTA_SELECTMASK,4,2       ; @WINED3DTA_SELECTMASK
l_.str.1:                               ; @.str.1
	.asciz	"fragment.color.primary"

l_.str.2:                               ; @.str.2
	.asciz	"ret"

l_.str.3:                               ; @.str.3
	.asciz	"tex0"

l_.str.4:                               ; @.str.4
	.asciz	"tex1"

l_.str.5:                               ; @.str.5
	.asciz	"tex2"

l_.str.6:                               ; @.str.6
	.asciz	"tex3"

l_.str.7:                               ; @.str.7
	.asciz	"tex4"

l_.str.8:                               ; @.str.8
	.asciz	"tex5"

l_.str.9:                               ; @.str.9
	.asciz	"tex6"

l_.str.10:                              ; @.str.10
	.asciz	"tex7"

l_.str.11:                              ; @.str.11
	.asciz	"unknown texture"

l_.str.12:                              ; @.str.12
	.asciz	"tfactor"

l_.str.13:                              ; @.str.13
	.asciz	"fragment.color.secondary"

l_.str.14:                              ; @.str.14
	.asciz	"tempreg"

l_.str.15:                              ; @.str.15
	.asciz	"const0"

l_.str.16:                              ; @.str.16
	.asciz	"const1"

l_.str.17:                              ; @.str.17
	.asciz	"const2"

l_.str.18:                              ; @.str.18
	.asciz	"const3"

l_.str.19:                              ; @.str.19
	.asciz	"const4"

l_.str.20:                              ; @.str.20
	.asciz	"const5"

l_.str.21:                              ; @.str.21
	.asciz	"const6"

l_.str.22:                              ; @.str.22
	.asciz	"const7"

l_.str.23:                              ; @.str.23
	.asciz	"unknown constant"

l_.str.24:                              ; @.str.24
	.asciz	"unknown"

	.comm	_WINED3DTA_COMPLEMENT,4,2       ; @WINED3DTA_COMPLEMENT
l_.str.25:                              ; @.str.25
	.asciz	"SUB arg%u, const.x, %s;\n"

l_.str.26:                              ; @.str.26
	.asciz	"arg0"

l_.str.27:                              ; @.str.27
	.asciz	"arg1"

l_.str.28:                              ; @.str.28
	.asciz	"arg2"

	.comm	_WINED3DTA_ALPHAREPLICATE,4,2   ; @WINED3DTA_ALPHAREPLICATE
l_.str.29:                              ; @.str.29
	.asciz	"MOV arg%u, %s.w;\n"

	.no_dead_strip	_get_argreg
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.get_argreg
l_switch.table.get_argreg:
	.quad	l_.str.3
	.quad	l_.str.4
	.quad	l_.str.5
	.quad	l_.str.6
	.quad	l_.str.7
	.quad	l_.str.8
	.quad	l_.str.9
	.quad	l_.str.10

	.p2align	3                               ; @switch.table.get_argreg.30
l_switch.table.get_argreg.30:
	.quad	l_.str.15
	.quad	l_.str.16
	.quad	l_.str.17
	.quad	l_.str.18
	.quad	l_.str.19
	.quad	l_.str.20
	.quad	l_.str.21
	.quad	l_.str.22

.subsections_via_symbols
