	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function have_framebuffer_attachment
_have_framebuffer_attachment:           ## @have_framebuffer_attachment
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_TRUE@GOTPCREL(%rip), %r9
	testq	%rdx, %rdx
	jne	LBB0_7
## %bb.1:
	movq	_FALSE@GOTPCREL(%rip), %r8
	testl	%edi, %edi
	je	LBB0_6
## %bb.2:
	movq	_WINED3DFMT_NULL@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movl	%edi, %edi
	xorl	%ecx, %ecx
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%rcx
	cmpq	%rcx, %rdi
	je	LBB0_6
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rsi,%rcx,8), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	(%rax), %rax
	cmpq	%rdx, (%rax)
	je	LBB0_5
	jmp	LBB0_7
LBB0_6:
	movq	%r8, %r9
LBB0_7:
	movl	(%r9), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_WINED3DFMT_NULL,8,3            ## @WINED3DFMT_NULL
	.comm	_FALSE,4,2                      ## @FALSE
	.no_dead_strip	_have_framebuffer_attachment
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function have_framebuffer_attachment
_have_framebuffer_attachment:           ; @have_framebuffer_attachment
	.cfi_startproc
; %bb.0:
	cbz	x2, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _TRUE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ret
LBB0_2:
	cbz	w0, LBB0_8
; %bb.3:
Lloh3:
	adrp	x8, _WINED3DFMT_NULL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _WINED3DFMT_NULL@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x8]
	mov	w11, w0
Lloh6:
	adrp	x10, _FALSE@GOTPAGE
Lloh7:
	ldr	x10, [x10, _FALSE@GOTPAGEOFF]
Lloh8:
	adrp	x8, _TRUE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x1, x1, #8
	subs	x11, x11, #1
	b.eq	LBB0_9
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x12, [x1]
	cbz	x12, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x12, [x12]
	ldr	x12, [x12]
	cmp	x12, x9
	b.eq	LBB0_4
; %bb.7:
	ldr	w0, [x8]
	ret
LBB0_8:
Lloh10:
	adrp	x8, _FALSE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	ret
LBB0_9:
	mov	x8, x10
	ldr	w0, [x8]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_WINED3DFMT_NULL,8,3            ; @WINED3DFMT_NULL
	.comm	_FALSE,4,2                      ; @FALSE
	.no_dead_strip	_have_framebuffer_attachment
.subsections_via_symbols
