	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sc_data_update_sc_slab_size
_sc_data_update_sc_slab_size:           ## @sc_data_update_sc_slab_size
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	_PAGE@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	movq	%rsi, %rax
	orq	%r14, %rax
	shrq	$32, %rax
	je	LBB0_1
## %bb.2:
	movq	%r12, %rax
	xorl	%edx, %edx
	divq	%r14
	movq	%rax, %r13
	jmp	LBB0_3
LBB0_1:
	movl	%r12d, %eax
	xorl	%edx, %edx
	divl	%r14d
                                        ## kill: def $edx killed $edx def $rdx
	movl	%eax, %r13d
LBB0_3:
	cmpq	$1, %rdx
	sbbq	$-1, %r13
	movq	_BITMAP_MAXBITS@GOTPCREL(%rip), %rax
	imulq	(%rax), %r12
	movq	%r12, %rax
	orq	%r14, %rax
	shrq	$32, %rax
	je	LBB0_4
## %bb.5:
	movq	%r12, %rax
	xorl	%edx, %edx
	divq	%r14
	movq	%rax, %rbx
	jmp	LBB0_6
LBB0_4:
	movl	%r12d, %eax
	xorl	%edx, %edx
	divl	%r14d
	movl	%eax, %ebx
LBB0_6:
	xorl	%edi, %edi
	cmpq	%rbx, %r13
	setbe	%dil
	callq	_assert
	xorl	%edi, %edi
	testq	%r13, %r13
	setne	%dil
	callq	_assert
	xorl	%edi, %edi
	cmpq	%r12, %r14
	setbe	%dil
	callq	_assert
	cmpq	%r15, %rbx
	cmovaeq	%r15, %rbx
	cmpq	%r15, %r13
	cmovbel	%ebx, %r13d
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	%r13d, (%rax)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PAGE,8,3                       ## @PAGE
	.comm	_BITMAP_MAXBITS,8,3             ## @BITMAP_MAXBITS
	.no_dead_strip	_sc_data_update_sc_slab_size
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sc_data_update_sc_slab_size
_sc_data_update_sc_slab_size:           ; @sc_data_update_sc_slab_size
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x2
	mov	x20, x0
Lloh0:
	adrp	x8, _PAGE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PAGE@GOTPAGEOFF]
Lloh2:
	ldr	x21, [x8]
	udiv	x8, x1, x21
	msub	x9, x8, x21, x1
	cmp	x9, #0
Lloh3:
	adrp	x9, _BITMAP_MAXBITS@GOTPAGE
Lloh4:
	ldr	x9, [x9, _BITMAP_MAXBITS@GOTPAGEOFF]
	cinc	x22, x8, ne
Lloh5:
	ldr	x8, [x9]
	mul	x23, x8, x1
	udiv	x24, x23, x21
	cmp	x22, x24
	cset	w0, ls
	bl	_assert
	cmp	x22, #0
	cset	w0, ne
	bl	_assert
	cmp	x21, x23
	cset	w0, ls
	bl	_assert
	cmp	x24, x19
	csel	x8, x24, x19, lo
	cmp	x22, x19
	csel	x8, x22, x8, hi
	str	w8, [x20]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PAGE,8,3                       ; @PAGE
	.comm	_BITMAP_MAXBITS,8,3             ; @BITMAP_MAXBITS
	.no_dead_strip	_sc_data_update_sc_slab_size
.subsections_via_symbols
