	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i82975x_get_error_info
_i82975x_get_error_info:                ## @i82975x_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
	movl	(%rdi), %edi
	callq	_to_pci_dev
	movq	%rax, %r14
	movq	_I82975X_ERRSTS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movq	%rbx, %rdx
	callq	_pci_read_config_word
	movq	_I82975X_EAP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	20(%rbx), %rdx
	movq	%r14, %rdi
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	callq	_pci_read_config_dword
	movq	_I82975X_XEAP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	16(%rbx), %r12
	movq	%r14, %rdi
	movq	%r12, %rdx
	callq	_pci_read_config_byte
	movq	_I82975X_DES@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	12(%rbx), %r13
	movq	%r14, %rdi
	movq	%r13, %rdx
	callq	_pci_read_config_byte
	movq	_I82975X_DERRSYN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	8(%rbx), %r15
	movq	%r14, %rdi
	movq	%r15, %rdx
	callq	_pci_read_config_byte
	movq	_I82975X_ERRSTS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	4(%rbx), %rdx
	movq	%r14, %rdi
	callq	_pci_read_config_word
	movq	_I82975X_ERRSTS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$3, %edx
	movl	$3, %ecx
	callq	_pci_write_bits16
	movl	4(%rbx), %eax
	testb	$3, %al
	je	LBB0_2
## %bb.1:
	xorl	(%rbx), %eax
	testb	$3, %al
	je	LBB0_2
## %bb.3:
	movq	_I82975X_EAP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	callq	_pci_read_config_dword
	movq	_I82975X_XEAP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movq	%r12, %rdx
	callq	_pci_read_config_byte
	movq	_I82975X_DES@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movq	%r13, %rdx
	callq	_pci_read_config_byte
	movq	_I82975X_DERRSYN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movq	%r15, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pci_read_config_byte           ## TAILCALL
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_I82975X_ERRSTS,4,2             ## @I82975X_ERRSTS
	.comm	_I82975X_EAP,4,2                ## @I82975X_EAP
	.comm	_I82975X_XEAP,4,2               ## @I82975X_XEAP
	.comm	_I82975X_DES,4,2                ## @I82975X_DES
	.comm	_I82975X_DERRSYN,4,2            ## @I82975X_DERRSYN
	.no_dead_strip	_i82975x_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 i82975x_get_error_info
_i82975x_get_error_info:                ; @i82975x_get_error_info
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x1
	ldr	w0, [x0]
	bl	_to_pci_dev
	mov	x19, x0
Lloh0:
	adrp	x25, _I82975X_ERRSTS@GOTPAGE
Lloh1:
	ldr	x25, [x25, _I82975X_ERRSTS@GOTPAGEOFF]
	ldr	w1, [x25]
	mov	x2, x20
	bl	_pci_read_config_word
Lloh2:
	adrp	x8, _I82975X_EAP@GOTPAGE
Lloh3:
	ldr	x8, [x8, _I82975X_EAP@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	add	x21, x20, #20
	mov	x0, x19
	mov	x2, x21
	bl	_pci_read_config_dword
Lloh5:
	adrp	x26, _I82975X_XEAP@GOTPAGE
Lloh6:
	ldr	x26, [x26, _I82975X_XEAP@GOTPAGEOFF]
	ldr	w1, [x26]
	add	x22, x20, #16
	mov	x0, x19
	mov	x2, x22
	bl	_pci_read_config_byte
Lloh7:
	adrp	x27, _I82975X_DES@GOTPAGE
Lloh8:
	ldr	x27, [x27, _I82975X_DES@GOTPAGEOFF]
	ldr	w1, [x27]
	add	x23, x20, #12
	mov	x0, x19
	mov	x2, x23
	bl	_pci_read_config_byte
Lloh9:
	adrp	x28, _I82975X_DERRSYN@GOTPAGE
Lloh10:
	ldr	x28, [x28, _I82975X_DERRSYN@GOTPAGEOFF]
	ldr	w1, [x28]
	add	x24, x20, #8
	mov	x0, x19
	mov	x2, x24
	bl	_pci_read_config_byte
	ldr	w1, [x25]
	add	x2, x20, #4
	mov	x0, x19
	bl	_pci_read_config_word
	ldr	w1, [x25]
	mov	x0, x19
	mov	w2, #3
	mov	w3, #3
	bl	_pci_write_bits16
	ldr	w8, [x20, #4]
	tst	w8, #0x3
	b.eq	LBB0_3
; %bb.1:
	ldr	w9, [x20]
	eor	w8, w9, w8
	tst	w8, #0x3
	b.eq	LBB0_3
; %bb.2:
Lloh11:
	adrp	x8, _I82975X_EAP@GOTPAGE
Lloh12:
	ldr	x8, [x8, _I82975X_EAP@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x21
	bl	_pci_read_config_dword
	ldr	w1, [x26]
	mov	x0, x19
	mov	x2, x22
	bl	_pci_read_config_byte
	ldr	w1, [x27]
	mov	x0, x19
	mov	x2, x23
	bl	_pci_read_config_byte
	ldr	w1, [x28]
	mov	x0, x19
	mov	x2, x24
	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
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_pci_read_config_byte
LBB0_3:
	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
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_I82975X_ERRSTS,4,2             ; @I82975X_ERRSTS
	.comm	_I82975X_EAP,4,2                ; @I82975X_EAP
	.comm	_I82975X_XEAP,4,2               ; @I82975X_XEAP
	.comm	_I82975X_DES,4,2                ; @I82975X_DES
	.comm	_I82975X_DERRSYN,4,2            ; @I82975X_DERRSYN
	.no_dead_strip	_i82975x_get_error_info
.subsections_via_symbols
