	.file	"extr_init301.c_SiS_DisableBridge.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	SiS_DisableBridge
	.type	SiS_DisableBridge, @function
SiS_DisableBridge:
.LFB0:
	.cfi_startproc
	endbr64
	mov	eax, DWORD PTR [rdi]
	test	DWORD PTR VB_SISVB[rip], eax
	je	.L7
	test	DWORD PTR VB_SIS30xBLV[rip], eax
	je	.L11
.L7:
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	edx, 223
	xor	esi, esi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	edi, DWORD PTR 36[rdi]
	call	SiS_SetRegAND@PLT
	mov	rdi, rbx
	call	SiS_DisplayOff@PLT
	mov	rax, QWORD PTR SIS_315H[rip]
	cmp	QWORD PTR 8[rbx], rax
	jge	.L12
.L5:
	mov	edi, DWORD PTR 32[rbx]
	mov	edx, 223
	mov	esi, 50
	call	SiS_SetRegAND@PLT
	mov	rax, QWORD PTR SIS_315H[rip]
	cmp	QWORD PTR 8[rbx], rax
	jge	.L13
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	mov	edi, DWORD PTR 28[rbx]
	mov	edx, 128
	xor	esi, esi
	call	SiS_SetRegOR@PLT
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L13:
	mov	edi, DWORD PTR 28[rbx]
	xor	esi, esi
	call	SiS_GetReg@PLT
	mov	edi, DWORD PTR 28[rbx]
	mov	edx, 16
	xor	esi, esi
	mov	ebp, eax
	call	SiS_SetRegOR@PLT
	mov	edi, DWORD PTR 32[rbx]
	mov	edx, 32
	mov	esi, 30
	call	SiS_SetRegOR@PLT
	mov	edi, DWORD PTR 28[rbx]
	add	rsp, 8
	.cfi_def_cfa_offset 24
	movzx	edx, bp
	pop	rbx
	.cfi_restore 3
	.cfi_def_cfa_offset 16
	xor	esi, esi
	pop	rbp
	.cfi_restore 6
	.cfi_def_cfa_offset 8
	jmp	SiS_SetReg@PLT
	.cfi_endproc
.LFE0:
	.size	SiS_DisableBridge, .-SiS_DisableBridge
	.comm	VB_SISVB,4,4
	.comm	VB_SISLVDS,4,4
	.comm	VB_SISEMI,4,4
	.comm	VB_SIS30xBLV,4,4
	.comm	SIS_740,8,8
	.comm	SIS_730,8,8
	.comm	SIS_550,8,8
	.comm	SIS_315H,8,8
	.comm	IS_SIS740,8,8
	.comm	CUT_COMPAQ1280,8,8
	.comm	CUT_CLEVO1400,8,8
	.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_init301.c_SiS_DisableBridge.c"
	.text
	.align	2
	.global	SiS_DisableBridge
	.syntax unified
	.arm
	.fpu softvfp
	.type	SiS_DisableBridge, %function
SiS_DisableBridge:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L12
	ldr	r1, [r0]
	ldr	r3, [r3]
	tst	r1, r3
	bxeq	lr
	ldr	r3, .L12+4
	push	{r4, r5, r6, lr}
	ldr	r5, [r3]
	ands	r5, r1, r5
	popne	{r4, r5, r6, pc}
	mov	r4, r0
	mov	r2, #223
	mov	r1, r5
	ldr	r0, [r0, #24]
	ldr	r6, .L12+8
	bl	SiS_SetRegAND
	mov	r0, r4
	bl	SiS_DisplayOff
	ldr	r3, [r6]
	ldr	r2, [r4, #4]
	cmp	r2, r3
	bge	.L11
.L5:
	mov	r2, #223
	mov	r1, #50
	ldr	r0, [r4, #20]
	bl	SiS_SetRegAND
	ldr	r3, [r6]
	ldr	r2, [r4, #4]
	cmp	r2, r3
	poplt	{r4, r5, r6, pc}
	mov	r1, #0
	ldr	r0, [r4, #16]
	bl	SiS_GetReg
	mov	r5, r0
	mov	r2, #16
	mov	r1, #0
	ldr	r0, [r4, #16]
	bl	SiS_SetRegOR
	mov	r2, #32
	mov	r1, #30
	ldr	r0, [r4, #20]
	bl	SiS_SetRegOR
	lsl	r2, r5, #16
	ldr	r0, [r4, #16]
	mov	r1, #0
	pop	{r4, r5, r6, lr}
	lsr	r2, r2, #16
	b	SiS_SetReg
.L11:
	mov	r1, r5
	mov	r2, #128
	ldr	r0, [r4, #16]
	bl	SiS_SetRegOR
	b	.L5
.L13:
	.align	2
.L12:
	.word	VB_SISVB
	.word	VB_SIS30xBLV
	.word	SIS_315H
	.size	SiS_DisableBridge, .-SiS_DisableBridge
	.comm	VB_SISVB,4,4
	.comm	VB_SISLVDS,4,4
	.comm	VB_SISEMI,4,4
	.comm	VB_SIS30xBLV,4,4
	.comm	SIS_740,4,4
	.comm	SIS_730,4,4
	.comm	SIS_550,4,4
	.comm	SIS_315H,4,4
	.comm	IS_SIS740,4,4
	.comm	CUT_COMPAQ1280,4,4
	.comm	CUT_CLEVO1400,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
