	.file	"extr_pio.c_parse_cookie.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	parse_cookie, @function
parse_cookie:
.LFB0:
	.cfi_startproc
	endbr64
	mov	eax, esi
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	and	eax, 61440
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdx
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	ebx, esi
	cmp	eax, 12288
	je	.L2
	jle	.L15
	cmp	eax, 16384
	je	.L7
	cmp	eax, 20480
	jne	.L13
	mov	r12, QWORD PTR [rdi]
	xor	edi, edi
	test	r12, r12
	sete	dil
.L6:
	call	B43_WARN_ON@PLT
	test	rax, rax
	jne	.L11
.L9:
	mov	rdi, QWORD PTR [r12]
	and	ebx, 4095
	call	ARRAY_SIZE@PLT
	xor	edi, edi
	cmp	eax, ebx
	setbe	dil
	call	B43_WARN_ON@PLT
	test	rax, rax
	jne	.L11
	mov	rax, QWORD PTR [r12]
	lea	rax, [rax+rbx*4]
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	QWORD PTR 0[rbp], rax
	mov	rax, r12
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L15:
	.cfi_restore_state
	cmp	eax, 4096
	je	.L4
	cmp	eax, 8192
	jne	.L13
	mov	r12, QWORD PTR 24[rdi]
	xor	edi, edi
	test	r12, r12
	sete	dil
	call	B43_WARN_ON@PLT
	test	rax, rax
	je	.L9
.L11:
	xor	r12d, r12d
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	mov	rax, r12
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	r12, QWORD PTR 8[rdi]
	xor	edi, edi
	test	r12, r12
	sete	dil
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L4:
	mov	r12, QWORD PTR 32[rdi]
	xor	edi, edi
	test	r12, r12
	sete	dil
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L2:
	mov	r12, QWORD PTR 16[rdi]
	xor	edi, edi
	test	r12, r12
	sete	dil
	jmp	.L6
.L13:
	mov	edi, 1
	xor	r12d, r12d
	jmp	.L6
	.cfi_endproc
.LFE0:
	.size	parse_cookie, .-parse_cookie
	.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_pio.c_parse_cookie.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	parse_cookie, %function
parse_cookie:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	and	r3, r1, #61440
	cmp	r3, #12288
	push	{r4, r5, r6, lr}
	mov	r4, r1
	mov	r6, r2
	beq	.L2
	ble	.L15
	cmp	r3, #16384
	beq	.L7
	cmp	r3, #20480
	bne	.L13
	ldr	r5, [r0]
	clz	r0, r5
	lsr	r0, r0, #5
.L6:
	bl	B43_WARN_ON
	cmp	r0, #0
	bne	.L11
.L9:
	ldr	r0, [r5]
	bl	ARRAY_SIZE
	lsl	r4, r4, #20
	lsr	r4, r4, #20
	cmp	r0, r4
	movhi	r0, #0
	movls	r0, #1
	bl	B43_WARN_ON
	cmp	r0, #0
	bne	.L11
	ldr	r1, [r5]
	mov	r0, r5
	add	r4, r1, r4, lsl #2
	str	r4, [r6]
	pop	{r4, r5, r6, pc}
.L15:
	cmp	r3, #4096
	beq	.L4
	cmp	r3, #8192
	bne	.L13
	ldr	r5, [r0, #12]
	clz	r0, r5
	lsr	r0, r0, #5
	bl	B43_WARN_ON
	cmp	r0, #0
	beq	.L9
.L11:
	mov	r5, #0
	mov	r0, r5
	pop	{r4, r5, r6, pc}
.L7:
	ldr	r5, [r0, #4]
	clz	r0, r5
	lsr	r0, r0, #5
	b	.L6
.L4:
	ldr	r5, [r0, #16]
	clz	r0, r5
	lsr	r0, r0, #5
	b	.L6
.L2:
	ldr	r5, [r0, #8]
	clz	r0, r5
	lsr	r0, r0, #5
	b	.L6
.L13:
	mov	r0, #1
	mov	r5, #0
	b	.L6
	.size	parse_cookie, .-parse_cookie
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
