	.file	"231359.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"0%u.%02u.%02u.%02u.%02u"
.LC1:
	.string	"%03u %03u"
.LC2:
	.string	"%02u %02u"
.LC3:
	.string	"%u"
	.text
	.globl	format_phone
	.type	format_phone, @function
format_phone:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	DWORD PTR -4[rbp], edi
	cmp	DWORD PTR -4[rbp], 99999999
	jbe	.L2
	cmp	DWORD PTR -4[rbp], 999999999
	ja	.L2
	mov	eax, DWORD PTR -4[rbp]
	mov	edx, eax
	imul	rdx, rdx, 1374389535
	shr	rdx, 32
	shr	edx, 5
	imul	ecx, edx, 100
	sub	eax, ecx
	mov	edx, eax
	mov	eax, DWORD PTR -4[rbp]
	mov	eax, eax
	imul	rax, rax, 1374389535
	shr	rax, 32
	shr	eax, 5
	mov	ecx, eax
	imul	rcx, rcx, 1374389535
	shr	rcx, 32
	mov	esi, ecx
	shr	esi, 5
	imul	ecx, esi, 100
	sub	eax, ecx
	mov	esi, eax
	mov	eax, DWORD PTR -4[rbp]
	mov	ecx, eax
	mov	eax, 3518437209
	imul	rax, rcx
	shr	rax, 32
	shr	eax, 13
	mov	ecx, eax
	imul	rcx, rcx, 1374389535
	shr	rcx, 32
	shr	ecx, 5
	imul	edi, ecx, 100
	sub	eax, edi
	mov	ecx, eax
	mov	eax, DWORD PTR -4[rbp]
	mov	eax, eax
	imul	rax, rax, 1125899907
	shr	rax, 32
	mov	edi, eax
	shr	edi, 18
	mov	eax, edi
	imul	rax, rax, 1374389535
	shr	rax, 32
	shr	eax, 5
	imul	r8d, eax, 100
	mov	eax, edi
	sub	eax, r8d
	mov	edi, DWORD PTR -4[rbp]
	mov	edi, edi
	imul	rdi, rdi, 1441151881
	shr	rdi, 32
	shr	edi, 25
	sub	rsp, 8
	push	rdx
	mov	r9d, esi
	mov	r8d, ecx
	mov	ecx, eax
	mov	edx, edi
	lea	rsi, .LC0[rip]
	lea	rdi, phoneStr.0[rip]
	mov	eax, 0
	call	sprintf@PLT
	add	rsp, 16
	jmp	.L3
.L2:
	cmp	DWORD PTR -4[rbp], 99999
	jbe	.L4
	cmp	DWORD PTR -4[rbp], 999999
	ja	.L4
	mov	eax, DWORD PTR -4[rbp]
	mov	edx, eax
	imul	rdx, rdx, 274877907
	shr	rdx, 32
	shr	edx, 6
	imul	ecx, edx, 1000
	sub	eax, ecx
	mov	edx, eax
	mov	eax, DWORD PTR -4[rbp]
	mov	eax, eax
	imul	rax, rax, 274877907
	shr	rax, 32
	mov	ecx, eax
	shr	ecx, 6
	mov	eax, ecx
	imul	rax, rax, 274877907
	shr	rax, 32
	shr	eax, 6
	imul	esi, eax, 1000
	mov	eax, ecx
	sub	eax, esi
	mov	ecx, edx
	mov	edx, eax
	lea	rsi, .LC1[rip]
	lea	rdi, phoneStr.0[rip]
	mov	eax, 0
	call	sprintf@PLT
	jmp	.L3
.L4:
	cmp	DWORD PTR -4[rbp], 999
	jbe	.L5
	cmp	DWORD PTR -4[rbp], 9999
	ja	.L5
	mov	eax, DWORD PTR -4[rbp]
	mov	edx, eax
	imul	rdx, rdx, 1374389535
	shr	rdx, 32
	shr	edx, 5
	imul	ecx, edx, 100
	sub	eax, ecx
	mov	edx, eax
	mov	eax, DWORD PTR -4[rbp]
	mov	eax, eax
	imul	rax, rax, 1374389535
	shr	rax, 32
	mov	ecx, eax
	shr	ecx, 5
	mov	eax, ecx
	imul	rax, rax, 1374389535
	shr	rax, 32
	shr	eax, 5
	imul	esi, eax, 100
	mov	eax, ecx
	sub	eax, esi
	mov	ecx, edx
	mov	edx, eax
	lea	rsi, .LC2[rip]
	lea	rdi, phoneStr.0[rip]
	mov	eax, 0
	call	sprintf@PLT
	jmp	.L3
.L5:
	mov	eax, DWORD PTR -4[rbp]
	mov	edx, eax
	lea	rsi, .LC3[rip]
	lea	rdi, phoneStr.0[rip]
	mov	eax, 0
	call	sprintf@PLT
