	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlxsw_sp_adj_grp_size_round_up
_mlxsw_sp_adj_grp_size_round_up:        ## @mlxsw_sp_adj_grp_size_round_up
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %ecx
	cmpl	$65, %ecx
	jl	LBB0_5
## %bb.1:
	movl	$512, %eax                      ## imm = 0x200
	cmpl	$513, %ecx                      ## imm = 0x201
	jb	LBB0_4
## %bb.2:
	movl	$1024, %eax                     ## imm = 0x400
	cmpl	$1025, %ecx                     ## imm = 0x401
	jb	LBB0_4
## %bb.3:
	xorl	%eax, %eax
	cmpl	$2049, %ecx                     ## imm = 0x801
	setae	%al
	shll	$11, %eax
	addl	$2048, %eax                     ## imm = 0x800
LBB0_4:
	movl	%eax, (%rdi)
LBB0_5:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_mlxsw_sp_adj_grp_size_round_up
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlxsw_sp_adj_grp_size_round_up
_mlxsw_sp_adj_grp_size_round_up:        ; @mlxsw_sp_adj_grp_size_round_up
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
	cmp	w8, #65
	b.lt	LBB0_2
; %bb.1:
	mov	w9, #512
	mov	w10, #1024
	mov	w11, #2048
	mov	w12, #4096
	cmp	w8, #2048
	csel	w11, w12, w11, hi
	cmp	w8, #1025
	csel	w10, w10, w11, lo
	cmp	w8, #513
	csel	w8, w9, w10, lo
	str	w8, [x0]
LBB0_2:
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_mlxsw_sp_adj_grp_size_round_up
.subsections_via_symbols
