	.file	"extr_if_iwm_phy_db.c_channel_id_to_papd.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	channel_id_to_papd, @function
channel_id_to_papd:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	ebx, edi
	call	is_valid_channel@PLT
	mov	r8d, eax
	mov	eax, 255
	test	r8d, r8d
	je	.L1
	lea	edx, -1[rbx]
	xor	eax, eax
	cmp	edx, 13
	jbe	.L1
	lea	edx, -36[rbx]
	mov	eax, 1
	cmp	edx, 28
	jbe	.L1
	sub	ebx, 100
	xor	eax, eax
	cmp	ebx, 40
	seta	al
	add	eax, 2
.L1:
	pop	rbx
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	channel_id_to_papd, .-channel_id_to_papd
	.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_iwm_phy_db.c_channel_id_to_papd.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	channel_id_to_papd, %function
channel_id_to_papd:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	mov	r4, r0
	bl	is_valid_channel
	cmp	r0, #0
	beq	.L3
	sub	r3, r4, #1
	cmp	r3, #13
	bls	.L4
	sub	r3, r4, #36
	cmp	r3, #28
	bls	.L5
	sub	r4, r4, #100
	cmp	r4, #40
	movhi	r0, #3
	movls	r0, #2
	pop	{r4, pc}
.L4:
	mov	r0, #0
	pop	{r4, pc}
.L3:
	mov	r0, #255
	pop	{r4, pc}
.L5:
	mov	r0, #1
	pop	{r4, pc}
	.size	channel_id_to_papd, .-channel_id_to_papd
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
