	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function acpi_pci_bridge_d3
_acpi_pci_bridge_d3:                    ## @acpi_pci_bridge_d3
	.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
	xorl	%r14d, %r14d
	cmpl	$0, 4(%rdi)
	je	LBB0_9
## %bb.1:
	movq	%rdi, %rbx
	callq	_pci_find_pcie_root_port
	testq	%rax, %rax
	je	LBB0_9
## %bb.2:
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_ACPI_COMPANION
	cmpq	%rbx, %r15
	jne	LBB0_6
## %bb.3:
	testq	%rax, %rax
	jne	LBB0_6
## %bb.4:
	movq	%rbx, %rdi
	callq	_pci_dev_is_added
	testl	%eax, %eax
	jne	LBB0_9
## %bb.5:
	movq	%r15, %rdi
	callq	_acpi_pci_find_companion
LBB0_6:
	testq	%rax, %rax
	je	LBB0_9
## %bb.7:
	movq	%rax, %rdi
	callq	_acpi_fwnode_handle
	leaq	L_.str(%rip), %rsi
	leaq	-28(%rbp), %rdx
	movq	%rax, %rdi
	callq	_fwnode_property_read_u8
	testq	%rax, %rax
	jne	LBB0_9
## %bb.8:
	xorl	%r14d, %r14d
	cmpl	$1, -28(%rbp)
	sete	%r14b
LBB0_9:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"HotPlugSupportInD3"

	.no_dead_strip	_acpi_pci_bridge_d3
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function acpi_pci_bridge_d3
_acpi_pci_bridge_d3:                    ; @acpi_pci_bridge_d3
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	ldr	w8, [x0, #4]
	cbz	w8, LBB0_8
; %bb.1:
	mov	x19, x0
	bl	_pci_find_pcie_root_port
	cbz	x0, LBB0_9
; %bb.2:
	mov	x20, x0
	bl	_ACPI_COMPANION
	cmp	x20, x19
	b.ne	LBB0_6
; %bb.3:
	cbnz	x0, LBB0_6
; %bb.4:
	mov	x0, x19
	bl	_pci_dev_is_added
	cbnz	w0, LBB0_8
; %bb.5:
	mov	x0, x20
	bl	_acpi_pci_find_companion
LBB0_6:
	cbz	x0, LBB0_9
; %bb.7:
	bl	_acpi_fwnode_handle
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #12
	bl	_fwnode_property_read_u8
	cbz	x0, LBB0_10
LBB0_8:
	mov	w0, #0
LBB0_9:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_10:
	ldr	w8, [sp, #12]
	cmp	w8, #1
	cset	w0, eq
	b	LBB0_9
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"HotPlugSupportInD3"

	.no_dead_strip	_acpi_pci_bridge_d3
.subsections_via_symbols
