	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function start_dma
_start_dma:                             ## @start_dma
	.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
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	_ISI_CFG1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_isi_readl
	movl	%eax, %r14d
	movq	_ISI_INTEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ISI_SR_CXFR_DONE@GOTPCREL(%rip), %rax
	movq	_ISI_SR_PXFR_DONE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_isi_writel
	cmpl	$0, (%rbx)
	je	LBB0_2
## %bb.1:
	movq	_ISI_DMA_CHSR_P_CH@GOTPCREL(%rip), %r13
	movq	_ISI_DMA_P_CTRL@GOTPCREL(%rip), %r12
	movq	_ISI_DMA_P_DSCR@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %esi
	movq	(%r15), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_isi_writel
	movl	(%r12), %esi
	movq	_ISI_DMA_CTRL_FETCH@GOTPCREL(%rip), %rax
	movq	_ISI_DMA_CTRL_DONE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_isi_writel
	movq	_ISI_DMA_CHER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r13), %edx
	movq	%rbx, %rdi
	callq	_isi_writel
	movq	_ISI_CFG1_FRATE_DIV_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, %r14d
	movq	_ISI_CFG1_DISCR@GOTPCREL(%rip), %rax
	orl	4(%rbx), %r14d
	orl	(%rax), %r14d
	movq	_ISI_CTRL_EN@GOTPCREL(%rip), %rax
	xorl	%edx, %edx
	cmpl	$0, (%rbx)
	jne	LBB0_6
## %bb.5:
	movq	_ISI_CTRL_CDC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
LBB0_6:
	orl	(%rax), %edx
	movq	_ISI_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_isi_writel
	movq	_ISI_CFG1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	%r14d, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_isi_writel                     ## TAILCALL
LBB0_2:
	movq	_ISI_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_isi_readl
	movq	_ISI_CTRL_CDC@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_3
## %bb.7:
	movl	8(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dev_err                        ## TAILCALL
LBB0_3:
	movq	_ISI_DMA_CHSR_C_CH@GOTPCREL(%rip), %r13
	movq	_ISI_DMA_C_CTRL@GOTPCREL(%rip), %r12
	movq	_ISI_DMA_C_DSCR@GOTPCREL(%rip), %rax
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
	.comm	_ISI_CFG1,4,2                   ## @ISI_CFG1
	.comm	_ISI_INTEN,4,2                  ## @ISI_INTEN
	.comm	_ISI_SR_CXFR_DONE,4,2           ## @ISI_SR_CXFR_DONE
	.comm	_ISI_SR_PXFR_DONE,4,2           ## @ISI_SR_PXFR_DONE
	.comm	_ISI_STATUS,4,2                 ## @ISI_STATUS
	.comm	_ISI_CTRL_CDC,4,2               ## @ISI_CTRL_CDC
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Already in frame handling.\n"

	.comm	_ISI_DMA_C_DSCR,4,2             ## @ISI_DMA_C_DSCR
	.comm	_ISI_DMA_C_CTRL,4,2             ## @ISI_DMA_C_CTRL
	.comm	_ISI_DMA_CTRL_FETCH,4,2         ## @ISI_DMA_CTRL_FETCH
	.comm	_ISI_DMA_CTRL_DONE,4,2          ## @ISI_DMA_CTRL_DONE
	.comm	_ISI_DMA_CHER,4,2               ## @ISI_DMA_CHER
	.comm	_ISI_DMA_CHSR_C_CH,4,2          ## @ISI_DMA_CHSR_C_CH
	.comm	_ISI_DMA_P_DSCR,4,2             ## @ISI_DMA_P_DSCR
	.comm	_ISI_DMA_P_CTRL,4,2             ## @ISI_DMA_P_CTRL
	.comm	_ISI_DMA_CHSR_P_CH,4,2          ## @ISI_DMA_CHSR_P_CH
	.comm	_ISI_CFG1_FRATE_DIV_MASK,4,2    ## @ISI_CFG1_FRATE_DIV_MASK
	.comm	_ISI_CFG1_DISCR,4,2             ## @ISI_CFG1_DISCR
	.comm	_ISI_CTRL_EN,4,2                ## @ISI_CTRL_EN
	.comm	_ISI_CTRL,4,2                   ## @ISI_CTRL
	.no_dead_strip	_start_dma
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function start_dma
_start_dma:                             ; @start_dma
	.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, x1
	mov	x19, x0
Lloh0:
	adrp	x22, _ISI_CFG1@GOTPAGE
Lloh1:
	ldr	x22, [x22, _ISI_CFG1@GOTPAGEOFF]
	ldr	w1, [x22]
	bl	_isi_readl
	mov	x20, x0
Lloh2:
	adrp	x8, _ISI_INTEN@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ISI_INTEN@GOTPAGEOFF]
