	.file	"extr_bcm2835-mailbox.c_bcm2835_mbox_probe.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Failed to register a mailbox IRQ handler: %d\n"
	.align 8
.LC1:
	.string	"Failed to remap mailbox regs: %d\n"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC2:
	.string	"mailbox enabled\n"
	.text
	.p2align 4
	.type	bcm2835_mbox_probe, @function
bcm2835_mbox_probe:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	esi, 56
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	edx, DWORD PTR GFP_KERNEL[rip]
	call	devm_kzalloc@PLT
	test	rax, rax
	je	.L8
	lea	rdi, 52[rax]
	mov	r12, rax
	call	spin_lock_init@PLT
	mov	rdi, rbp
	call	dev_name@PLT
	mov	edi, DWORD PTR 0[rbp]
	xor	esi, esi
	mov	r14d, DWORD PTR bcm2835_mbox_irq[rip]
	mov	r13d, eax
	call	irq_of_parse_and_map@PLT
	xor	ecx, ecx
	mov	r9, r12
	mov	r8d, r13d
	mov	esi, eax
	mov	edx, r14d
	mov	rdi, rbp
	call	devm_request_irq@PLT
	test	eax, eax
	jne	.L10
	mov	esi, DWORD PTR IORESOURCE_MEM[rip]
	xor	edx, edx
	mov	rdi, rbp
	call	platform_get_resource@PLT
	mov	rdi, rbp
	mov	rsi, rax
	call	devm_ioremap_resource@PLT
	mov	DWORD PTR 48[r12], eax
	mov	edi, eax
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L11
	lea	rax, bcm2835_mbox_chan_ops[rip]
	mov	QWORD PTR 24[r12], rbp
	mov	esi, 1
	mov	rdi, rbp
	mov	QWORD PTR 40[r12], rax
	lea	rax, bcm2835_mbox_index_xlate[rip]
	mov	QWORD PTR 32[r12], rax
	movabs	rax, 21474836481
	mov	QWORD PTR [r12], rax
	mov	edx, DWORD PTR GFP_KERNEL[rip]
	mov	DWORD PTR 8[r12], 1
	call	devm_kzalloc@PLT
	mov	QWORD PTR 16[r12], rax
	test	rax, rax
	je	.L8
	mov	rsi, r12
	mov	rdi, rbp
	call	devm_mbox_controller_register@PLT
	mov	r13d, eax
	test	eax, eax
	jne	.L1
	mov	rsi, r12
	mov	rdi, rbp
	call	platform_set_drvdata@PLT
	mov	rdi, rbp
	lea	rsi, .LC2[rip]
	call	dev_info@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r13d
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	mov	edx, eax
	lea	rsi, .LC0[rip]
	mov	rdi, rbp
	call	dev_err@PLT
	mov	r13d, DWORD PTR ENODEV[rip]
	neg	r13d
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r13d
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	r13d, DWORD PTR ENOMEM[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	neg	r13d
	mov	eax, r13d
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	mov	edi, DWORD PTR 48[r12]
	call	PTR_ERR@PLT
	mov	rdi, rbp
	lea	rsi, .LC1[rip]
	mov	edx, eax
	mov	r13d, eax
	call	dev_err@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 40
	mov	eax, r13d
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	bcm2835_mbox_probe, .-bcm2835_mbox_probe
	.comm	bcm2835_mbox_irq,4,4
	.comm	bcm2835_mbox_index_xlate,4,4
	.comm	bcm2835_mbox_chan_ops,4,4
	.comm	IORESOURCE_MEM,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.comm	ENODEV,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_bcm2835-mailbox.c_bcm2835_mbox_probe.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Failed to register a mailbox IRQ handler: %d\012\000"
	.align	2
.LC1:
	.ascii	"Failed to remap mailbox regs: %d\012\000"
	.align	2
.LC2:
	.ascii	"mailbox enabled\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	bcm2835_mbox_probe, %function
bcm2835_mbox_probe:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r7, .L12
	mov	r1, #36
	ldr	r2, [r7]
	sub	sp, sp, #8
	mov	r6, r0
	bl	devm_kzalloc
	subs	r4, r0, #0
	beq	.L8
	add	r0, r4, #32
	bl	spin_lock_init
	mov	r1, #0
	ldr	r0, [r6]
	bl	irq_of_parse_and_map
	ldr	r3, .L12+4
	mov	r5, r0
	mov	r0, r6
	ldr	r8, [r3]
	bl	dev_name
	mov	r2, r8
	stm	sp, {r0, r4}
	mov	r1, r5
	mov	r3, #0
	mov	r0, r6
	bl	devm_request_irq
	subs	r2, r0, #0
	bne	.L10
	ldr	r3, .L12+8
	mov	r0, r6
	ldr	r1, [r3]
	bl	platform_get_resource
	mov	r1, r0
	mov	r0, r6
	bl	devm_ioremap_resource
	str	r0, [r4, #28]
	bl	IS_ERR
	cmp	r0, #0
	bne	.L11
	mov	r3, #5
	mov	r1, #1
	ldr	r0, .L12+12
	str	r3, [r4, #4]
	ldr	r3, .L12+16
	ldr	r2, [r7]
	str	r0, [r4, #24]
	str	r6, [r4, #16]
	mov	r0, r6
	str	r1, [r4]
	str	r1, [r4, #8]
	str	r3, [r4, #20]
	bl	devm_kzalloc
	cmp	r0, #0
	str	r0, [r4, #12]
	beq	.L8
	mov	r1, r4
	mov	r0, r6
	bl	devm_mbox_controller_register
	subs	r5, r0, #0
	bne	.L1
	mov	r1, r4
	mov	r0, r6
	bl	platform_set_drvdata
	mov	r0, r6
	ldr	r1, .L12+20
	bl	dev_info
	mov	r0, r5
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L10:
	mov	r0, r6
	ldr	r1, .L12+24
	bl	dev_err
	ldr	r3, .L12+28
	ldr	r5, [r3]
	rsb	r5, r5, #0
.L1:
	mov	r0, r5
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L8:
	ldr	r3, .L12+32
	ldr	r5, [r3]
	rsb	r5, r5, #0
	mov	r0, r5
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L11:
	ldr	r0, [r4, #28]
	bl	PTR_ERR
	mov	r5, r0
	ldr	r1, .L12+36
	mov	r0, r6
	mov	r2, r5
	bl	dev_err
	mov	r0, r5
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L13:
	.align	2
.L12:
	.word	GFP_KERNEL
	.word	bcm2835_mbox_irq
	.word	IORESOURCE_MEM
	.word	bcm2835_mbox_chan_ops
	.word	bcm2835_mbox_index_xlate
	.word	.LC2
	.word	.LC0
	.word	ENODEV
	.word	ENOMEM
	.word	.LC1
	.size	bcm2835_mbox_probe, .-bcm2835_mbox_probe
	.comm	bcm2835_mbox_irq,4,4
	.comm	bcm2835_mbox_index_xlate,4,4
	.comm	bcm2835_mbox_chan_ops,4,4
	.comm	IORESOURCE_MEM,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.comm	ENODEV,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
