	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function imx_mu_startup
_imx_mu_startup:                        ## @imx_mu_startup
	.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, %rbx
	movl	8(%rdi), %edi
	callq	_to_imx_mu_priv
	movq	%rax, %r14
	movq	(%rbx), %r12
	movl	(%r12), %eax
	movq	_IMX_MU_TYPE_TXDB@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_2
## %bb.1:
	leaq	12(%r12), %rdi
	movq	_imx_mu_txdb_tasklet@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdx
	callq	_tasklet_init
	xorl	%r15d, %r15d
	jmp	LBB0_9
LBB0_2:
	movl	(%r14), %edi
	movq	_imx_mu_isr@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_IRQF_SHARED@GOTPCREL(%rip), %rax
	movq	_IRQF_NO_SUSPEND@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movl	8(%r12), %ecx
	movq	%rbx, %r8
	callq	_request_irq
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movl	%eax, %r15d
	movl	(%r14), %edx
	movl	4(%r14), %edi
	leaq	L_.str(%rip), %rsi
	callq	_dev_err
	jmp	LBB0_9
LBB0_4:
	movl	(%r12), %eax
	cmpl	$128, %eax
	je	LBB0_7
## %bb.5:
	xorl	%r15d, %r15d
	cmpl	$129, %eax
	jne	LBB0_9
## %bb.6:
	movl	4(%r12), %edi
	callq	_IMX_MU_xCR_RIEn
	jmp	LBB0_8
LBB0_7:
	movl	4(%r12), %edi
	callq	_IMX_MU_xCR_GIEn
LBB0_8:
	xorl	%r15d, %r15d
	movq	%r14, %rdi
	movl	%eax, %esi
	xorl	%edx, %edx
	callq	_imx_mu_xcr_rmw
LBB0_9:
	movl	%r15d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IMX_MU_TYPE_TXDB,4,2           ## @IMX_MU_TYPE_TXDB
	.comm	_imx_mu_txdb_tasklet,4,2        ## @imx_mu_txdb_tasklet
	.comm	_imx_mu_isr,4,2                 ## @imx_mu_isr
	.comm	_IRQF_SHARED,4,2                ## @IRQF_SHARED
	.comm	_IRQF_NO_SUSPEND,4,2            ## @IRQF_NO_SUSPEND
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unable to acquire IRQ %d\n"

	.no_dead_strip	_imx_mu_startup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function imx_mu_startup
_imx_mu_startup:                        ; @imx_mu_startup
	.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	x21, x0
	ldr	w0, [x0, #8]
	bl	_to_imx_mu_priv
	ldr	x20, [x21]
	ldr	w8, [x20]
Lloh0:
	adrp	x9, _IMX_MU_TYPE_TXDB@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IMX_MU_TYPE_TXDB@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_2
; %bb.1:
	add	x0, x20, #12
Lloh3:
	adrp	x8, _imx_mu_txdb_tasklet@GOTPAGE
Lloh4:
	ldr	x8, [x8, _imx_mu_txdb_tasklet@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x2, x20
	bl	_tasklet_init
	b	LBB0_9
LBB0_2:
	mov	x19, x0
	ldr	w0, [x0]
Lloh6:
	adrp	x8, _imx_mu_isr@GOTPAGE
Lloh7:
	ldr	x8, [x8, _imx_mu_isr@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x8, _IRQF_SHARED@GOTPAGE
Lloh10:
	ldr	x8, [x8, _IRQF_SHARED@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
Lloh12:
	adrp	x9, _IRQF_NO_SUSPEND@GOTPAGE
Lloh13:
	ldr	x9, [x9, _IRQF_NO_SUSPEND@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	orr	w2, w9, w8
	ldr	w3, [x20, #8]
	mov	x4, x21
	bl	_request_irq
	cbz	w0, LBB0_4
; %bb.3:
	mov	x21, x0
	ldp	w2, w0, [x19]
Lloh15:
	adrp	x1, l_.str@PAGE
Lloh16:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err
	b	LBB0_10
LBB0_4:
	ldr	w8, [x20]
	cmp	w8, #128
	b.eq	LBB0_7
; %bb.5:
	cmp	w8, #129
	b.ne	LBB0_9
; %bb.6:
	ldr	w0, [x20, #4]
	bl	_IMX_MU_xCR_RIEn
	b	LBB0_8
LBB0_7:
	ldr	w0, [x20, #4]
	bl	_IMX_MU_xCR_GIEn
LBB0_8:
	mov	x1, x0
	mov	x0, x19
	mov	w2, #0
	bl	_imx_mu_xcr_rmw
LBB0_9:
	mov	w21, #0
LBB0_10:
	mov	x0, x21
	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
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_IMX_MU_TYPE_TXDB,4,2           ; @IMX_MU_TYPE_TXDB
	.comm	_imx_mu_txdb_tasklet,4,2        ; @imx_mu_txdb_tasklet
	.comm	_imx_mu_isr,4,2                 ; @imx_mu_isr
	.comm	_IRQF_SHARED,4,2                ; @IRQF_SHARED
	.comm	_IRQF_NO_SUSPEND,4,2            ; @IRQF_NO_SUSPEND
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unable to acquire IRQ %d\n"

	.no_dead_strip	_imx_mu_startup
.subsections_via_symbols
