	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function slave_adjust_steering_mode
_slave_adjust_steering_mode:            ## @slave_adjust_steering_mode
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	(%rdx), %rdi
	movq	%rdi, (%rbx)
	movq	_MLX4_STEERING_MODE_DEVICE_MANAGED@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdi
	jne	LBB0_2
## %bb.1:
	movl	(%rsi), %eax
	movl	4(%rsi), %ecx
	movl	%ecx, 12(%rbx)
	jmp	LBB0_3
LBB0_2:
	movb	8(%rdx), %cl
	movl	$1, %eax
	shll	%cl, %eax
	leal	15(%rax), %ecx
	testl	%eax, %eax
	cmovnsl	%eax, %ecx
	sarl	$4, %ecx
	leal	-8(,%rcx,4), %eax
LBB0_3:
	movl	%eax, 8(%rbx)
	callq	_mlx4_steering_mode_str
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	movl	%eax, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_mlx4_dbg                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MLX4_STEERING_MODE_DEVICE_MANAGED,8,3 ## @MLX4_STEERING_MODE_DEVICE_MANAGED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Steering mode is: %s\n"

	.no_dead_strip	_slave_adjust_steering_mode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function slave_adjust_steering_mode
_slave_adjust_steering_mode:            ; @slave_adjust_steering_mode
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x0, [x2]
	str	x0, [x19]
Lloh0:
	adrp	x8, _MLX4_STEERING_MODE_DEVICE_MANAGED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MLX4_STEERING_MODE_DEVICE_MANAGED@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_2
; %bb.1:
	ldp	w8, w9, [x1]
	str	w9, [x19, #12]
	b	LBB0_3
LBB0_2:
	ldr	w8, [x2, #8]
	mov	w9, #1
	lsl	w8, w9, w8
	add	w9, w8, #15
	cmp	w8, #0
	csel	w8, w9, w8, lt
	asr	w8, w8, #4
	lsl	w8, w8, #2
	sub	w8, w8, #8
LBB0_3:
	str	w8, [x19, #8]
	bl	_mlx4_steering_mode_str
	mov	x2, x0
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_mlx4_dbg
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_MLX4_STEERING_MODE_DEVICE_MANAGED,8,3 ; @MLX4_STEERING_MODE_DEVICE_MANAGED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Steering mode is: %s\n"

	.no_dead_strip	_slave_adjust_steering_mode
.subsections_via_symbols
