	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sti_mbox_probe
_sti_mbox_probe:                        ## @sti_mbox_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, %r12
	movq	8(%rdi), %r15
	movq	_sti_mailbox_match@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r12, %rsi
	callq	_of_match_device
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	(%rax), %rax
	movq	%rax, (%r12)
	movq	_GFP_KERNEL@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	movq	%r12, %rdi
	movl	$40, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_13
## %bb.2:
	movq	%rax, %r14
	movq	%r12, %rdi
	movq	%rax, %rsi
	callq	_platform_set_drvdata
	movq	_IORESOURCE_MEM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	xorl	%edx, %edx
	callq	_platform_get_resource
	movq	%r12, %rdi
	movq	%rax, %rsi
	callq	_devm_ioremap_resource
	movl	%eax, 32(%r14)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movl	32(%r14), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_4:
	leaq	L_.str(%rip), %rsi
	xorl	%ebx, %ebx
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	movq	_ENODEV@GOTPCREL(%rip), %rax
	jmp	LBB0_14
LBB0_5:
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	movq	%r14, %rdx
	callq	_of_property_read_string
	testl	%eax, %eax
	je	LBB0_7
## %bb.6:
	movl	(%r15), %eax
	movl	%eax, (%r14)
LBB0_7:
	movl	(%r13), %edx
	movq	%r12, %rdi
	movl	$48, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_13
## %bb.8:
	movq	%rax, %rbx
	movq	_STI_MBOX_CHAN_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r13), %ecx
	movq	%r12, %rdi
	movl	$4, %edx
	callq	_devm_kcalloc
	testq	%rax, %rax
	je	LBB0_13
## %bb.9:
	movq	%rax, %r15
	movq	%r12, 8(%r14)
	movq	%rbx, 24(%r14)
	movq	%r14, %rdi
	addq	$16, %rdi
	callq	_spin_lock_init
	movabsq	$4294967296, %rax               ## imm = 0x100000000
	movq	%rax, (%rbx)
	movl	$100, 8(%rbx)
	movq	_sti_mbox_ops@GOTPCREL(%rip), %rax
	movq	%rax, 40(%rbx)
	movq	8(%r14), %rax
	movq	%rax, 32(%rbx)
	movq	_sti_mbox_xlate@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	movq	%r15, 16(%rbx)
	movq	_STI_MBOX_CHAN_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%rbx)
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_devm_mbox_controller_register
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_15
## %bb.10:
	xorl	%ebx, %ebx
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_platform_get_irq
	testl	%eax, %eax
	js	LBB0_16
## %bb.11:
	movl	%eax, %r15d
	movq	_sti_mbox_irq_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_sti_mbox_thread_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_IRQF_ONESHOT@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movl	(%r14), %r9d
	movq	%r14, (%rsp)
	movq	%r12, %rdi
	movl	%r15d, %esi
	callq	_devm_request_threaded_irq
	testl	%eax, %eax
	je	LBB0_17
## %bb.12:
	leaq	L_.str.3(%rip), %rsi
	xorl	%ebx, %ebx
	movq	%r12, %rdi
	movl	%r15d, %edx
	xorl	%eax, %eax
	callq	_dev_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_14
LBB0_13:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
LBB0_14:
	subl	(%rax), %ebx
LBB0_15:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	movl	(%r14), %edx
	leaq	L_.str.2(%rip), %rsi
	movq	%r12, %rdi
	callq	_dev_info
	jmp	LBB0_15
LBB0_17:
	movl	(%r14), %edx
	leaq	L_.str.4(%rip), %rsi
	movq	%r12, %rdi
	callq	_dev_info
	xorl	%ebx, %ebx
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.comm	_sti_mailbox_match,4,2          ## @sti_mailbox_match
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"No configuration found\n"

	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_IORESOURCE_MEM,4,2             ## @IORESOURCE_MEM
