	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i2o_sg_tablesize               ## -- Begin function i2o_sg_tablesize
	.p2align	4, 0x90
_i2o_sg_tablesize:                      ## @i2o_sg_tablesize
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	16(%rdi), %rax
	notl	%esi
	addl	(%rax), %esi
	cmpq	$0, 8(%rdi)
	je	LBB0_2
## %bb.1:
	addl	$-2, %esi
	movslq	%esi, %rax
	imulq	$1431655766, %rax, %rcx         ## imm = 0x55555556
	movq	%rcx, %rax
	shrq	$63, %rax
	shrq	$32, %rcx
	addl	%eax, %ecx
	jmp	LBB0_3
LBB0_2:
	movl	%esi, %ecx
	shrl	$31, %ecx
	addl	%esi, %ecx
	sarl	%ecx
LBB0_3:
	cmpl	$9, %ecx
	movl	$8, %eax
	cmovll	%ecx, %eax
	cmpq	$0, (%rdi)
	cmovel	%ecx, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i2o_sg_tablesize               ; -- Begin function i2o_sg_tablesize
	.p2align	2
_i2o_sg_tablesize:                      ; @i2o_sg_tablesize
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0, #16]
	ldr	w8, [x8]
	mvn	w9, w1
	add	w8, w8, w9
	cmp	w8, #0
	cinc	w9, w8, lt
	asr	w9, w9, #1
	sub	w8, w8, #2
	mov	w10, #21846
	movk	w10, #21845, lsl #16
	smull	x8, w8, w10
	lsr	x10, x8, #63
	lsr	x8, x8, #32
	add	w8, w8, w10
	ldp	x11, x10, [x0]
	cmp	x10, #0
	csel	w8, w9, w8, eq
	cmp	w8, #8
	ccmp	x11, #0, #4, gt
	mov	w9, #8
	csel	w0, w9, w8, ne
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
