	.file	"extr_hc.c_FmHcPcdCcIpFragScratchPollCmd.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"HC Frame object"
	.text
	.p2align 4
	.globl	FmHcPcdCcIpFragScratchPollCmd
	.type	FmHcPcdCcIpFragScratchPollCmd, @function
FmHcPcdCcIpFragScratchPollCmd:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13d, esi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rdx
	xor	edx, edx
	sub	rsp, 40
	.cfi_def_cfa_offset 80
	mov	esi, DWORD PTR E_INVALID_HANDLE[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	call	SANITY_CHECK_RETURN_VALUE@PLT
	lea	rsi, 16[rsp]
	mov	rdi, r12
	call	GetBuf@PLT
	mov	rbp, rax
	test	rax, rax
	je	.L8
.L2:
	xor	esi, esi
	mov	edx, 24
	mov	rdi, rbp
	call	memset@PLT
	mov	eax, DWORD PTR HC_HCOR_GBL[rip]
	mov	esi, DWORD PTR TRUE[rip]
	or	eax, DWORD PTR HC_HCOR_OPCODE_CC_IP_FRAG_INITIALIZATION[rip]
	mov	ecx, DWORD PTR HC_HCOR_ACTION_REG_IP_FRAG_SCRATCH_POOL_CMD_SHIFT[rip]
	cdqe
	mov	edx, DWORD PTR [rbx]
	mov	QWORD PTR 16[rbp], rax
	xor	eax, eax
	cmp	esi, r13d
	setne	al
	sal	eax, cl
	mov	ecx, DWORD PTR HC_HCOR_ACTION_REG_IP_FRAG_SCRATCH_POOL_BPID[rip]
	sal	edx, cl
	or	eax, edx
	mov	DWORD PTR 0[rbp], eax
	cmp	esi, r13d
	jne	.L3
	mov	eax, DWORD PTR 4[rbx]
	mov	DWORD PTR 4[rbp], eax
.L3:
	mov	rax, QWORD PTR 16[rsp]
	mov	edi, 24
	mov	QWORD PTR 8[rbp], rax
	call	BUILD_FD@PLT
	mov	rdx, QWORD PTR 16[rsp]
	lea	rsi, 12[rsp]
	mov	rdi, r12
	call	EnQFrm@PLT
	cmp	DWORD PTR E_OK[rip], eax
	mov	r13d, eax
	je	.L4
	mov	rdx, QWORD PTR 16[rsp]
	mov	rsi, rbp
	mov	rdi, r12
	call	PutBuf@PLT
	mov	rdx, QWORD PTR NO_MSG[rip]
	mov	edi, DWORD PTR MINOR[rip]
	mov	esi, r13d
	call	RETURN_ERROR@PLT
.L4:
	mov	eax, DWORD PTR 4[rbp]
	mov	rdx, QWORD PTR 16[rsp]
	mov	rsi, rbp
	mov	rdi, r12
	mov	DWORD PTR 4[rbx], eax
	call	PutBuf@PLT
	mov	eax, DWORD PTR E_OK[rip]
	mov	rbx, QWORD PTR 24[rsp]
	xor	rbx, QWORD PTR fs:40
	jne	.L9
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	esi, DWORD PTR E_NO_MEMORY[rip]
	mov	edi, DWORD PTR MINOR[rip]
	lea	rdx, .LC0[rip]
	call	RETURN_ERROR@PLT
	jmp	.L2
.L9:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	FmHcPcdCcIpFragScratchPollCmd, .-FmHcPcdCcIpFragScratchPollCmd
	.comm	TRUE,4,4
	.comm	NO_MSG,8,8
	.comm	MINOR,4,4
	.comm	HC_HCOR_OPCODE_CC_IP_FRAG_INITIALIZATION,4,4
	.comm	HC_HCOR_GBL,4,4
	.comm	HC_HCOR_ACTION_REG_IP_FRAG_SCRATCH_POOL_CMD_SHIFT,4,4
	.comm	HC_HCOR_ACTION_REG_IP_FRAG_SCRATCH_POOL_BPID,4,4
	.comm	E_OK,4,4
	.comm	E_NO_MEMORY,4,4
	.comm	E_INVALID_HANDLE,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_hc.c_FmHcPcdCcIpFragScratchPollCmd.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"HC Frame object\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	FmHcPcdCcIpFragScratchPollCmd
	.syntax unified
	.arm
	.fpu softvfp
	.type	FmHcPcdCcIpFragScratchPollCmd, %function
FmHcPcdCcIpFragScratchPollCmd:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r0
	ldr	r3, .L10
	mov	r7, r1
	ldr	r1, [r3]
	ldr	r3, .L10+4
	sub	sp, sp, #16
	mov	r6, r2
	mov	r2, #0
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	bl	SANITY_CHECK_RETURN_VALUE
	mov	r0, r5
	add	r1, sp, #8
	bl	GetBuf
	subs	r4, r0, #0
	beq	.L8
.L2:
	mov	r2, #16
	mov	r1, #0
	mov	r0, r4
	bl	memset
	ldr	r2, .L10+8
	ldr	r3, .L10+12
	ldr	r2, [r2]
	ldr	r0, .L10+16
	cmp	r2, r7
	movne	ip, #1
	moveq	ip, #0
	ldr	lr, [r3]
	ldr	r3, [r6]
	ldr	r0, [r0]
	lsl	r3, r3, lr
	ldr	r2, .L10+20
	ldr	r1, .L10+24
	orr	r3, r3, ip, lsl r0
	ldr	r1, [r1]
	ldr	r2, [r2]
	str	r3, [r4]
	ldreq	r3, [r6, #4]
	orr	r2, r2, r1
	streq	r3, [r4, #4]
	ldr	r3, [sp, #8]
	str	r2, [r4, #12]
	str	r3, [r4, #8]
	mov	r0, #16
	bl	BUILD_FD
	mov	r0, r5
	ldr	r2, [sp, #8]
	add	r1, sp, #4
	bl	EnQFrm
	ldr	r8, .L10+28
	mov	r7, r0
	ldr	r3, [r8]
	cmp	r3, r0
	beq	.L4
	mov	r1, r4
	ldr	r2, [sp, #8]
	mov	r0, r5
	bl	PutBuf
	ldr	r2, .L10+32
	ldr	r3, .L10+36
	mov	r1, r7
	ldr	r2, [r2]
	ldr	r0, [r3]
	bl	RETURN_ERROR
.L4:
	ldr	r3, [r4, #4]
	ldr	r2, [sp, #8]
	str	r3, [r6, #4]
	mov	r0, r5
	mov	r1, r4
	bl	PutBuf
	ldr	r3, .L10+4
	ldr	r0, [r8]
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L9
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L8:
	ldr	r2, .L10+40
	ldr	r3, .L10+36
	ldr	r1, [r2]
	ldr	r0, [r3]
	ldr	r2, .L10+44
	bl	RETURN_ERROR
	b	.L2
.L9:
	bl	__stack_chk_fail
.L11:
	.align	2
.L10:
	.word	E_INVALID_HANDLE
	.word	.LC1
	.word	TRUE
	.word	HC_HCOR_ACTION_REG_IP_FRAG_SCRATCH_POOL_BPID
	.word	HC_HCOR_ACTION_REG_IP_FRAG_SCRATCH_POOL_CMD_SHIFT
	.word	HC_HCOR_GBL
	.word	HC_HCOR_OPCODE_CC_IP_FRAG_INITIALIZATION
	.word	E_OK
	.word	NO_MSG
	.word	MINOR
	.word	E_NO_MEMORY
	.word	.LC0
	.size	FmHcPcdCcIpFragScratchPollCmd, .-FmHcPcdCcIpFragScratchPollCmd
	.comm	TRUE,4,4
	.comm	NO_MSG,4,4
	.comm	MINOR,4,4
	.comm	HC_HCOR_OPCODE_CC_IP_FRAG_INITIALIZATION,4,4
	.comm	HC_HCOR_GBL,4,4
	.comm	HC_HCOR_ACTION_REG_IP_FRAG_SCRATCH_POOL_CMD_SHIFT,4,4
	.comm	HC_HCOR_ACTION_REG_IP_FRAG_SCRATCH_POOL_BPID,4,4
	.comm	E_OK,4,4
	.comm	E_NO_MEMORY,4,4
	.comm	E_INVALID_HANDLE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
