	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tegra_dma_start
_tegra_dma_start:                       ## @tegra_dma_start
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	_TEGRA_APBDMA_CHAN_CSR@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movl	(%r14), %edx
	callq	_tdc_write
	movq	_TEGRA_APBDMA_CHAN_APBSEQ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	4(%r14), %edx
	movq	%rbx, %rdi
	callq	_tdc_write
	movq	_TEGRA_APBDMA_CHAN_APBPTR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	8(%r14), %edx
	movq	%rbx, %rdi
	callq	_tdc_write
	movq	_TEGRA_APBDMA_CHAN_AHBSEQ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	12(%r14), %edx
	movq	%rbx, %rdi
	callq	_tdc_write
	movq	_TEGRA_APBDMA_CHAN_AHBPTR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	16(%r14), %edx
	movq	%rbx, %rdi
	callq	_tdc_write
	movq	(%rbx), %rax
	movq	(%rax), %rax
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.1:
	movq	_TEGRA_APBDMA_CHAN_WCOUNT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	20(%r14), %edx
	movq	%rbx, %rdi
	callq	_tdc_write
LBB0_2:
	movl	(%r15), %esi
	movq	_TEGRA_APBDMA_CSR_ENB@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	orl	(%r14), %edx
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_tdc_write                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_TEGRA_APBDMA_CHAN_CSR,4,2      ## @TEGRA_APBDMA_CHAN_CSR
	.comm	_TEGRA_APBDMA_CHAN_APBSEQ,4,2   ## @TEGRA_APBDMA_CHAN_APBSEQ
	.comm	_TEGRA_APBDMA_CHAN_APBPTR,4,2   ## @TEGRA_APBDMA_CHAN_APBPTR
	.comm	_TEGRA_APBDMA_CHAN_AHBSEQ,4,2   ## @TEGRA_APBDMA_CHAN_AHBSEQ
	.comm	_TEGRA_APBDMA_CHAN_AHBPTR,4,2   ## @TEGRA_APBDMA_CHAN_AHBPTR
	.comm	_TEGRA_APBDMA_CHAN_WCOUNT,4,2   ## @TEGRA_APBDMA_CHAN_WCOUNT
	.comm	_TEGRA_APBDMA_CSR_ENB,4,2       ## @TEGRA_APBDMA_CSR_ENB
	.no_dead_strip	_tegra_dma_start
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tegra_dma_start
_tegra_dma_start:                       ; @tegra_dma_start
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x21, _TEGRA_APBDMA_CHAN_CSR@GOTPAGE
Lloh1:
	ldr	x21, [x21, _TEGRA_APBDMA_CHAN_CSR@GOTPAGEOFF]
	ldr	w1, [x21]
	ldr	w2, [x20]
	bl	_tdc_write
Lloh2:
	adrp	x8, _TEGRA_APBDMA_CHAN_APBSEQ@GOTPAGE
Lloh3:
	ldr	x8, [x8, _TEGRA_APBDMA_CHAN_APBSEQ@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	ldr	w2, [x20, #4]
	mov	x0, x19
	bl	_tdc_write
Lloh5:
	adrp	x8, _TEGRA_APBDMA_CHAN_APBPTR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _TEGRA_APBDMA_CHAN_APBPTR@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	ldr	w2, [x20, #8]
	mov	x0, x19
	bl	_tdc_write
Lloh8:
	adrp	x8, _TEGRA_APBDMA_CHAN_AHBSEQ@GOTPAGE
Lloh9:
	ldr	x8, [x8, _TEGRA_APBDMA_CHAN_AHBSEQ@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	ldr	w2, [x20, #12]
	mov	x0, x19
	bl	_tdc_write
Lloh11:
	adrp	x8, _TEGRA_APBDMA_CHAN_AHBPTR@GOTPAGE
Lloh12:
	ldr	x8, [x8, _TEGRA_APBDMA_CHAN_AHBPTR@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	ldr	w2, [x20, #16]
	mov	x0, x19
	bl	_tdc_write
	ldr	x8, [x19]
	ldr	x8, [x8]
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
Lloh14:
	adrp	x8, _TEGRA_APBDMA_CHAN_WCOUNT@GOTPAGE
Lloh15:
	ldr	x8, [x8, _TEGRA_APBDMA_CHAN_WCOUNT@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	ldr	w2, [x20, #20]
	mov	x0, x19
	bl	_tdc_write
LBB0_2:
	ldr	w1, [x21]
Lloh17:
	adrp	x8, _TEGRA_APBDMA_CSR_ENB@GOTPAGE
Lloh18:
	ldr	x8, [x8, _TEGRA_APBDMA_CSR_ENB@GOTPAGEOFF]
	ldr	w9, [x20]
Lloh19:
	ldr	w8, [x8]
	orr	w2, w8, w9
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_tdc_write
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_TEGRA_APBDMA_CHAN_CSR,4,2      ; @TEGRA_APBDMA_CHAN_CSR
	.comm	_TEGRA_APBDMA_CHAN_APBSEQ,4,2   ; @TEGRA_APBDMA_CHAN_APBSEQ
	.comm	_TEGRA_APBDMA_CHAN_APBPTR,4,2   ; @TEGRA_APBDMA_CHAN_APBPTR
	.comm	_TEGRA_APBDMA_CHAN_AHBSEQ,4,2   ; @TEGRA_APBDMA_CHAN_AHBSEQ
	.comm	_TEGRA_APBDMA_CHAN_AHBPTR,4,2   ; @TEGRA_APBDMA_CHAN_AHBPTR
	.comm	_TEGRA_APBDMA_CHAN_WCOUNT,4,2   ; @TEGRA_APBDMA_CHAN_WCOUNT
	.comm	_TEGRA_APBDMA_CSR_ENB,4,2       ; @TEGRA_APBDMA_CSR_ENB
	.no_dead_strip	_tegra_dma_start
.subsections_via_symbols