L_.str.1:                               ## @.str.1
	.asciz	"mbox-name"

	.comm	_STI_MBOX_CHAN_MAX,4,2          ## @STI_MBOX_CHAN_MAX
	.comm	_sti_mbox_ops,4,2               ## @sti_mbox_ops
	.comm	_sti_mbox_xlate,4,2             ## @sti_mbox_xlate
L_.str.2:                               ## @.str.2
	.asciz	"%s: Registered Tx only Mailbox\n"

	.comm	_sti_mbox_irq_handler,4,2       ## @sti_mbox_irq_handler
	.comm	_sti_mbox_thread_handler,4,2    ## @sti_mbox_thread_handler
	.comm	_IRQF_ONESHOT,4,2               ## @IRQF_ONESHOT
L_.str.3:                               ## @.str.3
	.asciz	"Can't claim IRQ %d\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.4:                               ## @.str.4
	.asciz	"%s: Registered Tx/Rx Mailbox\n"

	.no_dead_strip	_sti_mbox_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function sti_mbox_probe
lCPI0_0:
	.long	0                               ; 0x0
	.long	1                               ; 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_sti_mbox_probe:                        ; @sti_mbox_probe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x19, x0
	ldr	x21, [x0, #8]
Lloh0:
	adrp	x8, _sti_mailbox_match@GOTPAGE
Lloh1:
	ldr	x8, [x8, _sti_mailbox_match@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_of_match_device
	cbz	x0, LBB0_4
; %bb.1:
	ldr	x8, [x0]
	str	x8, [x19]
Lloh3:
	adrp	x22, _GFP_KERNEL@GOTPAGE
Lloh4:
	ldr	x22, [x22, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w2, [x22]
	mov	x0, x19
	mov	w1, #40
	bl	_devm_kzalloc
	cbz	x0, LBB0_13
; %bb.2:
	mov	x20, x0
	mov	x0, x19
	mov	x1, x20
	bl	_platform_set_drvdata
Lloh5:
	adrp	x8, _IORESOURCE_MEM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IORESOURCE_MEM@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_platform_get_resource
	mov	x1, x0
	mov	x0, x19
	bl	_devm_ioremap_resource
	str	w0, [x20, #32]
	bl	_IS_ERR
	cbz	x0, LBB0_5
; %bb.3:
	ldr	w0, [x20, #32]
	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
	add	sp, sp, #80
	b	_PTR_ERR
LBB0_4:
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_err
Lloh10:
	adrp	x8, _ENODEV@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
	b	LBB0_14
LBB0_5:
Lloh12:
	adrp	x1, l_.str.1@PAGE
Lloh13:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	mov	x2, x20
	bl	_of_property_read_string
	cbz	w0, LBB0_7
; %bb.6:
	ldr	w8, [x21]
	str	w8, [x20]
LBB0_7:
	ldr	w2, [x22]
	mov	x0, x19
	mov	w1, #48
	bl	_devm_kzalloc
	cbz	x0, LBB0_13
; %bb.8:
	mov	x21, x0
Lloh14:
	adrp	x23, _STI_MBOX_CHAN_MAX@GOTPAGE
Lloh15:
	ldr	x23, [x23, _STI_MBOX_CHAN_MAX@GOTPAGEOFF]
	ldr	w1, [x23]
	ldr	w3, [x22]
	mov	x0, x19
	mov	w2, #4
	bl	_devm_kcalloc
	cbz	x0, LBB0_13
; %bb.9:
	mov	x22, x0
	str	x19, [x20, #8]
	str	x21, [x20, #24]
	add	x0, x20, #16
	bl	_spin_lock_init
Lloh16:
	adrp	x8, lCPI0_0@PAGE
Lloh17:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [x21]
Lloh18:
	adrp	x8, _sti_mbox_ops@GOTPAGE
Lloh19:
	ldr	x8, [x8, _sti_mbox_ops@GOTPAGEOFF]
	ldr	x9, [x20, #8]
	stp	x9, x8, [x21, #32]
Lloh20:
	adrp	x8, _sti_mbox_xlate@GOTPAGE
Lloh21:
	ldr	x8, [x8, _sti_mbox_xlate@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	str	w8, [x21, #24]
	mov	w8, #100
	str	x22, [x21, #16]
	ldr	w9, [x23]
	stp	w8, w9, [x21, #8]
	mov	x0, x19
	mov	x1, x21
	bl	_devm_mbox_controller_register
	cbnz	w0, LBB0_15
; %bb.10:
	mov	x0, x19
	mov	w1, #0
	bl	_platform_get_irq
	tbnz	w0, #31, LBB0_16
; %bb.11:
	mov	x21, x0
Lloh23:
	adrp	x8, _sti_mbox_irq_handler@GOTPAGE
Lloh24:
	ldr	x8, [x8, _sti_mbox_irq_handler@GOTPAGEOFF]
Lloh25:
	adrp	x9, _sti_mbox_thread_handler@GOTPAGE
Lloh26:
	ldr	x9, [x9, _sti_mbox_thread_handler@GOTPAGEOFF]
Lloh27:
	ldr	w2, [x8]
Lloh28:
	ldr	w3, [x9]
Lloh29:
	adrp	x8, _IRQF_ONESHOT@GOTPAGE
Lloh30:
	ldr	x8, [x8, _IRQF_ONESHOT@GOTPAGEOFF]
Lloh31:
	ldr	w4, [x8]
	ldr	w5, [x20]
	mov	x0, x19
	mov	x1, x21
	mov	x6, x20
	bl	_devm_request_threaded_irq
	cbz	w0, LBB0_17
; %bb.12:
	str	x21, [sp]
Lloh32:
	adrp	x1, l_.str.3@PAGE
Lloh33:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_dev_err
Lloh34:
	adrp	x8, _EINVAL@GOTPAGE
Lloh35:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_14
LBB0_13:
Lloh36:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh37:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_14:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_15:
	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
	add	sp, sp, #80
	ret
LBB0_16:
	ldr	w2, [x20]
Lloh38:
	adrp	x1, l_.str.2@PAGE
Lloh39:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_18
LBB0_17:
	ldr	w2, [x20]
Lloh40:
	adrp	x1, l_.str.4@PAGE
Lloh41:
	add	x1, x1, l_.str.4@PAGEOFF
LBB0_18:
	mov	x0, x19
	bl	_dev_info
	mov	w0, #0
	b	LBB0_15
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpAdrp	Lloh16, Lloh18
	.loh AdrpLdr	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh27
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpAdd	Lloh40, Lloh41
	.cfi_endproc
                                        ; -- End function
	.comm	_sti_mailbox_match,4,2          ; @sti_mailbox_match
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"No configuration found\n"

	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_IORESOURCE_MEM,4,2             ; @IORESOURCE_MEM
l_.str.1:                               ; @.str.1
	.asciz	"mbox-name"

	.comm	_STI_MBOX_CHAN_MAX,4,2          ; @STI_MBOX_CHAN_MAX
	.comm	_sti_mbox_ops,4,2               ; @sti_mbox_ops
	.comm	_sti_mbox_xlate,4,2             ; @sti_mbox_xlate
l_.str.2:                               ; @.str.2
	.asciz	"%s: Registered Tx only Mailbox\n"

	.comm	_sti_mbox_irq_handler,4,2       ; @sti_mbox_irq_handler
	.comm	_sti_mbox_thread_handler,4,2    ; @sti_mbox_thread_handler
	.comm	_IRQF_ONESHOT,4,2               ; @IRQF_ONESHOT
l_.str.3:                               ; @.str.3
	.asciz	"Can't claim IRQ %d\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.4:                               ; @.str.4
	.asciz	"%s: Registered Tx/Rx Mailbox\n"

	.no_dead_strip	_sti_mbox_probe
.subsections_via_symbols
