	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function edac_mc_workq_function
_edac_mc_workq_function:                ## @edac_mc_workq_function
	.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
	callq	_to_delayed_work
	movq	%rax, %rdi
	callq	_to_edac_mem_ctl_work
	movq	%rax, %rbx
	movq	_mem_ctls_mutex@GOTPCREL(%rip), %rdi
	callq	_mutex_lock
	movq	(%rbx), %rax
	movq	_OP_RUNNING_POLL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.1:
	movq	_edac_op_state@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_EDAC_OPSTATE_POLL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.2:
	movq	%rbx, %rdi
	callq	*16(%rbx)
LBB0_3:
	movq	_mem_ctls_mutex@GOTPCREL(%rip), %rdi
	callq	_mutex_unlock
	addq	$8, %rbx
	xorl	%eax, %eax
	callq	_edac_mc_get_poll_msec
	movl	%eax, %edi
	callq	_msecs_to_jiffies
	movq	%rbx, %rdi
	movl	%eax, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_edac_queue_work                ## TAILCALL
LBB0_4:
	movq	_mem_ctls_mutex@GOTPCREL(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_mutex_unlock                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_mem_ctls_mutex,4,2             ## @mem_ctls_mutex
	.comm	_OP_RUNNING_POLL,8,3            ## @OP_RUNNING_POLL
	.comm	_edac_op_state,8,3              ## @edac_op_state
	.comm	_EDAC_OPSTATE_POLL,8,3          ## @EDAC_OPSTATE_POLL
	.no_dead_strip	_edac_mc_workq_function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function edac_mc_workq_function
_edac_mc_workq_function:                ; @edac_mc_workq_function
	.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
	bl	_to_delayed_work
	bl	_to_edac_mem_ctl_work
	mov	x19, x0
Lloh0:
	adrp	x0, _mem_ctls_mutex@GOTPAGE
Lloh1:
	ldr	x0, [x0, _mem_ctls_mutex@GOTPAGEOFF]
	bl	_mutex_lock
	ldr	x8, [x19]
Lloh2:
	adrp	x9, _OP_RUNNING_POLL@GOTPAGE
Lloh3:
	ldr	x9, [x9, _OP_RUNNING_POLL@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.1:
Lloh5:
	adrp	x8, _edac_op_state@GOTPAGE
Lloh6:
	ldr	x8, [x8, _edac_op_state@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
Lloh8:
	adrp	x9, _EDAC_OPSTATE_POLL@GOTPAGE
Lloh9:
	ldr	x9, [x9, _EDAC_OPSTATE_POLL@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.2:
	ldr	x8, [x19, #16]
	mov	x0, x19
	blr	x8
LBB0_3:
Lloh11:
	adrp	x0, _mem_ctls_mutex@GOTPAGE
Lloh12:
	ldr	x0, [x0, _mem_ctls_mutex@GOTPAGEOFF]
	bl	_mutex_unlock
	add	x19, x19, #8
	bl	_edac_mc_get_poll_msec
	bl	_msecs_to_jiffies
	mov	x1, x0
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_edac_queue_work
LBB0_4:
Lloh13:
	adrp	x0, _mem_ctls_mutex@GOTPAGE
Lloh14:
	ldr	x0, [x0, _mem_ctls_mutex@GOTPAGEOFF]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_mutex_unlock
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_mem_ctls_mutex,4,2             ; @mem_ctls_mutex
	.comm	_OP_RUNNING_POLL,8,3            ; @OP_RUNNING_POLL
	.comm	_edac_op_state,8,3              ; @edac_op_state
	.comm	_EDAC_OPSTATE_POLL,8,3          ; @EDAC_OPSTATE_POLL
	.no_dead_strip	_edac_mc_workq_function
.subsections_via_symbols
