	.file	"extr_xpc_uv.c_xpc_handle_notify_mq_msg_uv.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"xpc_handle_notify_IRQ_uv() received invalid channel number=0x%x in message from partid=%d\n"
	.text
	.p2align 4
	.type	xpc_handle_notify_mq_msg_uv, @function
xpc_handle_notify_mq_msg_uv:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	movsx	r13, DWORD PTR [rsi]
	cmp	DWORD PTR [rdi], r13d
	setle	dil
	movzx	edi, dil
	call	unlikely@PLT
	test	rax, rax
	jne	.L13
	mov	rax, QWORD PTR 8[rbp]
	lea	rdx, 0[r13+r13*4]
	lea	r13, [rax+rdx*8]
	mov	rdi, r13
	call	xpc_msgqueue_ref@PLT
	mov	eax, DWORD PTR 0[r13]
	test	DWORD PTR XPC_C_CONNECTED[rip], eax
	je	.L6
	cmp	QWORD PTR 8[r12], 0
	je	.L14
	mov	eax, DWORD PTR 16[r12]
	xor	edi, edi
	cdq
	idiv	DWORD PTR 4[r13]
	mov	rax, QWORD PTR 32[r13]
	imul	edx, DWORD PTR 8[r13]
	movsx	rdx, edx
	lea	rdx, [rdx+rdx*2]
	lea	rbx, [rax+rdx*8]
	cmp	QWORD PTR 8[rbx], 0
	setne	dil
	call	BUG_ON@PLT
	mov	rdx, QWORD PTR 8[r12]
	mov	rsi, r12
	mov	rdi, rbx
	call	memcpy@PLT
	lea	rsi, 20[rbx]
	lea	rdi, 24[r13]
	call	xpc_put_fifo_entry_uv@PLT
	mov	eax, DWORD PTR 0[r13]
	test	DWORD PTR XPC_C_CONNECTEDCALLOUT_MADE[rip], eax
	jne	.L15
.L6:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rdi, r13
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	xpc_msgqueue_deref@PLT
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	mov	rdi, rbp
	call	XPC_PARTID@PLT
	mov	edi, DWORD PTR xpc_part[rip]
	mov	edx, r13d
	lea	rsi, .LC0[rip]
	mov	ecx, eax
	call	dev_err@PLT
	xor	esi, esi
	lea	rdi, xpc_activate_IRQ_rcvd_lock[rip]
	call	spin_lock_irqsave@PLT
	cmp	QWORD PTR 16[rbp], 0
	jne	.L3
	add	DWORD PTR xpc_activate_IRQ_rcvd[rip], 1
.L3:
	mov	rax, QWORD PTR XPC_P_ASR_DEACTIVATE_UV[rip]
	lea	rdi, xpc_activate_IRQ_rcvd_lock[rip]
	xor	esi, esi
	mov	QWORD PTR 16[rbp], rax
	mov	eax, DWORD PTR xpBadChannelNumber[rip]
	mov	DWORD PTR 24[rbp], eax
	call	spin_unlock_irqrestore@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	lea	rdi, xpc_activate_IRQ_wq[rip]
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	wake_up_interruptible@PLT
	.p2align 4,,10
	.p2align 3
.L14:
	.cfi_restore_state
	mov	rsi, r12
	mov	rdi, r13
	call	xpc_handle_notify_mq_ack_uv@PLT
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L15:
	lea	rdi, 20[r13]
	call	atomic_read@PLT
	test	rax, rax
	jle	.L7
	lea	rdi, 16[r13]
	mov	esi, 1
	call	wake_up_nr@PLT
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L7:
	mov	esi, DWORD PTR 12[r13]
	mov	rdi, rbp
	call	xpc_send_chctl_local_msgrequest_uv@PLT
	jmp	.L6
	.cfi_endproc
