	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function shader_glsl_scalar_op
_shader_glsl_scalar_op:                 ## @shader_glsl_scalar_op
	.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	8(%rax), %rax
	movl	(%rax), %edi
	movl	4(%rax), %esi
	callq	_WINED3D_SHADER_VERSION
	movl	%eax, %r14d
	movq	16(%rbx), %rax
	movq	(%rax), %r12
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_shader_glsl_append_dst
	movl	%eax, %r13d
	movl	%eax, %edi
	callq	_shader_glsl_get_write_mask_size
	movl	%eax, %r15d
	movl	$4, %edi
	xorl	%esi, %esi
	callq	_WINED3D_SHADER_VERSION
	cmpl	%eax, %r14d
	jge	LBB0_2
## %bb.1:
	movq	_WINED3DSP_WRITEMASK_3@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
LBB0_2:
	movq	8(%rbx), %rsi
	leaq	-48(%rbp), %rcx
	movq	%rbx, %rdi
	movl	%r13d, %edx
	callq	_shader_glsl_add_src_param
	movl	(%rbx), %esi
	leal	-128(%rsi), %eax
	cmpl	$6, %eax
	jae	LBB0_3
## %bb.4:
	cltq
	leaq	l_reltable.shader_glsl_scalar_op(%rip), %rcx
	movslq	(%rcx,%rax,4), %rbx
	addq	%rcx, %rbx
	leaq	l_reltable.shader_glsl_scalar_op.11(%rip), %rcx
	movslq	(%rcx,%rax,4), %r13
	addq	%rcx, %r13
	cmpl	$2, %r15d
	jae	LBB0_6
	jmp	LBB0_8
LBB0_3:
	leaq	L_.str.7(%rip), %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_FIXME
	leaq	L_.str.5(%rip), %rbx
	movq	%rbx, %r13
	cmpl	$2, %r15d
	jb	LBB0_8
LBB0_6:
	movl	$4, %edi
	xorl	%esi, %esi
	callq	_WINED3D_SHADER_VERSION
	cmpl	%eax, %r14d
	jge	LBB0_8
## %bb.7:
	movl	-48(%rbp), %r8d
	leaq	L_.str.8(%rip), %rsi
	movq	%r12, %rdi
	movl	%r15d, %edx
	movq	%r13, %rcx
	movq	%rbx, %r9
	xorl	%eax, %eax
	callq	_shader_addline
	jmp	LBB0_9
LBB0_8:
	movl	-48(%rbp), %ecx
	leaq	L_.str.9(%rip), %rsi
	movq	%r12, %rdi
	movq	%r13, %rdx
	movq	%rbx, %r8
	xorl	%eax, %eax
	callq	_shader_addline
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WINED3DSP_WRITEMASK_3,4,2      ## @WINED3DSP_WRITEMASK_3
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"exp2("

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

L_.str.2:                               ## @.str.2
	.asciz	"log2(abs("

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

L_.str.4:                               ## @.str.4
	.asciz	"1.0 / "

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

L_.str.6:                               ## @.str.6
	.asciz	"inversesqrt(abs("

L_.str.7:                               ## @.str.7
	.asciz	"Unhandled instruction %#x.\n"

L_.str.8:                               ## @.str.8
	.asciz	"vec%u(%s%s%s));\n"

L_.str.9:                               ## @.str.9
	.asciz	"%s%s%s);\n"

	.no_dead_strip	_shader_glsl_scalar_op
	.section	__TEXT,__const
	.p2align	2                               ## @reltable.shader_glsl_scalar_op
l_reltable.shader_glsl_scalar_op:
	.long	L_.str.3-l_reltable.shader_glsl_scalar_op
	.long	L_.str.5-l_reltable.shader_glsl_scalar_op
	.long	L_.str.3-l_reltable.shader_glsl_scalar_op
	.long	L_.str.3-l_reltable.shader_glsl_scalar_op
	.long	L_.str.1-l_reltable.shader_glsl_scalar_op
	.long	L_.str.1-l_reltable.shader_glsl_scalar_op

	.p2align	2                               ## @reltable.shader_glsl_scalar_op.11
