	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function context_generate_rt_mask_no_fbo
_context_generate_rt_mask_no_fbo:       ## @context_generate_rt_mask_no_fbo
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testq	%rsi, %rsi
	je	LBB0_4
## %bb.1:
	movq	(%rsi), %rax
	movq	(%rax), %rax
	movq	_WINED3DFMT_NULL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
LBB0_4:
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_2:
	cmpq	$0, 8(%rsi)
	je	LBB0_3
## %bb.5:
	movq	%rsi, %rdi
	popq	%rbp
	jmp	_context_generate_rt_mask_from_resource ## TAILCALL
LBB0_3:
	callq	_context_get_offscreen_gl_buffer
	movl	%eax, %edi
	popq	%rbp
	jmp	_context_generate_rt_mask       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_WINED3DFMT_NULL,8,3            ## @WINED3DFMT_NULL
	.no_dead_strip	_context_generate_rt_mask_no_fbo
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function context_generate_rt_mask_no_fbo
_context_generate_rt_mask_no_fbo:       ; @context_generate_rt_mask_no_fbo
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	cbz	x1, LBB0_2
; %bb.1:
	ldr	x8, [x1]
	ldr	x8, [x8]
Lloh0:
	adrp	x9, _WINED3DFMT_NULL@GOTPAGE
Lloh1:
	ldr	x9, [x9, _WINED3DFMT_NULL@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
LBB0_2:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_3:
	ldr	x8, [x1, #8]
	cbz	x8, LBB0_5
; %bb.4:
	mov	x0, x1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_context_generate_rt_mask_from_resource
LBB0_5:
	bl	_context_get_offscreen_gl_buffer
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_context_generate_rt_mask
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_WINED3DFMT_NULL,8,3            ; @WINED3DFMT_NULL
	.no_dead_strip	_context_generate_rt_mask_no_fbo
.subsections_via_symbols
