	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function acpi_read_fast
_acpi_read_fast:                        ## @acpi_read_fast
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
                                        ## kill: def $edx killed $edx def $rdx
	movl	%esi, %r14d
	leal	(%r14,%rdx), %ebx
	addl	$4095, %ebx                     ## imm = 0xFFF
	andl	$-4096, %ebx                    ## imm = 0xF000
	movq	%rcx, %rdi
	movl	%ebx, %esi
	callq	_nvbios_extend
	testq	%rax, %rax
	js	LBB0_2
## %bb.1:
	andl	$-4096, %r14d                   ## imm = 0xF000
	subl	%r14d, %ebx
	movl	(%r15), %edi
	movl	%r14d, %esi
	movl	%ebx, %edx
	callq	_nouveau_acpi_get_bios_chunk
	cmpl	%ebx, %eax
	je	LBB0_3
LBB0_2:
	xorl	%ebx, %ebx
LBB0_3:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_acpi_read_fast
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function acpi_read_fast
_acpi_read_fast:                        ; @acpi_read_fast
	.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, x3
	mov	x20, x1
	add	w8, w1, w2
	add	w8, w8, #4095
	and	w21, w8, #0xfffff000
	mov	x0, x3
	mov	x1, x21
	bl	_nvbios_extend
	tbnz	x0, #63, LBB0_2
; %bb.1:
	and	w1, w20, #0xfffff000
	sub	w20, w21, w1
	ldr	w0, [x19]
	mov	x2, x20
	bl	_nouveau_acpi_get_bios_chunk
	cmp	w0, w20
	b.eq	LBB0_3
LBB0_2:
	mov	w20, #0
LBB0_3:
	mov	x0, x20
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_acpi_read_fast
.subsections_via_symbols
