	.file	"extr_fcp.c_avc_general_get_sig_fmt.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	avc_general_get_sig_fmt
	.type	avc_general_get_sig_fmt, @function
avc_general_get_sig_fmt:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14d, edx
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rdi
	mov	edi, 8
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12d, ecx
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, rsi
	mov	esi, DWORD PTR GFP_KERNEL[rip]
	call	kzalloc@PLT
	test	rax, rax
	je	.L15
	mov	rbp, rax
	movzx	r12d, r12b
	mov	edi, 1
	movabs	rax, 1095216660481
	mov	QWORD PTR 0[rbp], rax
	xor	eax, eax
	cmp	DWORD PTR AVC_GENERAL_PLUG_DIR_IN[rip], r14d
	sete	al
	mov	DWORD PTR 12[rbp], r12d
	add	eax, 24
	mov	DWORD PTR 8[rbp], eax
	movabs	rax, 1095216660624
	mov	QWORD PTR 16[rbp], rax
	add	rax, 111
	mov	QWORD PTR 24[rbp], rax
	call	BIT@PLT
	mov	edi, 2
	mov	r12d, eax
	call	BIT@PLT
	mov	edi, 3
	or	r12d, eax
	call	BIT@PLT
	mov	edi, 4
	or	r12d, eax
	call	BIT@PLT
	mov	r9d, r12d
	mov	rcx, rbp
	mov	edx, 8
	or	r9d, eax
	mov	r8d, 8
	mov	rsi, rbp
	mov	rdi, r13
	call	fcp_avc_transaction@PLT
	mov	r12d, eax
	test	eax, eax
	js	.L5
	cmp	eax, 7
	jg	.L6
	mov	r12d, DWORD PTR EIO[rip]
	neg	r12d
.L7:
	test	r12d, r12d
	js	.L5
.L10:
	mov	eax, DWORD PTR 20[rbp]
	mov	r12d, DWORD PTR EAGAIN[rip]
	and	eax, 7
	neg	r12d
	cmp	DWORD PTR CIP_SFC_COUNT[rip], eax
	jbe	.L5
	mov	rdx, QWORD PTR amdtp_rate_table[rip]
	xor	r12d, r12d
	mov	eax, DWORD PTR [rdx+rax*4]
	mov	DWORD PTR [rbx], eax
.L5:
	mov	rdi, rbp
	call	kfree@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	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
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	mov	r12d, DWORD PTR ENOSYS[rip]
	mov	eax, DWORD PTR 0[rbp]
	neg	r12d
	cmp	eax, 8
	je	.L7
	mov	r12d, DWORD PTR EINVAL[rip]
	neg	r12d
	cmp	eax, 10
	je	.L7
	cmp	eax, 11
	jne	.L10
	mov	r12d, DWORD PTR EAGAIN[rip]
	neg	r12d
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L15:
	mov	r12d, DWORD PTR ENOMEM[rip]
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	neg	r12d
	mov	eax, r12d
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	avc_general_get_sig_fmt, .-avc_general_get_sig_fmt
	.comm	amdtp_rate_table,8,8
	.comm	GFP_KERNEL,4,4
	.comm	ENOSYS,4,4
	.comm	ENOMEM,4,4
	.comm	EIO,4,4
	.comm	EINVAL,4,4
	.comm	EAGAIN,4,4
	.comm	CIP_SFC_COUNT,4,4
	.comm	AVC_GENERAL_PLUG_DIR_IN,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_fcp.c_avc_general_get_sig_fmt.c"
	.text
	.align	2
	.global	avc_general_get_sig_fmt
	.syntax unified
	.arm
	.fpu softvfp
	.type	avc_general_get_sig_fmt, %function
avc_general_get_sig_fmt:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r6, r1
	ldr	r1, .L18
	mov	r7, r0
	ldr	r1, [r1]
	mov	r0, #8
	sub	sp, sp, #8
	mov	r5, r2
	mov	r8, r3
	bl	kzalloc
	subs	r4, r0, #0
	beq	.L15
	mov	r0, #1
	ldr	r3, .L18+4
	str	r0, [r4]
	ldr	r2, [r3]
	mov	r1, #255
	cmp	r2, r5
	moveq	r5, #25
	movne	r5, #24
	mov	r2, #144
	and	r3, r8, #255
	stmib	r4, {r1, r5}
	str	r1, [r4, #20]
	str	r1, [r4, #24]
	str	r1, [r4, #28]
	str	r2, [r4, #16]
	str	r3, [r4, #12]
	bl	BIT
	mov	r5, r0
	mov	r0, #2
	bl	BIT
	mov	r3, r0
	mov	r0, #3
	orr	r5, r5, r3
	bl	BIT
	mov	r3, r0
	mov	r0, #4
	orr	r5, r5, r3
	bl	BIT
	mov	r2, #8
	orr	r5, r5, r0
	str	r5, [sp, #4]
	mov	r0, r7
	mov	r3, r4
	mov	r1, r4
	str	r2, [sp]
	bl	fcp_avc_transaction
	subs	r5, r0, #0
	blt	.L5
	cmp	r5, #7
	bgt	.L6
	ldr	r3, .L18+8
	ldr	r5, [r3]
	rsb	r5, r5, #0
.L7:
	cmp	r5, #0
	blt	.L5
.L10:
	ldr	r2, .L18+12
	ldr	r3, [r4, #20]
	ldr	r2, [r2]
	and	r3, r3, #7
	cmp	r2, r3
	movhi	r5, #0
	ldrhi	r2, .L18+16
	ldrls	r3, .L18+20
	ldrhi	r2, [r2]
	ldrls	r5, [r3]
	ldrhi	r3, [r2, r3, lsl #2]
	rsbls	r5, r5, #0
	strhi	r3, [r6]
.L5:
	mov	r0, r4
	bl	kfree
	mov	r0, r5
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L6:
	ldr	r3, [r4]
	cmp	r3, #8
	beq	.L16
	cmp	r3, #10
	beq	.L17
	cmp	r3, #11
	bne	.L10
	ldr	r3, .L18+20
	ldr	r5, [r3]
	rsb	r5, r5, #0
	b	.L7
.L16:
	ldr	r3, .L18+24
	ldr	r5, [r3]
	rsb	r5, r5, #0
	b	.L7
.L15:
	ldr	r3, .L18+28
	ldr	r5, [r3]
	rsb	r5, r5, #0
	mov	r0, r5
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L17:
	ldr	r3, .L18+32
	ldr	r5, [r3]
	rsb	r5, r5, #0
	b	.L7
.L19:
	.align	2
.L18:
	.word	GFP_KERNEL
	.word	AVC_GENERAL_PLUG_DIR_IN
	.word	EIO
	.word	CIP_SFC_COUNT
	.word	amdtp_rate_table
	.word	EAGAIN
	.word	ENOSYS
	.word	ENOMEM
	.word	EINVAL
	.size	avc_general_get_sig_fmt, .-avc_general_get_sig_fmt
	.comm	amdtp_rate_table,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ENOSYS,4,4
	.comm	ENOMEM,4,4
	.comm	EIO,4,4
	.comm	EINVAL,4,4
	.comm	EAGAIN,4,4
	.comm	CIP_SFC_COUNT,4,4
	.comm	AVC_GENERAL_PLUG_DIR_IN,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
