	.file	"extr_intel_display.c_ibx_digital_port_connected.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	ibx_digital_port_connected
	.type	ibx_digital_port_connected, @function
ibx_digital_port_connected:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	edi, DWORD PTR [rdi]
	mov	rbx, rsi
	call	HAS_PCH_IBX@PLT
	test	rax, rax
	mov	eax, DWORD PTR [rbx]
	je	.L2
	cmp	eax, 129
	je	.L3
	cmp	eax, 130
	je	.L4
	cmp	eax, 128
	je	.L5
.L12:
	mov	eax, 1
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	cmp	eax, 129
	je	.L8
	cmp	eax, 130
	je	.L9
	cmp	eax, 128
	jne	.L12
	mov	ebx, DWORD PTR SDE_PORTD_HOTPLUG_CPT[rip]
.L7:
	mov	edi, DWORD PTR SDEISR[rip]
	call	I915_READ@PLT
	and	eax, ebx
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	mov	ebx, DWORD PTR SDE_PORTB_HOTPLUG[rip]
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L5:
	mov	ebx, DWORD PTR SDE_PORTD_HOTPLUG[rip]
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L9:
	mov	ebx, DWORD PTR SDE_PORTB_HOTPLUG_CPT[rip]
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L3:
	mov	ebx, DWORD PTR SDE_PORTC_HOTPLUG[rip]
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L8:
	mov	ebx, DWORD PTR SDE_PORTC_HOTPLUG_CPT[rip]
	jmp	.L7
	.cfi_endproc
.LFE0:
	.size	ibx_digital_port_connected, .-ibx_digital_port_connected
	.comm	SDE_PORTD_HOTPLUG_CPT,4,4
	.comm	SDE_PORTD_HOTPLUG,4,4
	.comm	SDE_PORTC_HOTPLUG_CPT,4,4
	.comm	SDE_PORTC_HOTPLUG,4,4
	.comm	SDE_PORTB_HOTPLUG_CPT,4,4
	.comm	SDE_PORTB_HOTPLUG,4,4
	.comm	SDEISR,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_intel_display.c_ibx_digital_port_connected.c"
	.text
	.align	2
	.global	ibx_digital_port_connected
	.syntax unified
	.arm
	.fpu softvfp
	.type	ibx_digital_port_connected, %function
ibx_digital_port_connected:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	ldr	r0, [r0]
	mov	r4, r1
	bl	HAS_PCH_IBX
	cmp	r0, #0
	ldr	r3, [r4]
	beq	.L2
	cmp	r3, #129
	beq	.L3
	cmp	r3, #130
	beq	.L4
	cmp	r3, #128
	beq	.L5
.L12:
	mov	r0, #1
	pop	{r4, pc}
.L2:
	cmp	r3, #129
	beq	.L8
	cmp	r3, #130
	beq	.L9
	cmp	r3, #128
	bne	.L12
	ldr	r3, .L14
	ldr	r4, [r3]
.L7:
	ldr	r3, .L14+4
	ldr	r0, [r3]
	bl	I915_READ
	and	r0, r0, r4
	pop	{r4, pc}
.L4:
	ldr	r3, .L14+8
	ldr	r4, [r3]
	b	.L7
.L5:
	ldr	r3, .L14+12
	ldr	r4, [r3]
	b	.L7
.L9:
	ldr	r3, .L14+16
	ldr	r4, [r3]
	b	.L7
.L3:
	ldr	r3, .L14+20
	ldr	r4, [r3]
	b	.L7
.L8:
	ldr	r3, .L14+24
	ldr	r4, [r3]
	b	.L7
.L15:
	.align	2
.L14:
	.word	SDE_PORTD_HOTPLUG_CPT
	.word	SDEISR
	.word	SDE_PORTB_HOTPLUG
	.word	SDE_PORTD_HOTPLUG
	.word	SDE_PORTB_HOTPLUG_CPT
	.word	SDE_PORTC_HOTPLUG
	.word	SDE_PORTC_HOTPLUG_CPT
	.size	ibx_digital_port_connected, .-ibx_digital_port_connected
	.comm	SDE_PORTD_HOTPLUG_CPT,4,4
	.comm	SDE_PORTD_HOTPLUG,4,4
	.comm	SDE_PORTC_HOTPLUG_CPT,4,4
	.comm	SDE_PORTC_HOTPLUG,4,4
	.comm	SDE_PORTB_HOTPLUG_CPT,4,4
	.comm	SDE_PORTB_HOTPLUG,4,4
	.comm	SDEISR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
