	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function heartbeat_enable_store
_heartbeat_enable_store:                ## @heartbeat_enable_store
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %rbx
	callq	_dev_get_drvdata
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r12
	leaq	20(%rax), %r15
	movq	%r15, %rdi
	callq	_mutex_lock
	leaq	-36(%rbp), %rdx
	movq	%rbx, %rdi
	movl	$10, %esi
	callq	_kstrtoint
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_6
## %bb.3:
	movl	-36(%rbp), %eax
	movl	%eax, (%r12)
	movq	8(%r12), %rax
	movq	_MIC_ONLINE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.4:
	movl	-36(%rbp), %eax
	movl	%eax, 16(%r12)
LBB0_5:
	movl	%r14d, %ebx
LBB0_6:
	movq	%r15, %rdi
	callq	_mutex_unlock
	jmp	LBB0_7
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_7:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_MIC_ONLINE,8,3                 ## @MIC_ONLINE
	.no_dead_strip	_heartbeat_enable_store
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function heartbeat_enable_store
_heartbeat_enable_store:                ; @heartbeat_enable_store
	.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, x3
	mov	x22, x2
	bl	_dev_get_drvdata
	cbz	x0, LBB0_6
; %bb.1:
	mov	x21, x0
	add	x20, x0, #20
	mov	x0, x20
	bl	_mutex_lock
	add	x2, sp, #12
	mov	x0, x22
	mov	w1, #10
	bl	_kstrtoint
	mov	x22, x0
	cbnz	w0, LBB0_5
; %bb.2:
	ldr	w8, [sp, #12]
	str	w8, [x21]
	ldr	x8, [x21, #8]
Lloh0:
	adrp	x9, _MIC_ONLINE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MIC_ONLINE@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.3:
	ldr	w8, [sp, #12]
	str	w8, [x21, #16]
LBB0_4:
	mov	x22, x19
LBB0_5:
	mov	x0, x20
	bl	_mutex_unlock
	b	LBB0_7
LBB0_6:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w22, w8
LBB0_7:
	mov	x0, x22
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_MIC_ONLINE,8,3                 ; @MIC_ONLINE
	.no_dead_strip	_heartbeat_enable_store
.subsections_via_symbols
