	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function d3d9_get_flags
_d3d9_get_flags:                        ## @d3d9_get_flags
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_GFX_CTX_FLAGS_BLACK_FRAME_INSERTION@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edi, %edi
	callq	_BIT32_SET
	movq	_GFX_CTX_FLAGS_MENU_FRAME_FILTERING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edi, %edi
	callq	_BIT32_SET
	movq	_supported_shader_type@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_RARCH_SHADER_CG@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movq	_GFX_CTX_FLAGS_SHADERS_CG@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_2:
	movq	_RARCH_SHADER_HLSL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.3:
	movq	_GFX_CTX_FLAGS_SHADERS_HLSL@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %esi
	xorl	%edi, %edi
	callq	_BIT32_SET
LBB0_5:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFX_CTX_FLAGS_BLACK_FRAME_INSERTION,4,2 ## @GFX_CTX_FLAGS_BLACK_FRAME_INSERTION
	.comm	_GFX_CTX_FLAGS_MENU_FRAME_FILTERING,4,2 ## @GFX_CTX_FLAGS_MENU_FRAME_FILTERING
	.comm	_supported_shader_type,8,3      ## @supported_shader_type
	.comm	_RARCH_SHADER_CG,8,3            ## @RARCH_SHADER_CG
	.comm	_GFX_CTX_FLAGS_SHADERS_CG,4,2   ## @GFX_CTX_FLAGS_SHADERS_CG
	.comm	_RARCH_SHADER_HLSL,8,3          ## @RARCH_SHADER_HLSL
	.comm	_GFX_CTX_FLAGS_SHADERS_HLSL,4,2 ## @GFX_CTX_FLAGS_SHADERS_HLSL
	.no_dead_strip	_d3d9_get_flags
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function d3d9_get_flags
_d3d9_get_flags:                        ; @d3d9_get_flags
	.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
Lloh0:
	adrp	x8, _GFX_CTX_FLAGS_BLACK_FRAME_INSERTION@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFX_CTX_FLAGS_BLACK_FRAME_INSERTION@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #0
	bl	_BIT32_SET
Lloh3:
	adrp	x8, _GFX_CTX_FLAGS_MENU_FRAME_FILTERING@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GFX_CTX_FLAGS_MENU_FRAME_FILTERING@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	w0, #0
	bl	_BIT32_SET
Lloh6:
	adrp	x8, _supported_shader_type@GOTPAGE
Lloh7:
	ldr	x8, [x8, _supported_shader_type@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
Lloh9:
	adrp	x9, _RARCH_SHADER_CG@GOTPAGE
Lloh10:
	ldr	x9, [x9, _RARCH_SHADER_CG@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
Lloh12:
	adrp	x8, _GFX_CTX_FLAGS_SHADERS_CG@GOTPAGE
Lloh13:
	ldr	x8, [x8, _GFX_CTX_FLAGS_SHADERS_CG@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:
Lloh14:
	adrp	x9, _RARCH_SHADER_HLSL@GOTPAGE
Lloh15:
	ldr	x9, [x9, _RARCH_SHADER_HLSL@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.3:
Lloh17:
	adrp	x8, _GFX_CTX_FLAGS_SHADERS_HLSL@GOTPAGE
Lloh18:
	ldr	x8, [x8, _GFX_CTX_FLAGS_SHADERS_HLSL@GOTPAGEOFF]
LBB0_4:
	ldr	w1, [x8]
	mov	w0, #0
	bl	_BIT32_SET
LBB0_5:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_GFX_CTX_FLAGS_BLACK_FRAME_INSERTION,4,2 ; @GFX_CTX_FLAGS_BLACK_FRAME_INSERTION
	.comm	_GFX_CTX_FLAGS_MENU_FRAME_FILTERING,4,2 ; @GFX_CTX_FLAGS_MENU_FRAME_FILTERING
	.comm	_supported_shader_type,8,3      ; @supported_shader_type
	.comm	_RARCH_SHADER_CG,8,3            ; @RARCH_SHADER_CG
	.comm	_GFX_CTX_FLAGS_SHADERS_CG,4,2   ; @GFX_CTX_FLAGS_SHADERS_CG
	.comm	_RARCH_SHADER_HLSL,8,3          ; @RARCH_SHADER_HLSL
	.comm	_GFX_CTX_FLAGS_SHADERS_HLSL,4,2 ; @GFX_CTX_FLAGS_SHADERS_HLSL
	.no_dead_strip	_d3d9_get_flags
.subsections_via_symbols
