	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sdma_err_progress_check
_sdma_err_progress_check:               ## @sdma_err_progress_check
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_err_progress_check_timer@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rdi, %rsi
	callq	_from_timer
	movq	%rax, %r12
	movq	48(%rax), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_dd_dev_err
	movq	48(%r12), %rax
	cmpl	$0, (%rax)
	je	LBB0_9
## %bb.1:
	xorl	%ebx, %ebx
	xorl	%r14d, %r14d
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	callq	_write_sequnlock
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_spin_unlock_irqrestore
	movq	-48(%rbp), %r12                 ## 8-byte Reload
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%r14
	movq	48(%r12), %rax
	movl	(%rax), %ecx
	addq	$56, %rbx
	cmpq	%rcx, %r14
	jae	LBB0_9
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rax), %r15
	leaq	(%r15,%rbx), %r13
	cmpq	%r12, %r13
	je	LBB0_8
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	(%r15,%rbx), %rdi
	addq	$28, %rdi
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	callq	_spin_lock_irqsave
	leaq	(%r15,%rbx), %r12
	addq	$32, %r12
	movq	%r12, %rdi
	callq	_write_seqlock
	movq	40(%r15,%rbx), %rax
	movq	_sdma_state_s99_running@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r15,%rbx), %rax
	cmpq	8(%r15,%rbx), %rax
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	16(%r15,%rbx), %rax
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_sdma_event_e90_sw_halted@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	___sdma_process_event
	jmp	LBB0_7
LBB0_9:
	addq	$24, %r12
	movq	%r12, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_schedule_work                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_err_progress_check_timer,4,2   ## @err_progress_check_timer
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"SDE progress check event\n"

	.comm	_sdma_state_s99_running,8,3     ## @sdma_state_s99_running
	.comm	_sdma_event_e90_sw_halted,4,2   ## @sdma_event_e90_sw_halted
	.comm	_sde,8,3                        ## @sde
	.no_dead_strip	_sdma_err_progress_check
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sdma_err_progress_check
_sdma_err_progress_check:               ; @sdma_err_progress_check
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
Lloh0:
	adrp	x8, _err_progress_check_timer@GOTPAGE
Lloh1:
	ldr	x8, [x8, _err_progress_check_timer@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x1, x0
	bl	_from_timer
	mov	x19, x0
	ldr	x0, [x0, #48]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dd_dev_err
	ldr	x8, [x19, #48]
	ldr	w9, [x8]
	cbz	w9, LBB0_9
; %bb.1:
	mov	x23, #0
	mov	x24, #0
Lloh5:
	adrp	x25, _sdma_state_s99_running@GOTPAGE
Lloh6:
	ldr	x25, [x25, _sdma_state_s99_running@GOTPAGEOFF]
Lloh7:
	adrp	x26, _sdma_event_e90_sw_halted@GOTPAGE
Lloh8:
	ldr	x26, [x26, _sdma_event_e90_sw_halted@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x22
	bl	_write_sequnlock
	mov	x0, x20
	bl	_spin_unlock_irqrestore
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x24, x24, #1
	ldr	x8, [x19, #48]
	ldr	w9, [x8]
	add	x23, x23, #56
	cmp	x24, x9
	b.hs	LBB0_9
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x27, [x8, #8]
	add	x21, x27, x23
	cmp	x21, x19
	b.eq	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x20, x21, #28
	mov	x0, x20
	bl	_spin_lock_irqsave
	add	x22, x21, #32
	mov	x0, x22
	bl	_write_seqlock
	ldr	x8, [x21, #40]
	ldr	x9, [x25]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x8, x27, x23
	ldp	x9, x10, [x8]
	cmp	x9, x10
	b.eq	LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x8, #16]
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w1, [x26]
	mov	x0, x21
	bl	___sdma_process_event
	b	LBB0_2
LBB0_9:
	add	x0, x19, #24
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_schedule_work
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_err_progress_check_timer,4,2   ; @err_progress_check_timer
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SDE progress check event\n"

	.comm	_sdma_state_s99_running,8,3     ; @sdma_state_s99_running
	.comm	_sdma_event_e90_sw_halted,4,2   ; @sdma_event_e90_sw_halted
	.comm	_sde,8,3                        ; @sde
	.no_dead_strip	_sdma_err_progress_check
.subsections_via_symbols
