	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function acpi_pci_choose_state
_acpi_pci_choose_state:                 ## @acpi_pci_choose_state
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	xorl	%edx, %edx
	cmpq	$0, 8(%rdi)
	sete	%dl
	orl	$128, %edx
	xorl	%esi, %esi
	callq	_acpi_pm_device_sleep_state
	movq	_PCI_POWER_ERROR@GOTPCREL(%rip), %rcx
	testl	%eax, %eax
	js	LBB0_3
## %bb.1:
	addl	$-128, %eax
	cmpl	$4, %eax
	ja	LBB0_3
## %bb.2:
	cltq
	leaq	l_switch.table.acpi_pci_choose_state(%rip), %rcx
	movq	(%rcx,%rax,8), %rcx
LBB0_3:
	movl	(%rcx), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PCI_POWER_ERROR,4,2            ## @PCI_POWER_ERROR
	.comm	_PCI_D0,4,2                     ## @PCI_D0
	.comm	_PCI_D1,4,2                     ## @PCI_D1
	.comm	_PCI_D2,4,2                     ## @PCI_D2
	.comm	_PCI_D3hot,4,2                  ## @PCI_D3hot
	.comm	_PCI_D3cold,4,2                 ## @PCI_D3cold
	.no_dead_strip	_acpi_pci_choose_state
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.acpi_pci_choose_state
l_switch.table.acpi_pci_choose_state:
	.quad	_PCI_D3hot
	.quad	_PCI_D3cold
	.quad	_PCI_D2
	.quad	_PCI_D1
	.quad	_PCI_D0

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function acpi_pci_choose_state
_acpi_pci_choose_state:                 ; @acpi_pci_choose_state
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	x8, [x0, #8]
	cmp	x8, #0
	mov	w8, #128
	cinc	w2, w8, eq
	mov	x1, #0
	bl	_acpi_pm_device_sleep_state
	tbnz	w0, #31, LBB0_3
; %bb.1:
	sub	w8, w0, #128
	cmp	w8, #4
	b.hi	LBB0_3
; %bb.2:
Lloh0:
	adrp	x9, l_switch.table.acpi_pci_choose_state@PAGE
Lloh1:
	add	x9, x9, l_switch.table.acpi_pci_choose_state@PAGEOFF
	ldr	x8, [x9, w8, sxtw #3]
	b	LBB0_4
LBB0_3:
Lloh2:
	adrp	x8, _PCI_POWER_ERROR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _PCI_POWER_ERROR@GOTPAGEOFF]
LBB0_4:
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_PCI_POWER_ERROR,4,2            ; @PCI_POWER_ERROR
	.comm	_PCI_D0,4,2                     ; @PCI_D0
	.comm	_PCI_D1,4,2                     ; @PCI_D1
	.comm	_PCI_D2,4,2                     ; @PCI_D2
	.comm	_PCI_D3hot,4,2                  ; @PCI_D3hot
	.comm	_PCI_D3cold,4,2                 ; @PCI_D3cold
	.no_dead_strip	_acpi_pci_choose_state
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.acpi_pci_choose_state
l_switch.table.acpi_pci_choose_state:
	.quad	_PCI_D3hot
	.quad	_PCI_D3cold
	.quad	_PCI_D2
	.quad	_PCI_D1
	.quad	_PCI_D0

.subsections_via_symbols
