	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function msmsdcc_check_status
_msmsdcc_check_status:                  ## @msmsdcc_check_status
	.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, %rbx
	movq	24(%rdi), %rax
	movq	(%rax), %r14
	movl	16(%rdi), %edi
	testq	%r14, %r14
	je	LBB0_1
## %bb.2:
	callq	_mmc_dev
	movl	%eax, %edi
	callq	*%r14
	movl	%eax, %r14d
	xorl	%eax, %eax
	testl	%r14d, %r14d
	sete	%al
	movl	%eax, (%rbx)
	cmpl	4(%rbx), %r14d
	je	LBB0_7
## %bb.3:
	movl	16(%rbx), %edi
	callq	_mmc_hostname
	movl	4(%rbx), %edx
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	movl	%r14d, %ecx
	callq	_pr_info
	movl	16(%rbx), %edi
	testl	%r14d, %r14d
	je	LBB0_4
## %bb.5:
	movq	_HZ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leal	(%rax,%rax,4), %eax
	movl	%eax, %esi
	shrl	$31, %esi
	addl	%eax, %esi
	sarl	%esi
	jmp	LBB0_6
LBB0_1:
	xorl	%esi, %esi
	callq	_mmc_detect_change
	cmpq	$0, 8(%rbx)
	jne	LBB0_10
LBB0_9:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_4:
	xorl	%esi, %esi
LBB0_6:
	callq	_mmc_detect_change
LBB0_7:
	movl	%r14d, 4(%rbx)
	cmpq	$0, 8(%rbx)
	je	LBB0_9
LBB0_10:
	addq	$8, %rbx
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	_HZ@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rsi
	addq	(%rax), %rsi
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_mod_timer                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: Slot status change detected (%d -> %d)\n"

	.comm	_HZ,4,2                         ## @HZ
	.comm	_jiffies,8,3                    ## @jiffies
	.no_dead_strip	_msmsdcc_check_status
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function msmsdcc_check_status
_msmsdcc_check_status:                  ; @msmsdcc_check_status
	.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	x8, [x0, #24]
	ldr	x20, [x8]
	ldr	w0, [x0, #16]
	cbz	x20, LBB0_4
; %bb.1:
	bl	_mmc_dev
	blr	x20
	mov	x20, x0
	cmp	w0, #0
	cset	w8, eq
	str	w8, [x19]
	ldr	w8, [x19, #4]
	cmp	w0, w8
	b.eq	LBB0_8
; %bb.2:
	ldr	w0, [x19, #16]
	bl	_mmc_hostname
	mov	x1, x0
	ldr	w2, [x19, #4]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x3, x20
	bl	_pr_info
	ldr	w0, [x19, #16]
	cbz	w20, LBB0_6
; %bb.3:
Lloh2:
	adrp	x8, _HZ@GOTPAGE
Lloh3:
	ldr	x8, [x8, _HZ@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	add	w8, w8, w8, lsl #2
	cmp	w8, #0
	cinc	w8, w8, lt
	asr	w1, w8, #1
	b	LBB0_7
LBB0_4:
	mov	w1, #0
	bl	_mmc_detect_change
	ldr	x8, [x19, #8]!
	cbnz	x8, LBB0_9
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_6:
	mov	w1, #0
LBB0_7:
	bl	_mmc_detect_change
LBB0_8:
	str	w20, [x19, #4]
	ldr	x8, [x19, #8]!
	cbz	x8, LBB0_5
LBB0_9:
Lloh5:
	adrp	x8, _jiffies@GOTPAGE
Lloh6:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
Lloh8:
	adrp	x9, _HZ@GOTPAGE
Lloh9:
	ldr	x9, [x9, _HZ@GOTPAGEOFF]
Lloh10:
	ldrsw	x9, [x9]
	add	x1, x8, x9
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_mod_timer
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: Slot status change detected (%d -> %d)\n"

	.comm	_HZ,4,2                         ; @HZ
	.comm	_jiffies,8,3                    ; @jiffies
	.no_dead_strip	_msmsdcc_check_status
.subsections_via_symbols
