	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlxsw_sp_sb_threshold_out
_mlxsw_sp_sb_threshold_out:             ## @mlxsw_sp_sb_threshold_out
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdx, %rbx
	movq	%rdi, %r14
	callq	_mlxsw_sp_sb_pr_get
	movq	(%rax), %rax
	movq	_MLXSW_REG_SBPR_MODE_DYNAMIC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movq	_MLXSW_SP_SB_THRESHOLD_TO_ALPHA_OFFSET@GOTPCREL(%rip), %rax
	subq	(%rax), %rbx
	movq	%rbx, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_2:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_mlxsw_sp_cells_bytes           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MLXSW_REG_SBPR_MODE_DYNAMIC,8,3 ## @MLXSW_REG_SBPR_MODE_DYNAMIC
	.comm	_MLXSW_SP_SB_THRESHOLD_TO_ALPHA_OFFSET,8,3 ## @MLXSW_SP_SB_THRESHOLD_TO_ALPHA_OFFSET
	.no_dead_strip	_mlxsw_sp_sb_threshold_out
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlxsw_sp_sb_threshold_out
_mlxsw_sp_sb_threshold_out:             ; @mlxsw_sp_sb_threshold_out
	.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, x2
	mov	x20, x0
	bl	_mlxsw_sp_sb_pr_get
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _MLXSW_REG_SBPR_MODE_DYNAMIC@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MLXSW_REG_SBPR_MODE_DYNAMIC@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _MLXSW_SP_SB_THRESHOLD_TO_ALPHA_OFFSET@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MLXSW_SP_SB_THRESHOLD_TO_ALPHA_OFFSET@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	sub	x0, x19, x8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_mlxsw_sp_cells_bytes
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_MLXSW_REG_SBPR_MODE_DYNAMIC,8,3 ; @MLXSW_REG_SBPR_MODE_DYNAMIC
	.comm	_MLXSW_SP_SB_THRESHOLD_TO_ALPHA_OFFSET,8,3 ; @MLXSW_SP_SB_THRESHOLD_TO_ALPHA_OFFSET
	.no_dead_strip	_mlxsw_sp_sb_threshold_out
.subsections_via_symbols