l_reltable.shader_glsl_scalar_op.11:
	.long	L_.str.6-l_reltable.shader_glsl_scalar_op.11
	.long	L_.str.4-l_reltable.shader_glsl_scalar_op.11
	.long	L_.str.2-l_reltable.shader_glsl_scalar_op.11
	.long	L_.str.2-l_reltable.shader_glsl_scalar_op.11
	.long	L_.str-l_reltable.shader_glsl_scalar_op.11
	.long	L_.str-l_reltable.shader_glsl_scalar_op.11

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function shader_glsl_scalar_op
_shader_glsl_scalar_op:                 ; @shader_glsl_scalar_op
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x22, x0
	ldr	x8, [x0, #16]
	ldr	x8, [x8, #8]
	ldp	w0, w1, [x8]
	bl	_WINED3D_SHADER_VERSION
	mov	x20, x0
	ldr	x8, [x22, #16]
	ldr	x19, [x8]
	mov	x0, x19
	mov	x1, x22
	bl	_shader_glsl_append_dst
	mov	x23, x0
	bl	_shader_glsl_get_write_mask_size
	mov	x21, x0
	mov	w0, #4
	mov	w1, #0
	bl	_WINED3D_SHADER_VERSION
Lloh0:
	adrp	x8, _WINED3DSP_WRITEMASK_3@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WINED3DSP_WRITEMASK_3@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w20, w0
	csel	w2, w8, w23, lt
	ldr	x1, [x22, #8]
	add	x3, sp, #40
	mov	x0, x22
	bl	_shader_glsl_add_src_param
	ldr	w1, [x22]
	sub	w8, w1, #128
	cmp	w8, #6
	b.hs	LBB0_2
; %bb.1:
	sbfiz	x8, x8, #3, #32
Lloh3:
	adrp	x9, l_switch.table.shader_glsl_scalar_op@PAGE
Lloh4:
	add	x9, x9, l_switch.table.shader_glsl_scalar_op@PAGEOFF
	ldr	x22, [x9, x8]
Lloh5:
	adrp	x9, l_switch.table.shader_glsl_scalar_op.10@PAGE
Lloh6:
	add	x9, x9, l_switch.table.shader_glsl_scalar_op.10@PAGEOFF
	ldr	x23, [x9, x8]
	cmp	w21, #2
	b.hs	LBB0_3
	b	LBB0_5
LBB0_2:
Lloh7:
	adrp	x0, l_.str.7@PAGE
Lloh8:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_FIXME
Lloh9:
	adrp	x22, l_.str.5@PAGE
Lloh10:
	add	x22, x22, l_.str.5@PAGEOFF
	mov	x23, x22
	cmp	w21, #2
	b.lo	LBB0_5
LBB0_3:
	mov	w0, #4
	mov	w1, #0
	bl	_WINED3D_SHADER_VERSION
	cmp	w20, w0
	b.ge	LBB0_5
; %bb.4:
	ldr	w8, [sp, #40]
	stp	x8, x22, [sp, #16]
	stp	x21, x23, [sp]
Lloh11:
	adrp	x1, l_.str.8@PAGE
Lloh12:
	add	x1, x1, l_.str.8@PAGEOFF
	b	LBB0_6
LBB0_5:
	ldr	w8, [sp, #40]
	stp	x8, x22, [sp, #8]
	str	x23, [sp]
Lloh13:
	adrp	x1, l_.str.9@PAGE
Lloh14:
	add	x1, x1, l_.str.9@PAGEOFF
LBB0_6:
	mov	x0, x19
	bl	_shader_addline
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_WINED3DSP_WRITEMASK_3,4,2      ; @WINED3DSP_WRITEMASK_3
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"exp2("

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

l_.str.2:                               ; @.str.2
	.asciz	"log2(abs("

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

l_.str.4:                               ; @.str.4
	.asciz	"1.0 / "

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

l_.str.6:                               ; @.str.6
	.asciz	"inversesqrt(abs("

l_.str.7:                               ; @.str.7
	.asciz	"Unhandled instruction %#x.\n"

l_.str.8:                               ; @.str.8
	.asciz	"vec%u(%s%s%s));\n"

l_.str.9:                               ; @.str.9
	.asciz	"%s%s%s);\n"

	.no_dead_strip	_shader_glsl_scalar_op
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.shader_glsl_scalar_op
l_switch.table.shader_glsl_scalar_op:
	.quad	l_.str.3
	.quad	l_.str.5
	.quad	l_.str.3
	.quad	l_.str.3
	.quad	l_.str.1
	.quad	l_.str.1

	.p2align	3                               ; @switch.table.shader_glsl_scalar_op.10
l_switch.table.shader_glsl_scalar_op.10:
	.quad	l_.str.6
	.quad	l_.str.4
	.quad	l_.str.2
	.quad	l_.str.2
	.quad	l_.str
	.quad	l_.str

.subsections_via_symbols
