	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function imx_mu_shutdown
_imx_mu_shutdown:                       ## @imx_mu_shutdown
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movl	8(%rdi), %edi
	callq	_to_imx_mu_priv
	movq	%rax, %r14
	movq	(%r15), %r12
	movq	(%r12), %rax
	movq	_IMX_MU_TYPE_TXDB@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	leaq	12(%r12), %rdi
	callq	_tasklet_kill
LBB0_2:
	movl	8(%r12), %edi
	callq	_IMX_MU_xCR_TIEn
	movl	%eax, %ebx
	movl	8(%r12), %edi
	callq	_IMX_MU_xCR_RIEn
	orl	%eax, %ebx
	movl	8(%r12), %edi
	callq	_IMX_MU_xCR_GIEn
	orl	%eax, %ebx
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	%ebx, %edx
	callq	_imx_mu_xcr_rmw
	movl	(%r14), %edi
	movq	%r15, %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_free_irq                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IMX_MU_TYPE_TXDB,8,3           ## @IMX_MU_TYPE_TXDB
	.no_dead_strip	_imx_mu_shutdown
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function imx_mu_shutdown
_imx_mu_shutdown:                       ; @imx_mu_shutdown
	.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, #8]
	bl	_to_imx_mu_priv
	mov	x20, x0
	ldr	x22, [x19]
	ldr	x8, [x22]
Lloh0:
	adrp	x9, _IMX_MU_TYPE_TXDB@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IMX_MU_TYPE_TXDB@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	add	x0, x22, #12
	bl	_tasklet_kill
LBB0_2:
	ldr	w0, [x22, #8]
	bl	_IMX_MU_xCR_TIEn
	mov	x21, x0
	ldr	w0, [x22, #8]
	bl	_IMX_MU_xCR_RIEn
	orr	w21, w0, w21
	ldr	w0, [x22, #8]
	bl	_IMX_MU_xCR_GIEn
	orr	w2, w21, w0
	mov	x0, x20
	mov	w1, #0
	bl	_imx_mu_xcr_rmw
	ldr	w0, [x20]
	mov	x1, 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	_free_irq
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_IMX_MU_TYPE_TXDB,8,3           ; @IMX_MU_TYPE_TXDB
	.no_dead_strip	_imx_mu_shutdown
.subsections_via_symbols
