	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_MakeAreaPortalBrush            ## -- Begin function MakeAreaPortalBrush
	.p2align	4, 0x90
_MakeAreaPortalBrush:                   ## @MakeAreaPortalBrush
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_CONTENTS_AREAPORTAL@GOTPCREL(%rip), %r8
	movq	(%r8), %rcx
	movq	%rcx, 16(%rdi)
	movl	(%rdi), %eax
	testl	%eax, %eax
	jle	LBB0_4
## %bb.1:
	movq	8(%rdi), %rdx
	leaq	(%rax,%rax,2), %rax
	leaq	-24(,%rax,8), %rsi
	xorl	%edi, %edi
	movq	_SURF_HINT@GOTPCREL(%rip), %r9
	movq	_SURF_SKIP@GOTPCREL(%rip), %r10
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r10), %eax
	orl	(%r9), %eax
	notl	%eax
	andl	%eax, (%rdx,%rdi)
	movq	$0, 16(%rdx,%rdi)
	movq	%rcx, 8(%rdx,%rdi)
	cmpq	%rdi, %rsi
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r8), %rcx
	addq	$24, %rdi
	jmp	LBB0_2
LBB0_4:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CONTENTS_AREAPORTAL,8,3        ## @CONTENTS_AREAPORTAL
	.comm	_SURF_HINT,4,2                  ## @SURF_HINT
	.comm	_SURF_SKIP,4,2                  ## @SURF_SKIP
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_MakeAreaPortalBrush            ; -- Begin function MakeAreaPortalBrush
	.p2align	2
_MakeAreaPortalBrush:                   ; @MakeAreaPortalBrush
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _CONTENTS_AREAPORTAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CONTENTS_AREAPORTAL@GOTPAGEOFF]
	ldr	x12, [x8]
	str	x12, [x0, #16]
	ldr	w11, [x0]
	cmp	w11, #1
	b.lt	LBB0_4
; %bb.1:
Lloh2:
	adrp	x9, _SURF_HINT@GOTPAGE
Lloh3:
	ldr	x9, [x9, _SURF_HINT@GOTPAGEOFF]
	ldr	x13, [x0, #8]
	ldr	w14, [x9]
Lloh4:
	adrp	x10, _SURF_SKIP@GOTPAGE
Lloh5:
	ldr	x10, [x10, _SURF_SKIP@GOTPAGEOFF]
	ldr	w15, [x10]
	orr	w14, w15, w14
	ldr	w15, [x13]
	bic	w14, w15, w14
	str	w14, [x13]
	stp	x12, xzr, [x13, #8]
	cmp	w11, #1
	b.eq	LBB0_4
; %bb.2:
	sub	x11, x11, #1
	add	x12, x13, #24
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x13, [x8]
	ldr	w14, [x9]
	ldr	w15, [x10]
	orr	w14, w15, w14
	ldr	w15, [x12]
	bic	w14, w15, w14
	str	w14, [x12]
	stp	x13, xzr, [x12, #8]
	add	x12, x12, #24
	subs	x11, x11, #1
	b.ne	LBB0_3
LBB0_4:
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_CONTENTS_AREAPORTAL,8,3        ; @CONTENTS_AREAPORTAL
	.comm	_SURF_HINT,4,2                  ; @SURF_HINT
	.comm	_SURF_SKIP,4,2                  ; @SURF_SKIP
.subsections_via_symbols
