	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_get_id                    ## -- Begin function acpi_get_id
	.p2align	4, 0x90
_acpi_get_id:                           ## @acpi_get_id
	.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
	testq	%rsi, %rsi
	je	LBB0_1
## %bb.3:
	movq	%rsi, %r15
	movl	%edi, %r14d
	movq	_ACPI_MTX_NAMESPACE@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	callq	_acpi_ut_acquire_mutex
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_ACPI_FAILURE
	testq	%rax, %rax
	jne	LBB0_2
## %bb.4:
	movl	%r14d, %edi
	callq	_acpi_ns_map_handle_to_node
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	movl	(%rax), %eax
	movl	%eax, (%r15)
	movl	(%r12), %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_acpi_ut_release_mutex          ## TAILCALL
LBB0_5:
	movl	(%r12), %edi
	callq	_acpi_ut_release_mutex
LBB0_1:
	movq	_AE_BAD_PARAMETER@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_2:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AE_BAD_PARAMETER,4,2           ## @AE_BAD_PARAMETER
	.comm	_ACPI_MTX_NAMESPACE,4,2         ## @ACPI_MTX_NAMESPACE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_get_id                    ; -- Begin function acpi_get_id
	.p2align	2
_acpi_get_id:                           ; @acpi_get_id
	.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
	cbz	x1, LBB0_5
; %bb.1:
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x22, _ACPI_MTX_NAMESPACE@GOTPAGE
Lloh1:
	ldr	x22, [x22, _ACPI_MTX_NAMESPACE@GOTPAGEOFF]
	ldr	w0, [x22]
	bl	_acpi_ut_acquire_mutex
	mov	x21, x0
	bl	_ACPI_FAILURE
	cbnz	x0, LBB0_6
; %bb.2:
	mov	x0, x20
	bl	_acpi_ns_map_handle_to_node
	cbz	x0, LBB0_4
; %bb.3:
	ldr	w8, [x0]
	str	w8, [x19]
	ldr	w0, [x22]
	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
	b	_acpi_ut_release_mutex
LBB0_4:
	ldr	w0, [x22]
	bl	_acpi_ut_release_mutex
LBB0_5:
Lloh2:
	adrp	x8, _AE_BAD_PARAMETER@GOTPAGE
Lloh3:
	ldr	x8, [x8, _AE_BAD_PARAMETER@GOTPAGEOFF]
Lloh4:
	ldr	w21, [x8]
LBB0_6:
	mov	x0, x21
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_AE_BAD_PARAMETER,4,2           ; @AE_BAD_PARAMETER
	.comm	_ACPI_MTX_NAMESPACE,4,2         ; @ACPI_MTX_NAMESPACE
.subsections_via_symbols
