	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_swizzle
_get_swizzle:                           ## @get_swizzle
	.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	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r12
	movq	%rdi, %r15
	movq	%rsi, %rdi
	callq	_strlen
	movl	%eax, %r8d
	movq	(%r15), %r9
	movq	(%r9), %rax
	movq	_HLSL_CLASS_MATRIX@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_14
## %bb.1:
	cmpl	$3, %r8d
	jb	LBB0_15
## %bb.2:
	cmpb	$95, (%r12)
	jne	LBB0_15
## %bb.3:
	movb	1(%r12), %r10b
	xorl	%ecx, %ecx
	cmpb	$109, %r10b
	sete	%cl
	leal	3(%rcx), %r11d
	movl	%r8d, %eax
	xorl	%edx, %edx
	divl	%r11d
	testl	%edx, %edx
	jne	LBB0_15
## %bb.4:
	leal	12(,%rcx,4), %eax
	cmpl	%eax, %r8d
	ja	LBB0_15
## %bb.5:
	xorl	%ecx, %ecx
	movl	$1, %esi
	xorl	%r14d, %r14d
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	leal	1(%r14), %edx
	movzbl	(%r12,%rdx), %ebx
	cmpb	$109, %r10b
	jne	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	cmpb	$109, %bl
	jne	LBB0_15
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	leal	2(%r14), %edx
	movzbl	(%r12,%rdx), %ebx
	movl	$3, %r13d
	movl	$-48, %edx
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_6 Depth=1
	movl	$2, %r13d
	movl	$-49, %edx
LBB0_10:                                ##   in Loop: Header=BB0_6 Depth=1
	movsbl	%bl, %ebx
	addl	%edx, %ebx
	cmpl	8(%r9), %ebx
	jae	LBB0_15
## %bb.11:                              ##   in Loop: Header=BB0_6 Depth=1
	addl	%r14d, %r13d
	movsbl	(%r12,%r13), %eax
	addl	%eax, %edx
	cmpl	12(%r9), %edx
	jae	LBB0_15
## %bb.12:                              ##   in Loop: Header=BB0_6 Depth=1
	shll	$4, %edx
	orl	%ebx, %edx
	shll	%cl, %edx
	orl	%edx, %edi
	addl	%r11d, %r14d
	cmpl	%r8d, %r14d
	jae	LBB0_34
## %bb.13:                              ##   in Loop: Header=BB0_6 Depth=1
	movl	%r14d, %eax
	addl	$8, %ecx
	incl	%esi
	cmpb	$95, (%r12,%rax)
	je	LBB0_6
	jmp	LBB0_15
LBB0_14:
	cmpl	$4, %r8d
	jbe	LBB0_16
LBB0_15:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %r11d
	testl	%r8d, %r8d
	je	LBB0_21
## %bb.17:
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %r10d
	movb	(%r12), %cl
	addb	$-119, %cl
	xorl	%edi, %edi
	movl	$0, %esi
	movl	%r10d, %eax
	cmpb	$3, %cl
	ja	LBB0_32
## %bb.18:
	movsbq	%cl, %rax
	leaq	L_switch.table.get_swizzle(%rip), %rcx
	movl	(%rcx,%rax,4), %edi
	cmpl	8(%r9), %edi
	jae	LBB0_15
## %bb.19:
	cmpl	$1, %r8d
	jne	LBB0_22
LBB0_20:
	movl	%r8d, %esi
	movl	%r11d, %eax
	jmp	LBB0_32
LBB0_21:
	xorl	%edi, %edi
	movl	$0, %esi
	testl	%r11d, %r11d
	jne	LBB0_33
	jmp	LBB0_15
LBB0_22:
	movb	1(%r12), %al
	addb	$-119, %al
	movl	$1, %esi
	cmpb	$3, %al
	ja	LBB0_31
## %bb.23:
	movsbq	%al, %rax
	movl	(%rcx,%rax,4), %eax
	cmpl	8(%r9), %eax
	jae	LBB0_15
## %bb.24:
	shll	$2, %eax
	orl	%eax, %edi
	cmpl	$2, %r8d
	je	LBB0_20
## %bb.25:
	movb	2(%r12), %al
	addb	$-119, %al
	movl	$2, %esi
	cmpb	$3, %al
	ja	LBB0_31
## %bb.26:
	movsbq	%al, %rax
	movl	(%rcx,%rax,4), %eax
	cmpl	8(%r9), %eax
	jae	LBB0_15
