	.file	"extr_dtrace.c_dtrace_speculation_discard.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	dtrace_speculation_discard, @function
dtrace_speculation_discard:
.LFB0:
	.cfi_startproc
	endbr64
	test	edx, edx
	je	.L15
	cmp	DWORD PTR [rdi], edx
	jl	.L18
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	movsx	rdx, edx
	sal	rsi, 4
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	sal	rdx, 4
	xor	r12d, r12d
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR 8[rdi]
	lea	r13, -16[rax+rdx]
	add	rsi, QWORD PTR 8[r13]
	mov	rbp, rsi
.L8:
	mov	ebx, DWORD PTR 0[r13]
	cmp	ebx, 132
	je	.L4
	jg	.L5
	lea	eax, -128[rbx]
	cmp	eax, 3
	ja	.L6
.L1:
	add	rsp, 8
	.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
.L18:
	.cfi_restore 3
	.cfi_restore 6
	.cfi_restore 12
	.cfi_restore 13
	mov	rax, QWORD PTR cpu_core[rip]
	mov	edx, DWORD PTR CPU_DTRACE_ILLOP[rip]
	or	DWORD PTR [rax+rsi*4], edx
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -40
	.cfi_offset 6, -32
	.cfi_offset 12, -24
	.cfi_offset 13, -16
	lea	eax, -133[rbx]
	cmp	eax, 1
	ja	.L6
	mov	r12d, 129
.L7:
	mov	edx, r12d
	mov	esi, ebx
	mov	rdi, r13
	call	dtrace_cas32@PLT
	cmp	eax, ebx
	jne	.L8
	mov	QWORD PTR 0[rbp], 0
	mov	QWORD PTR 8[rbp], 0
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L4:
	xor	r12d, r12d
	cmp	QWORD PTR 0[rbp], 0
	sete	r12b
	sub	r12d, -128
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L6:
	xor	edi, edi
	call	ASSERT@PLT
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L15:
	.cfi_def_cfa_offset 8
	.cfi_restore 3
	.cfi_restore 6
	.cfi_restore 12
	.cfi_restore 13
	ret
	.cfi_endproc
.LFE0:
	.size	dtrace_speculation_discard, .-dtrace_speculation_discard
	.comm	cpu_core,8,8
	.comm	CPU_DTRACE_ILLOP,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_dtrace.c_dtrace_speculation_discard.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	dtrace_speculation_discard, %function
dtrace_speculation_discard:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	subs	r3, r2, #0
	bxeq	lr
	ldr	r2, [r0]
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	cmp	r2, r3
	mov	r6, r1
	blt	.L19
	mov	r7, #0
	ldr	r5, [r0, #4]
	sub	r3, r3, #-536870911
	add	r5, r5, r3, lsl #3
	ldr	r8, [r5, #4]
	add	r9, r8, r1, lsl #3
.L8:
	ldr	r4, [r5]
	cmp	r4, #132
	beq	.L4
	sub	r1, r4, #128
	sub	r3, r4, #133
	bgt	.L5
	cmp	r1, #3
	popls	{r4, r5, r6, r7, r8, r9, r10, pc}
.L6:
	mov	r0, #0
	bl	ASSERT
.L7:
	mov	r2, r7
	mov	r1, r4
	mov	r0, r5
	bl	dtrace_cas32
	cmp	r0, r4
	bne	.L8
	mov	r3, #0
	str	r3, [r8, r6, lsl #3]
	str	r3, [r9, #4]
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L19:
	ldr	r2, .L20
	ldr	r3, .L20+4
	ldr	r2, [r2]
	ldr	r1, [r3]
	ldr	r3, [r2, r6, lsl #2]
	orr	r3, r3, r1
	str	r3, [r2, r6, lsl #2]
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L5:
	cmp	r3, #1
	movls	r7, #129
	bls	.L7
	b	.L6
.L4:
	ldr	r3, [r9]
	cmp	r3, #0
	movne	r7, #128
	moveq	r7, #129
	b	.L7
.L21:
	.align	2
.L20:
	.word	cpu_core
	.word	CPU_DTRACE_ILLOP
	.size	dtrace_speculation_discard, .-dtrace_speculation_discard
	.comm	cpu_core,4,4
	.comm	CPU_DTRACE_ILLOP,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
