	.file	"extr_intel-pt.c_intel_pt_synth_instruction_sample.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	intel_pt_synth_instruction_sample, @function
intel_pt_synth_instruction_sample:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	pxor	xmm0, xmm0
	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
	mov	rbp, rdi
	sub	rsp, 56
	.cfi_def_cfa_offset 96
	mov	r12, QWORD PTR 48[rdi]
	mov	r13, QWORD PTR 56[rdi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	movaps	XMMWORD PTR [rsp], xmm0
	mov	rdi, r12
	movaps	XMMWORD PTR 16[rsp], xmm0
	mov	QWORD PTR 32[rsp], 0
	call	intel_pt_skip_event@PLT
	mov	r8, rax
	xor	eax, eax
	test	r8, r8
	je	.L12
.L1:
	mov	rsi, QWORD PTR 40[rsp]
	xor	rsi, QWORD PTR fs:40
	jne	.L13
	add	rsp, 56
	.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
.L12:
	.cfi_restore_state
	mov	r14, rsp
	mov	rdx, r13
	mov	rsi, rbp
	mov	rdi, r12
	mov	rcx, r14
	call	intel_pt_prep_sample@PLT
	mov	rax, QWORD PTR 48[rbp]
	mov	rcx, QWORD PTR 16[rbp]
	mov	eax, DWORD PTR 4[rax]
	mov	DWORD PTR 28[rsp], eax
	mov	DWORD PTR 24[rsp], eax
	mov	rax, QWORD PTR 0[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdx, rax
	sub	rdx, QWORD PTR 8[rbp]
	mov	QWORD PTR 16[rsp], rdx
	mov	rdx, rcx
	sub	rdx, QWORD PTR 24[rbp]
	mov	QWORD PTR 8[rsp], rdx
	je	.L3
	mov	rdx, QWORD PTR 32[rbp]
	mov	QWORD PTR 24[rbp], rcx
	mov	rsi, rdx
	sub	rsi, QWORD PTR 40[rbp]
	mov	QWORD PTR 40[rbp], rdx
	mov	QWORD PTR [rsp], rsi
.L3:
	mov	QWORD PTR 8[rbp], rax
	mov	r8d, DWORD PTR [r12]
	mov	rcx, r14
	mov	rdx, r13
	mov	rsi, rbp
	mov	rdi, r12
	call	intel_pt_deliver_synth_event@PLT
	jmp	.L1
.L13:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	intel_pt_synth_instruction_sample, .-intel_pt_synth_instruction_sample
	.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.c_intel_pt_synth_instruction_sample.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	intel_pt_synth_instruction_sample, %function
intel_pt_synth_instruction_sample:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	mov	r4, #0
	mov	r5, r0
	ldr	r6, [r0, #24]
	ldr	r3, .L13
	sub	sp, sp, #44
	mov	r0, r6
	ldr	r3, [r3]
	str	r3, [sp, #36]
	mov	r3,#0
	ldr	r7, [r5, #28]
	str	r4, [sp, #12]
	str	r4, [sp, #16]
	str	r4, [sp, #20]
	str	r4, [sp, #24]
	str	r4, [sp, #28]
	str	r4, [sp, #32]
	bl	intel_pt_skip_event
	cmp	r0, r4
	movne	r0, r4
	beq	.L11
.L1:
	ldr	r3, .L13
	ldr	r2, [r3]
	ldr	r3, [sp, #36]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L12
	add	sp, sp, #44
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L11:
	mov	r2, r7
	mov	r1, r5
	add	r3, sp, #12
	mov	r0, r6
	bl	intel_pt_prep_sample
	ldr	r2, [r5]
	ldr	r0, [r5, #24]
	ldr	ip, [r5, #8]
	ldr	r3, [r5, #12]
	ldr	r1, [r2]
	ldr	r2, [r5, #4]
	ldr	r0, [r0, #4]
	sub	r3, ip, r3
	sub	r2, r1, r2
	cmp	r3, r4
	str	r2, [sp, #20]
	str	r0, [sp, #28]
	str	r0, [sp, #24]
	str	r3, [sp, #16]
	beq	.L3
	ldr	r2, [r5, #16]
	ldr	r3, [r5, #20]
	str	ip, [r5, #12]
	sub	r3, r2, r3
	str	r3, [sp, #12]
	str	r2, [r5, #20]
.L3:
	ldr	r0, [r6]
	mov	r2, r7
	str	r1, [r5, #4]
	add	r3, sp, #12
	str	r0, [sp]
	mov	r1, r5
	mov	r0, r6
	bl	intel_pt_deliver_synth_event
	b	.L1
.L12:
	bl	__stack_chk_fail
.L14:
	.align	2
.L13:
	.word	.LC0
	.size	intel_pt_synth_instruction_sample, .-intel_pt_synth_instruction_sample
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
