	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Sin_BrushContents              ## -- Begin function Sin_BrushContents
	.p2align	4, 0x90
_Sin_BrushContents:                     ## @Sin_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	16(%rdi), %rax
	movl	(%rax), %r14d
	movq	_texinfo@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r8
	movq	8(%rax), %rdx
	movl	(%r8,%rdx,4), %ebx
	movl	(%rdi), %edx
	cmpl	$2, %edx
	jl	LBB0_5
## %bb.1:
	shlq	$4, %rdx
	addq	$-16, %rdx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	24(%rax,%rsi), %rcx
	orl	(%r8,%rcx,4), %ebx
	cmpl	%r14d, 16(%rax,%rsi)
	jne	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_3 Depth=1
	addq	$16, %rsi
	cmpq	%rsi, %rdx
	jne	LBB0_3
	jmp	LBB0_5
LBB0_4:
	movl	4(%rdi), %esi
	movl	8(%rdi), %edx
	leaq	L_.str(%rip), %rdi
	callq	_printf
LBB0_5:
	movq	_SURF_TRANS33@GOTPCREL(%rip), %rax
	movq	_SURF_TRANS66@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	testl	%ebx, %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
	popq	%rbx
	popq	%r14
	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"

	.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
	.comm	_CONTENTS_DETAIL,4,2            ## @CONTENTS_DETAIL
	.comm	_CONTENTS_DUMMYFENCE,4,2        ## @CONTENTS_DUMMYFENCE
	.comm	_CONTENTS_FENCE,4,2             ## @CONTENTS_FENCE
	.comm	_sin_texinfo,8,3                ## @sin_texinfo
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Sin_BrushContents              ; -- Begin function Sin_BrushContents
	.p2align	2
_Sin_BrushContents:                     ; @Sin_BrushContents
	.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
	ldr	x9, [x0, #16]
	ldr	w19, [x9]
Lloh0:
	adrp	x8, _texinfo@GOTPAGE
Lloh1:
	ldr	x8, [x8, _texinfo@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x10, [x9, #8]
	ldr	w20, [x8, x10, lsl #2]
	ldr	w10, [x0]
	cmp	w10, #2
	b.lt	LBB0_5
; %bb.1:
	add	x9, x9, #24
	sub	x10, x10, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x9]
	ldr	w11, [x8, x11, lsl #2]
	orr	w20, w11, w20
	ldur	w11, [x9, #-8]
	cmp	w11, w19
	b.ne	LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x9, x9, #16
	subs	x10, x10, #1
	b.ne	LBB0_2
	b	LBB0_5
LBB0_4:
	ldp	w1, w2, [x0, #4]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printf
LBB0_5:
Lloh5:
	adrp	x8, _SURF_TRANS33@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SURF_TRANS33@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	adrp	x9, _SURF_TRANS66@GOTPAGE
Lloh9:
	ldr	x9, [x9, _SURF_TRANS66@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	orr	w8, w9, w8
	tst	w8, w20
	b.eq	LBB0_8
; %bb.6:
Lloh11:
	adrp	x8, _CONTENTS_Q2TRANSLUCENT@GOTPAGE
Lloh12:
	ldr	x8, [x8, _CONTENTS_Q2TRANSLUCENT@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	orr	w19, w8, w19
Lloh14:
	adrp	x8, _CONTENTS_SOLID@GOTPAGE
Lloh15:
	ldr	x8, [x8, _CONTENTS_SOLID@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	tst	w19, w8
	b.eq	LBB0_8
; %bb.7:
	bic	w8, w19, w8
Lloh17:
	adrp	x9, _CONTENTS_WINDOW@GOTPAGE
Lloh18:
	ldr	x9, [x9, _CONTENTS_WINDOW@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	orr	w19, w9, w8
LBB0_8:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.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"

	.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
	.comm	_CONTENTS_DETAIL,4,2            ; @CONTENTS_DETAIL
	.comm	_CONTENTS_DUMMYFENCE,4,2        ; @CONTENTS_DUMMYFENCE
	.comm	_CONTENTS_FENCE,4,2             ; @CONTENTS_FENCE
	.comm	_sin_texinfo,8,3                ; @sin_texinfo
.subsections_via_symbols
