	.file	"extr_if_ipheth.c_ipheth_tick.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ipheth_tick, @function
ipheth_tick:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 56
	.cfi_def_cfa_offset 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	call	uether_getsc@PLT
	mov	ecx, DWORD PTR IPHETH_CTRL_TIMEOUT[rip]
	mov	rsi, rsp
	mov	rdi, rbp
	mov	rbx, rax
	mov	eax, DWORD PTR UT_READ_VENDOR_DEVICE[rip]
	mov	DWORD PTR 28[rsp], eax
	mov	eax, DWORD PTR IPHETH_CMD_CARRIER_CHECK[rip]
	mov	DWORD PTR 24[rsp], eax
	mov	rax, QWORD PTR 16[rsp]
	mov	QWORD PTR [rax], 0
	mov	QWORD PTR 8[rax], 0
	mov	rax, QWORD PTR 8[rsp]
	mov	rdx, QWORD PTR 16[rbx]
	mov	QWORD PTR 8[rax], 0
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR [rsp]
	mov	rdx, QWORD PTR IPHETH_CTRL_BUF_SIZE[rip]
	mov	QWORD PTR 8[rax], 0
	mov	QWORD PTR [rax], rdx
	mov	rdx, QWORD PTR [rbx]
	call	uether_do_request@PLT
	test	eax, eax
	jne	.L1
	mov	rax, QWORD PTR [rbx]
	mov	rcx, QWORD PTR IPHETH_CARRIER_ON[rip]
	cmp	QWORD PTR [rax], rcx
	sete	al
	movzx	eax, al
	mov	DWORD PTR 8[rbx], eax
.L1:
	mov	rax, QWORD PTR 40[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L7
	add	rsp, 56
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
.L7:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	ipheth_tick, .-ipheth_tick
	.comm	UT_READ_VENDOR_DEVICE,4,4
	.comm	IPHETH_CTRL_TIMEOUT,4,4
	.comm	IPHETH_CTRL_BUF_SIZE,8,8
	.comm	IPHETH_CMD_CARRIER_CHECK,4,4
	.comm	IPHETH_CARRIER_ON,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_if_ipheth.c_ipheth_tick.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ipheth_tick, %function
ipheth_tick:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	ldr	r3, .L8
	sub	sp, sp, #28
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	mov	r5, r0
	bl	uether_getsc
	mov	r3, #0
	mov	r4, r0
	ldr	r1, .L8+4
	ldr	r2, .L8+8
	ldr	r0, [r1]
	ldr	r1, [r2]
	ldr	r2, [sp, #8]
	str	r0, [sp, #16]
	str	r1, [sp, #12]
	str	r3, [r2]
	str	r3, [r2, #4]
	ldr	r0, [r4, #8]
	ldr	r1, [sp, #4]
	ldr	r2, .L8+12
	str	r0, [r1]
	str	r3, [r1, #4]
	ldr	ip, [r2]
	ldr	r1, .L8+16
	ldr	r2, [sp]
	mov	r0, r5
	str	r3, [r2, #4]
	str	ip, [r2]
	ldr	r3, [r1]
	ldr	r2, [r4]
	mov	r1, sp
	bl	uether_do_request
	cmp	r0, #0
	bne	.L1
	ldr	r3, [r4]
	ldr	r2, .L8+20
	ldr	r3, [r3]
	ldr	r2, [r2]
	sub	r3, r3, r2
	clz	r3, r3
	lsr	r3, r3, #5
	str	r3, [r4, #4]
.L1:
	ldr	r3, .L8
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L7
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, pc}
.L7:
	bl	__stack_chk_fail
.L9:
	.align	2
.L8:
	.word	.LC0
	.word	UT_READ_VENDOR_DEVICE
	.word	IPHETH_CMD_CARRIER_CHECK
	.word	IPHETH_CTRL_BUF_SIZE
	.word	IPHETH_CTRL_TIMEOUT
	.word	IPHETH_CARRIER_ON
	.size	ipheth_tick, .-ipheth_tick
	.comm	UT_READ_VENDOR_DEVICE,4,4
	.comm	IPHETH_CTRL_TIMEOUT,4,4
	.comm	IPHETH_CTRL_BUF_SIZE,4,4
	.comm	IPHETH_CMD_CARRIER_CHECK,4,4
	.comm	IPHETH_CARRIER_ON,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
