	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i82443bxgx_edacmc_get_error_info
_i82443bxgx_edacmc_get_error_info:      ## @i82443bxgx_edacmc_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
	movl	(%rdi), %edi
	callq	_to_pci_dev
	movq	%rax, %r14
	movq	_I82443BXGX_EAP@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%rax, %rdi
	movq	%rbx, %rdx
	callq	_pci_read_config_dword
	movl	(%rbx), %eax
	movq	_I82443BXGX_EAP_OFFSET_SBE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%eax, %ecx
	je	LBB0_2
## %bb.1:
	movl	(%r15), %esi
	movq	%r14, %rdi
	movl	%ecx, %edx
	callq	_pci_write_bits32
	movl	(%rbx), %eax
LBB0_2:
	movq	_I82443BXGX_EAP_OFFSET_MBE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%eax, %ecx
	je	LBB0_3
## %bb.4:
	movl	(%r15), %esi
	movq	%r14, %rdi
	movl	%ecx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pci_write_bits32               ## TAILCALL
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_I82443BXGX_EAP,4,2             ## @I82443BXGX_EAP
	.comm	_I82443BXGX_EAP_OFFSET_SBE,4,2  ## @I82443BXGX_EAP_OFFSET_SBE
	.comm	_I82443BXGX_EAP_OFFSET_MBE,4,2  ## @I82443BXGX_EAP_OFFSET_MBE
	.no_dead_strip	_i82443bxgx_edacmc_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 i82443bxgx_edacmc_get_error_info
_i82443bxgx_edacmc_get_error_info:      ; @i82443bxgx_edacmc_get_error_info
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x20, x1
	ldr	w0, [x0]
	bl	_to_pci_dev
	mov	x19, x0
Lloh0:
	adrp	x21, _I82443BXGX_EAP@GOTPAGE
Lloh1:
	ldr	x21, [x21, _I82443BXGX_EAP@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x2, x20
	bl	_pci_read_config_dword
	ldr	w8, [x20]
Lloh2:
	adrp	x9, _I82443BXGX_EAP_OFFSET_SBE@GOTPAGE
Lloh3:
	ldr	x9, [x9, _I82443BXGX_EAP_OFFSET_SBE@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x9]
	tst	w2, w8
	b.eq	LBB0_2
; %bb.1:
	ldr	w1, [x21]
	mov	x0, x19
	mov	x3, x2
	bl	_pci_write_bits32
	ldr	w8, [x20]
LBB0_2:
Lloh5:
	adrp	x9, _I82443BXGX_EAP_OFFSET_MBE@GOTPAGE
Lloh6:
	ldr	x9, [x9, _I82443BXGX_EAP_OFFSET_MBE@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x9]
	tst	w2, w8
	b.eq	LBB0_4
; %bb.3:
	ldr	w1, [x21]
	mov	x0, x19
	mov	x3, x2
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_pci_write_bits32
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_I82443BXGX_EAP,4,2             ; @I82443BXGX_EAP
	.comm	_I82443BXGX_EAP_OFFSET_SBE,4,2  ; @I82443BXGX_EAP_OFFSET_SBE
	.comm	_I82443BXGX_EAP_OFFSET_MBE,4,2  ; @I82443BXGX_EAP_OFFSET_MBE
	.no_dead_strip	_i82443bxgx_edacmc_get_error_info
.subsections_via_symbols
