	.file	"extr_qlogicpti.c_qlogicpti_verify_tmon.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"qlogicpti%d: Fuse returned to normal state.\n"
	.align 8
.LC1:
	.string	"qlogicpti%d: termpwr back to normal state.\n"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC2:
	.string	"qlogicpti%d: Fuse is open!\n"
.LC3:
	.string	"qlogicpti%d: termpwr failure\n"
	.section	.rodata.str1.8
	.align 8
.LC4:
	.string	"qlogicpti%d: You have a single ended device on a differential bus!  Please fix!\n"
	.text
	.p2align 4
	.type	qlogicpti_verify_tmon, @function
qlogicpti_verify_tmon:
.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	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	edi, DWORD PTR 16[rdi]
	call	sbus_readb@PLT
	mov	edx, DWORD PTR SREG_FUSE[rip]
	and	eax, 240
	test	edx, eax
	mov	ebx, eax
	mov	eax, DWORD PTR 0[rbp]
	jne	.L3
	test	edx, eax
	jne	.L24
.L3:
	mov	edx, DWORD PTR SREG_TPOWER[rip]
	test	edx, ebx
	jne	.L4
	test	edx, eax
	jne	.L25
.L4:
	xor	r12d, r12d
	cmp	ebx, eax
	je	.L1
	mov	r12d, ebx
	and	r12d, DWORD PTR SREG_FUSE[rip]
	jne	.L26
	test	DWORD PTR SREG_TPOWER[rip], ebx
	jne	.L27
.L7:
	cmp	QWORD PTR 8[rbp], 0
	jne	.L28
.L8:
	mov	DWORD PTR 0[rbp], ebx
.L1:
	mov	eax, r12d
	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
.L28:
	.cfi_restore_state
	mov	eax, DWORD PTR SREG_DSENSE[rip]
	mov	edx, eax
	and	edx, ebx
	cmp	eax, edx
	je	.L8
	mov	esi, DWORD PTR 4[rbp]
	lea	rdi, .LC4[rip]
	add	r12d, 1
	call	printk@PLT
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L27:
	mov	esi, DWORD PTR 4[rbp]
	lea	rdi, .LC3[rip]
	add	r12d, 1
	call	printk@PLT
	cmp	QWORD PTR 8[rbp], 0
	je	.L8
	jmp	.L28
	.p2align 4,,10
	.p2align 3
.L24:
	mov	esi, DWORD PTR 4[rbp]
	lea	rdi, .LC0[rip]
	call	printk@PLT
	mov	eax, DWORD PTR 0[rbp]
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L25:
	mov	esi, DWORD PTR 4[rbp]
	lea	rdi, .LC1[rip]
	call	printk@PLT
	mov	eax, DWORD PTR 0[rbp]
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L26:
	mov	esi, DWORD PTR 4[rbp]
	lea	rdi, .LC2[rip]
	mov	r12d, 1
	call	printk@PLT
	test	DWORD PTR SREG_TPOWER[rip], ebx
	je	.L7
	jmp	.L27
	.cfi_endproc
.LFE0:
	.size	qlogicpti_verify_tmon, .-qlogicpti_verify_tmon
	.comm	SREG_TPOWER,4,4
	.comm	SREG_FUSE,4,4
	.comm	SREG_DSENSE,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_qlogicpti.c_qlogicpti_verify_tmon.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"qlogicpti%d: Fuse returned to normal state.\012\000"
	.align	2
.LC1:
	.ascii	"qlogicpti%d: termpwr back to normal state.\012\000"
	.align	2
.LC2:
	.ascii	"qlogicpti%d: Fuse is open!\012\000"
	.align	2
.LC3:
	.ascii	"qlogicpti%d: termpwr failure\012\000"
	.align	2
.LC4:
	.ascii	"qlogicpti%d: You have a single ended device on a di"
	.ascii	"fferential bus!  Please fix!\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	qlogicpti_verify_tmon, %function
qlogicpti_verify_tmon:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r7, r0
	ldr	r0, [r0, #12]
	bl	sbus_readb
	ldr	r5, .L32
	and	r4, r0, #240
	ldr	r2, [r5]
	ldr	r3, [r7]
	tst	r2, r4
	bne	.L3
	tst	r2, r3
	bne	.L27
.L3:
	ldr	r6, .L32+4
	ldr	r2, [r6]
	tst	r2, r4
	bne	.L4
	tst	r2, r3
	bne	.L28
.L4:
	cmp	r4, r3
	moveq	r5, #0
	beq	.L1
	ldr	r5, [r5]
	ands	r5, r4, r5
	bne	.L29
	ldr	r3, [r6]
	tst	r4, r3
	bne	.L30
.L7:
	ldr	r3, [r7, #8]
	cmp	r3, #0
	bne	.L31
.L8:
	str	r4, [r7]
.L1:
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, pc}
.L31:
	ldr	r3, .L32+8
	ldr	r3, [r3]
	bics	r3, r3, r4
	beq	.L8
	ldr	r1, [r7, #4]
	ldr	r0, .L32+12
	add	r5, r5, #1
	bl	printk
	b	.L8
.L30:
	ldr	r1, [r7, #4]
	ldr	r0, .L32+16
	bl	printk
	ldr	r3, [r7, #8]
	add	r5, r5, #1
	cmp	r3, #0
	beq	.L8
	b	.L31
.L27:
	ldr	r1, [r7, #4]
	ldr	r0, .L32+20
	bl	printk
	ldr	r3, [r7]
	b	.L3
.L28:
	ldr	r1, [r7, #4]
	ldr	r0, .L32+24
	bl	printk
	ldr	r3, [r7]
	b	.L4
.L29:
	ldr	r1, [r7, #4]
	ldr	r0, .L32+28
	bl	printk
	ldr	r3, [r6]
	mov	r5, #1
	tst	r4, r3
	beq	.L7
	b	.L30
.L33:
	.align	2
.L32:
	.word	SREG_FUSE
	.word	SREG_TPOWER
	.word	SREG_DSENSE
	.word	.LC4
	.word	.LC3
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.size	qlogicpti_verify_tmon, .-qlogicpti_verify_tmon
	.comm	SREG_TPOWER,4,4
	.comm	SREG_FUSE,4,4
	.comm	SREG_DSENSE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
