	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function e7xxx_get_error_info
_e7xxx_get_error_info:                  ## @e7xxx_get_error_info
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	(%rdi), %r15
	movl	(%r15), %edi
	movq	_E7XXX_DRAM_FERR@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	%rbx, %rdx
	callq	_pci_read_config_byte
	movl	(%r15), %edi
	movq	_E7XXX_DRAM_NERR@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	leaq	4(%rbx), %r14
	movq	%r14, %rdx
	callq	_pci_read_config_byte
	movl	(%rbx), %eax
	testb	$1, %al
	jne	LBB0_2
## %bb.1:
	testb	$1, (%r14)
	je	LBB0_3
LBB0_2:
	movl	(%r15), %edi
	movq	_E7XXX_DRAM_CELOG_ADD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	16(%rbx), %rdx
	callq	_pci_read_config_dword
	movl	(%r15), %edi
	movq	_E7XXX_DRAM_CELOG_SYNDROME@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	12(%rbx), %rdx
	callq	_pci_read_config_word
	movl	(%rbx), %eax
LBB0_3:
	testb	$2, %al
	jne	LBB0_5
## %bb.4:
	testb	$2, (%r14)
	je	LBB0_6
LBB0_5:
	movl	(%r15), %edi
	movq	_E7XXX_DRAM_UELOG_ADD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	8(%rbx), %rdx
	callq	_pci_read_config_dword
	movl	(%rbx), %eax
LBB0_6:
	testb	$3, %al
	je	LBB0_8
## %bb.7:
	movl	(%r15), %edi
	movl	(%r13), %esi
	movl	$3, %edx
	movl	$3, %ecx
	callq	_pci_write_bits8
LBB0_8:
	testb	$3, (%r14)
	je	LBB0_9
## %bb.10:
	movl	(%r15), %edi
	movl	(%r12), %esi
	movl	$3, %edx
	movl	$3, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pci_write_bits8                ## TAILCALL
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_E7XXX_DRAM_FERR,4,2            ## @E7XXX_DRAM_FERR
	.comm	_E7XXX_DRAM_NERR,4,2            ## @E7XXX_DRAM_NERR
	.comm	_E7XXX_DRAM_CELOG_ADD,4,2       ## @E7XXX_DRAM_CELOG_ADD
	.comm	_E7XXX_DRAM_CELOG_SYNDROME,4,2  ## @E7XXX_DRAM_CELOG_SYNDROME
	.comm	_E7XXX_DRAM_UELOG_ADD,4,2       ## @E7XXX_DRAM_UELOG_ADD
	.no_dead_strip	_e7xxx_get_error_info
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function e7xxx_get_error_info
_e7xxx_get_error_info:                  ; @e7xxx_get_error_info
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x1
	ldr	x21, [x0]
	ldr	w0, [x21]
Lloh0:
	adrp	x23, _E7XXX_DRAM_FERR@GOTPAGE
Lloh1:
	ldr	x23, [x23, _E7XXX_DRAM_FERR@GOTPAGEOFF]
	ldr	w1, [x23]
	mov	x2, x20
	bl	_pci_read_config_byte
	ldr	w0, [x21]
Lloh2:
	adrp	x22, _E7XXX_DRAM_NERR@GOTPAGE
Lloh3:
	ldr	x22, [x22, _E7XXX_DRAM_NERR@GOTPAGEOFF]
	ldr	w1, [x22]
	add	x19, x20, #4
	mov	x2, x19
	bl	_pci_read_config_byte
	ldr	w8, [x20]
	tbnz	w8, #0, LBB0_2
; %bb.1:
	ldrb	w9, [x19]
	tbz	w9, #0, LBB0_3
LBB0_2:
	ldr	w0, [x21]
Lloh4:
	adrp	x8, _E7XXX_DRAM_CELOG_ADD@GOTPAGE
Lloh5:
	ldr	x8, [x8, _E7XXX_DRAM_CELOG_ADD@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
	add	x2, x20, #16
	bl	_pci_read_config_dword
	ldr	w0, [x21]
Lloh7:
	adrp	x8, _E7XXX_DRAM_CELOG_SYNDROME@GOTPAGE
Lloh8:
	ldr	x8, [x8, _E7XXX_DRAM_CELOG_SYNDROME@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	add	x2, x20, #12
	bl	_pci_read_config_word
	ldr	w8, [x20]
LBB0_3:
	tbnz	w8, #1, LBB0_5
; %bb.4:
	ldrb	w9, [x19]
	tbz	w9, #1, LBB0_6
LBB0_5:
	ldr	w0, [x21]
Lloh10:
	adrp	x8, _E7XXX_DRAM_UELOG_ADD@GOTPAGE
Lloh11:
	ldr	x8, [x8, _E7XXX_DRAM_UELOG_ADD@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	add	x2, x20, #8
	bl	_pci_read_config_dword
	ldr	w8, [x20]
LBB0_6:
	tst	w8, #0x3
	b.eq	LBB0_8
; %bb.7:
	ldr	w0, [x21]
	ldr	w1, [x23]
	mov	w2, #3
	mov	w3, #3
	bl	_pci_write_bits8
LBB0_8:
	ldrb	w8, [x19]
	tst	w8, #0x3
	b.eq	LBB0_10
; %bb.9:
	ldr	w0, [x21]
	ldr	w1, [x22]
	mov	w2, #3
	mov	w3, #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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_pci_write_bits8
LBB0_10:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_E7XXX_DRAM_FERR,4,2            ; @E7XXX_DRAM_FERR
	.comm	_E7XXX_DRAM_NERR,4,2            ; @E7XXX_DRAM_NERR
	.comm	_E7XXX_DRAM_CELOG_ADD,4,2       ; @E7XXX_DRAM_CELOG_ADD
	.comm	_E7XXX_DRAM_CELOG_SYNDROME,4,2  ; @E7XXX_DRAM_CELOG_SYNDROME
	.comm	_E7XXX_DRAM_UELOG_ADD,4,2       ; @E7XXX_DRAM_UELOG_ADD
	.no_dead_strip	_e7xxx_get_error_info
.subsections_via_symbols
