	.file	"extr_bfa_svc.c_bfa_plog_fchdr.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	bfa_plog_fchdr
	.type	bfa_plog_fchdr, @function
bfa_plog_fchdr:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	.cfi_offset 15, -24
	mov	r15d, ecx
	push	r14
	.cfi_offset 14, -32
	mov	r14d, edx
	push	r13
	.cfi_offset 13, -40
	mov	r13d, esi
	push	r12
	.cfi_offset 12, -48
	mov	r12, rdi
	push	rbx
	.cfi_offset 3, -56
	mov	rbx, r8
	sub	rsp, 40
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	movsx	rax, DWORD PTR BFA_PL_INT_LOG_SZ[rip]
	mov	rsi, rsp
	lea	rax, 15[0+rax*4]
	mov	rdx, rax
	and	rax, -4096
	sub	rsi, rax
	and	rdx, -16
	mov	rax, rsi
	cmp	rsp, rax
	je	.L3
.L12:
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	cmp	rsp, rax
	jne	.L12
.L3:
	and	edx, 4095
	sub	rsp, rdx
	test	rdx, rdx
	jne	.L13
.L4:
	lea	r8, 3[rsp]
	mov	rcx, r8
	and	r8, -4
	shr	rcx, 2
	cmp	QWORD PTR [r12], 0
	je	.L1
	lea	rdi, -60[rbp]
	mov	edx, 4
	xor	esi, esi
	mov	QWORD PTR -80[rbp], r8
	mov	QWORD PTR -72[rbp], rcx
	call	memset@PLT
	mov	rcx, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR [rbx]
	mov	edx, r14d
	mov	r8, QWORD PTR -80[rbp]
	mov	r9d, 3
	mov	esi, r13d
	mov	rdi, r12
	mov	QWORD PTR 0[0+rcx*4], rax
	mov	eax, DWORD PTR 16[rbx]
	mov	DWORD PTR 8[0+rcx*4], eax
	mov	ecx, r15d
	call	bfa_plog_intarr@PLT
.L1:
	mov	rax, QWORD PTR -56[rbp]
	xor	rax, QWORD PTR fs:40
	jne	.L14
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	or	QWORD PTR -8[rsp+rdx], 0
	jmp	.L4
.L14:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	bfa_plog_fchdr, .-bfa_plog_fchdr
	.comm	BFA_PL_INT_LOG_SZ,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_bfa_svc.c_bfa_plog_fchdr.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	bfa_plog_fchdr
	.syntax unified
	.arm
	.fpu softvfp
	.type	bfa_plog_fchdr, %function
bfa_plog_fchdr:
	@ args = 4, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, fp, lr}
	add	fp, sp, #16
	sub	sp, sp, #20
	ldr	ip, .L11
	ldr	lr, [r0]
	ldr	ip, [ip]
	cmp	lr, #0
	lsl	ip, ip, #2
	add	ip, ip, #7
	bic	ip, ip, #7
	sub	sp, sp, ip
	ldr	ip, .L11+4
	ldr	lr, [fp, #4]
	ldr	ip, [ip]
	str	ip, [fp, #-24]
	mov	ip,#0
	bne	.L9
.L1:
	ldr	r3, .L11+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L10
	sub	sp, fp, #16
	@ sp needed
	pop	{r4, r5, r6, fp, pc}
.L9:
	mov	r4, #3
	ldr	r6, [lr]
	ldr	r5, [lr, #4]
	add	ip, sp, #8
	ldr	lr, [lr, #16]
	str	ip, [sp]
	str	r4, [sp, #4]
	str	r6, [sp, #8]
	str	r5, [sp, #12]
	str	lr, [sp, #16]
	bl	bfa_plog_intarr
	b	.L1
.L10:
	bl	__stack_chk_fail
.L12:
	.align	2
.L11:
	.word	BFA_PL_INT_LOG_SZ
	.word	.LC0
	.size	bfa_plog_fchdr, .-bfa_plog_fchdr
	.comm	BFA_PL_INT_LOG_SZ,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