## %bb.27:
	shll	$4, %eax
	orl	%eax, %edi
	cmpl	$3, %r8d
	je	LBB0_20
## %bb.28:
	movb	3(%r12), %al
	addb	$-119, %al
	movl	$3, %esi
	cmpb	$3, %al
	ja	LBB0_31
## %bb.29:
	movsbq	%al, %rax
	movl	(%rcx,%rax,4), %eax
	cmpl	8(%r9), %eax
	jae	LBB0_15
## %bb.30:
	shll	$6, %eax
	orl	%eax, %edi
	jmp	LBB0_20
LBB0_31:
	movl	%r10d, %eax
LBB0_32:
	testl	%eax, %eax
	je	LBB0_35
LBB0_33:
                                        ## kill: def $esi killed $esi killed $rsi
LBB0_34:
	movq	%r15, %rdx
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_new_swizzle                    ## TAILCALL
LBB0_35:
	movl	%r8d, %r8d
	xorl	%ecx, %ecx
	leaq	LJTI0_0(%rip), %rax
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_36:                                ## =>This Inner Loop Header: Depth=1
	movzbl	(%r12,%rsi), %ebx
	addb	$-97, %bl
	cmpb	$17, %bl
	ja	LBB0_44
## %bb.37:                              ##   in Loop: Header=BB0_36 Depth=1
	movzbl	%bl, %ebx
	movslq	(%rax,%rbx,4), %rdx
	addq	%rax, %rdx
	xorl	%ebx, %ebx
	jmpq	*%rdx
LBB0_38:                                ##   in Loop: Header=BB0_36 Depth=1
	movl	$3, %ebx
	jmp	LBB0_41
LBB0_39:                                ##   in Loop: Header=BB0_36 Depth=1
	movl	$2, %ebx
	jmp	LBB0_41
LBB0_40:                                ##   in Loop: Header=BB0_36 Depth=1
	movl	$1, %ebx
LBB0_41:                                ##   in Loop: Header=BB0_36 Depth=1
	cmpl	8(%r9), %ebx
	jae	LBB0_15
## %bb.42:                              ##   in Loop: Header=BB0_36 Depth=1
	shll	%cl, %ebx
	orl	%ebx, %edi
	incq	%rsi
	addl	$2, %ecx
	cmpq	%rsi, %r8
	jne	LBB0_36
## %bb.43:
	movl	%r8d, %esi
	movl	%r11d, %r10d
LBB0_44:
	testl	%r10d, %r10d
	jne	LBB0_33
	jmp	LBB0_15
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_38, LBB0_38-LJTI0_0
.set L0_0_set_39, LBB0_39-LJTI0_0
.set L0_0_set_44, LBB0_44-LJTI0_0
.set L0_0_set_40, LBB0_40-LJTI0_0
.set L0_0_set_41, LBB0_41-LJTI0_0
LJTI0_0:
	.long	L0_0_set_38
	.long	L0_0_set_39
	.long	L0_0_set_44
	.long	L0_0_set_44
	.long	L0_0_set_44
	.long	L0_0_set_44
	.long	L0_0_set_40
	.long	L0_0_set_44
	.long	L0_0_set_44
	.long	L0_0_set_44
	.long	L0_0_set_44
	.long	L0_0_set_44
	.long	L0_0_set_44
	.long	L0_0_set_44
	.long	L0_0_set_44
	.long	L0_0_set_44
	.long	L0_0_set_44
	.long	L0_0_set_41
	.end_data_region
                                        ## -- End function
	.comm	_HLSL_CLASS_MATRIX,8,3          ## @HLSL_CLASS_MATRIX
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_FALSE,4,2                      ## @FALSE
	.no_dead_strip	_get_swizzle
	.section	__TEXT,__literal16,16byte_literals
	.p2align	2                               ## @switch.table.get_swizzle
L_switch.table.get_swizzle:
	.long	3                               ## 0x3
	.long	0                               ## 0x0
	.long	1                               ## 0x1
	.long	2                               ## 0x2

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_swizzle
_get_swizzle:                           ; @get_swizzle
	.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, x2
	mov	x21, x1
	mov	x20, x0
	mov	x0, x1
	bl	_strlen
	ldr	x9, [x20]
	ldr	x8, [x9]
Lloh0:
	adrp	x10, _HLSL_CLASS_MATRIX@GOTPAGE
