	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function skx_mad_decode
_skx_mad_decode:                        ## @skx_mad_decode
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	56(%rdi), %rax
	movq	(%rax), %rax
	movq	(%rdi), %rcx
	movq	8(%rdi), %rdx
	movq	(%rax,%rcx,8), %rax
	movq	(%rax,%rdx,8), %r13
	movq	16(%rdi), %rbx
	shlq	$5, %rbx
	leaq	(%rbx,%r13), %r12
	cmpq	$0, 24(%r13,%rbx)
	movl	52(%rdi), %edi
	movl	(%r13,%rbx), %esi
	je	LBB0_2
## %bb.1:
	movq	_skx_close_row@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_skx_bits
	movl	%eax, 24(%r15)
	movl	52(%r15), %edi
	movl	4(%r13,%rbx), %esi
	movq	_skx_close_column@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_skx_bits
	orl	$1024, %eax                     ## imm = 0x400
	movl	%eax, 28(%r15)
	movl	52(%r15), %edi
	movl	8(%r13,%rbx), %ecx
	movl	$8, %esi
	movl	$9, %edx
	movl	$22, %r8d
	movl	$28, %r9d
	callq	_skx_bank_bits
	movq	%rax, 40(%r15)
	movl	52(%r15), %edi
	movl	8(%r13,%rbx), %ecx
	movl	$6, %esi
	movl	$7, %edx
	jmp	LBB0_6
LBB0_2:
	cmpq	$0, 16(%r13,%rbx)
	movl	$13, %eax
	movl	$6, %r14d
	cmovel	%eax, %r14d
	movq	_skx_open_row@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_skx_bits
	movl	%eax, 24(%r15)
	cmpq	$0, 16(%r13,%rbx)
	movl	52(%r15), %edi
	movl	4(%r13,%rbx), %esi
	jne	LBB0_3
## %bb.4:
	movq	_skx_open_column@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_3:
	movq	_skx_open_fine_column@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %edx
	callq	_skx_bits
	movl	%eax, 28(%r15)
	movl	52(%r15), %edi
	movl	8(%r13,%rbx), %ecx
	movl	$18, %esi
	movl	$19, %edx
	movl	$22, %r8d
	movl	$23, %r9d
	callq	_skx_bank_bits
	movq	%rax, 40(%r15)
	movl	52(%r15), %edi
	movl	8(%r13,%rbx), %ecx
	movl	%r14d, %esi
	movl	$17, %edx
LBB0_6:
	movl	$20, %r8d
	movl	$21, %r9d
	callq	_skx_bank_bits
	movq	%rax, 32(%r15)
	movb	(%r12), %cl
	movl	$-1, %ebx
	shll	%cl, %ebx
	notl	%ebx
	andl	24(%r15), %ebx
	movl	%ebx, 24(%r15)
	movl	48(%r15), %edx
	movl	28(%r15), %r8d
	movq	40(%r15), %r9
	movq	%rax, (%rsp)
	leaq	L_.str(%rip), %rsi
	movl	$2, %edi
	movl	%ebx, %ecx
	callq	_edac_dbg
	movl	$1, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_skx_close_row,4,2              ## @skx_close_row
	.comm	_skx_close_column,4,2           ## @skx_close_column
	.comm	_skx_open_row,4,2               ## @skx_open_row
	.comm	_skx_open_fine_column,4,2       ## @skx_open_fine_column
	.comm	_skx_open_column,4,2            ## @skx_open_column
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"0x%llx: row=0x%x col=0x%x bank_addr=%d bank_group=%d\n"

	.no_dead_strip	_skx_mad_decode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function skx_mad_decode
_skx_mad_decode:                        ; @skx_mad_decode
	.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	x19, x0
	ldr	x8, [x0, #56]
	ldr	x8, [x8]
	ldp	x9, x10, [x0]
	ldr	x8, [x8, x9, lsl #3]
	ldr	x8, [x8, x10, lsl #3]
	ldr	x9, [x0, #16]
	add	x21, x8, x9, lsl #5
	ldr	x8, [x21, #24]
	ldr	w0, [x0, #52]
	ldr	w1, [x21]
	cbz	x8, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _skx_close_row@GOTPAGE
Lloh1:
	ldr	x8, [x8, _skx_close_row@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	bl	_skx_bits
	str	w0, [x19, #24]
	ldr	w0, [x19, #52]
	ldr	w1, [x21, #4]
Lloh3:
	adrp	x8, _skx_close_column@GOTPAGE
Lloh4:
	ldr	x8, [x8, _skx_close_column@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	bl	_skx_bits
	orr	w8, w0, #0x400
	str	w8, [x19, #28]
	ldr	w0, [x19, #52]
	ldr	w3, [x21, #8]
	mov	w1, #8
	mov	w2, #9
	mov	w4, #22
	mov	w5, #28
	bl	_skx_bank_bits
	str	x0, [x19, #40]
	ldr	w0, [x19, #52]
	ldr	w3, [x21, #8]
	mov	w1, #6
	mov	w2, #7
	b	LBB0_3
LBB0_2:
	ldr	x8, [x21, #16]
	cmp	x8, #0
	mov	w8, #6
	mov	w9, #13
	csel	w20, w9, w8, eq
Lloh6:
	adrp	x8, _skx_open_row@GOTPAGE
Lloh7:
	ldr	x8, [x8, _skx_open_row@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	bl	_skx_bits
	str	w0, [x19, #24]
	ldr	x8, [x21, #16]
	ldr	w0, [x19, #52]
Lloh9:
	adrp	x9, _skx_open_column@GOTPAGE
Lloh10:
	ldr	x9, [x9, _skx_open_column@GOTPAGEOFF]
	ldr	w1, [x21, #4]
Lloh11:
	adrp	x10, _skx_open_fine_column@GOTPAGE
Lloh12:
	ldr	x10, [x10, _skx_open_fine_column@GOTPAGEOFF]
	cmp	x8, #0
	csel	x8, x9, x10, eq
	ldr	w2, [x8]
	bl	_skx_bits
	str	w0, [x19, #28]
	ldr	w0, [x19, #52]
	ldr	w3, [x21, #8]
	mov	w1, #18
	mov	w2, #19
	mov	w4, #22
	mov	w5, #23
	bl	_skx_bank_bits
	str	x0, [x19, #40]
	ldr	w0, [x19, #52]
	ldr	w3, [x21, #8]
	mov	x1, x20
	mov	w2, #17
LBB0_3:
	mov	w4, #20
	mov	w5, #21
	bl	_skx_bank_bits
	mov	x6, x0
	str	x0, [x19, #32]
	ldr	w8, [x21]
	mov	w9, #-1
	lsl	w8, w9, w8
	ldp	w9, w4, [x19, #24]
	bic	w3, w9, w8
	str	w3, [x19, #24]
	ldr	w2, [x19, #48]
	ldr	x5, [x19, #40]
Lloh13:
	adrp	x1, l_.str@PAGE
Lloh14:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #2
	bl	_edac_dbg
	mov	w0, #1
	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	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_skx_close_row,4,2              ; @skx_close_row
	.comm	_skx_close_column,4,2           ; @skx_close_column
	.comm	_skx_open_row,4,2               ; @skx_open_row
	.comm	_skx_open_fine_column,4,2       ; @skx_open_fine_column
	.comm	_skx_open_column,4,2            ; @skx_open_column
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"0x%llx: row=0x%x col=0x%x bank_addr=%d bank_group=%d\n"

	.no_dead_strip	_skx_mad_decode
.subsections_via_symbols
