	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i5000_get_error_info
_i5000_get_error_info:                  ## @i5000_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	(%rdi), %r14
	movl	(%r14), %edi
	movq	_FERR_FAT_FBD@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	leaq	-28(%rbp), %rdx
	callq	_pci_read_config_dword
	movq	_FERR_FAT_FBDCHAN@GOTPCREL(%rip), %rax
	movq	_FERR_FAT_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	(%rax), %eax
	orl	%ecx, %eax
	movl	-28(%rbp), %edx
	andl	%edx, %eax
	movl	%eax, -28(%rbp)
	testl	%ecx, %edx
	je	LBB0_2
## %bb.1:
	movl	%eax, (%rbx)
	movl	(%r14), %edi
	movq	_NERR_FAT_FBD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	4(%rbx), %rdx
	callq	_pci_read_config_dword
	movl	(%r14), %edi
	movq	_NRECMEMA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	40(%rbx), %rdx
	callq	_pci_read_config_word
	movl	(%r14), %edi
	movq	_NRECMEMB@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	8(%rbx), %rdx
	callq	_pci_read_config_dword
	movl	(%r14), %edi
	movl	(%r15), %esi
	movl	-28(%rbp), %edx
	callq	_pci_write_config_dword
	jmp	LBB0_3
LBB0_2:
	movq	$0, (%rbx)
	movq	$0, 40(%rbx)
	movl	$0, 8(%rbx)
LBB0_3:
	movl	(%r14), %edi
	movq	_FERR_NF_FBD@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	leaq	-28(%rbp), %rdx
	callq	_pci_read_config_dword
	movl	-28(%rbp), %eax
	movq	_FERR_NF_MASK@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_5
## %bb.4:
	movl	%eax, 12(%rbx)
	movl	(%r14), %edi
	movq	_NERR_NF_FBD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	16(%rbx), %rdx
	callq	_pci_read_config_dword
	movl	(%r14), %edi
	movq	_RECMEMA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	32(%rbx), %rdx
	callq	_pci_read_config_word
	movl	(%r14), %edi
	movq	_RECMEMB@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	20(%rbx), %rdx
	callq	_pci_read_config_dword
	movl	(%r14), %edi
	movq	_REDMEMB@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	addq	$24, %rbx
	movq	%rbx, %rdx
	callq	_pci_read_config_dword
	movl	(%r14), %edi
	movl	(%r15), %esi
	movl	-28(%rbp), %edx
	callq	_pci_write_config_dword
	jmp	LBB0_6
LBB0_5:
	movq	$0, 32(%rbx)
	addq	$12, %rbx
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rbx)
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FERR_FAT_FBD,4,2               ## @FERR_FAT_FBD
	.comm	_FERR_FAT_FBDCHAN,4,2           ## @FERR_FAT_FBDCHAN
	.comm	_FERR_FAT_MASK,4,2              ## @FERR_FAT_MASK
	.comm	_NERR_FAT_FBD,4,2               ## @NERR_FAT_FBD
	.comm	_NRECMEMA,4,2                   ## @NRECMEMA
	.comm	_NRECMEMB,4,2                   ## @NRECMEMB
	.comm	_FERR_NF_FBD,4,2                ## @FERR_NF_FBD
	.comm	_FERR_NF_MASK,4,2               ## @FERR_NF_MASK
	.comm	_NERR_NF_FBD,4,2                ## @NERR_NF_FBD
	.comm	_RECMEMA,4,2                    ## @RECMEMA
	.comm	_RECMEMB,4,2                    ## @RECMEMB
	.comm	_REDMEMB,4,2                    ## @REDMEMB
	.no_dead_strip	_i5000_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 i5000_get_error_info
_i5000_get_error_info:                  ; @i5000_get_error_info
	.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
	ldr	x21, [x0]
	ldr	w0, [x21]
Lloh0:
	adrp	x22, _FERR_FAT_FBD@GOTPAGE
Lloh1:
	ldr	x22, [x22, _FERR_FAT_FBD@GOTPAGEOFF]
	ldr	w1, [x22]
	add	x2, sp, #12
	bl	_pci_read_config_dword
Lloh2:
	adrp	x8, _FERR_FAT_FBDCHAN@GOTPAGE
