	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function shader_glsl_compare
_shader_glsl_compare:                   ## @shader_glsl_compare
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	8(%rdi), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_shader_glsl_append_dst
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_shader_glsl_get_write_mask_size
	movl	%eax, %r14d
	movq	16(%r15), %rsi
	leaq	-40(%rbp), %rcx
	movq	%r15, %rdi
	movl	%ebx, %edx
	callq	_shader_glsl_add_src_param
	movq	16(%r15), %rsi
	addq	$4, %rsi
	leaq	-32(%rbp), %rcx
	movq	%r15, %rdi
	movl	%ebx, %edx
	callq	_shader_glsl_add_src_param
	movl	(%r15), %edi
	cmpl	$2, %r14d
	jb	LBB0_7
## %bb.1:
	cmpl	$128, %edi
	je	LBB0_2
## %bb.3:
	cmpl	$129, %edi
	jne	LBB0_5
## %bb.4:
	leaq	L_.str.1(%rip), %rcx
	jmp	LBB0_6
LBB0_7:
	cmpl	$129, %edi
	je	LBB0_11
## %bb.8:
	cmpl	$128, %edi
	jne	LBB0_12
## %bb.9:
	movq	8(%r15), %rax
	movl	(%rax), %edi
	movl	-40(%rbp), %edx
	movslq	-32(%rbp), %rcx
	leaq	L_.str.5(%rip), %rsi
	jmp	LBB0_10
LBB0_2:
	leaq	L_.str(%rip), %rcx
	jmp	LBB0_6
LBB0_5:
	callq	_debug_d3dshaderinstructionhandler
	leaq	L_.str.3(%rip), %rdi
	movl	%eax, %esi
	callq	_FIXME
	leaq	L_.str.2(%rip), %rcx
LBB0_6:
	movq	8(%r15), %rax
	movl	(%rax), %edi
	movl	-40(%rbp), %r8d
	movl	-32(%rbp), %r9d
	leaq	L_.str.4(%rip), %rsi
	movl	%r14d, %edx
	xorl	%eax, %eax
	callq	_shader_addline
	jmp	LBB0_13
LBB0_11:
	movq	8(%r15), %rax
	movl	(%rax), %edi
	movl	-32(%rbp), %edx
	movslq	-40(%rbp), %rcx
	leaq	L_.str.6(%rip), %rsi
LBB0_10:
	xorl	%eax, %eax
	callq	_shader_addline
	jmp	LBB0_13
LBB0_12:
	callq	_debug_d3dshaderinstructionhandler
	leaq	L_.str.3(%rip), %rdi
	movl	%eax, %esi
	callq	_FIXME
LBB0_13:
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"lessThan"

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

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

L_.str.3:                               ## @.str.3
	.asciz	"Can't handle opcode %s.\n"

L_.str.4:                               ## @.str.4
	.asciz	"vec%d(%s(%s, %s)));\n"

L_.str.5:                               ## @.str.5
	.asciz	"(%s < %s) ? 1.0 : 0.0);\n"

L_.str.6:                               ## @.str.6
	.asciz	"step(%s, %s));\n"

	.no_dead_strip	_shader_glsl_compare
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function shader_glsl_compare
_shader_glsl_compare:                   ; @shader_glsl_compare
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x19, x0
	ldr	x8, [x0, #8]
	ldr	w0, [x8]
	mov	x1, x19
	bl	_shader_glsl_append_dst
	mov	x21, x0
	bl	_shader_glsl_get_write_mask_size
	mov	x20, x0
	ldr	x1, [x19, #16]
	add	x3, sp, #24
	mov	x0, x19
	mov	x2, x21
	bl	_shader_glsl_add_src_param
	ldr	x8, [x19, #16]
	add	x1, x8, #4
	add	x3, sp, #16
	mov	x0, x19
	mov	x2, x21
	bl	_shader_glsl_add_src_param
	ldr	w0, [x19]
	cmp	w20, #2
	b.lo	LBB0_4
; %bb.1:
	cmp	w0, #128
	b.eq	LBB0_7
; %bb.2:
	cmp	w0, #129
	b.ne	LBB0_8
; %bb.3:
Lloh0:
	adrp	x3, l_.str.1@PAGE
Lloh1:
	add	x3, x3, l_.str.1@PAGEOFF
	b	LBB0_9
LBB0_4:
	cmp	w0, #129
	b.eq	LBB0_10
; %bb.5:
	cmp	w0, #128
	b.ne	LBB0_11
; %bb.6:
	ldr	x8, [x19, #8]
	ldr	w0, [x8]
	ldr	w2, [sp, #24]
	ldrsw	x3, [sp, #16]
Lloh2:
	adrp	x1, l_.str.5@PAGE
Lloh3:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_shader_addline
	b	LBB0_12
LBB0_7:
Lloh4:
	adrp	x3, l_.str@PAGE
Lloh5:
	add	x3, x3, l_.str@PAGEOFF
	b	LBB0_9
LBB0_8:
	bl	_debug_d3dshaderinstructionhandler
	mov	x1, x0
Lloh6:
	adrp	x0, l_.str.3@PAGE
Lloh7:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_FIXME
Lloh8:
	adrp	x3, l_.str.2@PAGE
Lloh9:
	add	x3, x3, l_.str.2@PAGEOFF
LBB0_9:
	ldr	x8, [x19, #8]
	ldr	w0, [x8]
	ldr	w8, [sp, #24]
	ldr	w9, [sp, #16]
	stp	x8, x9, [sp]
Lloh10:
	adrp	x1, l_.str.4@PAGE
Lloh11:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x2, x20
	bl	_shader_addline
	b	LBB0_12
LBB0_10:
	ldr	x8, [x19, #8]
	ldr	w0, [x8]
	ldr	w2, [sp, #16]
	ldrsw	x3, [sp, #24]
Lloh12:
	adrp	x1, l_.str.6@PAGE
Lloh13:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_shader_addline
	b	LBB0_12
LBB0_11:
	bl	_debug_d3dshaderinstructionhandler
	mov	x1, x0
Lloh14:
	adrp	x0, l_.str.3@PAGE
Lloh15:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_FIXME
LBB0_12:
	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
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.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	"lessThan"

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

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

l_.str.3:                               ; @.str.3
	.asciz	"Can't handle opcode %s.\n"

l_.str.4:                               ; @.str.4
	.asciz	"vec%d(%s(%s, %s)));\n"

l_.str.5:                               ; @.str.5
	.asciz	"(%s < %s) ? 1.0 : 0.0);\n"

l_.str.6:                               ; @.str.6
	.asciz	"step(%s, %s));\n"

	.no_dead_strip	_shader_glsl_compare
.subsections_via_symbols
