	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tegra_dma_issue_pending
_tegra_dma_issue_pending:               ## @tegra_dma_issue_pending
	.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
	callq	_to_tegra_dma_chan
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_spin_lock_irqsave
	movq	%rbx, %rdi
	addq	$20, %rdi
	callq	_list_empty
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_tdc2dev
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edi
	callq	_dev_err
	jmp	LBB0_5
LBB0_2:
	cmpl	$0, 16(%rbx)
	jne	LBB0_5
## %bb.3:
	movq	%rbx, %rdi
	callq	_tdc_start_head_req
	cmpq	$0, 8(%rbx)
	je	LBB0_5
## %bb.4:
	movq	_TEGRA_APBDMA_BURST_COMPLETE_TIME@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_udelay
	movq	%rbx, %rdi
	callq	_tdc_configure_next_head_desc
LBB0_5:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_spin_unlock_irqrestore         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"No DMA request\n"

	.comm	_TEGRA_APBDMA_BURST_COMPLETE_TIME,4,2 ## @TEGRA_APBDMA_BURST_COMPLETE_TIME
	.no_dead_strip	_tegra_dma_issue_pending
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tegra_dma_issue_pending
_tegra_dma_issue_pending:               ; @tegra_dma_issue_pending
	.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
	bl	_to_tegra_dma_chan
	mov	x19, x0
	bl	_spin_lock_irqsave
	add	x0, x19, #20
	bl	_list_empty
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_tdc2dev
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err
	b	LBB0_5
LBB0_2:
	ldr	w8, [x19, #16]
	cbnz	w8, LBB0_5
; %bb.3:
	mov	x0, x19
	bl	_tdc_start_head_req
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_5
; %bb.4:
Lloh2:
	adrp	x8, _TEGRA_APBDMA_BURST_COMPLETE_TIME@GOTPAGE
Lloh3:
	ldr	x8, [x8, _TEGRA_APBDMA_BURST_COMPLETE_TIME@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	bl	_udelay
	mov	x0, x19
	bl	_tdc_configure_next_head_desc
LBB0_5:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_spin_unlock_irqrestore
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"No DMA request\n"

	.comm	_TEGRA_APBDMA_BURST_COMPLETE_TIME,4,2 ; @TEGRA_APBDMA_BURST_COMPLETE_TIME
	.no_dead_strip	_tegra_dma_issue_pending
.subsections_via_symbols
