	.file	"extr_phy-histb-combphy.c_histb_combphy_set_mode.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	histb_combphy_set_mode, @function
histb_combphy_set_mode:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdi
	add	rdi, 8
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	rbp, QWORD PTR -8[rdi]
	call	is_mode_fixed@PLT
	test	rax, rax
	jne	.L8
	mov	eax, DWORD PTR 8[rbx]
	cmp	eax, 129
	je	.L3
	cmp	eax, 130
	je	.L4
	cmp	eax, 128
	je	.L12
	mov	eax, DWORD PTR EINVAL[rip]
	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
	neg	eax
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xor	eax, eax
	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	eax, DWORD PTR COMBPHY_MODE_USB3[rip]
.L7:
	mov	ecx, DWORD PTR 12[rbx]
	mov	edx, DWORD PTR 16[rbx]
	mov	rdi, rbp
	mov	esi, DWORD PTR 20[rbx]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	sal	eax, cl
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	mov	ecx, eax
	jmp	regmap_update_bits@PLT
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	mov	eax, DWORD PTR COMBPHY_MODE_PCIE[rip]
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L3:
	mov	eax, DWORD PTR COMBPHY_MODE_SATA[rip]
	jmp	.L7
	.cfi_endproc
.LFE0:
	.size	histb_combphy_set_mode, .-histb_combphy_set_mode
	.comm	EINVAL,4,4
	.comm	COMBPHY_MODE_USB3,4,4
	.comm	COMBPHY_MODE_SATA,4,4
	.comm	COMBPHY_MODE_PCIE,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_phy-histb-combphy.c_histb_combphy_set_mode.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	histb_combphy_set_mode, %function
histb_combphy_set_mode:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	ldr	r5, [r0], #4
	bl	is_mode_fixed
	cmp	r0, #0
	bne	.L8
	ldr	r3, [r4, #4]
	cmp	r3, #129
	beq	.L3
	cmp	r3, #130
	beq	.L4
	cmp	r3, #128
	beq	.L12
	ldr	r3, .L13
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, pc}
.L8:
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L12:
	ldr	r3, .L13+4
	ldr	r2, [r3]
.L7:
	ldr	r3, [r4, #8]
	mov	r0, r5
	ldr	r1, [r4, #16]
	lsl	r3, r2, r3
	ldr	r2, [r4, #12]
	pop	{r4, r5, r6, lr}
	b	regmap_update_bits
.L4:
	ldr	r3, .L13+8
	ldr	r2, [r3]
	b	.L7
.L3:
	ldr	r3, .L13+12
	ldr	r2, [r3]
	b	.L7
.L14:
	.align	2
.L13:
	.word	EINVAL
	.word	COMBPHY_MODE_USB3
	.word	COMBPHY_MODE_PCIE
	.word	COMBPHY_MODE_SATA
	.size	histb_combphy_set_mode, .-histb_combphy_set_mode
	.comm	EINVAL,4,4
	.comm	COMBPHY_MODE_USB3,4,4
	.comm	COMBPHY_MODE_SATA,4,4
	.comm	COMBPHY_MODE_PCIE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
