	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_aer_print_error                ## -- Begin function aer_print_error
	.p2align	4, 0x90
_aer_print_error:                       ## @aer_print_error
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	16(%rdi), %rax
	movl	(%rax), %r12d
	shll	$8, %r12d
	orl	(%rdi), %r12d
	movl	(%rsi), %esi
	testl	%esi, %esi
	je	LBB0_1
## %bb.2:
	movq	8(%rbx), %rdi
	callq	_AER_GET_LAYER_ERROR
	movl	%eax, %r15d
	movq	8(%rbx), %rdi
	movl	(%rbx), %esi
	callq	_AER_GET_AGENT
	movq	_aer_error_severity_string@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	8(%rbx), %rdx
	movl	(%rcx,%rdx,4), %edx
	movq	_aer_error_layer@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movslq	%r15d, %rsi
	movl	(%rcx,%rsi,4), %ecx
	movq	_aer_agent_string@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	cltq
	movl	(%rsi,%rax,4), %r8d
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_pci_err
	movl	8(%r14), %ecx
	movl	12(%r14), %edx
	movl	(%rbx), %r8d
	movl	16(%rbx), %r9d
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_pci_err
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	___aer_print_error
	cmpq	$0, 32(%rbx)
	je	LBB0_4
## %bb.3:
	leaq	28(%rbx), %rsi
	movq	%r14, %rdi
	callq	___print_tlp_header
	jmp	LBB0_4
LBB0_1:
	movq	_aer_error_severity_string@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	8(%rbx), %rcx
	movl	(%rax,%rcx,4), %edx
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_pci_err
LBB0_4:
	movl	20(%rbx), %eax
	testl	%eax, %eax
	je	LBB0_8
## %bb.5:
	cmpl	$2, 24(%rbx)
	jl	LBB0_8
## %bb.6:
	cmpl	%r12d, %eax
	jne	LBB0_8
## %bb.7:
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_pci_err
LBB0_8:
	addq	$4, %r14
	movq	%r14, %rdi
	callq	_dev_name
	movl	16(%rbx), %esi
	notl	%esi
	andl	(%rbx), %esi
	movq	8(%rbx), %rdx
	movq	32(%rbx), %rcx
	addq	$28, %rbx
	movl	%eax, %edi
	movq	%rbx, %r8
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_trace_aer_event                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"PCIe Bus Error: severity=%s, type=Inaccessible, (Unregistered Agent ID)\n"

	.comm	_aer_error_severity_string,8,3  ## @aer_error_severity_string
L_.str.1:                               ## @.str.1
	.asciz	"PCIe Bus Error: severity=%s, type=%s, (%s)\n"

	.comm	_aer_error_layer,8,3            ## @aer_error_layer
	.comm	_aer_agent_string,8,3           ## @aer_agent_string
L_.str.2:                               ## @.str.2
	.asciz	"  device [%04x:%04x] error status/mask=%08x/%08x\n"

L_.str.3:                               ## @.str.3
	.asciz	"  Error of this Agent is reported first\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_aer_print_error                ; -- Begin function aer_print_error
	.p2align	2
_aer_print_error:                       ; @aer_print_error
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x1
	mov	x20, x0
	ldr	x8, [x0, #16]
	ldr	w22, [x8]
	ldr	w23, [x0]
	ldr	w1, [x1]
	cbz	w1, LBB0_4
; %bb.1:
	ldr	x0, [x19, #8]
	bl	_AER_GET_LAYER_ERROR
	mov	x21, x0
	ldr	x0, [x19, #8]
	ldr	w1, [x19]
	bl	_AER_GET_AGENT
Lloh0:
	adrp	x8, _aer_error_severity_string@GOTPAGE
Lloh1:
	ldr	x8, [x8, _aer_error_severity_string@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x9, [x19, #8]
Lloh3:
	adrp	x10, _aer_error_layer@GOTPAGE
Lloh4:
	ldr	x10, [x10, _aer_error_layer@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
Lloh6:
	adrp	x11, _aer_agent_string@GOTPAGE
Lloh7:
	ldr	x11, [x11, _aer_agent_string@GOTPAGEOFF]
Lloh8:
	ldr	x11, [x11]
	ldr	w8, [x8, x9, lsl #2]
	ldr	w9, [x10, w21, sxtw #2]
	ldr	w10, [x11, w0, sxtw #2]
	stp	x9, x10, [sp, #8]
	str	x8, [sp]
Lloh9:
	adrp	x1, l_.str.1@PAGE
Lloh10:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_pci_err
	ldp	w9, w8, [x20, #8]
	ldr	w10, [x19]
	ldr	w11, [x19, #16]
	stp	x10, x11, [sp, #16]
	stp	x8, x9, [sp]
Lloh11:
	adrp	x1, l_.str.2@PAGE
Lloh12:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_pci_err
	mov	x0, x20
	mov	x1, x19
	bl	___aer_print_error
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_3
; %bb.2:
	add	x1, x19, #28
	mov	x0, x20
	bl	___print_tlp_header
LBB0_3:
	ldr	w8, [x19, #20]
	cbnz	w8, LBB0_5
	b	LBB0_8
LBB0_4:
Lloh13:
	adrp	x8, _aer_error_severity_string@GOTPAGE
Lloh14:
	ldr	x8, [x8, _aer_error_severity_string@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
	ldr	x9, [x19, #8]
	ldr	w8, [x8, x9, lsl #2]
	str	x8, [sp]
Lloh16:
	adrp	x1, l_.str@PAGE
Lloh17:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_pci_err
	ldr	w8, [x19, #20]
	cbz	w8, LBB0_8
LBB0_5:
	ldr	w9, [x19, #24]
	cmp	w9, #2
	b.lt	LBB0_8
; %bb.6:
	orr	w9, w23, w22, lsl #8
	cmp	w8, w9
	b.ne	LBB0_8
; %bb.7:
Lloh18:
	adrp	x1, l_.str.3@PAGE
Lloh19:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_pci_err
LBB0_8:
	add	x0, x20, #4
	bl	_dev_name
	ldr	w8, [x19]
	ldr	w9, [x19, #16]
	bic	w1, w8, w9
	ldr	x2, [x19, #8]
	ldr	x3, [x19, #32]
	add	x4, x19, #28
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	b	_trace_aer_event
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"PCIe Bus Error: severity=%s, type=Inaccessible, (Unregistered Agent ID)\n"

	.comm	_aer_error_severity_string,8,3  ; @aer_error_severity_string
l_.str.1:                               ; @.str.1
	.asciz	"PCIe Bus Error: severity=%s, type=%s, (%s)\n"

	.comm	_aer_error_layer,8,3            ; @aer_error_layer
	.comm	_aer_agent_string,8,3           ; @aer_agent_string
l_.str.2:                               ; @.str.2
	.asciz	"  device [%04x:%04x] error status/mask=%08x/%08x\n"

l_.str.3:                               ; @.str.3
	.asciz	"  Error of this Agent is reported first\n"

.subsections_via_symbols
