	.file	"extr_main.c_slave_adjust_steering_mode.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Steering mode is: %s\n"
	.text
	.p2align 4
	.type	slave_adjust_steering_mode, @function
slave_adjust_steering_mode:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	mov	rdi, QWORD PTR [rdx]
	cmp	rdi, QWORD PTR MLX4_STEERING_MODE_DEVICE_MANAGED[rip]
	mov	QWORD PTR 0[rbp], rdi
	je	.L6
	mov	ecx, DWORD PTR 8[rdx]
	mov	eax, 1
	sal	eax, cl
	mov	edx, eax
	lea	eax, 15[rax]
	test	edx, edx
	cmovns	eax, edx
	sar	eax, 4
	lea	eax, -8[0+rax*4]
	mov	DWORD PTR 8[rbp], eax
.L3:
	call	mlx4_steering_mode_str@PLT
	mov	rdi, rbp
	lea	rsi, .LC0[rip]
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	mov	edx, eax
	jmp	mlx4_dbg@PLT
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	mov	eax, DWORD PTR [rsi]
	mov	DWORD PTR 8[rbp], eax
	mov	eax, DWORD PTR 4[rsi]
	mov	DWORD PTR 12[rbp], eax
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	slave_adjust_steering_mode, .-slave_adjust_steering_mode
	.comm	MLX4_STEERING_MODE_DEVICE_MANAGED,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_main.c_slave_adjust_steering_mode.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Steering mode is: %s\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	slave_adjust_steering_mode, %function
slave_adjust_steering_mode:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	mov	r4, r0
	ldr	r3, .L7
	ldr	r0, [r2]
	ldr	r3, [r3]
	str	r0, [r4]
	cmp	r0, r3
	beq	.L6
	mov	r3, #1
	ldr	r2, [r2, #4]
	lsl	r3, r3, r2
	add	r2, r3, #15
	cmp	r3, #0
	movlt	r3, r2
	asr	r3, r3, #4
	sub	r3, r3, #2
	lsl	r3, r3, #2
	str	r3, [r4, #4]
.L3:
	bl	mlx4_steering_mode_str
	ldr	r1, .L7+4
	mov	r2, r0
	mov	r0, r4
	pop	{r4, lr}
	b	mlx4_dbg
.L6:
	ldm	r1, {r2, r3}
	stmib	r4, {r2, r3}
	b	.L3
.L8:
	.align	2
.L7:
	.word	MLX4_STEERING_MODE_DEVICE_MANAGED
	.word	.LC0
	.size	slave_adjust_steering_mode, .-slave_adjust_steering_mode
	.comm	MLX4_STEERING_MODE_DEVICE_MANAGED,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
