	.file	"162642096.c"
	.intel_syntax noprefix
	.text
	.globl	inet_net_ntop
	.type	inet_net_ntop, @function
inet_net_ntop:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	DWORD PTR -4[rbp], edi
	mov	QWORD PTR -16[rbp], rsi
	mov	DWORD PTR -8[rbp], edx
	mov	QWORD PTR -24[rbp], rcx
	mov	QWORD PTR -32[rbp], r8
	cmp	DWORD PTR -4[rbp], 2
	jne	.L2
	mov	rcx, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	mov	esi, DWORD PTR -8[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	inet_net_ntop_ipv4
	jmp	.L3
.L2:
	call	__errno_location@PLT
	mov	DWORD PTR [rax], 97
	mov	eax, 0
.L3:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	inet_net_ntop, .-inet_net_ntop
	.section	.rodata
.LC0:
	.string	"%u"
.LC1:
	.string	"/%u"
	.text
	.type	inet_net_ntop_ipv4, @function
inet_net_ntop_ipv4:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 64
	mov	QWORD PTR -40[rbp], rdi
	mov	DWORD PTR -44[rbp], esi
	mov	QWORD PTR -56[rbp], rdx
	mov	QWORD PTR -64[rbp], rcx
	mov	rax, QWORD PTR -56[rbp]
	mov	QWORD PTR -16[rbp], rax
	cmp	DWORD PTR -44[rbp], 0
	js	.L5
	cmp	DWORD PTR -44[rbp], 32
	jle	.L6
.L5:
	call	__errno_location@PLT
	mov	DWORD PTR [rax], 22
	mov	eax, 0
	jmp	.L7
.L6:
	cmp	DWORD PTR -44[rbp], 0
	jne	.L8
	cmp	QWORD PTR -64[rbp], 1
	jbe	.L19
	mov	rax, QWORD PTR -56[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -56[rbp], rdx
	mov	BYTE PTR [rax], 48
	mov	rax, QWORD PTR -56[rbp]
	mov	BYTE PTR [rax], 0
.L8:
	mov	eax, DWORD PTR -44[rbp]
	lea	edx, 7[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 3
	mov	DWORD PTR -24[rbp], eax
	jmp	.L11
.L14:
	cmp	QWORD PTR -64[rbp], 4
	jbe	.L20
	mov	rax, QWORD PTR -56[rbp]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -40[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -40[rbp], rdx
	movzx	eax, BYTE PTR [rax]
	movzx	edx, al
	mov	rax, QWORD PTR -56[rbp]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	cdqe
	add	QWORD PTR -56[rbp], rax
	cmp	DWORD PTR -24[rbp], 1
	jle	.L13
	mov	rax, QWORD PTR -56[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -56[rbp], rdx
	mov	BYTE PTR [rax], 46
	mov	rax, QWORD PTR -56[rbp]
	mov	BYTE PTR [rax], 0
.L13:
	mov	rax, QWORD PTR -56[rbp]
	sub	rax, QWORD PTR -8[rbp]
	sub	QWORD PTR -64[rbp], rax
	sub	DWORD PTR -24[rbp], 1
.L11:
	cmp	DWORD PTR -24[rbp], 0
	jg	.L14
	mov	eax, DWORD PTR -44[rbp]
	cdq
	shr	edx, 29
	add	eax, edx
	and	eax, 7
	sub	eax, edx
	mov	DWORD PTR -24[rbp], eax
	cmp	DWORD PTR -24[rbp], 0
	jle	.L15
	cmp	QWORD PTR -64[rbp], 4
	jbe	.L21
	mov	rax, QWORD PTR -56[rbp]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -56[rbp]
	cmp	rax, QWORD PTR -16[rbp]
	je	.L17
	mov	rax, QWORD PTR -56[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -56[rbp], rdx
	mov	BYTE PTR [rax], 46
.L17:
	mov	eax, DWORD PTR -24[rbp]
	mov	edx, 1
	mov	ecx, eax
	sal	edx, cl
	mov	eax, edx
	lea	edx, -1[rax]
	mov	eax, 8
	sub	eax, DWORD PTR -24[rbp]
	mov	ecx, eax
	sal	edx, cl
	mov	eax, edx
	mov	DWORD PTR -20[rbp], eax
	mov	rax, QWORD PTR -40[rbp]
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	and	eax, DWORD PTR -20[rbp]
	mov	edx, eax
	mov	rax, QWORD PTR -56[rbp]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	cdqe
	add	QWORD PTR -56[rbp], rax
	mov	rax, QWORD PTR -56[rbp]
	sub	rax, QWORD PTR -8[rbp]
	sub	QWORD PTR -64[rbp], rax
.L15:
	cmp	QWORD PTR -64[rbp], 3
	jbe	.L22
	mov	edx, DWORD PTR -44[rbp]
	mov	rax, QWORD PTR -56[rbp]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	cdqe
	add	QWORD PTR -56[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	jmp	.L7
.L19:
	nop
	jmp	.L10
.L20:
	nop
	jmp	.L10
.L21:
	nop
	jmp	.L10
.L22:
	nop
.L10:
	call	__errno_location@PLT
	mov	DWORD PTR [rax], 90
	mov	eax, 0
.L7:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	inet_net_ntop_ipv4, .-inet_net_ntop_ipv4
	.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	"162642096.c"
	.text
	.align	2
	.global	inet_net_ntop
	.syntax unified
	.arm
	.fpu softvfp
	.type	inet_net_ntop, %function
inet_net_ntop:
	@ args = 4, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	str	r2, [fp, #-16]
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-8]
	cmp	r3, #2
	bne	.L2
	ldr	r3, [fp, #4]
	ldr	r2, [fp, #-20]
	ldr	r1, [fp, #-16]
	ldr	r0, [fp, #-12]
	bl	inet_net_ntop_ipv4
	mov	r3, r0
	b	.L3
.L2:
	bl	__errno_location
	mov	r3, r0
	mov	r2, #97
	str	r2, [r3]
	mov	r3, #0
.L3:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	inet_net_ntop, .-inet_net_ntop
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%u\000"
	.align	2
.LC1:
	.ascii	"/%u\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	inet_net_ntop_ipv4, %function
inet_net_ntop_ipv4:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-32]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	blt	.L5
	ldr	r3, [fp, #-28]
	cmp	r3, #32
	ble	.L6
.L5:
	bl	__errno_location
	mov	r3, r0
	mov	r2, #22
	str	r2, [r3]
	mov	r3, #0
	b	.L7
.L6:
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	bne	.L8
	ldr	r3, [fp, #-36]
	cmp	r3, #1
	bls	.L19
	ldr	r3, [fp, #-32]
	add	r2, r3, #1
	str	r2, [fp, #-32]
	mov	r2, #48
	strb	r2, [r3]
	ldr	r3, [fp, #-32]
	mov	r2, #0
	strb	r2, [r3]
.L8:
	ldr	r3, [fp, #-28]
	add	r2, r3, #7
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #3
	str	r3, [fp, #-20]
	b	.L11
.L14:
	ldr	r3, [fp, #-36]
	cmp	r3, #4
	bls	.L20
	ldr	r3, [fp, #-32]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-24]
	add	r2, r3, #1
	str	r2, [fp, #-24]
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r1, .L23
	ldr	r0, [fp, #-32]
	bl	sprintf
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-32]
	add	r3, r3, r2
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-20]
	cmp	r3, #1
	ble	.L13
	ldr	r3, [fp, #-32]
	add	r2, r3, #1
	str	r2, [fp, #-32]
	mov	r2, #46
	strb	r2, [r3]
	ldr	r3, [fp, #-32]
	mov	r2, #0
	strb	r2, [r3]
.L13:
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-12]
	sub	r3, r2, r3
	mov	r2, r3
	ldr	r3, [fp, #-36]
	sub	r3, r3, r2
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-20]
	sub	r3, r3, #1
	str	r3, [fp, #-20]
.L11:
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bgt	.L14
	ldr	r3, [fp, #-28]
	rsbs	r2, r3, #0
	and	r3, r3, #7
	and	r2, r2, #7
	rsbpl	r3, r2, #0
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	ble	.L15
	ldr	r3, [fp, #-36]
	cmp	r3, #4
	bls	.L21
	ldr	r3, [fp, #-32]
	str	r3, [fp, #-12]
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	beq	.L17
	ldr	r3, [fp, #-32]
	add	r2, r3, #1
	str	r2, [fp, #-32]
	mov	r2, #46
	strb	r2, [r3]
.L17:
	mov	r2, #1
	ldr	r3, [fp, #-20]
	lsl	r3, r2, r3
	sub	r2, r3, #1
	ldr	r3, [fp, #-20]
	rsb	r3, r3, #8
	lsl	r3, r2, r3
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-24]
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, [fp, #-8]
	and	r3, r3, r2
	mov	r2, r3
	ldr	r1, .L23
	ldr	r0, [fp, #-32]
	bl	sprintf
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-32]
	add	r3, r3, r2
	str	r3, [fp, #-32]
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-12]
	sub	r3, r2, r3
	mov	r2, r3
	ldr	r3, [fp, #-36]
	sub	r3, r3, r2
	str	r3, [fp, #-36]
.L15:
	ldr	r3, [fp, #-36]
	cmp	r3, #3
	bls	.L22
	ldr	r2, [fp, #-28]
	ldr	r1, .L23+4
	ldr	r0, [fp, #-32]
	bl	sprintf
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-32]
	add	r3, r3, r2
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-16]
	b	.L7
.L19:
	nop
	b	.L10
.L20:
	nop
	b	.L10
.L21:
	nop
	b	.L10
.L22:
	nop
.L10:
	bl	__errno_location
	mov	r3, r0
	mov	r2, #90
	str	r2, [r3]
	mov	r3, #0
.L7:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L24:
	.align	2
.L23:
	.word	.LC0
	.word	.LC1
	.size	inet_net_ntop_ipv4, .-inet_net_ntop_ipv4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
