	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function imx_mu_probe
_imx_mu_probe:                          ## @imx_mu_probe
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	(%rdi), %r15
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$96, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r13
	movq	%r14, 88(%rax)
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_devm_platform_ioremap_resource
	movq	%rax, 80(%r13)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movq	80(%r13), %rdi
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_18:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_platform_get_irq
	movq	%rax, (%r13)
	testq	%rax, %rax
	js	LBB0_6
## %bb.7:
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_devm_clk_get
	movq	%rax, 72(%r13)
	movq	%rax, %rdi
	callq	_IS_ERR
	movq	72(%r13), %rdi
	testq	%rax, %rax
	je	LBB0_8
## %bb.9:
	callq	_PTR_ERR
	movq	_ENOENT@GOTPCREL(%rip), %rcx
	addl	(%rcx), %eax
	jne	LBB0_10
## %bb.11:
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	movq	$0, 72(%r13)
	xorl	%edi, %edi
	jmp	LBB0_12
LBB0_6:
	movq	%rax, %rbx
	jmp	LBB0_18
LBB0_8:
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
LBB0_12:
	callq	_clk_prepare_enable
	testl	%eax, %eax
	je	LBB0_13
## %bb.17:
	movl	%eax, %ebx
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_err
	jmp	LBB0_18
LBB0_10:
	movq	72(%r13), %rdi
	jmp	LBB0_4
LBB0_13:
	movq	_IMX_MU_CHANS@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_16
## %bb.14:
	xorl	%ebx, %ebx
	xorl	%r12d, %r12d
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movq	64(%r13), %rax
	leaq	(%rax,%r12), %rdx
	movl	%r15d, %r8d
	andl	$3, %r8d
	movl	%r8d, (%rax,%r12)
	movl	%r15d, %ecx
	shrl	$2, %ecx
	movl	%ecx, 4(%rax,%r12)
	movq	48(%r13), %rsi
	leaq	(%rsi,%rbx), %rdi
	movq	%rdi, 16(%rax,%r12)
	movq	%rdx, (%rsi,%rbx)
	movl	8(%rax,%r12), %edi
	movl	$4, %esi
	leaq	L_.str.1(%rip), %rdx
	callq	_snprintf
	incq	%r15
	movq	_IMX_MU_CHANS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$24, %r12
	addq	$8, %rbx
	cmpq	%rax, %r15
	jb	LBB0_15
LBB0_16:
	leaq	L_.str.2(%rip), %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_of_property_read_bool
	movl	%eax, 60(%r13)
	leaq	56(%r13), %rdi
	callq	_spin_lock_init
	movq	%r13, %r15
	addq	$8, %r15
	movq	%r14, 40(%r13)
	movq	_imx_mu_ops@GOTPCREL(%rip), %rax
	movq	%rax, 32(%r13)
	movq	48(%r13), %rax
	movq	%rax, 24(%r13)
	movq	_IMX_MU_CHANS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r13)
	movq	_imx_mu_xlate@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r13)
	movl	$1, 12(%r13)
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_platform_set_drvdata
	movq	%r13, %rdi
	callq	_imx_mu_init_generic
	movq	%r14, %rdi
	movq	%r15, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_devm_mbox_controller_register  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_ENOENT,4,2                     ## @ENOENT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to enable clock\n"

	.comm	_IMX_MU_CHANS,4,2               ## @IMX_MU_CHANS
L_.str.1:                               ## @.str.1
	.asciz	"imx_mu_chan[%i-%i]"

L_.str.2:                               ## @.str.2
	.asciz	"fsl,mu-side-b"

	.comm	_imx_mu_ops,4,2                 ## @imx_mu_ops
	.comm	_imx_mu_xlate,4,2               ## @imx_mu_xlate
	.no_dead_strip	_imx_mu_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function imx_mu_probe
_imx_mu_probe:                          ; @imx_mu_probe
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
	ldr	x21, [x0]
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	w1, #96
	bl	_devm_kzalloc
	cbz	x0, LBB0_4
