	.file	"extr_intel-pt-decoder.c_intel_pt_bip.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"WARNING: Unknown block item %u type %d\n"
	.align 8
.LC1:
	.string	"WARNING: Duplicate block item %u type %d\n"
	.text
	.p2align 4
	.type	intel_pt_bip, @function
intel_pt_bip:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	eax, DWORD PTR [rdi]
	mov	rbx, rdi
	movsx	rbp, DWORD PTR 4[rdi]
	test	eax, eax
	js	.L2
	cmp	DWORD PTR INTEL_PT_BLK_ITEM_ID_CNT[rip], ebp
	jle	.L2
	movsx	r13, eax
	mov	rax, QWORD PTR 16[rdi]
	mov	r12d, 1
	mov	ecx, ebp
	lea	r14, 0[0+r13*4]
	sal	r12d, cl
	add	rax, r14
	mov	edx, DWORD PTR [rax]
	test	edx, r12d
	jne	.L10
.L4:
	or	r12d, edx
	mov	DWORD PTR [rax], r12d
	mov	rax, QWORD PTR 24[rbx]
	mov	edx, DWORD PTR 8[rbx]
	mov	rax, QWORD PTR [rax+r13*8]
	mov	DWORD PTR [rax+rbp*4], edx
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	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
.L2:
	.cfi_restore_state
	mov	edx, DWORD PTR 32[rbx]
	mov	esi, ebp
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	lea	rdi, .LC0[rip]
	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
	jmp	intel_pt_log@PLT
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	mov	edx, DWORD PTR 32[rdi]
	mov	esi, ebp
	lea	rdi, .LC1[rip]
	call	intel_pt_log@PLT
	mov	rax, QWORD PTR 16[rbx]
	add	rax, r14
	mov	edx, DWORD PTR [rax]
	jmp	.L4
	.cfi_endproc
.LFE0:
	.size	intel_pt_bip, .-intel_pt_bip
	.comm	INTEL_PT_BLK_ITEM_ID_CNT,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_intel-pt-decoder.c_intel_pt_bip.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"WARNING: Unknown block item %u type %d\012\000"
	.align	2
.LC1:
	.ascii	"WARNING: Duplicate block item %u type %d\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	intel_pt_bip, %function
intel_pt_bip:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldm	r0, {r5, r7}
	cmp	r5, #0
	mov	r4, r0
	blt	.L2
	ldr	r3, .L11
	ldr	r3, [r3]
	cmp	r3, r7
	ble	.L2
	mov	r6, #1
	ldr	r3, [r0, #12]
	lsl	r6, r6, r7
	ldr	r2, [r3, r5, lsl #2]
	lsl	r8, r5, #2
	tst	r2, r6
	add	r3, r3, r5, lsl #2
	bne	.L10
.L4:
	ldr	r1, [r4, #16]
	orr	r6, r6, r2
	str	r6, [r3]
	ldr	r2, [r4, #8]
	ldr	r3, [r1, r5, lsl #2]
	str	r2, [r3, r7, lsl #2]
	pop	{r4, r5, r6, r7, r8, pc}
.L2:
	mov	r1, r7
	ldr	r2, [r4, #20]
	ldr	r0, .L11+4
	pop	{r4, r5, r6, r7, r8, lr}
	b	intel_pt_log
.L10:
	ldr	r2, [r0, #20]
	mov	r1, r7
	ldr	r0, .L11+8
	bl	intel_pt_log
	ldr	r3, [r4, #12]
	ldr	r2, [r3, r5, lsl #2]
	add	r3, r3, r8
	b	.L4
.L12:
	.align	2
.L11:
	.word	INTEL_PT_BLK_ITEM_ID_CNT
	.word	.LC0
	.word	.LC1
	.size	intel_pt_bip, .-intel_pt_bip
	.comm	INTEL_PT_BLK_ITEM_ID_CNT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
