	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pciehp_set_raw_indicator_status ## -- Begin function pciehp_set_raw_indicator_status
	.p2align	4, 0x90
_pciehp_set_raw_indicator_status:       ## @pciehp_set_raw_indicator_status
	.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
	movl	%esi, %ebx
	callq	_to_ctrl
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_ctrl_dev
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_pci_config_pm_runtime_get
	shll	$6, %ebx
	movq	_PCI_EXP_SLTCTL_AIC@GOTPCREL(%rip), %rax
	movq	_PCI_EXP_SLTCTL_PIC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_pcie_write_cmd_nowait
	movq	%r15, %rdi
	callq	_pci_config_pm_runtime_put
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PCI_EXP_SLTCTL_AIC,4,2         ## @PCI_EXP_SLTCTL_AIC
	.comm	_PCI_EXP_SLTCTL_PIC,4,2         ## @PCI_EXP_SLTCTL_PIC
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pciehp_set_raw_indicator_status ; -- Begin function pciehp_set_raw_indicator_status
	.p2align	2
_pciehp_set_raw_indicator_status:       ; @pciehp_set_raw_indicator_status
	.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
	mov	x19, x1
	bl	_to_ctrl
	mov	x20, x0
	bl	_ctrl_dev
	mov	x21, x0
	bl	_pci_config_pm_runtime_get
Lloh0:
	adrp	x8, _PCI_EXP_SLTCTL_AIC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PCI_EXP_SLTCTL_AIC@GOTPAGEOFF]
	lsl	w1, w19, #6
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _PCI_EXP_SLTCTL_PIC@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PCI_EXP_SLTCTL_PIC@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w2, w9, w8
	mov	x0, x20
	bl	_pcie_write_cmd_nowait
	mov	x0, x21
	bl	_pci_config_pm_runtime_put
	mov	w0, #0
	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 AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PCI_EXP_SLTCTL_AIC,4,2         ; @PCI_EXP_SLTCTL_AIC
	.comm	_PCI_EXP_SLTCTL_PIC,4,2         ; @PCI_EXP_SLTCTL_PIC
.subsections_via_symbols
