	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tegra_nand_controller_abort
_tegra_nand_controller_abort:           ## @tegra_nand_controller_abort
	.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	%rdi, %rbx
	movl	(%rdi), %edi
	callq	_disable_irq
	movq	_DMA_MST_CTRL@GOTPCREL(%rip), %r14
	movq	(%r14), %rsi
	addq	16(%rbx), %rsi
	xorl	%edi, %edi
	callq	_writel_relaxed
	movq	_COMMAND@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	16(%rbx), %rsi
	xorl	%edi, %edi
	callq	_writel_relaxed
	movq	_ISR@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	addq	16(%rbx), %rdi
	callq	_readl_relaxed
	movq	(%r15), %rsi
	addq	16(%rbx), %rsi
	movl	%eax, %edi
	callq	_writel_relaxed
	movq	(%r14), %rdi
	addq	16(%rbx), %rdi
	callq	_readl_relaxed
	movq	(%r14), %rsi
	addq	16(%rbx), %rsi
	movl	%eax, %edi
	callq	_writel_relaxed
	leaq	8(%rbx), %rdi
	callq	_reinit_completion
	leaq	4(%rbx), %rdi
	callq	_reinit_completion
	movl	(%rbx), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_enable_irq                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DMA_MST_CTRL,8,3               ## @DMA_MST_CTRL
	.comm	_COMMAND,8,3                    ## @COMMAND
	.comm	_ISR,8,3                        ## @ISR
	.no_dead_strip	_tegra_nand_controller_abort
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tegra_nand_controller_abort
_tegra_nand_controller_abort:           ; @tegra_nand_controller_abort
	.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	x19, x0
	ldr	w0, [x0]
	bl	_disable_irq
	ldr	x8, [x19, #16]
Lloh0:
	adrp	x20, _DMA_MST_CTRL@GOTPAGE
Lloh1:
	ldr	x20, [x20, _DMA_MST_CTRL@GOTPAGEOFF]
	ldr	x9, [x20]
	add	x1, x9, x8
	mov	w0, #0
	bl	_writel_relaxed
	ldr	x8, [x19, #16]
Lloh2:
	adrp	x9, _COMMAND@GOTPAGE
Lloh3:
	ldr	x9, [x9, _COMMAND@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	w0, #0
	bl	_writel_relaxed
	ldr	x8, [x19, #16]
Lloh5:
	adrp	x21, _ISR@GOTPAGE
Lloh6:
	ldr	x21, [x21, _ISR@GOTPAGEOFF]
	ldr	x9, [x21]
	add	x0, x9, x8
	bl	_readl_relaxed
	ldr	x8, [x19, #16]
	ldr	x9, [x21]
	add	x1, x9, x8
	bl	_writel_relaxed
	ldr	x8, [x19, #16]
	ldr	x9, [x20]
	add	x0, x9, x8
	bl	_readl_relaxed
	ldr	x8, [x19, #16]
	ldr	x9, [x20]
	add	x1, x9, x8
	bl	_writel_relaxed
	add	x0, x19, #8
	bl	_reinit_completion
	add	x0, x19, #4
	bl	_reinit_completion
	ldr	w0, [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	_enable_irq
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_DMA_MST_CTRL,8,3               ; @DMA_MST_CTRL
	.comm	_COMMAND,8,3                    ; @COMMAND
	.comm	_ISR,8,3                        ; @ISR
	.no_dead_strip	_tegra_nand_controller_abort
.subsections_via_symbols
