	.file	"extr_r600.c_r600_hpd_sense.c"
	.intel_syntax noprefix
	.text
	.section	.text.unlikely,"ax",@progbits
.LCOLDB0:
	.text
.LHOTB0:
	.p2align 4
	.globl	r600_hpd_sense
	.type	r600_hpd_sense, @function
r600_hpd_sense:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	ebx, esi
	call	ASIC_IS_DCE3@PLT
	test	rax, rax
	jne	.L17
	cmp	ebx, 132
	je	.L11
	cmp	ebx, 133
	je	.L12
	xor	eax, eax
	cmp	ebx, 131
	je	.L18
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L17:
	.cfi_restore_state
	add	ebx, -128
	cmp	ebx, 5
	ja	.L14
	lea	rdx, .L5[rip]
	movsx	rax, DWORD PTR [rdx+rbx*4]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L5:
	.long	.L10-.L5
	.long	.L9-.L5
	.long	.L8-.L5
	.long	.L7-.L5
	.long	.L6-.L5
	.long	.L4-.L5
	.text
.L6:
	mov	edi, DWORD PTR DC_HPD2_INT_STATUS[rip]
	call	RREG32@PLT
	test	DWORD PTR DC_HPDx_SENSE[rip], eax
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	setne	al
	movzx	eax, al
	ret
.L4:
	.cfi_restore_state
	mov	edi, DWORD PTR DC_HPD1_INT_STATUS[rip]
	call	RREG32@PLT
	test	DWORD PTR DC_HPDx_SENSE[rip], eax
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	setne	al
	movzx	eax, al
	ret
.L10:
	.cfi_restore_state
	mov	edi, DWORD PTR DC_HPD6_INT_STATUS[rip]
	call	RREG32@PLT
	test	DWORD PTR DC_HPDx_SENSE[rip], eax
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	setne	al
	movzx	eax, al
	ret
.L9:
	.cfi_restore_state
	mov	edi, DWORD PTR DC_HPD5_INT_STATUS[rip]
	call	RREG32@PLT
	test	DWORD PTR DC_HPDx_SENSE[rip], eax
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	setne	al
	movzx	eax, al
	ret
.L8:
	.cfi_restore_state
	mov	edi, DWORD PTR DC_HPD4_INT_STATUS[rip]
	call	RREG32@PLT
	test	DWORD PTR DC_HPDx_SENSE[rip], eax
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	setne	al
	movzx	eax, al
	ret
.L7:
	.cfi_restore_state
	mov	edi, DWORD PTR DC_HPD3_INT_STATUS[rip]
	call	RREG32@PLT
	test	DWORD PTR DC_HPDx_SENSE[rip], eax
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	setne	al
	movzx	eax, al
	ret
	.p2align 4,,10
	.p2align 3
.L18:
	.cfi_restore_state
	mov	edi, DWORD PTR DC_HOT_PLUG_DETECT3_INT_STATUS[rip]
	call	RREG32@PLT
	test	DWORD PTR DC_HOT_PLUG_DETECTx_SENSE[rip], eax
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	setne	al
	movzx	eax, al
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	mov	edi, DWORD PTR DC_HOT_PLUG_DETECT2_INT_STATUS[rip]
	call	RREG32@PLT
	test	DWORD PTR DC_HOT_PLUG_DETECTx_SENSE[rip], eax
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	setne	al
	movzx	eax, al
	ret
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	mov	edi, DWORD PTR DC_HOT_PLUG_DETECT1_INT_STATUS[rip]
	call	RREG32@PLT
	test	DWORD PTR DC_HOT_PLUG_DETECTx_SENSE[rip], eax
	pop	rbx
	.cfi_def_cfa_offset 8
	setne	al
	movzx	eax, al
	ret
	.cfi_endproc
	.section	.text.unlikely
	.cfi_startproc
	.type	r600_hpd_sense.cold, @function
r600_hpd_sense.cold:
.LFSB0:
.L14:
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	xor	eax, eax
	jmp	.L1
	.cfi_endproc
.LFE0:
	.text
	.size	r600_hpd_sense, .-r600_hpd_sense
	.section	.text.unlikely
	.size	r600_hpd_sense.cold, .-r600_hpd_sense.cold
