	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlxsw_sp_fix_tb_id
_mlxsw_sp_fix_tb_id:                    ## @mlxsw_sp_fix_tb_id
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_RT_TABLE_LOCAL@GOTPCREL(%rip), %rcx
	movq	_RT_TABLE_DEFAULT@GOTPCREL(%rip), %rax
	cmpq	%rdi, (%rax)
	movq	_RT_TABLE_MAIN@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	%rdi, %rax
	cmoveq	%rdx, %rax
	cmpq	%rdi, (%rcx)
	cmoveq	%rdx, %rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RT_TABLE_LOCAL,8,3             ## @RT_TABLE_LOCAL
	.comm	_RT_TABLE_DEFAULT,8,3           ## @RT_TABLE_DEFAULT
	.comm	_RT_TABLE_MAIN,8,3              ## @RT_TABLE_MAIN
	.no_dead_strip	_mlxsw_sp_fix_tb_id
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlxsw_sp_fix_tb_id
_mlxsw_sp_fix_tb_id:                    ; @mlxsw_sp_fix_tb_id
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _RT_TABLE_LOCAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RT_TABLE_LOCAL@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _RT_TABLE_DEFAULT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _RT_TABLE_DEFAULT@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x9, x0
	ccmp	x8, x0, #4, ne
Lloh6:
	adrp	x8, _RT_TABLE_MAIN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _RT_TABLE_MAIN@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	csel	x0, x8, x0, eq
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_RT_TABLE_LOCAL,8,3             ; @RT_TABLE_LOCAL
	.comm	_RT_TABLE_DEFAULT,8,3           ; @RT_TABLE_DEFAULT
	.comm	_RT_TABLE_MAIN,8,3              ; @RT_TABLE_MAIN
	.no_dead_strip	_mlxsw_sp_fix_tb_id
.subsections_via_symbols
