	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function shader_glsl_generate_conditional_op
_shader_glsl_generate_conditional_op:   ## @shader_glsl_generate_conditional_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	_WINED3D_SHADER_CONDITIONAL_OP_NZ@GOTPCREL(%rip), %rax
	movq	(%rdi), %rcx
	movq	16(%rdi), %rsi
	cmpq	(%rax), %rcx
	leaq	L_.str(%rip), %rax
	leaq	L_.str.1(%rip), %r15
	cmoveq	%rax, %r15
	movq	_WINED3DSP_WRITEMASK_0@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-32(%rbp), %rcx
	callq	_shader_glsl_add_src_param
	movq	8(%rbx), %rax
	movl	(%rax), %edi
	movl	-32(%rbp), %ecx
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdx
	movq	%r14, %r8
	callq	_shader_addline
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WINED3D_SHADER_CONDITIONAL_OP_NZ,8,3 ## @WINED3D_SHADER_CONDITIONAL_OP_NZ
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"bool"

L_.str.1:                               ## @.str.1
	.asciz	"!bool"

	.comm	_WINED3DSP_WRITEMASK_0,4,2      ## @WINED3DSP_WRITEMASK_0
L_.str.2:                               ## @.str.2
	.asciz	"if (%s(%s)) %s\n"

	.no_dead_strip	_shader_glsl_generate_conditional_op
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function shader_glsl_generate_conditional_op
_shader_glsl_generate_conditional_op:   ; @shader_glsl_generate_conditional_op
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _WINED3D_SHADER_CONDITIONAL_OP_NZ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WINED3D_SHADER_CONDITIONAL_OP_NZ@GOTPAGEOFF]
	ldr	x9, [x0]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x10, l_.str.1@PAGE
Lloh4:
	add	x10, x10, l_.str.1@PAGEOFF
Lloh5:
	adrp	x11, l_.str@PAGE
Lloh6:
	add	x11, x11, l_.str@PAGEOFF
	cmp	x9, x8
	csel	x21, x11, x10, eq
	ldr	x1, [x0, #16]
Lloh7:
	adrp	x8, _WINED3DSP_WRITEMASK_0@GOTPAGE
Lloh8:
	ldr	x8, [x8, _WINED3DSP_WRITEMASK_0@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x8]
	add	x3, sp, #8
	bl	_shader_glsl_add_src_param
	ldr	x8, [x20, #8]
	ldr	w0, [x8]
	ldr	w3, [sp, #8]
Lloh10:
	adrp	x1, l_.str.2@PAGE
Lloh11:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x2, x21
	mov	x4, x19
	bl	_shader_addline
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_WINED3D_SHADER_CONDITIONAL_OP_NZ,8,3 ; @WINED3D_SHADER_CONDITIONAL_OP_NZ
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"bool"

l_.str.1:                               ; @.str.1
	.asciz	"!bool"

	.comm	_WINED3DSP_WRITEMASK_0,4,2      ; @WINED3DSP_WRITEMASK_0
l_.str.2:                               ; @.str.2
	.asciz	"if (%s(%s)) %s\n"

	.no_dead_strip	_shader_glsl_generate_conditional_op
.subsections_via_symbols
