	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function shader_glsl_map2gl
_shader_glsl_map2gl:                    ## @shader_glsl_map2gl
	.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	%rdi, %rbx
	movq	16(%rdi), %rax
	movq	(%rax), %r14
	movl	(%rdi), %edi
	leal	-128(%rdi), %eax
	cmpl	$24, %eax
	jae	LBB0_1
## %bb.2:
	cltq
	leaq	l_reltable.shader_glsl_map2gl(%rip), %rcx
	movslq	(%rcx,%rax,4), %r12
	addq	%rcx, %r12
	jmp	LBB0_3
LBB0_1:
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_debug_d3dshaderinstructionhandler
	leaq	L_.str.20(%rip), %rdi
	movl	%eax, %esi
	callq	_ERR
	leaq	L_.str.19(%rip), %r12
LBB0_3:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_shader_glsl_append_dst
	movl	%eax, %r15d
	movl	(%rbx), %eax
	orl	$2, %eax
	cmpl	$142, %eax
	jne	LBB0_5
## %bb.4:
	leaq	L_.str.21(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_shader_addline
LBB0_5:
	leaq	L_.str.22(%rip), %rsi
	movq	%r14, %rdi
	movq	%r12, %rdx
	xorl	%eax, %eax
	callq	_shader_addline
	cmpl	$0, 4(%rbx)
	je	LBB0_9
## %bb.6:
	movq	8(%rbx), %rsi
	leaq	-48(%rbp), %rcx
	movq	%rbx, %rdi
	movl	%r15d, %edx
	callq	_shader_glsl_add_src_param
	movl	-48(%rbp), %edx
	leaq	L_.str.23(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_shader_addline
	cmpl	$2, 4(%rbx)
	jb	LBB0_9
## %bb.7:
	movl	$1, %r12d
	movl	$4, %r13d
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rbx), %rsi
	addq	%r13, %rsi
	movq	%rbx, %rdi
	movl	%r15d, %edx
	leaq	-48(%rbp), %rcx
	callq	_shader_glsl_add_src_param
	movl	-48(%rbp), %edx
	movq	%r14, %rdi
	leaq	L_.str.24(%rip), %rsi
	xorl	%eax, %eax
	callq	_shader_addline
	incq	%r12
	movl	4(%rbx), %eax
	addq	$4, %r13
	cmpq	%rax, %r12
	jb	LBB0_8
LBB0_9:
	leaq	L_.str.25(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_shader_addline
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"abs"

L_.str.1:                               ## @.str.1
	.asciz	"bitfieldReverse"

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

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

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

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

L_.str.6:                               ## @.str.6
	.asciz	"ycorrection.y * dFdy"

L_.str.7:                               ## @.str.7
	.asciz	"ycorrection.y * dFdyCoarse"

L_.str.8:                               ## @.str.8
	.asciz	"ycorrection.y * dFdyFine"

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

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

L_.str.11:                              ## @.str.11
	.asciz	"fract"

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

L_.str.13:                              ## @.str.13
	.asciz	"min"

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

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

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

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

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

L_.str.19:                              ## @.str.19
	.space	1

L_.str.20:                              ## @.str.20
	.asciz	"Opcode %s not yet handled in GLSL.\n"

L_.str.21:                              ## @.str.21
	.asciz	"31 - "

L_.str.22:                              ## @.str.22
	.asciz	"%s("

L_.str.23:                              ## @.str.23
	.asciz	"%s"

L_.str.24:                              ## @.str.24
	.asciz	", %s"

L_.str.25:                              ## @.str.25
	.asciz	"));\n"

	.no_dead_strip	_shader_glsl_map2gl
	.section	__TEXT,__const
	.p2align	2                               ## @reltable.shader_glsl_map2gl
l_reltable.shader_glsl_map2gl:
	.long	L_.str.13-l_reltable.shader_glsl_map2gl
	.long	L_.str.12-l_reltable.shader_glsl_map2gl
	.long	L_.str.18-l_reltable.shader_glsl_map2gl
	.long	L_.str.17-l_reltable.shader_glsl_map2gl
	.long	L_.str.16-l_reltable.shader_glsl_map2gl
	.long	L_.str.15-l_reltable.shader_glsl_map2gl
	.long	L_.str.14-l_reltable.shader_glsl_map2gl
	.long	L_.str.13-l_reltable.shader_glsl_map2gl
	.long	L_.str.12-l_reltable.shader_glsl_map2gl
	.long	L_.str.13-l_reltable.shader_glsl_map2gl
	.long	L_.str.12-l_reltable.shader_glsl_map2gl
	.long	L_.str.11-l_reltable.shader_glsl_map2gl
	.long	L_.str.9-l_reltable.shader_glsl_map2gl
	.long	L_.str.10-l_reltable.shader_glsl_map2gl
	.long	L_.str.9-l_reltable.shader_glsl_map2gl
	.long	L_.str.8-l_reltable.shader_glsl_map2gl
	.long	L_.str.7-l_reltable.shader_glsl_map2gl
	.long	L_.str.6-l_reltable.shader_glsl_map2gl
	.long	L_.str.5-l_reltable.shader_glsl_map2gl
	.long	L_.str.4-l_reltable.shader_glsl_map2gl
	.long	L_.str.3-l_reltable.shader_glsl_map2gl
	.long	L_.str.2-l_reltable.shader_glsl_map2gl
	.long	L_.str.1-l_reltable.shader_glsl_map2gl
	.long	L_.str-l_reltable.shader_glsl_map2gl

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function shader_glsl_map2gl
_shader_glsl_map2gl:                    ; @shader_glsl_map2gl
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x20, x0
	ldr	x8, [x0, #16]
	ldr	x19, [x8]
	ldr	w0, [x0]
	sub	w8, w0, #128
	cmp	w8, #24
	b.hs	LBB0_2
; %bb.1:
Lloh0:
	adrp	x9, l_switch.table.shader_glsl_map2gl@PAGE
Lloh1:
	add	x9, x9, l_switch.table.shader_glsl_map2gl@PAGEOFF
	ldr	x22, [x9, w8, sxtw #3]
	b	LBB0_3
LBB0_2:
	bl	_debug_d3dshaderinstructionhandler
	mov	x1, x0
Lloh2:
	adrp	x0, l_.str.20@PAGE
Lloh3:
	add	x0, x0, l_.str.20@PAGEOFF
	bl	_ERR
Lloh4:
	adrp	x22, l_.str.19@PAGE
Lloh5:
	add	x22, x22, l_.str.19@PAGEOFF
LBB0_3:
	mov	x0, x19
	mov	x1, x20
	bl	_shader_glsl_append_dst
	mov	x21, x0
	ldr	w8, [x20]
	orr	w8, w8, #0x2
	cmp	w8, #142
	b.ne	LBB0_5
; %bb.4:
Lloh6:
	adrp	x1, l_.str.21@PAGE
Lloh7:
	add	x1, x1, l_.str.21@PAGEOFF
	mov	x0, x19
	bl	_shader_addline
LBB0_5:
	str	x22, [sp]
Lloh8:
	adrp	x1, l_.str.22@PAGE
Lloh9:
	add	x1, x1, l_.str.22@PAGEOFF
	mov	x0, x19
	bl	_shader_addline
	ldr	w8, [x20, #4]
	cbz	w8, LBB0_9
; %bb.6:
	ldr	x1, [x20, #8]
	add	x3, sp, #8
	mov	x0, x20
	mov	x2, x21
	bl	_shader_glsl_add_src_param
	ldr	w8, [sp, #8]
	str	x8, [sp]
Lloh10:
	adrp	x1, l_.str.23@PAGE
Lloh11:
	add	x1, x1, l_.str.23@PAGEOFF
	mov	x0, x19
	bl	_shader_addline
	ldr	w8, [x20, #4]
	cmp	w8, #2
	b.lo	LBB0_9
; %bb.7:
	mov	w23, #1
	mov	w24, #4
Lloh12:
	adrp	x22, l_.str.24@PAGE
Lloh13:
	add	x22, x22, l_.str.24@PAGEOFF
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #8]
	add	x1, x8, x24
	add	x3, sp, #8
	mov	x0, x20
	mov	x2, x21
	bl	_shader_glsl_add_src_param
	ldr	w8, [sp, #8]
	str	x8, [sp]
	mov	x0, x19
	mov	x1, x22
	bl	_shader_addline
	add	x23, x23, #1
	ldr	w8, [x20, #4]
	add	x24, x24, #4
	cmp	x23, x8
	b.lo	LBB0_8
LBB0_9:
Lloh14:
	adrp	x1, l_.str.25@PAGE
Lloh15:
	add	x1, x1, l_.str.25@PAGEOFF
	mov	x0, x19
	bl	_shader_addline
	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
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"abs"

l_.str.1:                               ; @.str.1
	.asciz	"bitfieldReverse"

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

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

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

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

l_.str.6:                               ; @.str.6
	.asciz	"ycorrection.y * dFdy"

l_.str.7:                               ; @.str.7
	.asciz	"ycorrection.y * dFdyCoarse"

l_.str.8:                               ; @.str.8
	.asciz	"ycorrection.y * dFdyFine"

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

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

l_.str.11:                              ; @.str.11
	.asciz	"fract"

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

l_.str.13:                              ; @.str.13
	.asciz	"min"

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

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

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

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

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

l_.str.19:                              ; @.str.19
	.space	1

l_.str.20:                              ; @.str.20
	.asciz	"Opcode %s not yet handled in GLSL.\n"

l_.str.21:                              ; @.str.21
	.asciz	"31 - "

l_.str.22:                              ; @.str.22
	.asciz	"%s("

l_.str.23:                              ; @.str.23
	.asciz	"%s"

l_.str.24:                              ; @.str.24
	.asciz	", %s"

l_.str.25:                              ; @.str.25
	.asciz	"));\n"

	.no_dead_strip	_shader_glsl_map2gl
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.shader_glsl_map2gl
l_switch.table.shader_glsl_map2gl:
	.quad	l_.str.13
	.quad	l_.str.12
	.quad	l_.str.18
	.quad	l_.str.17
	.quad	l_.str.16
	.quad	l_.str.15
	.quad	l_.str.14
	.quad	l_.str.13
	.quad	l_.str.12
	.quad	l_.str.13
	.quad	l_.str.12
	.quad	l_.str.11
	.quad	l_.str.9
	.quad	l_.str.10
	.quad	l_.str.9
	.quad	l_.str.8
	.quad	l_.str.7
	.quad	l_.str.6
	.quad	l_.str.5
	.quad	l_.str.4
	.quad	l_.str.3
	.quad	l_.str.2
	.quad	l_.str.1
	.quad	l_.str

.subsections_via_symbols
