	.file	"extr_sfp.c_get_qsfp_rx_power.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	get_qsfp_rx_power, @function
get_qsfp_rx_power:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rdx
	mov	edx, 8
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rsi
	xor	esi, esi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	ebx, ecx
	sub	rsp, 16
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	r14, rsp
	mov	rdi, r14
	call	memset@PLT
	lea	edx, -2[rbx+rbx]
	mov	r8, r14
	mov	rdi, rbp
	mov	esi, DWORD PTR SFF_8436_BASE[rip]
	mov	ecx, 2
	movsx	rdx, edx
	add	rdx, QWORD PTR SFF_8436_RX_CH1_MSB[rip]
	call	read_i2c@PLT
	mov	rcx, r14
	mov	rdx, r13
	mov	rsi, r12
	mov	rdi, rbp
	call	convert_sff_power@PLT
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L5
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
.L5:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	get_qsfp_rx_power, .-get_qsfp_rx_power
	.comm	SFF_8436_RX_CH1_MSB,8,8
	.comm	SFF_8436_BASE,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_sfp.c_get_qsfp_rx_power.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_qsfp_rx_power, %function
get_qsfp_rx_power:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r4, .L6
	sub	r3, r3, #1
	ldr	r4, [r4]
	mov	ip, #0
	mov	r5, r1
	mov	r6, r2
	add	r2, r4, r3, lsl #1
	mov	r4, r0
	sub	sp, sp, #24
	ldr	lr, .L6+4
	add	r7, sp, #12
	str	r7, [sp]
	ldr	r1, [lr]
	ldr	lr, .L6+8
	mov	r3, #2
	ldr	lr, [lr]
	str	lr, [sp, #20]
	mov	lr,#0
	str	ip, [sp, #12]
	str	ip, [sp, #16]
	bl	read_i2c
	mov	r3, r7
	mov	r2, r6
	mov	r1, r5
	mov	r0, r4
	bl	convert_sff_power
	ldr	r3, .L6+8
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L5
	add	sp, sp, #24
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L5:
	bl	__stack_chk_fail
.L7:
	.align	2
.L6:
	.word	SFF_8436_RX_CH1_MSB
	.word	SFF_8436_BASE
	.word	.LC0
	.size	get_qsfp_rx_power, .-get_qsfp_rx_power
	.comm	SFF_8436_RX_CH1_MSB,4,4
	.comm	SFF_8436_BASE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