.LFE0:
	.size	xpc_handle_notify_mq_msg_uv, .-xpc_handle_notify_mq_msg_uv
	.comm	xpc_part,4,4
	.comm	xpc_activate_IRQ_wq,4,4
	.comm	xpc_activate_IRQ_rcvd_lock,4,4
	.comm	xpc_activate_IRQ_rcvd,4,4
	.comm	xpBadChannelNumber,4,4
	.comm	XPC_P_ASR_DEACTIVATE_UV,8,8
	.comm	XPC_C_CONNECTEDCALLOUT_MADE,4,4
	.comm	XPC_C_CONNECTED,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_xpc_uv.c_xpc_handle_notify_mq_msg_uv.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"xpc_handle_notify_IRQ_uv() received invalid channel"
	.ascii	" number=0x%x in message from partid=%d\012\000"
	.global	__aeabi_idivmod
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	xpc_handle_notify_mq_msg_uv, %function
xpc_handle_notify_mq_msg_uv:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r6, [r1]
	mov	r4, r0
	ldr	r0, [r0]
	mov	r5, r1
	cmp	r0, r6
	movgt	r0, #0
	movle	r0, #1
	bl	unlikely
	cmp	r0, #0
	bne	.L13
	ldr	r8, [r4, #4]
	add	r7, r8, r6, lsl #5
	mov	r0, r7
	bl	xpc_msgqueue_ref
	ldr	r3, .L16
	ldr	r2, [r8, r6, lsl #5]
	ldr	r3, [r3]
	tst	r2, r3
	beq	.L6
	ldr	r3, [r5, #4]
	cmp	r3, #0
	beq	.L14
	ldr	r1, [r7, #4]
	ldr	r0, [r5, #8]
	bl	__aeabi_idivmod
	ldr	r3, [r7, #8]
	ldr	r9, [r7, #28]
	mul	r1, r3, r1
	add	r9, r9, r1, lsl #4
	ldr	r0, [r9, #4]
	subs	r0, r0, #0
	movne	r0, #1
	bl	BUG_ON
	ldr	r2, [r5, #4]
	mov	r1, r5
	mov	r0, r9
	bl	memcpy
	add	r1, r9, #12
	add	r0, r7, #24
	bl	xpc_put_fifo_entry_uv
	ldr	r3, .L16+4
	ldr	r2, [r8, r6, lsl #5]
	ldr	r3, [r3]
	tst	r2, r3
	bne	.L15
.L6:
	mov	r0, r7
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	b	xpc_msgqueue_deref
.L13:
	ldr	r3, .L16+8
	mov	r0, r4
	ldr	r5, [r3]
	bl	XPC_PARTID
	mov	r2, r6
	mov	r3, r0
	ldr	r1, .L16+12
	mov	r0, r5
	bl	dev_err
	mov	r1, #0
	ldr	r0, .L16+16
	bl	spin_lock_irqsave
	ldr	r3, [r4, #8]
	mov	r1, #0
	cmp	r3, #0
	ldreq	r2, .L16+20
	ldr	r0, .L16+16
	ldreq	r3, [r2]
	addeq	r3, r3, #1
	streq	r3, [r2]
	ldr	r2, .L16+24
	ldr	r3, .L16+28
	ldr	r2, [r2]
	ldr	r3, [r3]
	str	r2, [r4, #8]
	str	r3, [r4, #12]
	bl	spin_unlock_irqrestore
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r0, .L16+32
	b	wake_up_interruptible
.L14:
	mov	r1, r5
	mov	r0, r7
	bl	xpc_handle_notify_mq_ack_uv
	mov	r0, r7
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	b	xpc_msgqueue_deref
.L15:
	add	r0, r7, #20
	bl	atomic_read
	cmp	r0, #0
	ble	.L7
	mov	r1, #1
	add	r0, r7, #16
	bl	wake_up_nr
	b	.L6
.L7:
	mov	r0, r4
	ldr	r1, [r7, #12]
	bl	xpc_send_chctl_local_msgrequest_uv
	b	.L6
.L17:
	.align	2
.L16:
	.word	XPC_C_CONNECTED
	.word	XPC_C_CONNECTEDCALLOUT_MADE
	.word	xpc_part
	.word	.LC0
	.word	xpc_activate_IRQ_rcvd_lock
	.word	xpc_activate_IRQ_rcvd
	.word	XPC_P_ASR_DEACTIVATE_UV
	.word	xpBadChannelNumber
	.word	xpc_activate_IRQ_wq
	.size	xpc_handle_notify_mq_msg_uv, .-xpc_handle_notify_mq_msg_uv
	.comm	xpc_part,4,4
	.comm	xpc_activate_IRQ_wq,4,4
	.comm	xpc_activate_IRQ_rcvd_lock,4,4
	.comm	xpc_activate_IRQ_rcvd,4,4
	.comm	xpBadChannelNumber,4,4
	.comm	XPC_P_ASR_DEACTIVATE_UV,4,4
	.comm	XPC_C_CONNECTEDCALLOUT_MADE,4,4
	.comm	XPC_C_CONNECTED,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
