	.file	"extr_sc.c_sc_data_update_sc_slab_size.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	sc_data_update_sc_slab_size, @function
sc_data_update_sc_slab_size:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	rax, rsi
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rdi
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdx
	xor	edx, edx
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	mov	r13, QWORD PTR PAGE[rip]
	div	r13
	cmp	rdx, 1
	sbb	rax, -1
	imul	rbx, QWORD PTR BITMAP_MAXBITS[rip]
	xor	edx, edx
	xor	edi, edi
	mov	rbp, rax
	mov	rax, rbx
	div	r13
	cmp	rbp, rax
	mov	r15, rax
	setbe	dil
	call	assert@PLT
	xor	edi, edi
	test	rbp, rbp
	setne	dil
	call	assert@PLT
	xor	edi, edi
	cmp	r13, rbx
	setbe	dil
	call	assert@PLT
	cmp	rbp, r12
	jbe	.L3
	mov	DWORD PTR [r14], ebp
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	cmp	r15, r12
	cmovb	r12d, r15d
	mov	DWORD PTR [r14], r12d
	add	rsp, 8
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	sc_data_update_sc_slab_size, .-sc_data_update_sc_slab_size
	.comm	PAGE,8,8
	.comm	BITMAP_MAXBITS,8,8
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_sc.c_sc_data_update_sc_slab_size.c"
	.text
	.global	__aeabi_uidivmod
	.global	__aeabi_uidiv
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	sc_data_update_sc_slab_size, %function
sc_data_update_sc_slab_size:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L11
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r9, [r3]
	mov	r4, r1
	mov	r8, r0
	mov	r0, r1
	mov	r1, r9
	mov	r7, r2
	bl	__aeabi_uidivmod
	ldr	r3, .L11+4
	cmp	r1, #0
	ldr	r3, [r3]
	mov	r6, r0
	mul	r4, r3, r4
	addne	r6, r0, #1
	mov	r1, r9
	mov	r0, r4
	bl	__aeabi_uidiv
	cmp	r6, r0
	mov	r5, r0
	movhi	r0, #0
	movls	r0, #1
	bl	assert
	subs	r0, r6, #0
	movne	r0, #1
	bl	assert
	cmp	r9, r4
	movhi	r0, #0
	movls	r0, #1
	bl	assert
	cmp	r6, r7
	bls	.L3
	str	r6, [r8]
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L3:
	cmp	r5, r7
	movcs	r5, r7
	str	r5, [r8]
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L12:
	.align	2
.L11:
	.word	PAGE
	.word	BITMAP_MAXBITS
	.size	sc_data_update_sc_slab_size, .-sc_data_update_sc_slab_size
	.comm	PAGE,4,4
	.comm	BITMAP_MAXBITS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
