	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function how_many_channels
_how_many_channels:                     ## @how_many_channels
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_I3200_CAPID0@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	$8, %rsi
	leaq	-9(%rbp), %rdx
	callq	_pci_read_config_byte
	xorl	%ebx, %ebx
	testb	$32, -9(%rbp)
	sete	%bl
	leaq	L_.str.1(%rip), %rax
	leaq	L_.str(%rip), %rsi
	cmoveq	%rax, %rsi
	incl	%ebx
	xorl	%edi, %edi
	callq	_edac_dbg
	testb	$16, -9(%rbp)
	leaq	L_.str.3(%rip), %rax
	leaq	L_.str.2(%rip), %rsi
	cmoveq	%rax, %rsi
	xorl	%edi, %edi
	callq	_edac_dbg
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_I3200_CAPID0,8,3               ## @I3200_CAPID0
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"In single channel mode\n"

L_.str.1:                               ## @.str.1
	.asciz	"In dual channel mode\n"

L_.str.2:                               ## @.str.2
	.asciz	"2 DIMMS per channel disabled\n"

L_.str.3:                               ## @.str.3
	.asciz	"2 DIMMS per channel enabled\n"

	.no_dead_strip	_how_many_channels
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function how_many_channels
_how_many_channels:                     ; @how_many_channels
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
Lloh0:
	adrp	x8, _I3200_CAPID0@GOTPAGE
Lloh1:
	ldr	x8, [x8, _I3200_CAPID0@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	add	x1, x8, #8
	add	x2, sp, #15
	bl	_pci_read_config_byte
	ldrb	w8, [sp, #15]
Lloh3:
	adrp	x9, l_.str@PAGE
Lloh4:
	add	x9, x9, l_.str@PAGEOFF
Lloh5:
	adrp	x10, l_.str.1@PAGE
Lloh6:
	add	x10, x10, l_.str.1@PAGEOFF
	tst	w8, #0x20
	csel	x1, x10, x9, eq
	mov	w8, #1
	cinc	w19, w8, eq
	mov	w0, #0
	bl	_edac_dbg
	ldrb	w8, [sp, #15]
Lloh7:
	adrp	x9, l_.str.2@PAGE
Lloh8:
	add	x9, x9, l_.str.2@PAGEOFF
Lloh9:
	adrp	x10, l_.str.3@PAGE
Lloh10:
	add	x10, x10, l_.str.3@PAGEOFF
	tst	w8, #0x10
	csel	x1, x10, x9, eq
	mov	w0, #0
	bl	_edac_dbg
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_I3200_CAPID0,8,3               ; @I3200_CAPID0
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"In single channel mode\n"

l_.str.1:                               ; @.str.1
	.asciz	"In dual channel mode\n"

l_.str.2:                               ; @.str.2
	.asciz	"2 DIMMS per channel disabled\n"

l_.str.3:                               ; @.str.3
	.asciz	"2 DIMMS per channel enabled\n"

	.no_dead_strip	_how_many_channels
.subsections_via_symbols