Lloh3:
	ldr	x8, [x8, _FERR_FAT_FBDCHAN@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _FERR_FAT_MASK@GOTPAGE
Lloh6:
	ldr	x9, [x9, _FERR_FAT_MASK@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	orr	w8, w9, w8
	ldr	w10, [sp, #12]
	and	w8, w10, w8
	str	w8, [sp, #12]
	tst	w10, w9
	b.eq	LBB0_2
; %bb.1:
	mov	x20, x19
	str	w8, [x20], #8
	ldr	w0, [x21]
Lloh8:
	adrp	x8, _NERR_FAT_FBD@GOTPAGE
Lloh9:
	ldr	x8, [x8, _NERR_FAT_FBD@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	add	x2, x19, #4
	bl	_pci_read_config_dword
	ldr	w0, [x21]
Lloh11:
	adrp	x8, _NRECMEMA@GOTPAGE
Lloh12:
	ldr	x8, [x8, _NRECMEMA@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	add	x2, x19, #40
	bl	_pci_read_config_word
	ldr	w0, [x21]
Lloh14:
	adrp	x8, _NRECMEMB@GOTPAGE
Lloh15:
	ldr	x8, [x8, _NRECMEMB@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	mov	x2, x20
	bl	_pci_read_config_dword
	ldr	w0, [x21]
	ldr	w1, [x22]
	ldr	w2, [sp, #12]
	bl	_pci_write_config_dword
	b	LBB0_3
LBB0_2:
	str	xzr, [x19]
	str	xzr, [x19, #40]
	str	wzr, [x19, #8]
LBB0_3:
	ldr	w0, [x21]
Lloh17:
	adrp	x20, _FERR_NF_FBD@GOTPAGE
Lloh18:
	ldr	x20, [x20, _FERR_NF_FBD@GOTPAGEOFF]
	ldr	w1, [x20]
	add	x2, sp, #12
	bl	_pci_read_config_dword
	ldr	w8, [sp, #12]
Lloh19:
	adrp	x9, _FERR_NF_MASK@GOTPAGE
Lloh20:
	ldr	x9, [x9, _FERR_NF_MASK@GOTPAGEOFF]
Lloh21:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.4:
	str	w8, [x19, #12]
	ldr	w0, [x21]
Lloh22:
	adrp	x8, _NERR_NF_FBD@GOTPAGE
Lloh23:
	ldr	x8, [x8, _NERR_NF_FBD@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
	add	x2, x19, #16
	bl	_pci_read_config_dword
	ldr	w0, [x21]
Lloh25:
	adrp	x8, _RECMEMA@GOTPAGE
Lloh26:
	ldr	x8, [x8, _RECMEMA@GOTPAGEOFF]
Lloh27:
	ldr	w1, [x8]
	add	x2, x19, #32
	bl	_pci_read_config_word
	ldr	w0, [x21]
Lloh28:
	adrp	x8, _RECMEMB@GOTPAGE
Lloh29:
	ldr	x8, [x8, _RECMEMB@GOTPAGEOFF]
Lloh30:
	ldr	w1, [x8]
	add	x2, x19, #20
	bl	_pci_read_config_dword
	ldr	w0, [x21]
Lloh31:
	adrp	x8, _REDMEMB@GOTPAGE
Lloh32:
	ldr	x8, [x8, _REDMEMB@GOTPAGEOFF]
Lloh33:
	ldr	w1, [x8]
	add	x2, x19, #24
	bl	_pci_read_config_dword
	ldr	w0, [x21]
	ldr	w1, [x20]
	ldr	w2, [sp, #12]
	bl	_pci_write_config_dword
	b	LBB0_6
LBB0_5:
	add	x8, x19, #12
	str	xzr, [x19, #32]
	stp	xzr, xzr, [x8]
LBB0_6:
	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	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_FERR_FAT_FBD,4,2               ; @FERR_FAT_FBD
	.comm	_FERR_FAT_FBDCHAN,4,2           ; @FERR_FAT_FBDCHAN
	.comm	_FERR_FAT_MASK,4,2              ; @FERR_FAT_MASK
	.comm	_NERR_FAT_FBD,4,2               ; @NERR_FAT_FBD
	.comm	_NRECMEMA,4,2                   ; @NRECMEMA
	.comm	_NRECMEMB,4,2                   ; @NRECMEMB
	.comm	_FERR_NF_FBD,4,2                ; @FERR_NF_FBD
	.comm	_FERR_NF_MASK,4,2               ; @FERR_NF_MASK
	.comm	_NERR_NF_FBD,4,2                ; @NERR_NF_FBD
	.comm	_RECMEMA,4,2                    ; @RECMEMA
	.comm	_RECMEMB,4,2                    ; @RECMEMB
	.comm	_REDMEMB,4,2                    ; @REDMEMB
	.no_dead_strip	_i5000_get_error_info
.subsections_via_symbols
