	.file	"extr_hpifunc.c_hpi_cobranet_get_static_ip_address.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	hpi_cobranet_get_static_ip_address
	.type	hpi_cobranet_get_static_ip_address, @function
hpi_cobranet_get_static_ip_address:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	rbx, rsi
	mov	edx, 4
	sub	rsp, 16
	.cfi_def_cfa_offset 32
	mov	esi, DWORD PTR HPI_COBRANET_HMI_cobra_ip_mon_staticIP[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	rcx, rsp
	lea	r8, 4[rsp]
	call	hpi_cobranet_hmi_read@PLT
	mov	ecx, DWORD PTR 4[rsp]
	mov	esi, ecx
	mov	edx, ecx
	movzx	ecx, ch
	sal	esi, 8
	shr	edx, 8
	mov	edi, esi
	and	edx, 16711680
	movzx	esi, si
	and	edi, -16777216
	or	edx, edi
	or	edx, ecx
	mov	ecx, 0
	or	edx, esi
	test	rax, rax
	cmovne	edx, ecx
	mov	DWORD PTR [rbx], edx
	mov	rbx, QWORD PTR 8[rsp]
	xor	rbx, QWORD PTR fs:40
	jne	.L8
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	pop	rbx
	.cfi_def_cfa_offset 8
	ret
.L8:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	hpi_cobranet_get_static_ip_address, .-hpi_cobranet_get_static_ip_address
	.comm	HPI_COBRANET_HMI_cobra_ip_mon_staticIP,4,4
	.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_hpifunc.c_hpi_cobranet_get_static_ip_address.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	hpi_cobranet_get_static_ip_address
	.syntax unified
	.arm
	.fpu softvfp
	.type	hpi_cobranet_get_static_ip_address, %function
hpi_cobranet_get_static_ip_address:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	ldr	r2, .L9
	sub	sp, sp, #24
	ldr	ip, .L9+4
	add	r3, sp, #16
	mov	r4, r1
	ldr	r1, [r2]
	str	r3, [sp]
	mov	r2, #4
	add	r3, sp, #12
	ldr	ip, [ip]
	str	ip, [sp, #20]
	mov	ip,#0
	bl	hpi_cobranet_hmi_read
	ldr	r2, [sp, #16]
	cmp	r0, #0
	lsl	r1, r2, #8
	lsr	r3, r2, #8
	and	ip, r1, #-16777216
	and	r3, r3, #16711680
	lsl	r2, r2, #16
	orr	r3, r3, ip
	orr	r3, r3, r2, lsr #24
	and	r1, r1, #65280
	orreq	r3, r3, r1
	movne	r3, #0
	str	r3, [r4]
	ldr	r3, .L9+4
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L8
	add	sp, sp, #24
	@ sp needed
	pop	{r4, pc}
.L8:
	bl	__stack_chk_fail
.L10:
	.align	2
.L9:
	.word	HPI_COBRANET_HMI_cobra_ip_mon_staticIP
	.word	.LC0
	.size	hpi_cobranet_get_static_ip_address, .-hpi_cobranet_get_static_ip_address
	.comm	HPI_COBRANET_HMI_cobra_ip_mon_staticIP,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
