	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sdma_err_progress_check_schedule
_sdma_err_progress_check_schedule:      ## @sdma_err_progress_check_schedule
	.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
	movq	%rdi, %rbx
	movq	8(%rdi), %rdi
	callq	_is_bx
	testl	%eax, %eax
	je	LBB0_1
LBB0_15:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_1:
	movq	_SDMA_AHG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_HFI1_CAP_IS_KSET
	testq	%rax, %rax
	je	LBB0_15
## %bb.2:
	movq	8(%rbx), %rdi
	movl	(%rdi), %r9d
	testq	%r9, %r9
	je	LBB0_14
## %bb.3:
	movq	8(%rdi), %r8
	cmpl	$1, %r9d
	jne	LBB0_5
## %bb.4:
	xorl	%edx, %edx
LBB0_11:
	testb	$1, %r9b
	je	LBB0_14
## %bb.12:
	leaq	(%rdx,%rdx,2), %rax
	leaq	(%r8,%rax,8), %rcx
	cmpq	%rbx, %rcx
	je	LBB0_14
## %bb.13:
	movl	16(%r8,%rax,8), %ecx
	movl	%ecx, 20(%r8,%rax,8)
LBB0_14:
	movl	4(%rbx), %edx
	leaq	L_.str(%rip), %rsi
	callq	_dd_dev_err
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	$10, %rsi
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_mod_timer                      ## TAILCALL
LBB0_5:
	movl	%r9d, %esi
	andl	$-2, %esi
	leaq	24(%r8), %rax
	xorl	%edx, %edx
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_6 Depth=1
	addq	$2, %rdx
	addq	$48, %rax
	cmpq	%rdx, %rsi
	je	LBB0_11
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	leaq	-24(%rax), %rcx
	cmpq	%rbx, %rcx
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	-8(%rax), %ecx
	movl	%ecx, -4(%rax)
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=1
	cmpq	%rbx, %rax
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	16(%rax), %ecx
	movl	%ecx, 20(%rax)
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_SDMA_AHG,4,2                   ## @SDMA_AHG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"SDMA engine %d - check scheduled\n"

	.comm	_jiffies,8,3                    ## @jiffies
	.no_dead_strip	_sdma_err_progress_check_schedule
.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_schedule
_sdma_err_progress_check_schedule:      ; @sdma_err_progress_check_schedule
	.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	x0, [x0, #8]
	bl	_is_bx
	cbz	w0, LBB0_2
LBB0_1:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
Lloh0:
	adrp	x8, _SDMA_AHG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SDMA_AHG@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_HFI1_CAP_IS_KSET
	cbz	x0, LBB0_1
; %bb.3:
	ldr	x0, [x19, #8]
	ldr	w8, [x0]
	cbz	w8, LBB0_8
; %bb.4:
	ldr	x9, [x0, #8]
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x9, x9, #24
	subs	x8, x8, #1
	b.eq	LBB0_8
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	cmp	x9, x19
	b.eq	LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w10, [x9, #16]
	str	w10, [x9, #20]
	b	LBB0_5
LBB0_8:
	ldr	w2, [x19, #4]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dd_dev_err
Lloh5:
	adrp	x8, _jiffies@GOTPAGE
Lloh6:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	add	x1, x8, #10
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_SDMA_AHG,4,2                   ; @SDMA_AHG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SDMA engine %d - check scheduled\n"

	.comm	_jiffies,8,3                    ; @jiffies
	.no_dead_strip	_sdma_err_progress_check_schedule
.subsections_via_symbols
