	.file	"extr_actions.c_set_ipv4.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	set_ipv4, @function
set_ipv4:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	skb_network_offset@PLT
	mov	rdi, rbp
	lea	rsi, 32[rax]
	call	make_writable@PLT
	mov	edi, eax
	mov	r12d, eax
	call	unlikely@PLT
	test	rax, rax
	je	.L9
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	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
.L9:
	.cfi_restore_state
	mov	rdi, rbp
	call	ip_hdr@PLT
	mov	rcx, QWORD PTR [rbx]
	mov	r13, rax
	cmp	rcx, QWORD PTR [rax]
	je	.L3
	mov	rdx, rax
	mov	rsi, rax
	mov	rdi, rbp
	call	set_ip_addr@PLT
.L3:
	mov	rcx, QWORD PTR 8[rbx]
	cmp	rcx, QWORD PTR 8[r13]
	je	.L4
	lea	rdx, 8[r13]
	mov	rsi, r13
	mov	rdi, rbp
	call	set_ip_addr@PLT
.L4:
	mov	rdx, QWORD PTR 16[rbx]
	cmp	rdx, QWORD PTR 16[r13]
	je	.L5
	xor	esi, esi
	mov	rdi, r13
	call	ipv4_change_dsfield@PLT
.L5:
	mov	rdx, QWORD PTR 24[rbx]
	xor	r12d, r12d
	cmp	rdx, QWORD PTR 24[r13]
	je	.L1
	mov	rsi, r13
	mov	rdi, rbp
	call	set_ip_ttl@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	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
	.cfi_endproc
.LFE0:
	.size	set_ipv4, .-set_ipv4
	.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_actions.c_set_ipv4.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	set_ipv4, %function
set_ipv4:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r6, r1
	mov	r4, r0
	bl	skb_network_offset
	mov	r1, r0
	mov	r0, r4
	add	r1, r1, #16
	bl	make_writable
	mov	r5, r0
	bl	unlikely
	cmp	r0, #0
	beq	.L9
.L1:
	mov	r0, r5
	pop	{r4, r5, r6, pc}
.L9:
	mov	r0, r4
	bl	ip_hdr
	ldr	r3, [r6]
	ldr	r2, [r0]
	mov	r5, r0
	cmp	r3, r2
	beq	.L3
	mov	r2, r0
	mov	r1, r0
	mov	r0, r4
	bl	set_ip_addr
.L3:
	ldr	r3, [r6, #4]
	ldr	r2, [r5, #4]
	cmp	r3, r2
	beq	.L4
	mov	r1, r5
	mov	r0, r4
	add	r2, r5, #4
	bl	set_ip_addr
.L4:
	ldr	r2, [r6, #8]
	ldr	r3, [r5, #8]
	cmp	r2, r3
	beq	.L5
	mov	r1, #0
	mov	r0, r5
	bl	ipv4_change_dsfield
.L5:
	ldr	r3, [r5, #12]
	ldr	r2, [r6, #12]
	cmp	r2, r3
	moveq	r5, #0
	beq	.L1
	mov	r1, r5
	mov	r5, #0
	mov	r0, r4
	bl	set_ip_ttl
	mov	r0, r5
	pop	{r4, r5, r6, pc}
	.size	set_ipv4, .-set_ipv4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