.L3:
	lea	rax, phoneStr.0[rip]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	format_phone, .-format_phone
	.local	phoneStr.0
	.comm	phoneStr.0,21,16
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"231359.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"0%u.%02u.%02u.%02u.%02u\000"
	.align	2
.LC1:
	.ascii	"%03u %03u\000"
	.align	2
.LC2:
	.ascii	"%02u %02u\000"
	.align	2
.LC3:
	.ascii	"%u\000"
	.text
	.align	2
	.global	format_phone
	.syntax unified
	.arm
	.fpu softvfp
	.type	format_phone, %function
format_phone:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #28
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	ldr	r2, .L7
	cmp	r3, r2
	bls	.L2
	ldr	r3, [fp, #-16]
	ldr	r2, .L7+4
	cmp	r3, r2
	bhi	.L2
	ldr	r3, [fp, #-16]
	ldr	r2, .L7+8
	umull	r1, r3, r2, r3
	lsr	r4, r3, #25
	ldr	r3, [fp, #-16]
	ldr	r2, .L7+12
	umull	r1, r3, r2, r3
	lsr	r2, r3, #18
	ldr	r3, .L7+16
	umull	r1, r3, r2, r3
	lsr	ip, r3, #5
	mov	r3, ip
	lsl	r3, r3, #2
	add	r3, r3, ip
	lsl	r1, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #2
	sub	ip, r2, r3
	ldr	r3, [fp, #-16]
	ldr	r2, .L7+20
	umull	r1, r3, r2, r3
	lsr	r1, r3, #13
	ldr	r3, .L7+16
	umull	r2, r3, r1, r3
	lsr	r2, r3, #5
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, r1, r3
	ldr	r3, [fp, #-16]
	ldr	r1, .L7+16
	umull	r0, r3, r1, r3
	lsr	r0, r3, #5
	ldr	r3, .L7+16
	umull	r1, r3, r0, r3
	lsr	r1, r3, #5
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r1, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #2
	sub	r1, r0, r3
	ldr	lr, [fp, #-16]
	ldr	r3, .L7+16
	umull	r0, r3, lr, r3
	lsr	r0, r3, #5
	mov	r3, r0
	lsl	r3, r3, #2
	add	r3, r3, r0
	lsl	r0, r3, #2
	add	r3, r3, r0
	lsl	r3, r3, #2
	sub	r0, lr, r3
	str	r0, [sp, #8]
	str	r1, [sp, #4]
	str	r2, [sp]
	mov	r3, ip
	mov	r2, r4
	ldr	r1, .L7+24
	ldr	r0, .L7+28
	bl	sprintf
	b	.L3
.L2:
	ldr	r3, [fp, #-16]
	ldr	r2, .L7+32
	cmp	r3, r2
	bcc	.L4
	ldr	r3, [fp, #-16]
	ldr	r2, .L7+36
	cmp	r3, r2
	bcs	.L4
	ldr	r3, [fp, #-16]
	ldr	r2, .L7+40
	umull	r1, r3, r2, r3
	lsr	r1, r3, #6
	ldr	r3, .L7+40
	umull	r2, r3, r1, r3
	lsr	r2, r3, #6
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, r1, r3
	ldr	r0, [fp, #-16]
	ldr	r3, .L7+40
	umull	r1, r3, r0, r3
	lsr	r1, r3, #6
	mov	r3, r1
	lsl	r3, r3, #5
	sub	r3, r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #3
	sub	r1, r0, r3
	mov	r3, r1
	ldr	r1, .L7+44
	ldr	r0, .L7+28
	bl	sprintf
	b	.L3
.L4:
	ldr	r3, [fp, #-16]
	cmp	r3, #1000
	bcc	.L5
	ldr	r3, [fp, #-16]
	ldr	r2, .L7+48
	cmp	r3, r2
	bhi	.L5
	ldr	r3, [fp, #-16]
	ldr	r2, .L7+16
	umull	r1, r3, r2, r3
	lsr	r1, r3, #5
	ldr	r3, .L7+16
	umull	r2, r3, r1, r3
	lsr	r2, r3, #5
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, r1, r3
	ldr	r0, [fp, #-16]
	ldr	r3, .L7+16
	umull	r1, r3, r0, r3
	lsr	r1, r3, #5
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r1, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #2
	sub	r1, r0, r3
	mov	r3, r1
	ldr	r1, .L7+52
	ldr	r0, .L7+28
	bl	sprintf
	b	.L3
.L5:
	ldr	r2, [fp, #-16]
	ldr	r1, .L7+56
	ldr	r0, .L7+28
	bl	sprintf
.L3:
	ldr	r3, .L7+28
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L8:
	.align	2
.L7:
	.word	99999999
	.word	999999999
	.word	1441151881
	.word	1125899907
	.word	1374389535
	.word	-776530087
	.word	.LC0
	.word	phoneStr.4629
	.word	100000
	.word	1000000
	.word	274877907
	.word	.LC1
	.word	9999
	.word	.LC2
	.word	.LC3
	.size	format_phone, .-format_phone
	.local	phoneStr.4629
	.comm	phoneStr.4629,21,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
