	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nouveau_acpi_rom_supported     ## -- Begin function nouveau_acpi_rom_supported
	.p2align	4, 0x90
_nouveau_acpi_rom_supported:            ## @nouveau_acpi_rom_supported
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	callq	_ACPI_HANDLE
	xorl	%ebx, %ebx
	testl	%eax, %eax
	je	LBB0_3
## %bb.1:
	leaq	L_.str(%rip), %rsi
	leaq	-12(%rbp), %rdx
	movl	%eax, %edi
	callq	_acpi_get_handle
	movl	%eax, %edi
	callq	_ACPI_FAILURE
	testq	%rax, %rax
	jne	LBB0_3
## %bb.2:
	movl	-12(%rbp), %eax
	movq	_nouveau_dsm_priv@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movl	$1, %ebx
LBB0_3:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"_ROM"

	.comm	_nouveau_dsm_priv,4,2           ## @nouveau_dsm_priv
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nouveau_acpi_rom_supported     ; -- Begin function nouveau_acpi_rom_supported
	.p2align	2
_nouveau_acpi_rom_supported:            ; @nouveau_acpi_rom_supported
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	bl	_ACPI_HANDLE
	cbz	w0, LBB0_4
; %bb.1:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	sub	x2, x29, #4
	bl	_acpi_get_handle
	bl	_ACPI_FAILURE
	cbz	x0, LBB0_3
; %bb.2:
	mov	w0, #0
	b	LBB0_4
LBB0_3:
	ldur	w8, [x29, #-4]
Lloh2:
	adrp	x9, _nouveau_dsm_priv@GOTPAGE
Lloh3:
	ldr	x9, [x9, _nouveau_dsm_priv@GOTPAGEOFF]
Lloh4:
	str	w8, [x9]
	mov	w0, #1
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotStr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"_ROM"

	.comm	_nouveau_dsm_priv,4,2           ; @nouveau_dsm_priv
.subsections_via_symbols
