	.file	"extr_rtnl-message.c_sd_rtnl_message_route_set_dst_prefixlen.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	sd_rtnl_message_route_set_dst_prefixlen
	.type	sd_rtnl_message_route_set_dst_prefixlen, @function
sd_rtnl_message_route_set_dst_prefixlen:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	ebp, esi
	mov	esi, DWORD PTR EINVAL[rip]
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rdi
	neg	esi
	call	assert_return@PLT
	mov	esi, DWORD PTR EINVAL[rip]
	mov	rdi, QWORD PTR [rbx]
	neg	esi
	call	assert_return@PLT
	mov	rax, QWORD PTR [rbx]
	mov	r12d, DWORD PTR EINVAL[rip]
	mov	edi, DWORD PTR 8[rax]
	neg	r12d
	call	rtnl_message_type_is_route@PLT
	mov	esi, r12d
	mov	rdi, rax
	call	assert_return@PLT
	mov	rdi, QWORD PTR [rbx]
	call	NLMSG_DATA@PLT
	mov	rdx, QWORD PTR [rax]
	cmp	QWORD PTR AF_INET[rip], rdx
	jne	.L6
	cmp	bpl, 32
	ja	.L2
.L6:
	cmp	QWORD PTR AF_INET6[rip], rdx
	jne	.L4
	cmp	bpl, -128
	ja	.L2
.L4:
	mov	BYTE PTR 8[rax], bpl
	xor	eax, eax
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	eax, DWORD PTR ERANGE[rip]
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	neg	eax
	ret
	.cfi_endproc
.LFE0:
	.size	sd_rtnl_message_route_set_dst_prefixlen, .-sd_rtnl_message_route_set_dst_prefixlen
	.comm	ERANGE,4,4
	.comm	EINVAL,4,4
	.comm	AF_INET6,8,8
	.comm	AF_INET,8,8
	.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_rtnl-message.c_sd_rtnl_message_route_set_dst_prefixlen.c"
	.text
	.align	2
	.global	sd_rtnl_message_route_set_dst_prefixlen
	.syntax unified
	.arm
	.fpu softvfp
	.type	sd_rtnl_message_route_set_dst_prefixlen, %function
sd_rtnl_message_route_set_dst_prefixlen:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	ldr	r6, .L7
	mov	r5, r1
	ldr	r1, [r6]
	rsb	r1, r1, #0
	bl	assert_return
	ldr	r1, [r6]
	ldr	r0, [r4]
	rsb	r1, r1, #0
	bl	assert_return
	ldr	r3, [r4]
	ldr	r0, [r3, #4]
	bl	rtnl_message_type_is_route
	ldr	r1, [r6]
	rsb	r1, r1, #0
	bl	assert_return
	ldr	r0, [r4]
	bl	NLMSG_DATA
	ldr	r3, .L7+4
	mov	r2, r0
	ldr	r3, [r3]
	ldr	r0, [r0]
	cmp	r5, #32
	sub	r3, r3, r0
	clz	r3, r3
	lsr	r3, r3, #5
	movls	r3, #0
	cmp	r3, #0
	bne	.L2
	ldr	r3, .L7+8
	cmp	r5, #128
	ldr	r3, [r3]
	sub	r0, r3, r0
	clz	r0, r0
	lsr	r0, r0, #5
	movls	r0, #0
	cmp	r0, #0
	bne	.L2
	strb	r5, [r2, #4]
	pop	{r4, r5, r6, pc}
.L2:
	ldr	r3, .L7+12
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, pc}
.L8:
	.align	2
.L7:
	.word	EINVAL
	.word	AF_INET
	.word	AF_INET6
	.word	ERANGE
	.size	sd_rtnl_message_route_set_dst_prefixlen, .-sd_rtnl_message_route_set_dst_prefixlen
	.comm	ERANGE,4,4
	.comm	EINVAL,4,4
	.comm	AF_INET6,4,4
	.comm	AF_INET,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
