	.file	"extr_intel_ddi.c__skl_ddi_set_iboost.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	_skl_ddi_set_iboost, @function
_skl_ddi_set_iboost:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14d, esi
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12d, edx
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	edi, DWORD PTR DISPIO_CR_TX_BMU_CR0[rip]
	call	I915_READ@PLT
	mov	edi, r14d
	mov	r13d, eax
	call	BALANCE_LEG_MASK@PLT
	mov	edi, r14d
	mov	ebx, eax
	call	BALANCE_LEG_DISABLE@PLT
	mov	edi, r14d
	or	ebx, eax
	not	ebx
	and	ebx, r13d
	test	r12d, r12d
	je	.L2
	call	BALANCE_LEG_SHIFT@PLT
	mov	esi, r12d
	mov	ecx, eax
	sal	esi, cl
	or	esi, ebx
.L3:
	mov	edi, DWORD PTR DISPIO_CR_TX_BMU_CR0[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	jmp	I915_WRITE@PLT
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	call	BALANCE_LEG_DISABLE@PLT
	or	ebx, eax
	mov	esi, ebx
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	_skl_ddi_set_iboost, .-_skl_ddi_set_iboost
	.comm	DISPIO_CR_TX_BMU_CR0,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_ddi.c__skl_ddi_set_iboost.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	_skl_ddi_set_iboost, %function
_skl_ddi_set_iboost:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r7, .L6
	mov	r5, r1
	ldr	r0, [r7]
	mov	r8, r2
	bl	I915_READ
	mov	r4, r0
	mov	r0, r5
	bl	BALANCE_LEG_MASK
	mov	r6, r0
	mov	r0, r5
	bl	BALANCE_LEG_DISABLE
	cmp	r8, #0
	orr	r6, r6, r0
	bic	r4, r4, r6
	mov	r0, r5
	beq	.L2
	bl	BALANCE_LEG_SHIFT
	orr	r1, r4, r8, lsl r0
	ldr	r0, [r7]
	pop	{r4, r5, r6, r7, r8, lr}
	b	I915_WRITE
.L2:
	bl	BALANCE_LEG_DISABLE
	orr	r1, r4, r0
	ldr	r0, [r7]
	pop	{r4, r5, r6, r7, r8, lr}
	b	I915_WRITE
.L7:
	.align	2
.L6:
	.word	DISPIO_CR_TX_BMU_CR0
	.size	_skl_ddi_set_iboost, .-_skl_ddi_set_iboost
	.comm	DISPIO_CR_TX_BMU_CR0,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
