	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Q2_BrushContents               ## -- Begin function Q2_BrushContents
	.p2align	4, 0x90
_Q2_BrushContents:                      ## @Q2_BrushContents
	.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	16(%rdi), %r15
	movl	(%r15), %r14d
	movq	_texinfo@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	movq	8(%r15), %rcx
	movl	(%rax,%rcx,8), %r13d
	movl	(%rdi), %ecx
	cmpl	$2, %ecx
	jl	LBB0_5
## %bb.1:
	shlq	$4, %rcx
	addq	$-16, %rcx
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	24(%r15,%rbx), %rdx
	orl	(%rax,%rdx,8), %r13d
	cmpl	%r14d, 16(%r15,%rbx)
	jne	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_3 Depth=1
	addq	$16, %rbx
	cmpq	%rbx, %rcx
	jne	LBB0_3
	jmp	LBB0_5
LBB0_4:
	movl	4(%rdi), %edx
	movl	8(%rdi), %esi
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_Log_Print
	movq	(%r12), %rax
	movq	24(%r15,%rbx), %rcx
	movl	4(%rax,%rcx,8), %esi
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_Log_Print
LBB0_5:
	movq	_SURF_TRANS33@GOTPCREL(%rip), %rax
	movq	_SURF_TRANS66@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	testl	%r13d, %ecx
	je	LBB0_8
## %bb.6:
	movq	_CONTENTS_Q2TRANSLUCENT@GOTPCREL(%rip), %rax
	orl	(%rax), %r14d
	movq	_CONTENTS_SOLID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %r14d
	je	LBB0_8
## %bb.7:
	notl	%eax
	andl	%eax, %r14d
	movq	_CONTENTS_WINDOW@GOTPCREL(%rip), %rax
	orl	(%rax), %r14d
LBB0_8:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_texinfo,8,3                    ## @texinfo
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Entity %i, Brush %i: mixed face contents\n"

L_.str.1:                               ## @.str.1
	.asciz	"texture name = %s\n"

	.comm	_SURF_TRANS33,4,2               ## @SURF_TRANS33
	.comm	_SURF_TRANS66,4,2               ## @SURF_TRANS66
	.comm	_CONTENTS_Q2TRANSLUCENT,4,2     ## @CONTENTS_Q2TRANSLUCENT
	.comm	_CONTENTS_SOLID,4,2             ## @CONTENTS_SOLID
	.comm	_CONTENTS_WINDOW,4,2            ## @CONTENTS_WINDOW
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Q2_BrushContents               ; -- Begin function Q2_BrushContents
	.p2align	2
_Q2_BrushContents:                      ; @Q2_BrushContents
	.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
	ldr	x9, [x0, #16]
	ldr	w19, [x9]
Lloh0:
	adrp	x21, _texinfo@GOTPAGE
Lloh1:
	ldr	x21, [x21, _texinfo@GOTPAGEOFF]
	ldr	x8, [x21]
	ldr	x10, [x9, #8]
	lsl	x10, x10, #3
	ldr	w20, [x8, x10]
	ldr	w10, [x0]
	cmp	w10, #2
	b.lt	LBB0_5
; %bb.1:
	add	x22, x9, #24
	sub	x9, x10, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x22]
	lsl	x10, x10, #3
	ldr	w10, [x8, x10]
	orr	w20, w10, w20
	ldur	w10, [x22, #-8]
	cmp	w10, w19
	b.ne	LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x22, x22, #16
	subs	x9, x9, #1
	b.ne	LBB0_2
	b	LBB0_5
LBB0_4:
	ldp	w8, w1, [x0, #4]
	str	x8, [sp]
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	bl	_Log_Print
	ldr	x8, [x21]
	ldr	x9, [x22]
	add	x8, x8, x9, lsl #3
	ldr	w1, [x8, #4]
Lloh4:
	adrp	x0, l_.str.1@PAGE
Lloh5:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_Log_Print
LBB0_5:
Lloh6:
	adrp	x8, _SURF_TRANS33@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SURF_TRANS33@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _SURF_TRANS66@GOTPAGE
Lloh10:
	ldr	x9, [x9, _SURF_TRANS66@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w8, w9, w8
	tst	w8, w20
	b.eq	LBB0_8
; %bb.6:
Lloh12:
	adrp	x8, _CONTENTS_Q2TRANSLUCENT@GOTPAGE
Lloh13:
	ldr	x8, [x8, _CONTENTS_Q2TRANSLUCENT@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	orr	w19, w8, w19
Lloh15:
	adrp	x8, _CONTENTS_SOLID@GOTPAGE
Lloh16:
	ldr	x8, [x8, _CONTENTS_SOLID@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	tst	w19, w8
	b.eq	LBB0_8
; %bb.7:
	bic	w8, w19, w8
Lloh18:
	adrp	x9, _CONTENTS_WINDOW@GOTPAGE
Lloh19:
	ldr	x9, [x9, _CONTENTS_WINDOW@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	orr	w19, w9, w8
LBB0_8:
	mov	x0, x19
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_texinfo,8,3                    ; @texinfo
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Entity %i, Brush %i: mixed face contents\n"

l_.str.1:                               ; @.str.1
	.asciz	"texture name = %s\n"

	.comm	_SURF_TRANS33,4,2               ; @SURF_TRANS33
	.comm	_SURF_TRANS66,4,2               ; @SURF_TRANS66
	.comm	_CONTENTS_Q2TRANSLUCENT,4,2     ; @CONTENTS_Q2TRANSLUCENT
	.comm	_CONTENTS_SOLID,4,2             ; @CONTENTS_SOLID
	.comm	_CONTENTS_WINDOW,4,2            ; @CONTENTS_WINDOW
.subsections_via_symbols
