	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pnv_php_set_attention_state
_pnv_php_set_attention_state:           ## @pnv_php_set_attention_state
	.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
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rsi, %rbx
	callq	_to_pnv_php_slot
	movq	8(%rax), %rdi
	movq	%rbx, (%rax)
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.1:
	movq	_PCI_EXP_SLTCTL_AIC@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	testq	%rbx, %rbx
	jne	LBB0_2
## %bb.3:
	movq	_PCI_EXP_SLTCTL_ATTN_IND_OFF@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_2:
	movq	_PCI_EXP_SLTCTL_ATTN_IND_ON@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %ecx
	movq	_PCI_EXP_SLTCTL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_pcie_capability_clear_and_set_word
LBB0_5:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PCI_EXP_SLTCTL_AIC,4,2         ## @PCI_EXP_SLTCTL_AIC
	.comm	_PCI_EXP_SLTCTL_ATTN_IND_ON,4,2 ## @PCI_EXP_SLTCTL_ATTN_IND_ON
	.comm	_PCI_EXP_SLTCTL_ATTN_IND_OFF,4,2 ## @PCI_EXP_SLTCTL_ATTN_IND_OFF
	.comm	_PCI_EXP_SLTCTL,4,2             ## @PCI_EXP_SLTCTL
	.no_dead_strip	_pnv_php_set_attention_state
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pnv_php_set_attention_state
_pnv_php_set_attention_state:           ; @pnv_php_set_attention_state
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	bl	_to_pnv_php_slot
	mov	x8, x0
	ldr	x0, [x0, #8]
	str	x19, [x8]
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _PCI_EXP_SLTCTL_AIC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PCI_EXP_SLTCTL_AIC@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
Lloh3:
	adrp	x8, _PCI_EXP_SLTCTL_ATTN_IND_OFF@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PCI_EXP_SLTCTL_ATTN_IND_OFF@GOTPAGEOFF]
Lloh5:
	adrp	x9, _PCI_EXP_SLTCTL_ATTN_IND_ON@GOTPAGE
Lloh6:
	ldr	x9, [x9, _PCI_EXP_SLTCTL_ATTN_IND_ON@GOTPAGEOFF]
	cmp	x19, #0
	csel	x8, x8, x9, eq
	ldr	w3, [x8]
Lloh7:
	adrp	x8, _PCI_EXP_SLTCTL@GOTPAGE
Lloh8:
	ldr	x8, [x8, _PCI_EXP_SLTCTL@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	bl	_pcie_capability_clear_and_set_word
LBB0_2:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PCI_EXP_SLTCTL_AIC,4,2         ; @PCI_EXP_SLTCTL_AIC
	.comm	_PCI_EXP_SLTCTL_ATTN_IND_ON,4,2 ; @PCI_EXP_SLTCTL_ATTN_IND_ON
	.comm	_PCI_EXP_SLTCTL_ATTN_IND_OFF,4,2 ; @PCI_EXP_SLTCTL_ATTN_IND_OFF
	.comm	_PCI_EXP_SLTCTL,4,2             ; @PCI_EXP_SLTCTL
	.no_dead_strip	_pnv_php_set_attention_state
.subsections_via_symbols
