	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function acpi_device_get_busid
_acpi_device_get_busid:                 ## @acpi_device_get_busid
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movb	$0, -12(%rbp)
	movl	$63, -16(%rbp)
	movl	$5, -32(%rbp)
	leaq	-16(%rbp), %rax
	movq	%rax, -24(%rbp)
	callq	_ACPI_IS_ROOT_DEVICE
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	4(%rbx), %edi
	leaq	L_.str(%rip), %rsi
LBB0_10:
	callq	_strcpy
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_2:
	movl	(%rbx), %eax
	cmpl	$128, %eax
	je	LBB0_5
## %bb.3:
	cmpl	$129, %eax
	jne	LBB0_6
## %bb.4:
	movl	4(%rbx), %edi
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_10
LBB0_5:
	movl	4(%rbx), %edi
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_10
LBB0_6:
	movl	8(%rbx), %edi
	movq	_ACPI_SINGLE_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-32(%rbp), %rdx
	callq	_acpi_get_name
	cmpb	$95, -13(%rbp)
	jne	LBB0_9
## %bb.7:
	movb	$0, -13(%rbp)
	cmpb	$95, -14(%rbp)
	jne	LBB0_9
## %bb.8:
	movb	$0, -14(%rbp)
LBB0_9:
	movl	4(%rbx), %edi
	leaq	-16(%rbp), %rsi
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
l___const.acpi_device_get_busid.bus_id: ## @__const.acpi_device_get_busid.bus_id
	.asciz	"?\000\000\000"

	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ACPI"

L_.str.1:                               ## @.str.1
	.asciz	"PWRF"

L_.str.2:                               ## @.str.2
	.asciz	"SLPF"

	.comm	_ACPI_SINGLE_NAME,4,2           ## @ACPI_SINGLE_NAME
	.no_dead_strip	_acpi_device_get_busid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function acpi_device_get_busid
_acpi_device_get_busid:                 ; @acpi_device_get_busid
	.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	x19, x0
	strb	wzr, [sp, #28]
	mov	w8, #63
	str	w8, [sp, #24]
	mov	w8, #5
	str	w8, [sp, #8]
	add	x8, sp, #24
	str	x8, [sp, #16]
	bl	_ACPI_IS_ROOT_DEVICE
	cbz	x0, LBB0_3
; %bb.1:
	ldr	w0, [x19, #4]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
LBB0_2:
	bl	_strcpy
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_3:
	ldr	w8, [x19]
	cmp	w8, #128
	b.eq	LBB0_6
; %bb.4:
	cmp	w8, #129
	b.ne	LBB0_7
; %bb.5:
	ldr	w0, [x19, #4]
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_2
LBB0_6:
	ldr	w0, [x19, #4]
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_2
LBB0_7:
	ldr	w0, [x19, #8]
Lloh6:
	adrp	x8, _ACPI_SINGLE_NAME@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ACPI_SINGLE_NAME@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	add	x2, sp, #8
	bl	_acpi_get_name
	ldrb	w8, [sp, #27]
	cmp	w8, #95
	b.ne	LBB0_10
; %bb.8:
	strb	wzr, [sp, #27]
	ldrb	w8, [sp, #26]
	cmp	w8, #95
	b.ne	LBB0_10
; %bb.9:
	strb	wzr, [sp, #26]
LBB0_10:
	ldr	w0, [x19, #4]
	add	x1, sp, #24
	b	LBB0_2
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
l___const.acpi_device_get_busid.bus_id: ; @__const.acpi_device_get_busid.bus_id
	.asciz	"?\000\000\000"

	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ACPI"

l_.str.1:                               ; @.str.1
	.asciz	"PWRF"

l_.str.2:                               ; @.str.2
	.asciz	"SLPF"

	.comm	_ACPI_SINGLE_NAME,4,2           ; @ACPI_SINGLE_NAME
	.no_dead_strip	_acpi_device_get_busid
.subsections_via_symbols