Lloh1:
	ldr	x10, [x10, _HLSL_CLASS_MATRIX@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	cmp	x8, x10
	b.ne	LBB0_13
; %bb.1:
	cmp	w0, #3
	b.lo	LBB0_14
; %bb.2:
	ldrb	w8, [x21]
	cmp	w8, #95
	b.ne	LBB0_14
; %bb.3:
	ldrb	w10, [x21, #1]
	cmp	w10, #109
	mov	w8, #3
	cinc	w11, w8, eq
	udiv	w8, w0, w11
	msub	w8, w8, w11, w0
	lsl	w12, w11, #2
	cmp	w8, #0
	ccmp	w0, w12, #2, eq
	b.hi	LBB0_14
; %bb.4:
	mov	w12, #0
	mov	w13, #0
	mov	w8, #0
	mov	w1, #1
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	add	w14, w13, #1
	ldrb	w14, [x21, w14, uxtw]
	cmp	w10, #109
	b.ne	LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	w14, #109
	b.ne	LBB0_14
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	add	w14, w13, #2
	ldrb	w14, [x21, w14, uxtw]
	mov	w15, #3
	mov	w16, #-48
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	w15, #2
	mov	w16, #-49
LBB0_9:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	w14, w16, w14, sxtb
	ldr	w17, [x9, #8]
	cmp	w14, w17
	b.hs	LBB0_14
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
	add	w15, w13, w15
	ldrsb	w15, [x21, w15, uxtw]
	ldr	w17, [x9, #12]
	add	w15, w16, w15
	cmp	w15, w17
	b.hs	LBB0_14
; %bb.11:                               ;   in Loop: Header=BB0_5 Depth=1
	orr	w14, w14, w15, lsl #4
	lsl	w14, w14, w12
	orr	w8, w14, w8
	add	w13, w13, w11
	cmp	w13, w0
	b.hs	LBB0_46
; %bb.12:                               ;   in Loop: Header=BB0_5 Depth=1
	ldrb	w14, [x21, w13, uxtw]
	add	w12, w12, #8
	add	w1, w1, #1
	cmp	w14, #95
	b.eq	LBB0_5
	b	LBB0_14
LBB0_13:
	cmp	w0, #4
	b.ls	LBB0_15
LBB0_14:
	mov	x0, #0
	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_15:
Lloh3:
	adrp	x8, _TRUE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x8]
	cbz	w0, LBB0_20
; %bb.16:
Lloh6:
	adrp	x8, _FALSE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh8:
	ldr	w11, [x8]
	ldrb	w8, [x21]
	sub	w8, w8, #119
	cmp	w8, #3
	b.hi	LBB0_22
; %bb.17:
	sxtb	x8, w8
Lloh9:
	adrp	x12, l_switch.table.get_swizzle@PAGE
Lloh10:
	add	x12, x12, l_switch.table.get_swizzle@PAGEOFF
	ldr	w8, [x12, x8, lsl #2]
	ldr	w13, [x9, #8]
	cmp	w8, w13
	b.hs	LBB0_14
; %bb.18:
	cmp	w0, #1
	b.ne	LBB0_37
LBB0_19:
	mov	x1, x0
	mov	x12, x10
	b	LBB0_24
LBB0_20:
	cbz	w10, LBB0_14
; %bb.21:
	mov	w8, #0
	mov	w1, #0
	b	LBB0_25
LBB0_22:
	mov	w8, #0
	mov	w1, #0
LBB0_23:
	mov	x12, x11
LBB0_24:
	cbz	w12, LBB0_27
LBB0_25:
	mov	x0, x8
                                        ; kill: def $w1 killed $w1 killed $x1
LBB0_26:
	mov	x2, x20
	mov	x3, x19
	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	_new_swizzle
LBB0_27:
	mov	w13, #0
	mov	x1, #0
	mov	w12, w0
Lloh11:
	adrp	x14, lJTI0_0@PAGE
Lloh12:
	add	x14, x14, lJTI0_0@PAGEOFF
LBB0_28:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w15, [x21, x1]
	sub	w16, w15, #97
	cmp	w16, #17
	b.hi	LBB0_48
; %bb.29:                               ;   in Loop: Header=BB0_28 Depth=1
	mov	w15, #0
	adr	x17, LBB0_30
	ldrb	w0, [x14, x16]
	add	x17, x17, x0, lsl #2
	br	x17
LBB0_30:                                ;   in Loop: Header=BB0_28 Depth=1
	mov	w15, #3
	b	LBB0_33
LBB0_31:                                ;   in Loop: Header=BB0_28 Depth=1
	mov	w15, #2
	b	LBB0_33
LBB0_32:                                ;   in Loop: Header=BB0_28 Depth=1
	mov	w15, #1
LBB0_33:                                ;   in Loop: Header=BB0_28 Depth=1
	ldr	w16, [x9, #8]
	cmp	w15, w16
	b.hs	LBB0_14
; %bb.34:                               ;   in Loop: Header=BB0_28 Depth=1
	lsl	w15, w15, w13
	orr	w8, w15, w8
	add	x1, x1, #1
	add	w13, w13, #2
	cmp	x12, x1
	b.ne	LBB0_28
; %bb.35:
	cbz	w10, LBB0_14
; %bb.36:
	mov	x1, x12
	b	LBB0_25
LBB0_37:
	ldrb	w13, [x21, #1]
	sub	w13, w13, #119
	cmp	w13, #3
	b.hi	LBB0_47
; %bb.38:
	sxtb	x13, w13
	ldr	w13, [x12, x13, lsl #2]
	ldr	w14, [x9, #8]
	cmp	w13, w14
	b.hs	LBB0_14
; %bb.39:
	orr	w8, w8, w13, lsl #2
	cmp	w0, #2
	b.eq	LBB0_19
; %bb.40:
	ldrb	w13, [x21, #2]
	sub	w13, w13, #119
	cmp	w13, #3
	b.hi	LBB0_49
; %bb.41:
	sxtb	x13, w13
	ldr	w13, [x12, x13, lsl #2]
	ldr	w14, [x9, #8]
	cmp	w13, w14
	b.hs	LBB0_14
; %bb.42:
	orr	w8, w8, w13, lsl #4
	cmp	w0, #3
	b.eq	LBB0_19
; %bb.43:
	ldrb	w13, [x21, #3]
	sub	w13, w13, #119
	cmp	w13, #3
	b.hi	LBB0_50
; %bb.44:
	sxtb	x13, w13
	ldr	w12, [x12, x13, lsl #2]
	ldr	w13, [x9, #8]
	cmp	w12, w13
	b.hs	LBB0_14
; %bb.45:
	orr	w8, w8, w12, lsl #6
	b	LBB0_19
LBB0_46:
	mov	x0, x8
	b	LBB0_26
LBB0_47:
	mov	w1, #1
	b	LBB0_23
LBB0_48:
	cbnz	w11, LBB0_25
	b	LBB0_14
LBB0_49:
	mov	w1, #2
	b	LBB0_23
LBB0_50:
	mov	w1, #3
	b	LBB0_23
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_30-LBB0_30)>>2
	.byte	(LBB0_31-LBB0_30)>>2
	.byte	(LBB0_48-LBB0_30)>>2
	.byte	(LBB0_48-LBB0_30)>>2
	.byte	(LBB0_48-LBB0_30)>>2
	.byte	(LBB0_48-LBB0_30)>>2
	.byte	(LBB0_32-LBB0_30)>>2
	.byte	(LBB0_48-LBB0_30)>>2
	.byte	(LBB0_48-LBB0_30)>>2
	.byte	(LBB0_48-LBB0_30)>>2
	.byte	(LBB0_48-LBB0_30)>>2
	.byte	(LBB0_48-LBB0_30)>>2
	.byte	(LBB0_48-LBB0_30)>>2
	.byte	(LBB0_48-LBB0_30)>>2
	.byte	(LBB0_48-LBB0_30)>>2
	.byte	(LBB0_48-LBB0_30)>>2
	.byte	(LBB0_48-LBB0_30)>>2
	.byte	(LBB0_33-LBB0_30)>>2
                                        ; -- End function
	.comm	_HLSL_CLASS_MATRIX,8,3          ; @HLSL_CLASS_MATRIX
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_FALSE,4,2                      ; @FALSE
	.no_dead_strip	_get_swizzle
	.section	__TEXT,__literal16,16byte_literals
	.p2align	2                               ; @switch.table.get_swizzle
l_switch.table.get_swizzle:
	.long	3                               ; 0x3
	.long	0                               ; 0x0
	.long	1                               ; 0x1
	.long	2                               ; 0x2

.subsections_via_symbols
