	.file	"extr_packet.c_ssh_packet_set_timeout.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	ssh_packet_set_timeout
	.type	ssh_packet_set_timeout, @function
ssh_packet_set_timeout:
.LFB0:
	.cfi_startproc
	endbr64
	mov	r8, QWORD PTR [rdi]
	mov	ecx, edx
	test	esi, esi
	jle	.L6
	test	edx, edx
	jle	.L6
	movsx	rax, DWORD PTR INT_MAX[rip]
	mov	rdi, rax
	imul	rax, rax, 274877907
	mov	edx, edi
	sar	edx, 31
	sar	rax, 38
	sub	eax, edx
	cdq
	idiv	ecx
	cmp	eax, esi
	jge	.L5
	mov	DWORD PTR [r8], edi
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	imul	esi, ecx
	imul	esi, esi, 1000
	mov	DWORD PTR [r8], esi
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	mov	DWORD PTR [r8], -1
	ret
	.cfi_endproc
.LFE0:
	.size	ssh_packet_set_timeout, .-ssh_packet_set_timeout
	.comm	INT_MAX,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_packet.c_ssh_packet_set_timeout.c"
	.text
	.global	__aeabi_idiv
	.align	2
	.global	ssh_packet_set_timeout
	.syntax unified
	.arm
	.fpu softvfp
	.type	ssh_packet_set_timeout, %function
ssh_packet_set_timeout:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	cmp	r2, #0
	cmpgt	r1, #0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r7, [r0]
	ble	.L7
	mov	r4, r2
	ldr	r2, .L8
	ldr	r3, .L8+4
	ldr	r6, [r2]
	mov	r5, r1
	smull	r2, r3, r6, r3
	asr	r0, r6, #31
	mov	r1, r4
	rsb	r0, r0, r3, asr #6
	bl	__aeabi_idiv
	cmp	r0, r5
	mulge	r2, r4, r5
	rsbge	r4, r2, r2, lsl #5
	addge	r2, r2, r4, lsl #2
	lslge	r2, r2, #3
	strlt	r6, [r7]
	strge	r2, [r7]
	pop	{r4, r5, r6, r7, r8, pc}
.L7:
	mvn	r3, #0
	str	r3, [r7]
	pop	{r4, r5, r6, r7, r8, pc}
.L9:
	.align	2
.L8:
	.word	INT_MAX
	.word	274877907
	.size	ssh_packet_set_timeout, .-ssh_packet_set_timeout
	.comm	INT_MAX,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