Lloh4:
	adrp	x9, _ISI_SR_CXFR_DONE@GOTPAGE
Lloh5:
	ldr	x9, [x9, _ISI_SR_CXFR_DONE@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
Lloh7:
	ldr	w8, [x9]
Lloh8:
	adrp	x9, _ISI_SR_PXFR_DONE@GOTPAGE
Lloh9:
	ldr	x9, [x9, _ISI_SR_PXFR_DONE@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	orr	w2, w9, w8
	mov	x0, x19
	bl	_isi_writel
	ldr	w8, [x19]
Lloh11:
	adrp	x23, _ISI_CTRL_CDC@GOTPAGE
Lloh12:
	ldr	x23, [x23, _ISI_CTRL_CDC@GOTPAGEOFF]
	cbz	w8, LBB0_3
; %bb.1:
Lloh13:
	adrp	x24, _ISI_DMA_CHSR_P_CH@GOTPAGE
Lloh14:
	ldr	x24, [x24, _ISI_DMA_CHSR_P_CH@GOTPAGEOFF]
Lloh15:
	adrp	x25, _ISI_DMA_P_CTRL@GOTPAGE
Lloh16:
	ldr	x25, [x25, _ISI_DMA_P_CTRL@GOTPAGEOFF]
Lloh17:
	adrp	x8, _ISI_DMA_P_DSCR@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ISI_DMA_P_DSCR@GOTPAGEOFF]
LBB0_2:
	ldr	w1, [x8]
	ldr	x8, [x21]
	ldr	w2, [x8]
	mov	x0, x19
	bl	_isi_writel
Lloh19:
	adrp	x8, _ISI_DMA_CTRL_FETCH@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ISI_DMA_CTRL_FETCH@GOTPAGEOFF]
	ldr	w1, [x25]
Lloh21:
	ldr	w8, [x8]
Lloh22:
	adrp	x9, _ISI_DMA_CTRL_DONE@GOTPAGE
Lloh23:
	ldr	x9, [x9, _ISI_DMA_CTRL_DONE@GOTPAGEOFF]
Lloh24:
	ldr	w9, [x9]
	orr	w2, w9, w8
	mov	x0, x19
	bl	_isi_writel
Lloh25:
	adrp	x8, _ISI_DMA_CHER@GOTPAGE
Lloh26:
	ldr	x8, [x8, _ISI_DMA_CHER@GOTPAGEOFF]
Lloh27:
	ldr	w1, [x8]
	ldr	w2, [x24]
	mov	x0, x19
	bl	_isi_writel
Lloh28:
	adrp	x8, _ISI_CFG1_FRATE_DIV_MASK@GOTPAGE
Lloh29:
	ldr	x8, [x8, _ISI_CFG1_FRATE_DIV_MASK@GOTPAGEOFF]
Lloh30:
	ldr	w8, [x8]
	bic	w8, w20, w8
	ldp	w10, w9, [x19]
	orr	w8, w8, w9
Lloh31:
	adrp	x9, _ISI_CFG1_DISCR@GOTPAGE
Lloh32:
	ldr	x9, [x9, _ISI_CFG1_DISCR@GOTPAGEOFF]
Lloh33:
	ldr	w9, [x9]
	orr	w20, w8, w9
Lloh34:
	adrp	x8, _ISI_CTRL_EN@GOTPAGE
Lloh35:
	ldr	x8, [x8, _ISI_CTRL_EN@GOTPAGEOFF]
