	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __mlxsw_item_get16
___mlxsw_item_get16:                    ## @__mlxsw_item_get16
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	%rsi, %rdi
	movl	%edx, %esi
	movl	$4, %edx
	callq	___mlxsw_item_offset
	movl	%eax, %eax
	movl	(%r14,%rax,4), %edi
	callq	_be16_to_cpu
	movl	%eax, %ebx
	movb	(%r15), %cl
	sarl	%cl, %ebx
	movq	16(%r15), %rdi
	decq	%rdi
	xorl	%esi, %esi
	callq	_GENMASK
	andl	%ebx, %eax
	cmpq	$0, 8(%r15)
	je	LBB0_2
## %bb.1:
	movb	(%r15), %cl
	shll	%cl, %eax
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	___mlxsw_item_get16
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __mlxsw_item_get16
___mlxsw_item_get16:                    ; @__mlxsw_item_get16
	.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, x1
	mov	x20, x0
	mov	x0, x1
	mov	x1, x2
	mov	w2, #4
	bl	___mlxsw_item_offset
	ldr	w0, [x20, w0, uxtw #2]
	bl	_be16_to_cpu
	ldr	w8, [x19]
	asr	w20, w0, w8
	ldr	x8, [x19, #16]
	sub	x0, x8, #1
	mov	w1, #0
	bl	_GENMASK
	and	w0, w0, w20
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	w8, [x19]
	lsl	w0, w0, w8
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	___mlxsw_item_get16
.subsections_via_symbols
