	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function f1x_early_channel_count
_f1x_early_channel_count:               ## @f1x_early_channel_count
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	cmpl	$16, (%rdi)
	jne	LBB0_2
## %bb.1:
	movq	_WIDTH_128@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	$2, %ebx
	testl	%eax, 4(%r14)
	jne	LBB0_14
LBB0_2:
	leaq	L_.str(%rip), %rsi
	xorl	%edi, %edi
	callq	_edac_dbg
	movl	8(%r14), %ebx
	xorl	%edi, %edi
	movl	%ebx, %esi
	callq	_DBAM_DIMM
	testq	%rax, %rax
	jg	LBB0_7
## %bb.3:
	movl	$1, %edi
	movl	%ebx, %esi
	callq	_DBAM_DIMM
	testq	%rax, %rax
	jg	LBB0_7
## %bb.4:
	movl	$2, %edi
	movl	%ebx, %esi
	callq	_DBAM_DIMM
	testq	%rax, %rax
	jg	LBB0_7
## %bb.5:
	movl	$3, %edi
	movl	%ebx, %esi
	callq	_DBAM_DIMM
	testq	%rax, %rax
	jle	LBB0_6
LBB0_7:
	movl	$1, %ebx
LBB0_8:
	movl	12(%r14), %r14d
	xorl	%edi, %edi
	movl	%r14d, %esi
	callq	_DBAM_DIMM
	testq	%rax, %rax
	jg	LBB0_12
## %bb.9:
	movl	$1, %edi
	movl	%r14d, %esi
	callq	_DBAM_DIMM
	testq	%rax, %rax
	jg	LBB0_12
## %bb.10:
	movl	$2, %edi
	movl	%r14d, %esi
	callq	_DBAM_DIMM
	testq	%rax, %rax
	jg	LBB0_12
## %bb.11:
	movl	$3, %edi
	movl	%r14d, %esi
	callq	_DBAM_DIMM
	testq	%rax, %rax
	jle	LBB0_13
LBB0_12:
	incl	%ebx
LBB0_13:
	leaq	L_.str.1(%rip), %rdi
	movl	%ebx, %esi
	callq	_amd64_info
LBB0_14:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_6:
	xorl	%ebx, %ebx
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_WIDTH_128,4,2                  ## @WIDTH_128
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Data width is not 128 bits - need more decoding\n"

L_.str.1:                               ## @.str.1
	.asciz	"MCT channel count: %d\n"

	.no_dead_strip	_f1x_early_channel_count
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function f1x_early_channel_count
_f1x_early_channel_count:               ; @f1x_early_channel_count
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	w8, [x0]
	cmp	w8, #16
	b.ne	LBB0_3
; %bb.1:
	ldr	w8, [x19, #4]
Lloh0:
	adrp	x9, _WIDTH_128@GOTPAGE
Lloh1:
	ldr	x9, [x9, _WIDTH_128@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.2:
	mov	w20, #2
	b	LBB0_14
LBB0_3:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #0
	bl	_edac_dbg
	ldr	w20, [x19, #8]
	mov	w0, #0
	mov	x1, x20
	bl	_DBAM_DIMM
	cmp	x0, #0
	b.gt	LBB0_7
; %bb.4:
	mov	w0, #1
	mov	x1, x20
	bl	_DBAM_DIMM
	cmp	x0, #0
	b.gt	LBB0_7
; %bb.5:
	mov	w0, #2
	mov	x1, x20
	bl	_DBAM_DIMM
	cmp	x0, #0
	b.gt	LBB0_7
; %bb.6:
	mov	w0, #3
	mov	x1, x20
	bl	_DBAM_DIMM
	cmp	x0, #1
	b.lt	LBB0_15
LBB0_7:
	mov	w20, #1
LBB0_8:
	ldr	w19, [x19, #12]
	mov	w0, #0
	mov	x1, x19
	bl	_DBAM_DIMM
	cmp	x0, #0
	b.gt	LBB0_12
; %bb.9:
	mov	w0, #1
	mov	x1, x19
	bl	_DBAM_DIMM
	cmp	x0, #0
	b.gt	LBB0_12
; %bb.10:
	mov	w0, #2
	mov	x1, x19
	bl	_DBAM_DIMM
	cmp	x0, #0
	b.gt	LBB0_12
; %bb.11:
	mov	w0, #3
	mov	x1, x19
	bl	_DBAM_DIMM
	cmp	x0, #1
	b.lt	LBB0_13
LBB0_12:
	add	w20, w20, #1
LBB0_13:
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x20
	bl	_amd64_info
LBB0_14:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_15:
	mov	w20, #0
	b	LBB0_8
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_WIDTH_128,4,2                  ; @WIDTH_128
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Data width is not 128 bits - need more decoding\n"

l_.str.1:                               ; @.str.1
	.asciz	"MCT channel count: %d\n"

	.no_dead_strip	_f1x_early_channel_count
.subsections_via_symbols
