	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function edac_device_workq_function
_edac_device_workq_function:            ## @edac_device_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	callq	_to_delayed_work
	movq	%rax, %rdi
	callq	_to_edac_device_ctl_work
	movq	%rax, %rbx
	movq	_device_ctls_mutex@GOTPCREL(%rip), %rdi
	callq	_mutex_lock
	movq	(%rbx), %rax
	movq	_OP_OFFLINE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.8:
	movq	_device_ctls_mutex@GOTPCREL(%rip), %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_mutex_unlock                   ## TAILCALL
LBB0_1:
	movq	%rbx, %r14
	movq	_OP_RUNNING_POLL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.2:
	movq	24(%r14), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	%r14, %rdi
	callq	*%rax
LBB0_4:
	movq	_device_ctls_mutex@GOTPCREL(%rip), %rdi
	callq	_mutex_unlock
	addq	$16, %rbx
	movl	12(%r14), %edx
	cmpl	$1000, 8(%r14)                  ## imm = 0x3E8
	movq	_edac_workqueue@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	jne	LBB0_6
## %bb.5:
	movl	%edx, %edi
	callq	_round_jiffies_relative
	movl	%r14d, %edi
	movq	%rbx, %rsi
	movl	%eax, %edx
	jmp	LBB0_7
LBB0_6:
	movl	%r14d, %edi
	movq	%rbx, %rsi
LBB0_7:
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_queue_delayed_work             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_device_ctls_mutex,4,2          ## @device_ctls_mutex
	.comm	_OP_OFFLINE,8,3                 ## @OP_OFFLINE
	.comm	_OP_RUNNING_POLL,8,3            ## @OP_RUNNING_POLL
	.comm	_edac_workqueue,4,2             ## @edac_workqueue
	.no_dead_strip	_edac_device_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_device_workq_function
_edac_device_workq_function:            ; @edac_device_workq_function
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	bl	_to_delayed_work
	bl	_to_edac_device_ctl_work
	mov	x19, x0
Lloh0:
	adrp	x0, _device_ctls_mutex@GOTPAGE
Lloh1:
	ldr	x0, [x0, _device_ctls_mutex@GOTPAGEOFF]
	bl	_mutex_lock
	ldr	x8, [x19]
Lloh2:
	adrp	x9, _OP_OFFLINE@GOTPAGE
Lloh3:
	ldr	x9, [x9, _OP_OFFLINE@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
Lloh5:
	adrp	x0, _device_ctls_mutex@GOTPAGE
Lloh6:
	ldr	x0, [x0, _device_ctls_mutex@GOTPAGEOFF]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_mutex_unlock
LBB0_2:
Lloh7:
	adrp	x9, _OP_RUNNING_POLL@GOTPAGE
Lloh8:
	ldr	x9, [x9, _OP_RUNNING_POLL@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.3:
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_5
; %bb.4:
	mov	x0, x19
	blr	x8
LBB0_5:
Lloh10:
	adrp	x0, _device_ctls_mutex@GOTPAGE
Lloh11:
	ldr	x0, [x0, _device_ctls_mutex@GOTPAGEOFF]
	bl	_mutex_unlock
Lloh12:
	adrp	x8, _edac_workqueue@GOTPAGE
Lloh13:
	ldr	x8, [x8, _edac_workqueue@GOTPAGEOFF]
Lloh14:
	ldr	w20, [x8]
	add	x21, x19, #16
	ldp	w8, w2, [x19, #8]
	cmp	w8, #1000
	b.ne	LBB0_7
; %bb.6:
	mov	x0, x2
	bl	_round_jiffies_relative
	mov	x2, x0
LBB0_7:
	mov	x0, x20
	mov	x1, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_queue_delayed_work
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_device_ctls_mutex,4,2          ; @device_ctls_mutex
	.comm	_OP_OFFLINE,8,3                 ; @OP_OFFLINE
	.comm	_OP_RUNNING_POLL,8,3            ; @OP_RUNNING_POLL
	.comm	_edac_workqueue,4,2             ; @edac_workqueue
	.no_dead_strip	_edac_device_workq_function
.subsections_via_symbols
