	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlxsw_hwmon_get_attr_index
_mlxsw_hwmon_get_attr_index:            ## @mlxsw_hwmon_get_attr_index
	.cfi_startproc
## %bb.0:
	movl	%edi, %eax
	cmpl	%esi, %edi
	jl	LBB0_2
## %bb.1:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cltd
	idivl	%esi
	movq	_MLXSW_REG_MTMP_GBOX_INDEX_MIN@GOTPCREL(%rip), %rcx
	movl	%edx, %eax
	addl	(%rcx), %eax
	popq	%rbp
LBB0_2:
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MLXSW_REG_MTMP_GBOX_INDEX_MIN,4,2 ## @MLXSW_REG_MTMP_GBOX_INDEX_MIN
	.no_dead_strip	_mlxsw_hwmon_get_attr_index
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlxsw_hwmon_get_attr_index
_mlxsw_hwmon_get_attr_index:            ; @mlxsw_hwmon_get_attr_index
	.cfi_startproc
; %bb.0:
	cmp	w0, w1
	b.lt	LBB0_2
; %bb.1:
	sdiv	w8, w0, w1
	msub	w8, w8, w1, w0
Lloh0:
	adrp	x9, _MLXSW_REG_MTMP_GBOX_INDEX_MIN@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MLXSW_REG_MTMP_GBOX_INDEX_MIN@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	add	w0, w9, w8
LBB0_2:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MLXSW_REG_MTMP_GBOX_INDEX_MIN,4,2 ; @MLXSW_REG_MTMP_GBOX_INDEX_MIN
	.no_dead_strip	_mlxsw_hwmon_get_attr_index
.subsections_via_symbols
