	.file	"extr_dtrace_isa.c_dtrace_getreg.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	dtrace_getreg
	.type	dtrace_getreg, @function
dtrace_getreg:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	test	rdi, rdi
	je	.L17
	mov	rbp, rdi
	mov	r13d, esi
	call	is_saved_state32@PLT
	test	rax, rax
	jne	.L18
.L4:
	mov	esi, r13d
	mov	rdi, rbp
	call	check_saved_state_reglimit@PLT
	mov	r12d, eax
	test	eax, eax
	je	.L19
	mov	esi, r13d
	mov	rdi, rbp
	call	get_saved_state_reg@PLT
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	r12d, eax
	mov	eax, r12d
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L18:
	.cfi_restore_state
	lea	eax, -128[r13]
	cmp	eax, 4
	ja	.L4
	lea	rdx, .L6[rip]
	movsx	rax, DWORD PTR [rdx+rax*4]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L6:
	.long	.L10-.L6
	.long	.L9-.L6
	.long	.L8-.L6
	.long	.L7-.L6
	.long	.L5-.L6
	.text
	.p2align 4,,10
	.p2align 3
.L19:
	mov	edi, DWORD PTR CPU_DTRACE_ILLOP[rip]
	call	DTRACE_CPUFLAG_SET@PLT
	mov	eax, r12d
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
.L7:
	.cfi_restore_state
	mov	r13d, DWORD PTR ARM_FP[rip]
	jmp	.L4
.L5:
	mov	r13d, DWORD PTR ARM_CPSR[rip]
	jmp	.L4
.L10:
	mov	r13d, DWORD PTR ARM_SP[rip]
	jmp	.L4
.L9:
	mov	r13d, DWORD PTR ARM_PC[rip]
	jmp	.L4
.L8:
	mov	r13d, DWORD PTR ARM_LR[rip]
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L17:
	mov	edi, DWORD PTR CPU_DTRACE_ILLOP[rip]
	xor	r12d, r12d
	call	DTRACE_CPUFLAG_SET@PLT
	mov	eax, r12d
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	dtrace_getreg, .-dtrace_getreg
	.comm	CPU_DTRACE_ILLOP,4,4
	.comm	ARM_SP,4,4
	.comm	ARM_PC,4,4
	.comm	ARM_LR,4,4
	.comm	ARM_FP,4,4
	.comm	ARM_CPSR,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_isa.c_dtrace_getreg.c"
	.text
	.align	2
	.global	dtrace_getreg
	.syntax unified
	.arm
	.fpu softvfp
	.type	dtrace_getreg, %function
dtrace_getreg:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	subs	r5, r0, #0
	beq	.L16
	mov	r4, r1
	bl	is_saved_state32
	cmp	r0, #0
	bne	.L18
.L4:
	mov	r1, r4
	mov	r0, r5
	bl	check_saved_state_reglimit
	cmp	r0, #0
	beq	.L16
	mov	r1, r4
	mov	r0, r5
	pop	{r4, r5, r6, lr}
	b	get_saved_state_reg
.L18:
	sub	r3, r4, #128
	cmp	r3, #4
	ldrls	pc, [pc, r3, asl #2]
	b	.L4
.L6:
	.word	.L10
	.word	.L9
	.word	.L8
	.word	.L7
	.word	.L5
.L16:
	ldr	r3, .L19
	ldr	r0, [r3]
	bl	DTRACE_CPUFLAG_SET
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L5:
	ldr	r3, .L19+4
	ldr	r4, [r3]
	b	.L4
.L10:
	ldr	r3, .L19+8
	ldr	r4, [r3]
	b	.L4
.L9:
	ldr	r3, .L19+12
	ldr	r4, [r3]
	b	.L4
.L8:
	ldr	r3, .L19+16
	ldr	r4, [r3]
	b	.L4
.L7:
	ldr	r3, .L19+20
	ldr	r4, [r3]
	b	.L4
.L20:
	.align	2
.L19:
	.word	CPU_DTRACE_ILLOP
	.word	ARM_CPSR
	.word	ARM_SP
	.word	ARM_PC
	.word	ARM_LR
	.word	ARM_FP
	.size	dtrace_getreg, .-dtrace_getreg
	.comm	CPU_DTRACE_ILLOP,4,4
	.comm	ARM_SP,4,4
	.comm	ARM_PC,4,4
	.comm	ARM_LR,4,4
	.comm	ARM_FP,4,4
	.comm	ARM_CPSR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
