	.file	"extr_ibportstate.c_validate_width.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Peer ports operating at active width %d rather than 8 (12x)"
	.align 8
.LC1:
	.string	"Peer ports operating at active width %d rather than 4 (8x)"
	.align 8
.LC2:
	.string	"Peer ports operating at active width %d rather than 2 (4x)"
	.align 8
.LC3:
	.string	"Peer ports operating at active width %d rather than 16 (2x)"
	.align 8
.LC4:
	.string	"Peer ports operating at active width %d rather than 1 (1x)"
	.text
	.p2align 4
	.type	validate_width, @function
validate_width:
.LFB0:
	.cfi_startproc
	endbr64
	mov	r8d, esi
	mov	esi, edx
	and	edi, r8d
	test	dil, 8
	je	.L2
	cmp	edx, 8
	jne	.L26
.L1:
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	test	dil, 4
	je	.L4
	cmp	edx, 4
	je	.L1
	lea	rdi, .LC1[rip]
	jmp	IBWARN@PLT
	.p2align 4,,10
	.p2align 3
.L4:
	test	dil, 2
	je	.L5
	cmp	edx, 2
	je	.L1
	lea	rdi, .LC2[rip]
	jmp	IBWARN@PLT
	.p2align 4,,10
	.p2align 3
.L26:
	lea	rdi, .LC0[rip]
	jmp	IBWARN@PLT
	.p2align 4,,10
	.p2align 3
.L5:
	test	dil, 16
	je	.L6
	cmp	edx, 16
	je	.L1
	lea	rdi, .LC3[rip]
	jmp	IBWARN@PLT
	.p2align 4,,10
	.p2align 3
.L6:
	cmp	edx, 1
	je	.L1
	and	edi, 1
	je	.L1
	lea	rdi, .LC4[rip]
	jmp	IBWARN@PLT
	.cfi_endproc
.LFE0:
	.size	validate_width, .-validate_width
	.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_ibportstate.c_validate_width.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Peer ports operating at active width %d rather than"
	.ascii	" 8 (12x)\000"
	.align	2
.LC1:
	.ascii	"Peer ports operating at active width %d rather than"
	.ascii	" 4 (8x)\000"
	.align	2
.LC2:
	.ascii	"Peer ports operating at active width %d rather than"
	.ascii	" 2 (4x)\000"
	.align	2
.LC3:
	.ascii	"Peer ports operating at active width %d rather than"
	.ascii	" 16 (2x)\000"
	.align	2
.LC4:
	.ascii	"Peer ports operating at active width %d rather than"
	.ascii	" 1 (1x)\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	validate_width, %function
validate_width:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	@ link register save eliminated.
	and	r0, r0, r1
	tst	r0, #8
	beq	.L2
	cmp	r2, #8
	bxeq	lr
	mov	r1, r2
	ldr	r0, .L23
	b	IBWARN
.L2:
	tst	r0, #4
	beq	.L4
	cmp	r2, #4
	bxeq	lr
	mov	r1, r2
	ldr	r0, .L23+4
	b	IBWARN
.L4:
	tst	r0, #2
	beq	.L5
	cmp	r2, #2
	bxeq	lr
	mov	r1, r2
	ldr	r0, .L23+8
	b	IBWARN
.L5:
	tst	r0, #16
	beq	.L6
	cmp	r2, #16
	bxeq	lr
	mov	r1, r2
	ldr	r0, .L23+12
	b	IBWARN
.L6:
	cmp	r2, #1
	moveq	r0, #0
	andne	r0, r0, #1
	cmp	r0, #0
	bxeq	lr
	mov	r1, r2
	ldr	r0, .L23+16
	b	IBWARN
.L24:
	.align	2
.L23:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.size	validate_width, .-validate_width
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
