	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function efi_acpi_dev_path
_efi_acpi_dev_path:                     ## @efi_acpi_dev_path
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r15
	callq	_DevicePathSubType
	movl	%eax, %r12d
	movq	%rbx, %rdi
	callq	_efi_make_tail
	movq	%rax, %r14
	cmpl	$129, %r12d
	jne	LBB0_19
## %bb.1:
	movl	(%r15), %edx
	movq	_PNP_EISA_ID_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%edx, %eax
	movq	_PNP_EISA_ID_CONST@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_17
## %bb.2:
	movl	%edx, %edi
	callq	_EISA_ID_TO_NUM
	cmpl	$1539, %eax                     ## imm = 0x603
	jg	LBB0_7
## %bb.3:
	cmpl	$769, %eax                      ## imm = 0x301
	je	LBB0_14
## %bb.4:
	cmpl	$1025, %eax                     ## imm = 0x401
	je	LBB0_15
## %bb.5:
	cmpl	$1281, %eax                     ## imm = 0x501
	jne	LBB0_16
## %bb.6:
	movl	4(%r15), %edx
	leaq	L_.str.4(%rip), %rsi
	leaq	-40(%rbp), %rdi
	jmp	LBB0_20
LBB0_19:
	leaq	L_.str.8(%rip), %rsi
	leaq	-40(%rbp), %rdi
	movl	%r12d, %edx
LBB0_20:
	movq	%r14, %rcx
	xorl	%eax, %eax
	callq	_asprintf
	testl	%eax, %eax
	jns	LBB0_23
LBB0_22:
	movq	$0, -40(%rbp)
LBB0_23:
	movq	%r14, %rdi
	callq	_free
	movq	-40(%rbp), %rax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_17:
	movl	4(%r15), %ecx
	leaq	L_.str.7(%rip), %rsi
	leaq	-40(%rbp), %rdi
LBB0_18:
	movq	%r14, %r8
	xorl	%eax, %eax
	callq	_asprintf
	testl	%eax, %eax
	jns	LBB0_23
	jmp	LBB0_22
LBB0_7:
	cmpl	$1540, %eax                     ## imm = 0x604
	je	LBB0_13
## %bb.8:
	cmpl	$2568, %eax                     ## imm = 0xA08
	je	LBB0_12
## %bb.9:
	cmpl	$2563, %eax                     ## imm = 0xA03
	jne	LBB0_16
## %bb.10:
	movl	4(%r15), %edx
	leaq	L_.str(%rip), %rsi
	leaq	-40(%rbp), %rdi
	jmp	LBB0_20
LBB0_14:
	movl	4(%r15), %edx
	leaq	L_.str.3(%rip), %rsi
	leaq	-40(%rbp), %rdi
	jmp	LBB0_20
LBB0_15:
	movl	4(%r15), %edx
	leaq	L_.str.5(%rip), %rsi
	leaq	-40(%rbp), %rdi
	jmp	LBB0_20
LBB0_13:
	movl	4(%r15), %edx
	leaq	L_.str.2(%rip), %rsi
	leaq	-40(%rbp), %rdi
	jmp	LBB0_20
LBB0_12:
	movl	4(%r15), %edx
	leaq	L_.str.1(%rip), %rsi
	leaq	-40(%rbp), %rdi
	jmp	LBB0_20
LBB0_16:
	movl	(%r15), %edi
	callq	_EISA_ID_TO_NUM
	movl	4(%r15), %ecx
	leaq	L_.str.6(%rip), %rsi
	leaq	-40(%rbp), %rdi
	movl	%eax, %edx
	jmp	LBB0_18
	.cfi_endproc
                                        ## -- End function
	.comm	_PNP_EISA_ID_MASK,4,2           ## @PNP_EISA_ID_MASK
	.comm	_PNP_EISA_ID_CONST,4,2          ## @PNP_EISA_ID_CONST
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"PciRoot(%x)%s"

L_.str.1:                               ## @.str.1
	.asciz	"PcieRoot(%x)%s"

L_.str.2:                               ## @.str.2
	.asciz	"Floppy(%x)%s"

L_.str.3:                               ## @.str.3
	.asciz	"Keyboard(%x)%s"

L_.str.4:                               ## @.str.4
	.asciz	"Serial(%x)%s"

L_.str.5:                               ## @.str.5
	.asciz	"ParallelPort(%x)%s"

L_.str.6:                               ## @.str.6
	.asciz	"Acpi(PNP%04x,%x)%s"

L_.str.7:                               ## @.str.7
	.asciz	"Acpi(%08x,%x)%s"

