	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function enable_fbc
_enable_fbc:                            ## @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	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	$0, -32(%rbp)
	leaq	-32(%rbp), %rdx
	callq	_should_enable_fbc
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	$0, -36(%rbp)
	movq	$0, -44(%rbp)
	movq	8(%r14), %rbx
	movq	(%r15), %rax
	movq	-32(%rbp), %rcx
	shlq	$4, %rcx
	movq	8(%rax,%rcx), %rdx
	movl	4(%rdx), %esi
	movl	%esi, -48(%rbp)
	movl	(%rdx), %edx
	movl	%edx, -52(%rbp)
	movq	(%rax,%rcx), %rax
	movl	(%rax), %eax
	movl	%eax, -56(%rbp)
	movq	(%r14), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	movq	(%rbx), %rax
	leaq	-56(%rbp), %r14
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	*16(%rax)
	movq	(%rbx), %rax
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	*8(%rax)
	movq	(%rbx), %rax
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	*(%rax)
LBB0_2:
	addq	$40, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_enable_fbc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function enable_fbc
_enable_fbc:                            ; @enable_fbc
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
	str	xzr, [sp, #24]
	add	x2, sp, #24
	bl	_should_enable_fbc
	cbz	x0, LBB0_2
; %bb.1:
	str	wzr, [sp, #20]
	stur	xzr, [sp, #12]
	ldr	x8, [x20]
	ldr	x9, [sp, #24]
	add	x8, x8, x9, lsl #4
	ldr	x9, [x8, #8]
	ldr	d0, [x9]
	stur	d0, [sp, #4]
	ldr	x8, [x8]
	ldr	w8, [x8]
	str	w8, [sp]
	ldp	x8, x20, [x19]
	ldr	w8, [x8]
	str	w8, [x20, #8]
	ldr	x8, [x20]
	ldr	x8, [x8, #16]
	mov	x1, sp
	mov	x0, x20
	blr	x8
	ldr	x8, [x20]
	ldr	x8, [x8, #8]
	mov	x0, x20
	mov	w1, #1
	blr	x8
	ldr	x8, [x20]
	ldr	x8, [x8]
	mov	x1, sp
	mov	x0, x20
	blr	x8
LBB0_2:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_enable_fbc
.subsections_via_symbols
