	.file	"extr_intel_bios.c_sanitize_aux_ch.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"port %c trying to use the same AUX CH (0x%x) as port %c, disabling port %c DP support\n"
	.text
	.p2align 4
	.type	sanitize_aux_ch, @function
sanitize_aux_ch:
.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
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	ebx, esi
	mov	r13, rbx
	sal	rbx, 4
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	add	rbx, QWORD PTR [rdi]
	mov	rsi, QWORD PTR 8[rbx]
	test	rsi, rsi
	jne	.L7
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	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
.L7:
	.cfi_restore_state
	mov	rbp, rdi
	call	get_port_by_aux_ch@PLT
	mov	r12d, eax
	cmp	r12d, DWORD PTR PORT_NONE[rip]
	je	.L1
	mov	edi, r12d
	call	port_name@PLT
	mov	edi, r12d
	sal	r12, 4
	mov	r15d, eax
	call	port_name@PLT
	mov	rbx, QWORD PTR 8[rbx]
	mov	edi, r13d
	mov	r14d, eax
	call	port_name@PLT
	mov	r8d, r15d
	mov	ecx, r14d
	mov	rdx, rbx
	mov	esi, eax
	lea	rdi, .LC0[rip]
	call	DRM_DEBUG_KMS@PLT
	add	r12, QWORD PTR 0[rbp]
	mov	DWORD PTR [r12], 0
	mov	QWORD PTR 8[r12], 0
	add	rsp, 8
	.cfi_def_cfa_offset 56
	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
	.cfi_endproc
.LFE0:
	.size	sanitize_aux_ch, .-sanitize_aux_ch
	.comm	PORT_NONE,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_bios.c_sanitize_aux_ch.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"port %c trying to use the same AUX CH (0x%x) as por"
	.ascii	"t %c, disabling port %c DP support\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	sanitize_aux_ch, %function
sanitize_aux_ch:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r5, [r0]
	mov	r6, r1
	add	r5, r5, r1, lsl #3
	ldr	r1, [r5, #4]
	sub	sp, sp, #8
	cmp	r1, #0
	bne	.L7
.L1:
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L7:
	mov	r4, r0
	bl	get_port_by_aux_ch
	ldr	r3, .L8
	mov	r7, r0
	ldr	r3, [r3]
	cmp	r0, r3
	beq	.L1
	mov	r0, r6
	bl	port_name
	mov	r6, r0
	mov	r0, r7
	ldr	r8, [r5, #4]
	bl	port_name
	mov	r5, r0
	mov	r0, r7
	bl	port_name
	mov	r3, r5
	mov	r1, r6
	mov	r2, r8
	str	r0, [sp]
	ldr	r0, .L8+4
	bl	DRM_DEBUG_KMS
	mov	r3, #0
	ldr	r2, [r4]
	add	r1, r2, r7, lsl #3
	str	r3, [r2, r7, lsl #3]
	str	r3, [r1, #4]
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L9:
	.align	2
.L8:
	.word	PORT_NONE
	.word	.LC0
	.size	sanitize_aux_ch, .-sanitize_aux_ch
	.comm	PORT_NONE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
