	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i7core_unregister_mci
_i7core_unregister_mci:                 ## @i7core_unregister_mci
	.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	%rdi, %r14
	movq	(%rdi), %rbx
	testq	%rbx, %rbx
	je	LBB0_1
## %bb.2:
	xorl	%edi, %edi
	cmpq	$0, 16(%rbx)
	sete	%dil
	jmp	LBB0_3
LBB0_1:
	movl	$1, %edi
LBB0_3:
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_4
## %bb.7:
	movq	8(%r14), %rax
	movq	(%rax), %rdx
	leaq	L_.str(%rip), %rsi
	xorl	%edi, %edi
	xorl	%eax, %eax
	callq	_edac_dbg
	movq	_KERN_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_i7core_printk                  ## TAILCALL
LBB0_4:
	movq	16(%rbx), %r15
	movq	8(%r14), %rax
	movq	(%rax), %rcx
	leaq	L_.str.2(%rip), %rsi
	xorl	%edi, %edi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_edac_dbg
	cmpq	$0, (%r15)
	je	LBB0_6
## %bb.5:
	movq	%rbx, %rdi
	callq	_disable_sdram_scrub_setting
LBB0_6:
	movq	%r15, %rdi
	callq	_i7core_pci_ctl_release
	movq	%rbx, %rdi
	callq	_i7core_delete_sysfs_devices
	movl	8(%rbx), %edi
	callq	_edac_mc_del_mc
	movq	(%rbx), %rdx
	leaq	L_.str.3(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	callq	_edac_dbg
	movq	(%rbx), %rdi
	callq	_kfree
	movq	%rbx, %rdi
	callq	_edac_mc_free
	movq	$0, (%r14)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"MC: dev = %p\n"

	.comm	_KERN_ERR,4,2                   ## @KERN_ERR
L_.str.1:                               ## @.str.1
	.asciz	"Couldn't find mci handler\n"

L_.str.2:                               ## @.str.2
	.asciz	"MC: mci = %p, dev = %p\n"

L_.str.3:                               ## @.str.3
	.asciz	"%s: free mci struct\n"

	.no_dead_strip	_i7core_unregister_mci
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i7core_unregister_mci
_i7core_unregister_mci:                 ; @i7core_unregister_mci
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x20, [x0]
	cbz	x20, LBB0_3
; %bb.1:
	ldr	x8, [x20, #16]
	cmp	x8, #0
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_4
LBB0_2:
	ldr	x8, [x19, #8]
	ldr	x2, [x8]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #0
	bl	_edac_dbg
Lloh2:
	adrp	x8, _KERN_ERR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _KERN_ERR@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_i7core_printk
LBB0_3:
	mov	w0, #1
	bl	_unlikely
	cbnz	x0, LBB0_2
LBB0_4:
	ldr	x21, [x20, #16]
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	str	x8, [sp]
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x2, x20
	bl	_edac_dbg
	ldr	x8, [x21]
	cbz	x8, LBB0_6
; %bb.5:
	mov	x0, x20
	bl	_disable_sdram_scrub_setting
LBB0_6:
	mov	x0, x21
	bl	_i7core_pci_ctl_release
	mov	x0, x20
	bl	_i7core_delete_sysfs_devices
	ldr	w0, [x20, #8]
	bl	_edac_mc_del_mc
	ldr	x2, [x20]
Lloh9:
	adrp	x1, l_.str.3@PAGE
Lloh10:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	w0, #1
	bl	_edac_dbg
	ldr	x0, [x20]
	bl	_kfree
	mov	x0, x20
	bl	_edac_mc_free
	str	xzr, [x19]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"MC: dev = %p\n"

	.comm	_KERN_ERR,4,2                   ; @KERN_ERR
l_.str.1:                               ; @.str.1
	.asciz	"Couldn't find mci handler\n"

l_.str.2:                               ; @.str.2
	.asciz	"MC: mci = %p, dev = %p\n"

l_.str.3:                               ; @.str.3
	.asciz	"%s: free mci struct\n"

	.no_dead_strip	_i7core_unregister_mci
.subsections_via_symbols
