	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sdma_update_lmc                ## -- Begin function sdma_update_lmc
	.p2align	4, 0x90
_sdma_update_lmc:                       ## @sdma_update_lmc
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %ebx
	movl	%esi, %r12d
	movq	%rdi, %r14
	movq	_CHECK_SLID_MASK_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_SD
	movl	%eax, %r15d
	andl	%r12d, %r15d
	movq	_CHECK_SLID_MASK_SHIFT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_SD
	movl	%eax, %ecx
	shll	%cl, %r15d
	andl	%r12d, %ebx
	movq	_CHECK_SLID_VALUE_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_SD
	movl	%eax, %r12d
	andl	%ebx, %r12d
	movq	_CHECK_SLID_VALUE_SHIFT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_SD
	movl	%eax, %ecx
	shll	%cl, %r12d
	cmpl	$0, (%r14)
	jle	LBB0_3
## %bb.1:
	orl	%r15d, %r12d
	xorl	%r15d, %r15d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	_LINKVERB@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edx
	movl	%r12d, %ecx
	callq	_hfi1_cdbg
	movq	8(%r14), %r13
	addq	%r15, %r13
	movq	_CHECK_SLID@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_SD
	movq	%r13, %rdi
	movl	%eax, %esi
	movl	%r12d, %edx
	callq	_write_sde_csr
	incq	%rbx
	movslq	(%r14), %rax
	addq	$4, %r15
	cmpq	%rax, %rbx
	jl	LBB0_2
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CHECK_SLID_MASK_MASK,4,2       ## @CHECK_SLID_MASK_MASK
	.comm	_CHECK_SLID_MASK_SHIFT,4,2      ## @CHECK_SLID_MASK_SHIFT
	.comm	_CHECK_SLID_VALUE_MASK,4,2      ## @CHECK_SLID_VALUE_MASK
	.comm	_CHECK_SLID_VALUE_SHIFT,4,2     ## @CHECK_SLID_VALUE_SHIFT
	.comm	_LINKVERB,4,2                   ## @LINKVERB
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"SendDmaEngine[%d].SLID_CHECK = 0x%x"

	.comm	_CHECK_SLID,4,2                 ## @CHECK_SLID
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sdma_update_lmc                ; -- Begin function sdma_update_lmc
	.p2align	2
_sdma_update_lmc:                       ; @sdma_update_lmc
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x21, x2
	mov	x22, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _CHECK_SLID_MASK_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CHECK_SLID_MASK_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_SD
	mov	x23, x0
Lloh3:
	adrp	x8, _CHECK_SLID_MASK_SHIFT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CHECK_SLID_MASK_SHIFT@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_SD
	mov	x24, x0
Lloh6:
	adrp	x8, _CHECK_SLID_VALUE_MASK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CHECK_SLID_VALUE_MASK@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_SD
	mov	x25, x0
Lloh9:
	adrp	x8, _CHECK_SLID_VALUE_SHIFT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _CHECK_SLID_VALUE_SHIFT@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	bl	_SD
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x26, #0
	mov	x20, #0
	and	w8, w23, w22
	lsl	w8, w8, w24
	and	w9, w21, w22
	and	w9, w9, w25
	lsl	w9, w9, w0
	orr	w21, w9, w8
Lloh12:
	adrp	x24, _LINKVERB@GOTPAGE
Lloh13:
	ldr	x24, [x24, _LINKVERB@GOTPAGEOFF]
Lloh14:
	adrp	x22, l_.str@PAGE
Lloh15:
	add	x22, x22, l_.str@PAGEOFF
Lloh16:
	adrp	x25, _CHECK_SLID@GOTPAGE
Lloh17:
	ldr	x25, [x25, _CHECK_SLID@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x24]
	mov	x1, x22
	mov	x2, x20
	mov	x3, x21
	bl	_hfi1_cdbg
	ldr	x8, [x19, #8]
	add	x23, x8, x26
	ldr	w0, [x25]
	bl	_SD
	mov	x1, x0
	mov	x0, x23
	mov	x2, x21
	bl	_write_sde_csr
	add	x20, x20, #1
	ldrsw	x8, [x19]
	add	x26, x26, #4
	cmp	x20, x8
	b.lt	LBB0_2
LBB0_3:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_CHECK_SLID_MASK_MASK,4,2       ; @CHECK_SLID_MASK_MASK
	.comm	_CHECK_SLID_MASK_SHIFT,4,2      ; @CHECK_SLID_MASK_SHIFT
	.comm	_CHECK_SLID_VALUE_MASK,4,2      ; @CHECK_SLID_VALUE_MASK
	.comm	_CHECK_SLID_VALUE_SHIFT,4,2     ; @CHECK_SLID_VALUE_SHIFT
	.comm	_LINKVERB,4,2                   ; @LINKVERB
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SendDmaEngine[%d].SLID_CHECK = 0x%x"

	.comm	_CHECK_SLID,4,2                 ; @CHECK_SLID
.subsections_via_symbols
