	.file	"extr_omap_ssi_port.c_ssi_async_break.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ssi_async_break, @function
ssi_async_break:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	mov	edi, DWORD PTR 24[rdi]
	call	hsi_get_port@PLT
	mov	r12, rax
	mov	rdi, rax
	call	hsi_port_drvdata@PLT
	mov	edi, DWORD PTR 4[r12]
	mov	rbx, rax
	call	to_hsi_controller@PLT
	mov	rdi, rax
	call	hsi_controller_drvdata@PLT
	mov	edi, DWORD PTR [rbx]
	mov	r13, rax
	call	pm_runtime_get_sync@PLT
	mov	rax, QWORD PTR HSI_MSG_WRITE[rip]
	cmp	QWORD PTR 0[rbp], rax
	mov	rax, QWORD PTR SSI_MODE_FRAME[rip]
	je	.L8
	cmp	QWORD PTR 16[rbx], rax
	je	.L9
.L5:
	mov	r12d, DWORD PTR EINVAL[rip]
	neg	r12d
.L4:
	mov	edi, DWORD PTR [rbx]
	call	pm_runtime_mark_last_busy@PLT
	mov	edi, DWORD PTR [rbx]
	call	pm_runtime_put_autosuspend@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	lea	r15, 4[rbx]
	mov	rdi, r15
	call	spin_lock_bh@PLT
	mov	edi, DWORD PTR [r12]
	mov	r14, QWORD PTR 0[r13]
	xor	esi, esi
	call	SSI_MPU_ENABLE_REG@PLT
	lea	rdi, [r14+rax]
	call	readl@PLT
	mov	edi, DWORD PTR [r12]
	xor	esi, esi
	mov	r13, QWORD PTR 0[r13]
	mov	r14d, eax
	xor	r12d, r12d
	call	SSI_MPU_ENABLE_REG@PLT
	mov	edi, DWORD PTR SSI_BREAKDETECTED[rip]
	lea	rsi, 0[r13+rax]
	or	edi, r14d
	call	writel@PLT
	mov	eax, DWORD PTR HSI_STATUS_PROCEEDING[rip]
	lea	rsi, 8[rbx]
	lea	rdi, 8[rbp]
	mov	DWORD PTR 12[rbp], eax
	call	list_add_tail@PLT
	mov	rdi, r15
	call	spin_unlock_bh@PLT
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L8:
	cmp	QWORD PTR 32[rbx], rax
	jne	.L5
	mov	rsi, QWORD PTR SSI_SST_BREAK_REG[rip]
	mov	edi, 1
	add	rsi, QWORD PTR 24[rbx]
	xor	r12d, r12d
	call	writel@PLT
	mov	eax, DWORD PTR HSI_STATUS_COMPLETED[rip]
	mov	rdi, rbp
	mov	DWORD PTR 12[rbp], eax
	call	[QWORD PTR 16[rbp]]
	jmp	.L4
	.cfi_endproc
.LFE0:
	.size	ssi_async_break, .-ssi_async_break
	.comm	SSI_SST_BREAK_REG,8,8
	.comm	SSI_MODE_FRAME,8,8
	.comm	SSI_BREAKDETECTED,4,4
	.comm	HSI_STATUS_PROCEEDING,4,4
	.comm	HSI_STATUS_COMPLETED,4,4
	.comm	HSI_MSG_WRITE,8,8
	.comm	EINVAL,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_omap_ssi_port.c_ssi_async_break.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ssi_async_break, %function
ssi_async_break:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r5, r0
	ldr	r0, [r0, #16]
	bl	hsi_get_port
	mov	r6, r0
	bl	hsi_port_drvdata
	mov	r4, r0
	ldr	r0, [r6, #4]
	bl	to_hsi_controller
	bl	hsi_controller_drvdata
	mov	r7, r0
	ldr	r0, [r4]
	bl	pm_runtime_get_sync
	ldr	r3, .L10
	ldr	r2, [r5]
	ldr	r3, [r3]
	cmp	r2, r3
	ldr	r3, .L10+4
	beq	.L8
	ldr	r2, [r4, #12]
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L9
.L5:
	ldr	r3, .L10+8
	ldr	r5, [r3]
	rsb	r5, r5, #0
.L4:
	ldr	r0, [r4]
	bl	pm_runtime_mark_last_busy
	ldr	r0, [r4]
	bl	pm_runtime_put_autosuspend
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L9:
	add	r8, r4, #4
	mov	r0, r8
	bl	spin_lock_bh
	mov	r1, #0
	ldr	r0, [r6]
	ldr	r9, [r7]
	bl	SSI_MPU_ENABLE_REG
	add	r0, r9, r0
	bl	readl
	mov	r3, r0
	ldr	r2, .L10+12
	ldr	r0, [r6]
	ldr	r6, [r2]
	mov	r1, #0
	orr	r6, r3, r6
	ldr	r7, [r7]
	bl	SSI_MPU_ENABLE_REG
	mov	r1, r0
	mov	r0, r6
	add	r1, r7, r1
	bl	writel
	ldr	r3, .L10+16
	add	r0, r5, #4
	ldr	r3, [r3]
	add	r1, r4, #8
	str	r3, [r5, #8]
	bl	list_add_tail
	mov	r0, r8
	bl	spin_unlock_bh
	mov	r5, #0
	b	.L4
.L8:
	ldr	r2, [r4, #20]
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L5
	ldr	r3, .L10+20
	ldr	r1, [r4, #16]
	ldr	r3, [r3]
	mov	r0, #1
	add	r1, r1, r3
	bl	writel
	ldr	r2, .L10+24
	mov	r0, r5
	ldr	r2, [r2]
	ldr	r3, [r5, #12]
	str	r2, [r5, #8]
	blx	r3
	mov	r5, #0
	b	.L4
.L11:
	.align	2
.L10:
	.word	HSI_MSG_WRITE
	.word	SSI_MODE_FRAME
	.word	EINVAL
	.word	SSI_BREAKDETECTED
	.word	HSI_STATUS_PROCEEDING
	.word	SSI_SST_BREAK_REG
	.word	HSI_STATUS_COMPLETED
	.size	ssi_async_break, .-ssi_async_break
	.comm	SSI_SST_BREAK_REG,4,4
	.comm	SSI_MODE_FRAME,4,4
	.comm	SSI_BREAKDETECTED,4,4
	.comm	HSI_STATUS_PROCEEDING,4,4
	.comm	HSI_STATUS_COMPLETED,4,4
	.comm	HSI_MSG_WRITE,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
