	.file	"extr_aic_osm_lib.c_aic_calc_geometry.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	aic_calc_geometry
	.type	aic_calc_geometry, @function
aic_calc_geometry:
.LFB0:
	.cfi_startproc
	endbr64
	mov	eax, 1048576
	mov	rcx, QWORD PTR [rdi]
	cqo
	idiv	QWORD PTR 8[rdi]
	mov	r8, rax
	mov	rax, rcx
	cqo
	idiv	r8
	cmp	eax, 1024
	jle	.L2
	test	esi, esi
	je	.L2
	movabs	rax, 270582939903
	mov	esi, 16065
	mov	QWORD PTR 16[rdi], rax
.L3:
	mov	rax, rcx
	cqo
	idiv	rsi
	mov	DWORD PTR 24[rdi], eax
	mov	eax, DWORD PTR CAM_REQ_CMP[rip]
	mov	DWORD PTR 28[rdi], eax
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	movabs	rax, 137438953536
	mov	esi, 2048
	mov	QWORD PTR 16[rdi], rax
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	aic_calc_geometry, .-aic_calc_geometry
	.comm	CAM_REQ_CMP,4,4
	.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_aic_osm_lib.c_aic_calc_geometry.c"
	.text
	.global	__aeabi_idiv
	.align	2
	.global	aic_calc_geometry
	.syntax unified
	.arm
	.fpu softvfp
	.type	aic_calc_geometry, %function
aic_calc_geometry:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r6, [r0]
	mov	r4, r0
	mov	r5, r1
	ldr	r1, [r0, #4]
	mov	r0, #1048576
	bl	__aeabi_idiv
	mov	r1, r0
	mov	r0, r6
	bl	__aeabi_idiv
	cmp	r5, #0
	cmpne	r0, #1024
	movgt	r3, #63
	movle	r3, #32
	movgt	r2, #255
	movle	r2, #64
	strgt	r3, [r4, #12]
	strle	r3, [r4, #12]
	movle	r1, #2048
	mov	r0, r6
	ldrgt	r1, .L6
	strgt	r2, [r4, #8]
	strle	r2, [r4, #8]
	bl	__aeabi_idiv
	ldr	r3, .L6+4
	str	r0, [r4, #16]
	ldr	r3, [r3]
	str	r3, [r4, #20]
	pop	{r4, r5, r6, pc}
.L7:
	.align	2
.L6:
	.word	16065
	.word	CAM_REQ_CMP
	.size	aic_calc_geometry, .-aic_calc_geometry
	.comm	CAM_REQ_CMP,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
