	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mddev_init                     ## -- Begin function mddev_init
	.p2align	4, 0x90
_mddev_init:                            ## @mddev_init
	.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	%rdi, %rbx
	addq	$100, %rdi
	movq	_md_ktype@GOTPCREL(%rip), %rsi
	callq	_kobject_init
	leaq	96(%rbx), %rdi
	callq	_mutex_init
	leaq	92(%rbx), %rdi
	callq	_mutex_init
	leaq	88(%rbx), %rdi
	callq	_mutex_init
	leaq	84(%rbx), %rdi
	callq	_INIT_LIST_HEAD
	leaq	80(%rbx), %rdi
	callq	_INIT_LIST_HEAD
	leaq	76(%rbx), %rdi
	movq	_md_safemode_timeout@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_timer_setup
	leaq	72(%rbx), %rdi
	movl	$1, %esi
	callq	_atomic_set
	leaq	68(%rbx), %rdi
	xorl	%esi, %esi
	callq	_atomic_set
	leaq	64(%rbx), %rdi
	xorl	%esi, %esi
	callq	_atomic_set
	leaq	60(%rbx), %rdi
	callq	_spin_lock_init
	leaq	56(%rbx), %rdi
	xorl	%esi, %esi
	callq	_atomic_set
	leaq	52(%rbx), %rdi
	callq	_init_waitqueue_head
	leaq	48(%rbx), %rdi
	callq	_init_waitqueue_head
	movq	_MaxSector@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	%rcx, 40(%rbx)
	leaq	L_.str(%rip), %rcx
	movq	%rcx, (%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 24(%rbx)
	movq	(%rax), %rax
	movq	%rax, 16(%rbx)
	movq	_LEVEL_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_md_ktype,4,2                   ## @md_ktype
	.comm	_md_safemode_timeout,4,2        ## @md_safemode_timeout
	.comm	_MaxSector,8,3                  ## @MaxSector
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"none"

	.comm	_LEVEL_NONE,4,2                 ## @LEVEL_NONE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mddev_init                     ; -- Begin function mddev_init
	.p2align	2
_mddev_init:                            ; @mddev_init
	.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
	add	x0, x0, #100
Lloh0:
	adrp	x1, _md_ktype@GOTPAGE
Lloh1:
	ldr	x1, [x1, _md_ktype@GOTPAGEOFF]
	bl	_kobject_init
	add	x0, x19, #96
	bl	_mutex_init
	add	x0, x19, #92
	bl	_mutex_init
	add	x0, x19, #88
	bl	_mutex_init
	add	x0, x19, #84
	bl	_INIT_LIST_HEAD
	add	x0, x19, #80
	bl	_INIT_LIST_HEAD
	add	x0, x19, #76
Lloh2:
	adrp	x8, _md_safemode_timeout@GOTPAGE
Lloh3:
	ldr	x8, [x8, _md_safemode_timeout@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_timer_setup
	add	x0, x19, #72
	mov	w1, #1
	bl	_atomic_set
	add	x0, x19, #68
	mov	w1, #0
	bl	_atomic_set
	add	x0, x19, #64
	mov	w1, #0
	bl	_atomic_set
	add	x0, x19, #60
	bl	_spin_lock_init
	add	x0, x19, #56
	mov	w1, #0
	bl	_atomic_set
	add	x0, x19, #52
	bl	_init_waitqueue_head
	add	x0, x19, #48
	bl	_init_waitqueue_head
Lloh5:
	adrp	x8, _MaxSector@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MaxSector@GOTPAGEOFF]
	ldr	x9, [x8]
Lloh7:
	adrp	x10, l_.str@PAGE
Lloh8:
	add	x10, x10, l_.str@PAGEOFF
	str	x10, [x19]
	stp	xzr, x9, [x19, #32]
	ldr	x8, [x8]
	stp	x8, xzr, [x19, #16]
Lloh9:
	adrp	x8, _LEVEL_NONE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _LEVEL_NONE@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	str	w8, [x19, #8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_md_ktype,4,2                   ; @md_ktype
	.comm	_md_safemode_timeout,4,2        ; @md_safemode_timeout
	.comm	_MaxSector,8,3                  ; @MaxSector
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"none"

	.comm	_LEVEL_NONE,4,2                 ; @LEVEL_NONE
.subsections_via_symbols