; %bb.1:
	mov	x20, x0
	str	x19, [x0, #88]
	mov	x0, x19
	mov	w1, #0
	bl	_devm_platform_ioremap_resource
	str	x0, [x20, #80]
	bl	_IS_ERR
	cbz	x0, LBB0_6
; %bb.2:
	ldr	x0, [x20, #80]
LBB0_3:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_PTR_ERR
LBB0_4:
Lloh3:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w22, w8
LBB0_5:
	mov	x0, x22
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_6:
	mov	x0, x19
	mov	w1, #0
	bl	_platform_get_irq
	str	x0, [x20]
	tbnz	x0, #63, LBB0_12
; %bb.7:
	mov	x0, x19
	mov	x1, #0
	bl	_devm_clk_get
	str	x0, [x20, #72]
	bl	_IS_ERR
	mov	x8, x0
	ldr	x0, [x20, #72]
	cbz	x8, LBB0_10
; %bb.8:
	bl	_PTR_ERR
Lloh6:
	adrp	x8, _ENOENT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmn	w0, w8
	b.ne	LBB0_13
; %bb.9:
	mov	x0, #0
	str	xzr, [x20, #72]
LBB0_10:
	bl	_clk_prepare_enable
	cbz	w0, LBB0_14
; %bb.11:
	mov	x22, x0
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	b	LBB0_5
LBB0_12:
	mov	x22, x0
	b	LBB0_5
LBB0_13:
	ldr	x0, [x20, #72]
	b	LBB0_3
LBB0_14:
Lloh11:
	adrp	x23, _IMX_MU_CHANS@GOTPAGE
Lloh12:
	ldr	x23, [x23, _IMX_MU_CHANS@GOTPAGEOFF]
	ldr	w8, [x23]
	cbz	w8, LBB0_17
; %bb.15:
	mov	x24, #0
	mov	x25, #0
	mov	x26, #0
Lloh13:
	adrp	x22, l_.str.1@PAGE
Lloh14:
	add	x22, x22, l_.str.1@PAGEOFF
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #64]
	add	x8, x8, x25
	and	w4, w26, #0x3
	ubfx	x3, x26, #2, #30
	stp	w4, w3, [x8]
	ldr	x9, [x20, #48]
	add	x9, x9, x24
	str	x9, [x8, #16]
	str	x8, [x9]
	ldr	w0, [x8, #8]
	mov	w1, #4
	mov	x2, x22
                                        ; kill: def $w3 killed $w3 killed $x3
	bl	_snprintf
	add	x26, x26, #1
	ldr	w8, [x23]
	add	x25, x25, #24
	add	x24, x24, #8
	cmp	x26, x8
	b.lo	LBB0_16
LBB0_17:
Lloh15:
	adrp	x1, l_.str.2@PAGE
Lloh16:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x21
	bl	_of_property_read_bool
	str	w0, [x20, #60]
	add	x0, x20, #56
	bl	_spin_lock_init
	str	x19, [x20, #40]
Lloh17:
	adrp	x8, _imx_mu_ops@GOTPAGE
Lloh18:
	ldr	x8, [x8, _imx_mu_ops@GOTPAGEOFF]
	ldr	x9, [x20, #48]
	stp	x9, x8, [x20, #24]
	ldr	w8, [x23]
	mov	x21, x20
	str	w8, [x21, #8]!
Lloh19:
	adrp	x8, _imx_mu_xlate@GOTPAGE
Lloh20:
	ldr	x8, [x8, _imx_mu_xlate@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	mov	w9, #1
	stp	w9, w8, [x20, #12]
	mov	x0, x19
	mov	x1, x20
	bl	_platform_set_drvdata
	mov	x0, x20
	bl	_imx_mu_init_generic
	mov	x0, x19
	mov	x1, x21
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_devm_mbox_controller_register
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_ENOENT,4,2                     ; @ENOENT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to enable clock\n"

	.comm	_IMX_MU_CHANS,4,2               ; @IMX_MU_CHANS
l_.str.1:                               ; @.str.1
	.asciz	"imx_mu_chan[%i-%i]"

l_.str.2:                               ; @.str.2
	.asciz	"fsl,mu-side-b"

	.comm	_imx_mu_ops,4,2                 ; @imx_mu_ops
	.comm	_imx_mu_xlate,4,2               ; @imx_mu_xlate
	.no_dead_strip	_imx_mu_probe
.subsections_via_symbols
