	.file	"extr_ptrace.c_regs_get_kernel_stack_nth.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	regs_get_kernel_stack_nth
	.type	regs_get_kernel_stack_nth, @function
regs_get_kernel_stack_nth:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	ebx, esi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	kernel_stack_pointer@PLT
	mov	rdi, rbp
	lea	rbx, [rax+rbx*8]
	mov	rsi, rbx
	call	regs_within_kernel_stack@PLT
	mov	r8, rax
	xor	eax, eax
	test	r8, r8
	je	.L1
	mov	rax, QWORD PTR [rbx]
.L1:
	add	rsp, 8
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	regs_get_kernel_stack_nth, .-regs_get_kernel_stack_nth
	.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_ptrace.c_regs_get_kernel_stack_nth.c"
	.text
	.align	2
	.global	regs_get_kernel_stack_nth
	.syntax unified
	.arm
	.fpu softvfp
	.type	regs_get_kernel_stack_nth, %function
regs_get_kernel_stack_nth:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r1
	mov	r6, r0
	bl	kernel_stack_pointer
	mov	r4, r0
	mov	r0, r6
	add	r1, r4, r5, lsl #2
	bl	regs_within_kernel_stack
	cmp	r0, #0
	ldrne	r0, [r4, r5, lsl #2]
	pop	{r4, r5, r6, pc}
	.size	regs_get_kernel_stack_nth, .-regs_get_kernel_stack_nth
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