Lloh36:
	ldr	w8, [x8]
	ldr	w9, [x23]
	cmp	w10, #0
	csel	w9, w9, wzr, eq
	orr	w2, w9, w8
Lloh37:
	adrp	x8, _ISI_CTRL@GOTPAGE
Lloh38:
	ldr	x8, [x8, _ISI_CTRL@GOTPAGEOFF]
Lloh39:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_isi_writel
	ldr	w1, [x22]
	mov	x0, x19
	mov	x2, x20
	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
	b	_isi_writel
LBB0_3:
Lloh40:
	adrp	x8, _ISI_STATUS@GOTPAGE
Lloh41:
	ldr	x8, [x8, _ISI_STATUS@GOTPAGEOFF]
Lloh42:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_isi_readl
	ldr	w8, [x23]
	tst	w8, w0
	b.eq	LBB0_5
; %bb.4:
	ldr	w0, [x19, #8]
Lloh43:
	adrp	x1, l_.str@PAGE
Lloh44:
	add	x1, x1, l_.str@PAGEOFF
	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
	b	_dev_err
LBB0_5:
Lloh45:
	adrp	x24, _ISI_DMA_CHSR_C_CH@GOTPAGE
Lloh46:
	ldr	x24, [x24, _ISI_DMA_CHSR_C_CH@GOTPAGEOFF]
Lloh47:
	adrp	x25, _ISI_DMA_C_CTRL@GOTPAGE
Lloh48:
	ldr	x25, [x25, _ISI_DMA_C_CTRL@GOTPAGEOFF]
Lloh49:
	adrp	x8, _ISI_DMA_C_DSCR@GOTPAGE
Lloh50:
	ldr	x8, [x8, _ISI_DMA_C_DSCR@GOTPAGEOFF]
	b	LBB0_2
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh6
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpLdrGot	Lloh49, Lloh50
	.loh AdrpLdrGot	Lloh47, Lloh48
	.loh AdrpLdrGot	Lloh45, Lloh46
	.cfi_endproc
                                        ; -- End function
	.comm	_ISI_CFG1,4,2                   ; @ISI_CFG1
	.comm	_ISI_INTEN,4,2                  ; @ISI_INTEN
	.comm	_ISI_SR_CXFR_DONE,4,2           ; @ISI_SR_CXFR_DONE
	.comm	_ISI_SR_PXFR_DONE,4,2           ; @ISI_SR_PXFR_DONE
	.comm	_ISI_STATUS,4,2                 ; @ISI_STATUS
	.comm	_ISI_CTRL_CDC,4,2               ; @ISI_CTRL_CDC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Already in frame handling.\n"

	.comm	_ISI_DMA_C_DSCR,4,2             ; @ISI_DMA_C_DSCR
	.comm	_ISI_DMA_C_CTRL,4,2             ; @ISI_DMA_C_CTRL
	.comm	_ISI_DMA_CTRL_FETCH,4,2         ; @ISI_DMA_CTRL_FETCH
	.comm	_ISI_DMA_CTRL_DONE,4,2          ; @ISI_DMA_CTRL_DONE
	.comm	_ISI_DMA_CHER,4,2               ; @ISI_DMA_CHER
	.comm	_ISI_DMA_CHSR_C_CH,4,2          ; @ISI_DMA_CHSR_C_CH
	.comm	_ISI_DMA_P_DSCR,4,2             ; @ISI_DMA_P_DSCR
	.comm	_ISI_DMA_P_CTRL,4,2             ; @ISI_DMA_P_CTRL
	.comm	_ISI_DMA_CHSR_P_CH,4,2          ; @ISI_DMA_CHSR_P_CH
	.comm	_ISI_CFG1_FRATE_DIV_MASK,4,2    ; @ISI_CFG1_FRATE_DIV_MASK
	.comm	_ISI_CFG1_DISCR,4,2             ; @ISI_CFG1_DISCR
	.comm	_ISI_CTRL_EN,4,2                ; @ISI_CTRL_EN
	.comm	_ISI_CTRL,4,2                   ; @ISI_CTRL
	.no_dead_strip	_start_dma
.subsections_via_symbols
