	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function shader_glsl_texkill
_shader_glsl_texkill:                   ## @shader_glsl_texkill
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	8(%rax), %rax
	cmpl	$4, (%rax)
	jl	LBB0_1
## %bb.2:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_shader_glsl_generate_conditional_op ## TAILCALL
LBB0_1:
	movq	8(%rbx), %rsi
	leaq	-16(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_shader_glsl_add_dst_param
	movq	(%rbx), %rax
	movq	8(%rax), %rcx
	cmpl	$2, (%rcx)
	movl	(%rax), %edi
	movl	-16(%rbp), %edx
	leaq	L_.str.1(%rip), %rax
	leaq	L_.str.2(%rip), %rsi
	cmovgeq	%rax, %rsi
	callq	_shader_addline
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"discard;"

L_.str.1:                               ## @.str.1
	.asciz	"if (any(lessThan(%s.xyzw, vec4(0.0)))) discard;\n"

L_.str.2:                               ## @.str.2
	.asciz	"if (any(lessThan(%s.xyz, vec3(0.0)))) discard;\n"

	.no_dead_strip	_shader_glsl_texkill
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function shader_glsl_texkill
_shader_glsl_texkill:                   ; @shader_glsl_texkill
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
	ldr	x8, [x0]
	ldr	x8, [x8, #8]
	ldr	w8, [x8]
	cmp	w8, #4
	b.lt	LBB0_2
; %bb.1:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_shader_glsl_generate_conditional_op
LBB0_2:
	ldr	x1, [x19, #8]
	add	x2, sp, #8
	mov	x0, x19
	bl	_shader_glsl_add_dst_param
	ldr	x8, [x19]
	ldr	x9, [x8, #8]
	ldr	w9, [x9]
	ldr	w0, [x8]
	ldr	w2, [sp, #8]
Lloh2:
	adrp	x8, l_.str.2@PAGE
Lloh3:
	add	x8, x8, l_.str.2@PAGEOFF
Lloh4:
	adrp	x10, l_.str.1@PAGE
Lloh5:
	add	x10, x10, l_.str.1@PAGEOFF
	cmp	w9, #1
	csel	x1, x10, x8, gt
	bl	_shader_addline
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"discard;"

l_.str.1:                               ; @.str.1
	.asciz	"if (any(lessThan(%s.xyzw, vec4(0.0)))) discard;\n"

l_.str.2:                               ; @.str.2
	.asciz	"if (any(lessThan(%s.xyz, vec3(0.0)))) discard;\n"

	.no_dead_strip	_shader_glsl_texkill
.subsections_via_symbols
