	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Q1_TextureContents             ## -- Begin function Q1_TextureContents
	.p2align	4, 0x90
_Q1_TextureContents:                    ## @Q1_TextureContents
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rsi
	callq	_Q_strcasecmp
	movq	_CONTENTS_SOLID@GOTPCREL(%rip), %r14
	testl	%eax, %eax
	je	LBB0_8
## %bb.1:
	cmpb	$42, (%rbx)
	jne	LBB0_7
## %bb.2:
	incq	%rbx
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	movl	$4, %edx
	callq	_Q_strncasecmp
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	movl	$5, %edx
	callq	_Q_strncasecmp
	testl	%eax, %eax
	jne	LBB0_5
## %bb.6:
	movq	_CONTENTS_SLIME@GOTPCREL(%rip), %r14
	jmp	LBB0_8
LBB0_7:
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	movl	$3, %edx
	callq	_Q_strncasecmp
	jmp	LBB0_8
LBB0_3:
	movq	_CONTENTS_LAVA@GOTPCREL(%rip), %r14
	jmp	LBB0_8
LBB0_5:
	movq	_CONTENTS_WATER@GOTPCREL(%rip), %r14
LBB0_8:
	movl	(%r14), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"clip"

	.comm	_CONTENTS_SOLID,4,2             ## @CONTENTS_SOLID
L_.str.1:                               ## @.str.1
	.asciz	"lava"

	.comm	_CONTENTS_LAVA,4,2              ## @CONTENTS_LAVA
L_.str.2:                               ## @.str.2
	.asciz	"slime"

	.comm	_CONTENTS_SLIME,4,2             ## @CONTENTS_SLIME
	.comm	_CONTENTS_WATER,4,2             ## @CONTENTS_WATER
L_.str.3:                               ## @.str.3
	.asciz	"sky"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Q1_TextureContents             ; -- Begin function Q1_TextureContents
	.p2align	2
_Q1_TextureContents:                    ; @Q1_TextureContents
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_Q_strcasecmp
	cbz	w0, LBB0_5
; %bb.1:
	ldrb	w8, [x19]
	cmp	w8, #42
	b.ne	LBB0_4
; %bb.2:
	add	x19, x19, #1
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	w2, #4
	bl	_Q_strncasecmp
	cbz	w0, LBB0_7
; %bb.3:
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	w2, #5
	bl	_Q_strncasecmp
Lloh6:
	adrp	x8, _CONTENTS_WATER@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CONTENTS_WATER@GOTPAGEOFF]
Lloh8:
	adrp	x9, _CONTENTS_SLIME@GOTPAGE
Lloh9:
	ldr	x9, [x9, _CONTENTS_SLIME@GOTPAGEOFF]
	cmp	w0, #0
	csel	x8, x9, x8, eq
	b	LBB0_6
LBB0_4:
Lloh10:
	adrp	x1, l_.str.3@PAGE
Lloh11:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	mov	w2, #3
	bl	_Q_strncasecmp
LBB0_5:
Lloh12:
	adrp	x8, _CONTENTS_SOLID@GOTPAGE
Lloh13:
	ldr	x8, [x8, _CONTENTS_SOLID@GOTPAGEOFF]
LBB0_6:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_7:
Lloh14:
	adrp	x8, _CONTENTS_LAVA@GOTPAGE
Lloh15:
	ldr	x8, [x8, _CONTENTS_LAVA@GOTPAGEOFF]
	b	LBB0_6
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"clip"

	.comm	_CONTENTS_SOLID,4,2             ; @CONTENTS_SOLID
l_.str.1:                               ; @.str.1
	.asciz	"lava"

	.comm	_CONTENTS_LAVA,4,2              ; @CONTENTS_LAVA
l_.str.2:                               ; @.str.2
	.asciz	"slime"

	.comm	_CONTENTS_SLIME,4,2             ; @CONTENTS_SLIME
	.comm	_CONTENTS_WATER,4,2             ; @CONTENTS_WATER
l_.str.3:                               ; @.str.3
	.asciz	"sky"

.subsections_via_symbols