.LCOLDE0:
	.text
.LHOTE0:
	.comm	DC_HPDx_SENSE,4,4
	.comm	DC_HPD6_INT_STATUS,4,4
	.comm	DC_HPD5_INT_STATUS,4,4
	.comm	DC_HPD4_INT_STATUS,4,4
	.comm	DC_HPD3_INT_STATUS,4,4
	.comm	DC_HPD2_INT_STATUS,4,4
	.comm	DC_HPD1_INT_STATUS,4,4
	.comm	DC_HOT_PLUG_DETECTx_SENSE,4,4
	.comm	DC_HOT_PLUG_DETECT3_INT_STATUS,4,4
	.comm	DC_HOT_PLUG_DETECT2_INT_STATUS,4,4
	.comm	DC_HOT_PLUG_DETECT1_INT_STATUS,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_r600.c_r600_hpd_sense.c"
	.text
	.align	2
	.global	r600_hpd_sense
	.syntax unified
	.arm
	.fpu softvfp
	.type	r600_hpd_sense, %function
r600_hpd_sense:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	mov	r4, r1
	bl	ASIC_IS_DCE3
	cmp	r0, #0
	bne	.L19
	cmp	r4, #132
	beq	.L11
	cmp	r4, #133
	beq	.L12
	cmp	r4, #131
	popne	{r4, pc}
	ldr	r3, .L20
.L17:
	ldr	r0, [r3]
	bl	RREG32
	ldr	r3, .L20+4
	ldr	r3, [r3]
	tst	r0, r3
	movne	r0, #1
	moveq	r0, #0
	pop	{r4, pc}
.L19:
	sub	r4, r4, #128
	cmp	r4, #5
	ldrls	pc, [pc, r4, asl #2]
	b	.L14
.L5:
	.word	.L10
	.word	.L9
	.word	.L8
	.word	.L7
	.word	.L6
	.word	.L4
.L4:
	ldr	r3, .L20+8
.L16:
	ldr	r0, [r3]
	bl	RREG32
	ldr	r3, .L20+12
	ldr	r3, [r3]
	tst	r0, r3
	movne	r0, #1
	moveq	r0, #0
	pop	{r4, pc}
.L10:
	ldr	r3, .L20+16
	b	.L16
.L9:
	ldr	r3, .L20+20
	b	.L16
.L8:
	ldr	r3, .L20+24
	b	.L16
.L7:
	ldr	r3, .L20+28
	b	.L16
.L6:
	ldr	r3, .L20+32
	b	.L16
.L11:
	ldr	r3, .L20+36
	b	.L17
.L12:
	ldr	r3, .L20+40
	b	.L17
.L14:
	mov	r0, #0
	pop	{r4, pc}
.L21:
	.align	2
.L20:
	.word	DC_HOT_PLUG_DETECT3_INT_STATUS
	.word	DC_HOT_PLUG_DETECTx_SENSE
	.word	DC_HPD1_INT_STATUS
	.word	DC_HPDx_SENSE
	.word	DC_HPD6_INT_STATUS
	.word	DC_HPD5_INT_STATUS
	.word	DC_HPD4_INT_STATUS
	.word	DC_HPD3_INT_STATUS
	.word	DC_HPD2_INT_STATUS
	.word	DC_HOT_PLUG_DETECT2_INT_STATUS
	.word	DC_HOT_PLUG_DETECT1_INT_STATUS
	.size	r600_hpd_sense, .-r600_hpd_sense
	.comm	DC_HPDx_SENSE,4,4
	.comm	DC_HPD6_INT_STATUS,4,4
	.comm	DC_HPD5_INT_STATUS,4,4
	.comm	DC_HPD4_INT_STATUS,4,4
	.comm	DC_HPD3_INT_STATUS,4,4
	.comm	DC_HPD2_INT_STATUS,4,4
	.comm	DC_HPD1_INT_STATUS,4,4
	.comm	DC_HOT_PLUG_DETECTx_SENSE,4,4
	.comm	DC_HOT_PLUG_DETECT3_INT_STATUS,4,4
	.comm	DC_HOT_PLUG_DETECT2_INT_STATUS,4,4
	.comm	DC_HOT_PLUG_DETECT1_INT_STATUS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
