	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_IsBackBufferFormat             ## -- Begin function IsBackBufferFormat
	.p2align	4, 0x90
_IsBackBufferFormat:                    ## @IsBackBufferFormat
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_D3DFMT_A8R8G8B8@GOTPCREL(%rip), %rax
	cmpq	%rdi, (%rax)
	jg	LBB0_2
## %bb.1:
	movq	_D3DFMT_A1R5G5B5@GOTPCREL(%rip), %rcx
	movl	$1, %eax
	cmpq	%rdi, (%rcx)
	jle	LBB0_2
## %bb.3:
	popq	%rbp
	retq
LBB0_2:
	callq	_IsExtendedFormat
	movq	%rax, %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	setne	%al
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_D3DFMT_A8R8G8B8,8,3            ## @D3DFMT_A8R8G8B8
	.comm	_D3DFMT_A1R5G5B5,8,3            ## @D3DFMT_A1R5G5B5
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_IsBackBufferFormat             ; -- Begin function IsBackBufferFormat
	.p2align	2
_IsBackBufferFormat:                    ; @IsBackBufferFormat
	.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, _D3DFMT_A8R8G8B8@GOTPAGE
Lloh1:
	ldr	x8, [x8, _D3DFMT_A8R8G8B8@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _D3DFMT_A1R5G5B5@GOTPAGE
Lloh4:
	ldr	x9, [x9, _D3DFMT_A1R5G5B5@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x0
	ccmp	x9, x0, #4, le
	b.gt	LBB0_2
; %bb.1:
	bl	_IsExtendedFormat
	cmp	x0, #0
	cset	w0, ne
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_2:
	mov	w0, #1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_D3DFMT_A8R8G8B8,8,3            ; @D3DFMT_A8R8G8B8
	.comm	_D3DFMT_A1R5G5B5,8,3            ; @D3DFMT_A1R5G5B5
.subsections_via_symbols
