	.file	"extr_ifaddr.c_pg_sockaddr_cidr_mask.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	pg_sockaddr_cidr_mask
	.type	pg_sockaddr_cidr_mask, @function
pg_sockaddr_cidr_mask:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13d, edx
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 56
	.cfi_def_cfa_offset 96
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	test	rsi, rsi
	je	.L22
	mov	rbx, rsi
	mov	edx, 10
	lea	rsi, 8[rsp]
	mov	rdi, rbx
	call	strtol@PLT
	cmp	BYTE PTR [rbx], 0
	mov	rbp, rax
	je	.L20
	mov	rax, QWORD PTR 8[rsp]
	cmp	BYTE PTR [rax], 0
	jne	.L20
	cmp	r13d, 129
	jne	.L20
	cmp	rbp, 32
	ja	.L20
	lea	r13, 16[rsp]
	xor	esi, esi
	mov	edx, 16
	mov	rdi, r13
	call	memset@PLT
	test	rbp, rbp
	jne	.L23
.L8:
	mov	rdi, rbp
	call	pg_hton32@PLT
	mov	edx, 16
	mov	rsi, r13
	mov	rdi, r12
	mov	DWORD PTR 24[rsp], eax
	call	memcpy@PLT
	mov	DWORD PTR [r12], 129
	xor	eax, eax
.L1:
	mov	rcx, QWORD PTR 40[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L24
	add	rsp, 56
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L23:
	.cfi_restore_state
	mov	ecx, 32
	sub	ecx, ebp
	mov	ebp, 4294967295
	sal	rbp, cl
	mov	ebp, ebp
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L22:
	cmp	edx, 129
	je	.L3
.L20:
	mov	eax, -1
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L3:
	lea	r13, 16[rsp]
	mov	edx, 16
	xor	esi, esi
	mov	ebp, 4294967295
	mov	rdi, r13
	call	memset@PLT
	jmp	.L8
.L24:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	pg_sockaddr_cidr_mask, .-pg_sockaddr_cidr_mask
	.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_ifaddr.c_pg_sockaddr_cidr_mask.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	pg_sockaddr_cidr_mask
	.syntax unified
	.arm
	.fpu softvfp
	.type	pg_sockaddr_cidr_mask, %function
pg_sockaddr_cidr_mask:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r3, .L25
	sub	sp, sp, #16
	subs	r4, r1, #0
	mov	r5, r0
	mov	r6, r2
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	beq	.L22
	mov	r2, #10
	mov	r1, sp
	mov	r0, r4
	bl	strtol
	ldrb	r3, [r4]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L20
	ldr	r3, [sp]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	cmpeq	r6, #129
	bne	.L20
	cmp	r0, #32
	bhi	.L20
	mov	r3, #0
	cmp	r0, r3
	str	r3, [sp, #4]
	bne	.L23
.L7:
	bl	pg_hton32
	mov	r2, #4
	mov	r3, r0
	add	r1, sp, #8
	add	r0, r5, r2
	str	r3, [sp, #8]
	bl	memcpy
	mov	r3, #129
	mov	r0, #0
	str	r3, [r5]
.L1:
	ldr	r3, .L25
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L24
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, pc}
.L23:
	mvn	r2, #0
	rsb	r3, r0, #32
	lsl	r0, r2, r3
	b	.L7
.L22:
	cmp	r2, #129
	beq	.L9
.L20:
	mvn	r0, #0
	b	.L1
.L9:
	mvn	r0, #0
	b	.L7
.L24:
	bl	__stack_chk_fail
.L26:
	.align	2
.L25:
	.word	.LC0
	.size	pg_sockaddr_cidr_mask, .-pg_sockaddr_cidr_mask
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
