	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function aer_stats_attrs_are_visible
_aer_stats_attrs_are_visible:           ## @aer_stats_attrs_are_visible
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	callq	_kobj_to_dev
	movq	%rax, %rdi
	callq	_to_pci_dev
	xorl	%r14d, %r14d
	cmpl	$0, (%rax)
	je	LBB0_6
## %bb.1:
	cmpq	_dev_attr_aer_rootport_total_err_nonfatal@GOTPCREL(%rip), %rbx
	je	LBB0_4
## %bb.2:
	cmpq	_dev_attr_aer_rootport_total_err_cor@GOTPCREL(%rip), %rbx
	je	LBB0_4
## %bb.3:
	cmpq	_dev_attr_aer_rootport_total_err_fatal@GOTPCREL(%rip), %rbx
	jne	LBB0_5
LBB0_4:
	movq	%rax, %rdi
	callq	_pci_pcie_type
	movq	_PCI_EXP_TYPE_ROOT_PORT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
LBB0_5:
	movl	(%rbx), %r14d
LBB0_6:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_dev_attr_aer_rootport_total_err_cor,4,2 ## @dev_attr_aer_rootport_total_err_cor
	.comm	_dev_attr_aer_rootport_total_err_fatal,4,2 ## @dev_attr_aer_rootport_total_err_fatal
	.comm	_dev_attr_aer_rootport_total_err_nonfatal,4,2 ## @dev_attr_aer_rootport_total_err_nonfatal
	.comm	_PCI_EXP_TYPE_ROOT_PORT,8,3     ## @PCI_EXP_TYPE_ROOT_PORT
	.no_dead_strip	_aer_stats_attrs_are_visible
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function aer_stats_attrs_are_visible
_aer_stats_attrs_are_visible:           ; @aer_stats_attrs_are_visible
	.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	_kobj_to_dev
	bl	_to_pci_dev
	ldr	w8, [x0]
	cbz	w8, LBB0_4
; %bb.1:
Lloh0:
	adrp	x8, _dev_attr_aer_rootport_total_err_nonfatal@GOTPAGE
Lloh1:
	ldr	x8, [x8, _dev_attr_aer_rootport_total_err_nonfatal@GOTPAGEOFF]
	cmp	x19, x8
Lloh2:
	adrp	x8, _dev_attr_aer_rootport_total_err_cor@GOTPAGE
Lloh3:
	ldr	x8, [x8, _dev_attr_aer_rootport_total_err_cor@GOTPAGEOFF]
	ccmp	x19, x8, #4, ne
Lloh4:
	adrp	x8, _dev_attr_aer_rootport_total_err_fatal@GOTPAGE
Lloh5:
	ldr	x8, [x8, _dev_attr_aer_rootport_total_err_fatal@GOTPAGEOFF]
	ccmp	x19, x8, #4, ne
	b.ne	LBB0_3
; %bb.2:
	bl	_pci_pcie_type
Lloh6:
	adrp	x8, _PCI_EXP_TYPE_ROOT_PORT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PCI_EXP_TYPE_ROOT_PORT@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_4
LBB0_3:
	ldr	w0, [x19]
	b	LBB0_5
LBB0_4:
	mov	w0, #0
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_dev_attr_aer_rootport_total_err_cor,4,2 ; @dev_attr_aer_rootport_total_err_cor
	.comm	_dev_attr_aer_rootport_total_err_fatal,4,2 ; @dev_attr_aer_rootport_total_err_fatal
	.comm	_dev_attr_aer_rootport_total_err_nonfatal,4,2 ; @dev_attr_aer_rootport_total_err_nonfatal
	.comm	_PCI_EXP_TYPE_ROOT_PORT,8,3     ; @PCI_EXP_TYPE_ROOT_PORT
	.no_dead_strip	_aer_stats_attrs_are_visible
.subsections_via_symbols
