	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function should_enable_fbc
_should_enable_fbc:                     ## @should_enable_fbc
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movl	(%rax), %r12d
	movl	16(%rdi), %edi
	callq	_ASSERT
	movq	8(%rbx), %rcx
	xorl	%eax, %eax
	cmpl	$0, (%rcx)
	je	LBB0_16
## %bb.1:
	cmpl	$1, (%r15)
	jne	LBB0_16
## %bb.2:
	movq	(%rbx), %rsi
	movq	8(%rsi), %rdi
	xorl	%eax, %eax
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.4:
	movq	8(%r15), %rcx
	xorl	%edx, %edx
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_5 Depth=1
	incq	%rdx
	addq	$24, %rcx
	cmpq	%rdx, %rdi
	je	LBB0_15
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	$0, 16(%rcx)
	je	LBB0_14
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpl	%r12d, (%rcx)
	je	LBB0_14
## %bb.7:
	movq	%rdx, (%r14)
	movq	8(%rsi), %rsi
	cmpq	%rsi, %rdx
	jne	LBB0_9
	jmp	LBB0_16
LBB0_15:
	xorl	%eax, %eax
	jmp	LBB0_16
LBB0_3:
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	cmpq	%rsi, %rdx
	je	LBB0_16
LBB0_9:
	movq	16(%rcx), %rdx
	movq	(%rdx), %rdx
	testq	%rdx, %rdx
	je	LBB0_16
## %bb.10:
	movq	(%rdx), %rsi
	movq	_SIGNAL_TYPE_EDP@GOTPCREL(%rip), %rdi
	cmpq	(%rdi), %rsi
	jne	LBB0_16
## %bb.11:
	cmpq	$0, 8(%rdx)
	jne	LBB0_16
## %bb.12:
	movq	8(%rcx), %rcx
	testq	%rcx, %rcx
	je	LBB0_16
## %bb.13:
	movq	(%rcx), %rcx
	movq	_DC_ARRAY_LINEAR_GENERAL@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	cmpq	(%rdx), %rcx
	setne	%al
LBB0_16:
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SIGNAL_TYPE_EDP,8,3            ## @SIGNAL_TYPE_EDP
	.comm	_DC_ARRAY_LINEAR_GENERAL,8,3    ## @DC_ARRAY_LINEAR_GENERAL
	.no_dead_strip	_should_enable_fbc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function should_enable_fbc
_should_enable_fbc:                     ; @should_enable_fbc
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	ldr	x8, [x0]
	ldr	w22, [x8]
	ldr	w0, [x0, #16]
	bl	_ASSERT
	ldr	x8, [x21, #8]
	ldr	w8, [x8]
	cbz	w8, LBB0_12
; %bb.1:
	ldr	w8, [x20]
	cmp	w8, #1
	b.ne	LBB0_12
; %bb.2:
	ldr	x10, [x21]
	ldr	x11, [x10, #8]
	cbz	x11, LBB0_8
; %bb.3:
	mov	x9, #0
	ldr	x8, [x20, #8]
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x9, x9, #1
	add	x8, x8, #24
	cmp	x11, x9
	b.eq	LBB0_12
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x12, [x8, #16]
	cbz	x12, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w12, [x8]
	cmp	w12, w22
	b.eq	LBB0_4
; %bb.7:
	str	x9, [x19]
	ldr	x10, [x10, #8]
	cmp	x9, x10
	b.eq	LBB0_12
	b	LBB0_9
LBB0_8:
	mov	x10, #0
	mov	x9, #0
	mov	x8, #0
	cmp	x9, x10
	b.eq	LBB0_12
LBB0_9:
	ldr	x9, [x8, #16]
	ldr	x9, [x9]
	cbz	x9, LBB0_12
; %bb.10:
	ldr	x10, [x9]
Lloh0:
	adrp	x11, _SIGNAL_TYPE_EDP@GOTPAGE
Lloh1:
	ldr	x11, [x11, _SIGNAL_TYPE_EDP@GOTPAGEOFF]
Lloh2:
	ldr	x11, [x11]
	cmp	x10, x11
	b.ne	LBB0_12
; %bb.11:
	ldr	x9, [x9, #8]
	cbz	x9, LBB0_14
LBB0_12:
	mov	w0, #0
LBB0_13:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_14:
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_12
; %bb.15:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _DC_ARRAY_LINEAR_GENERAL@GOTPAGE
Lloh4:
	ldr	x9, [x9, _DC_ARRAY_LINEAR_GENERAL@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, ne
	b	LBB0_13
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_SIGNAL_TYPE_EDP,8,3            ; @SIGNAL_TYPE_EDP
	.comm	_DC_ARRAY_LINEAR_GENERAL,8,3    ; @DC_ARRAY_LINEAR_GENERAL
	.no_dead_strip	_should_enable_fbc
.subsections_via_symbols
