	.file	"extr_drm_dp_mst_topology.c_drm_dp_mst_hpd_irq.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	drm_dp_mst_hpd_irq
	.type	drm_dp_mst_hpd_irq, @function
drm_dp_mst_hpd_irq:
.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, rdx
	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
	mov	rbx, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	DWORD PTR [rdx], 0
	mov	eax, DWORD PTR [rsi]
	and	eax, 63
	cmp	DWORD PTR [rdi], eax
	je	.L2
	mov	DWORD PTR [rdi], eax
	mov	DWORD PTR [rdx], 1
.L2:
	mov	eax, DWORD PTR 4[rbx]
	mov	r13d, eax
	and	r13d, DWORD PTR DP_DOWN_REP_MSG_RDY[rip]
	jne	.L13
	test	DWORD PTR DP_UP_REQ_MSG_RDY[rip], eax
	jne	.L14
.L4:
	mov	rdi, rbp
	call	drm_dp_mst_kick_tx@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r13d
	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
	ret
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	mov	rdi, rbp
	call	drm_dp_mst_handle_down_rep@PLT
	mov	DWORD PTR [r12], 1
	mov	r13d, eax
	mov	eax, DWORD PTR 4[rbx]
	test	DWORD PTR DP_UP_REQ_MSG_RDY[rip], eax
	je	.L4
.L14:
	mov	rdi, rbp
	call	drm_dp_mst_handle_up_req@PLT
	mov	DWORD PTR [r12], 1
	or	r13d, eax
	jmp	.L4
	.cfi_endproc
.LFE0:
	.size	drm_dp_mst_hpd_irq, .-drm_dp_mst_hpd_irq
	.comm	DP_UP_REQ_MSG_RDY,4,4
	.comm	DP_DOWN_REP_MSG_RDY,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_drm_dp_mst_topology.c_drm_dp_mst_hpd_irq.c"
	.text
	.align	2
	.global	drm_dp_mst_hpd_irq
	.syntax unified
	.arm
	.fpu softvfp
	.type	drm_dp_mst_hpd_irq, %function
drm_dp_mst_hpd_irq:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r3, #0
	push	{r4, r5, r6, r7, r8, lr}
	str	r3, [r2]
	ldr	r3, [r1]
	mov	r7, r2
	ldr	r2, [r0]
	and	r3, r3, #63
	cmp	r2, r3
	movne	r2, #1
	strne	r3, [r0]
	ldr	r3, .L15
	strne	r2, [r7]
	ldr	r2, [r1, #4]
	ldr	r3, [r3]
	mov	r6, r1
	ands	r4, r2, r3
	mov	r5, r0
	bne	.L13
	ldr	r3, .L15+4
	ldr	r3, [r3]
	tst	r2, r3
	bne	.L14
.L4:
	mov	r0, r5
	bl	drm_dp_mst_kick_tx
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L13:
	bl	drm_dp_mst_handle_down_rep
	mov	r3, #1
	str	r3, [r7]
	ldr	r3, .L15+4
	ldr	r2, [r6, #4]
	ldr	r3, [r3]
	mov	r4, r0
	tst	r2, r3
	beq	.L4
.L14:
	mov	r0, r5
	bl	drm_dp_mst_handle_up_req
	mov	r3, #1
	orr	r4, r4, r0
	str	r3, [r7]
	b	.L4
.L16:
	.align	2
.L15:
	.word	DP_DOWN_REP_MSG_RDY
	.word	DP_UP_REQ_MSG_RDY
	.size	drm_dp_mst_hpd_irq, .-drm_dp_mst_hpd_irq
	.comm	DP_UP_REQ_MSG_RDY,4,4
	.comm	DP_DOWN_REP_MSG_RDY,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
