	.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	_IE31200_CAPID0@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	incq	%rsi
	leaq	-9(%rbp), %rdx
	callq	_pci_read_config_byte
	movq	_IE31200_CAPID0_PDCD@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	xorl	%ebx, %ebx
	andb	-9(%rbp), %al
	sete	%bl
	leaq	L_.str.1(%rip), %rax
	leaq	L_.str(%rip), %rsi
	cmoveq	%rax, %rsi
	incl	%ebx
	xorl	%edi, %edi
	callq	_edac_dbg
	movq	_IE31200_CAPID0_DDPCD@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	andb	-9(%rbp), %al
	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	_IE31200_CAPID0,8,3             ## @IE31200_CAPID0
	.comm	_IE31200_CAPID0_PDCD,1,0        ## @IE31200_CAPID0_PDCD
	.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"

	.comm	_IE31200_CAPID0_DDPCD,1,0       ## @IE31200_CAPID0_DDPCD
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, _IE31200_CAPID0@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IE31200_CAPID0@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	add	x1, x8, #1
	add	x2, sp, #15
	bl	_pci_read_config_byte
	ldrb	w8, [sp, #15]
Lloh3:
	adrp	x9, _IE31200_CAPID0_PDCD@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IE31200_CAPID0_PDCD@GOTPAGEOFF]
	ldrb	w9, [x9]
Lloh5:
	adrp	x10, l_.str@PAGE
Lloh6:
	add	x10, x10, l_.str@PAGEOFF
Lloh7:
	adrp	x11, l_.str.1@PAGE
Lloh8:
	add	x11, x11, l_.str.1@PAGEOFF
	tst	w9, w8
	csel	x1, x11, x10, eq
	mov	w8, #1
	cinc	w19, w8, eq
	mov	w0, #0
	bl	_edac_dbg
	ldrb	w8, [sp, #15]
Lloh9:
	adrp	x9, _IE31200_CAPID0_DDPCD@GOTPAGE
Lloh10:
	ldr	x9, [x9, _IE31200_CAPID0_DDPCD@GOTPAGEOFF]
	ldrb	w9, [x9]
Lloh11:
	adrp	x10, l_.str.2@PAGE
Lloh12:
	add	x10, x10, l_.str.2@PAGEOFF
Lloh13:
	adrp	x11, l_.str.3@PAGE
Lloh14:
	add	x11, x11, l_.str.3@PAGEOFF
	tst	w9, w8
	csel	x1, x11, x10, 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	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_IE31200_CAPID0,8,3             ; @IE31200_CAPID0
	.comm	_IE31200_CAPID0_PDCD,1,0        ; @IE31200_CAPID0_PDCD
	.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"

	.comm	_IE31200_CAPID0_DDPCD,1,0       ; @IE31200_CAPID0_DDPCD
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
