	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dpc_get_aer_uncorrect_severity
_dpc_get_aer_uncorrect_severity:        ## @dpc_get_aer_uncorrect_severity
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movslq	(%rdi), %rbx
	movq	_PCI_ERR_UNCOR_STATUS@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	%rbx, %rsi
	leaq	-28(%rbp), %rdx
	callq	_pci_read_config_dword
	movq	_PCI_ERR_UNCOR_MASK@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	%rbx, %rsi
	leaq	-36(%rbp), %rdx
	movq	%r15, %rdi
	callq	_pci_read_config_dword
	movl	-36(%rbp), %eax
	notl	%eax
	andl	%eax, -28(%rbp)
	je	LBB0_1
## %bb.2:
	movq	_PCI_ERR_UNCOR_SEVER@GOTPCREL(%rip), %rax
	addq	(%rax), %rbx
	leaq	-32(%rbp), %rdx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_pci_read_config_dword
	movl	-28(%rbp), %eax
	andl	-32(%rbp), %eax
	jne	LBB0_3
## %bb.4:
	movq	_AER_NONFATAL@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_1:
	xorl	%eax, %eax
	jmp	LBB0_6
LBB0_3:
	movq	_AER_FATAL@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %eax
	movl	%eax, (%r14)
	movl	$1, %eax
LBB0_6:
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PCI_ERR_UNCOR_STATUS,8,3       ## @PCI_ERR_UNCOR_STATUS
	.comm	_PCI_ERR_UNCOR_MASK,8,3         ## @PCI_ERR_UNCOR_MASK
	.comm	_PCI_ERR_UNCOR_SEVER,8,3        ## @PCI_ERR_UNCOR_SEVER
	.comm	_AER_FATAL,4,2                  ## @AER_FATAL
	.comm	_AER_NONFATAL,4,2               ## @AER_NONFATAL
	.no_dead_strip	_dpc_get_aer_uncorrect_severity
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dpc_get_aer_uncorrect_severity
_dpc_get_aer_uncorrect_severity:        ; @dpc_get_aer_uncorrect_severity
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	ldrsw	x21, [x0]
Lloh0:
	adrp	x8, _PCI_ERR_UNCOR_STATUS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PCI_ERR_UNCOR_STATUS@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	add	x1, x8, x21
	add	x2, sp, #12
	bl	_pci_read_config_dword
Lloh3:
	adrp	x8, _PCI_ERR_UNCOR_MASK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PCI_ERR_UNCOR_MASK@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	add	x1, x8, x21
	add	x2, sp, #8
	mov	x0, x20
	bl	_pci_read_config_dword
	ldp	w8, w9, [sp, #8]
	bics	w8, w9, w8
	str	w8, [sp, #12]
	b.eq	LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _PCI_ERR_UNCOR_SEVER@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PCI_ERR_UNCOR_SEVER@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	add	x1, x8, x21
	add	x2, sp, #4
	mov	x0, x20
	bl	_pci_read_config_dword
	ldr	w8, [sp, #4]
Lloh9:
	adrp	x9, _AER_NONFATAL@GOTPAGE
Lloh10:
	ldr	x9, [x9, _AER_NONFATAL@GOTPAGEOFF]
Lloh11:
	adrp	x10, _AER_FATAL@GOTPAGE
Lloh12:
	ldr	x10, [x10, _AER_FATAL@GOTPAGEOFF]
	ldr	w11, [sp, #12]
	tst	w11, w8
	csel	x8, x9, x10, eq
	ldr	w8, [x8]
	str	w8, [x19]
	mov	w0, #1
	b	LBB0_3
LBB0_2:
	mov	w0, #0
LBB0_3:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_PCI_ERR_UNCOR_STATUS,8,3       ; @PCI_ERR_UNCOR_STATUS
	.comm	_PCI_ERR_UNCOR_MASK,8,3         ; @PCI_ERR_UNCOR_MASK
	.comm	_PCI_ERR_UNCOR_SEVER,8,3        ; @PCI_ERR_UNCOR_SEVER
	.comm	_AER_FATAL,4,2                  ; @AER_FATAL
	.comm	_AER_NONFATAL,4,2               ; @AER_NONFATAL
	.no_dead_strip	_dpc_get_aer_uncorrect_severity
.subsections_via_symbols
