	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_updater_desc
_set_updater_desc:                      ## @set_updater_desc
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	16(%rdi), %r8
	movslq	(%rdi), %r9
	movq	-16(%r8,%r9,8), %rax
	movq	-8(%r8,%r9,8), %rdx
	movq	8(%rax), %rax
	movq	_DDADR_STOP@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, 8(%rdx)
	movq	%rax, 24(%rdx)
	addq	$8, %rax
	movq	%rax, 16(%rdx)
	movq	_PXA_DCMD_WIDTH4@GOTPCREL(%rip), %rax
	movq	_PXA_DCMD_BURST32@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_PXA_DCMD_LENGTH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	$4, %eax
	orl	%ecx, %eax
	movl	%eax, (%rdx)
	movq	_DMA_PREP_INTERRUPT@GOTPCREL(%rip), %rcx
	testq	%rsi, (%rcx)
	je	LBB0_2
## %bb.1:
	movq	_PXA_DCMD_ENDIRQEN@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, (%rdx)
LBB0_2:
	cmpq	$0, 24(%rdi)
	je	LBB0_4
## %bb.3:
	movq	8(%rdi), %rax
	movq	-16(%r8,%r9,8), %rcx
	movq	%rax, 8(%rcx)
LBB0_4:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DDADR_STOP,8,3                 ## @DDADR_STOP
	.comm	_PXA_DCMD_WIDTH4,4,2            ## @PXA_DCMD_WIDTH4
	.comm	_PXA_DCMD_BURST32,4,2           ## @PXA_DCMD_BURST32
	.comm	_PXA_DCMD_LENGTH,4,2            ## @PXA_DCMD_LENGTH
	.comm	_DMA_PREP_INTERRUPT,8,3         ## @DMA_PREP_INTERRUPT
	.comm	_PXA_DCMD_ENDIRQEN,4,2          ## @PXA_DCMD_ENDIRQEN
	.no_dead_strip	_set_updater_desc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_updater_desc
_set_updater_desc:                      ; @set_updater_desc
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0, #16]
	ldrsw	x9, [x0]
	add	x10, x8, x9, lsl #3
	ldur	x10, [x10, #-8]
	sub	x9, x9, #2
	ldr	x11, [x8, x9, lsl #3]
	ldr	x11, [x11, #8]
Lloh0:
	adrp	x12, _DDADR_STOP@GOTPAGE
Lloh1:
	ldr	x12, [x12, _DDADR_STOP@GOTPAGEOFF]
Lloh2:
	ldr	x12, [x12]
	str	x11, [x10, #24]
	add	x11, x11, #8
	stp	x12, x11, [x10, #8]
Lloh3:
	adrp	x11, _PXA_DCMD_WIDTH4@GOTPAGE
Lloh4:
	ldr	x11, [x11, _PXA_DCMD_WIDTH4@GOTPAGEOFF]
Lloh5:
	ldr	w11, [x11]
Lloh6:
	adrp	x12, _PXA_DCMD_BURST32@GOTPAGE
Lloh7:
	ldr	x12, [x12, _PXA_DCMD_BURST32@GOTPAGEOFF]
Lloh8:
	ldr	w12, [x12]
	orr	w11, w12, w11
Lloh9:
	adrp	x12, _PXA_DCMD_LENGTH@GOTPAGE
Lloh10:
	ldr	x12, [x12, _PXA_DCMD_LENGTH@GOTPAGEOFF]
Lloh11:
	ldr	w12, [x12]
	and	w12, w12, #0x4
	orr	w11, w11, w12
	str	w11, [x10]
Lloh12:
	adrp	x12, _DMA_PREP_INTERRUPT@GOTPAGE
Lloh13:
	ldr	x12, [x12, _DMA_PREP_INTERRUPT@GOTPAGEOFF]
Lloh14:
	ldr	x12, [x12]
	tst	x12, x1
	b.eq	LBB0_2
; %bb.1:
Lloh15:
	adrp	x12, _PXA_DCMD_ENDIRQEN@GOTPAGE
Lloh16:
	ldr	x12, [x12, _PXA_DCMD_ENDIRQEN@GOTPAGEOFF]
Lloh17:
	ldr	w12, [x12]
	orr	w11, w12, w11
	str	w11, [x10]
LBB0_2:
	ldr	x10, [x0, #24]
	cbz	x10, LBB0_4
; %bb.3:
	ldr	x10, [x0, #8]
	ldr	x8, [x8, x9, lsl #3]
	str	x10, [x8, #8]
LBB0_4:
	ret
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_DDADR_STOP,8,3                 ; @DDADR_STOP
	.comm	_PXA_DCMD_WIDTH4,4,2            ; @PXA_DCMD_WIDTH4
	.comm	_PXA_DCMD_BURST32,4,2           ; @PXA_DCMD_BURST32
	.comm	_PXA_DCMD_LENGTH,4,2            ; @PXA_DCMD_LENGTH
	.comm	_DMA_PREP_INTERRUPT,8,3         ; @DMA_PREP_INTERRUPT
	.comm	_PXA_DCMD_ENDIRQEN,4,2          ; @PXA_DCMD_ENDIRQEN
	.no_dead_strip	_set_updater_desc
.subsections_via_symbols