L_.str.8:                               ## @.str.8
	.asciz	"UnknownACPI(%x)%s"

	.no_dead_strip	_efi_acpi_dev_path
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function efi_acpi_dev_path
_efi_acpi_dev_path:                     ; @efi_acpi_dev_path
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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, x1
	mov	x20, x0
	bl	_DevicePathSubType
	mov	x21, x0
	mov	x0, x19
	bl	_efi_make_tail
	mov	x19, x0
	cmp	w21, #129
	b.ne	LBB0_7
; %bb.1:
	ldr	w2, [x20]
Lloh0:
	adrp	x8, _PNP_EISA_ID_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PNP_EISA_ID_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	and	w8, w8, w2
Lloh3:
	adrp	x9, _PNP_EISA_ID_CONST@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PNP_EISA_ID_CONST@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_8
; %bb.2:
	mov	x0, x2
	bl	_EISA_ID_TO_NUM
	cmp	w0, #1539
	b.gt	LBB0_12
; %bb.3:
	cmp	w0, #769
	b.eq	LBB0_16
; %bb.4:
	cmp	w0, #1025
	b.eq	LBB0_17
; %bb.5:
	cmp	w0, #1281
	b.ne	LBB0_20
; %bb.6:
	ldr	w2, [x20, #4]
	str	x19, [sp]
Lloh6:
	adrp	x1, l_.str.4@PAGE
Lloh7:
	add	x1, x1, l_.str.4@PAGEOFF
	b	LBB0_9
LBB0_7:
	str	x19, [sp]
Lloh8:
	adrp	x1, l_.str.8@PAGE
Lloh9:
	add	x1, x1, l_.str.8@PAGEOFF
	add	x0, sp, #24
	mov	x2, x21
	bl	_asprintf
	tbz	w0, #31, LBB0_11
	b	LBB0_10
LBB0_8:
	ldr	w8, [x20, #4]
	stp	x8, x19, [sp]
Lloh10:
	adrp	x1, l_.str.7@PAGE
Lloh11:
	add	x1, x1, l_.str.7@PAGEOFF
LBB0_9:
	add	x0, sp, #24
	bl	_asprintf
	tbz	w0, #31, LBB0_11
LBB0_10:
	str	xzr, [sp, #24]
LBB0_11:
	mov	x0, x19
	bl	_free
	ldr	x0, [sp, #24]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_12:
	cmp	w0, #1540
	b.eq	LBB0_18
; %bb.13:
	cmp	w0, #2568
	b.eq	LBB0_19
; %bb.14:
	cmp	w0, #2563
	b.ne	LBB0_20
; %bb.15:
	ldr	w2, [x20, #4]
	str	x19, [sp]
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_9
LBB0_16:
	ldr	w2, [x20, #4]
	str	x19, [sp]
Lloh14:
	adrp	x1, l_.str.3@PAGE
Lloh15:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_9
LBB0_17:
	ldr	w2, [x20, #4]
	str	x19, [sp]
Lloh16:
	adrp	x1, l_.str.5@PAGE
Lloh17:
	add	x1, x1, l_.str.5@PAGEOFF
	b	LBB0_9
LBB0_18:
	ldr	w2, [x20, #4]
	str	x19, [sp]
Lloh18:
	adrp	x1, l_.str.2@PAGE
Lloh19:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_9
LBB0_19:
	ldr	w2, [x20, #4]
	str	x19, [sp]
Lloh20:
	adrp	x1, l_.str.1@PAGE
Lloh21:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_9
LBB0_20:
	ldr	w0, [x20]
	bl	_EISA_ID_TO_NUM
	mov	x2, x0
	ldr	w8, [x20, #4]
	stp	x8, x19, [sp]
Lloh22:
	adrp	x1, l_.str.6@PAGE
Lloh23:
	add	x1, x1, l_.str.6@PAGEOFF
	b	LBB0_9
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_PNP_EISA_ID_MASK,4,2           ; @PNP_EISA_ID_MASK
	.comm	_PNP_EISA_ID_CONST,4,2          ; @PNP_EISA_ID_CONST
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"PciRoot(%x)%s"

l_.str.1:                               ; @.str.1
	.asciz	"PcieRoot(%x)%s"

l_.str.2:                               ; @.str.2
	.asciz	"Floppy(%x)%s"

l_.str.3:                               ; @.str.3
	.asciz	"Keyboard(%x)%s"

l_.str.4:                               ; @.str.4
	.asciz	"Serial(%x)%s"

l_.str.5:                               ; @.str.5
	.asciz	"ParallelPort(%x)%s"

l_.str.6:                               ; @.str.6
	.asciz	"Acpi(PNP%04x,%x)%s"

l_.str.7:                               ; @.str.7
	.asciz	"Acpi(%08x,%x)%s"

l_.str.8:                               ; @.str.8
	.asciz	"UnknownACPI(%x)%s"

	.no_dead_strip	_efi_acpi_dev_path
.subsections_via_symbols
