	.file	"extr_fault.c_show_ldttss.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%s: NULL\n"
.LC1:
	.string	"%s: 0x%hx -- out of bounds\n"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC2:
	.string	"%s: 0x%hx -- GDT entry is not readable\n"
	.align 8
.LC3:
	.string	"%s: 0x%hx -- base=0x%lx limit=0x%x\n"
	.text
	.p2align 4
	.type	show_ldttss, @function
show_ldttss:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rsi
	mov	esi, edx
	sar	esi, 3
	movsx	rsi, esi
	sub	rsp, 56
	.cfi_def_cfa_offset 80
	sal	rsi, 2
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	test	edx, edx
	je	.L10
	mov	r12d, edx
	lea	rax, 32[rsi]
	cmp	rax, QWORD PTR [rdi]
	jnb	.L11
	add	rsi, QWORD PTR 8[rdi]
	mov	edx, 32
	mov	rdi, rsp
	call	probe_kernel_read@PLT
	test	rax, rax
	jne	.L12
	mov	ecx, DWORD PTR 4[rsp]
	mov	rax, QWORD PTR 24[rsp]
	mov	edx, r12d
	mov	rsi, rbp
	mov	r8d, DWORD PTR 12[rsp]
	lea	rdi, .LC3[rip]
	sal	ecx, 16
	or	ecx, DWORD PTR [rsp]
	sal	rax, 24
	movsx	rcx, ecx
	sal	r8d, 16
	or	r8d, DWORD PTR 8[rsp]
	or	rcx, rax
	xor	eax, eax
	call	pr_alert@PLT
.L1:
	mov	rax, QWORD PTR 40[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L13
	add	rsp, 56
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	mov	rsi, rbp
	lea	rdi, .LC1[rip]
	xor	eax, eax
	call	pr_alert@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L10:
	mov	rsi, rbp
	lea	rdi, .LC0[rip]
	call	pr_alert@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L12:
	mov	edx, r12d
	mov	rsi, rbp
	lea	rdi, .LC2[rip]
	xor	eax, eax
	call	pr_alert@PLT
	jmp	.L1
.L13:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	show_ldttss, .-show_ldttss
	.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_fault.c_show_ldttss.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"%s: NULL\012\000"
	.align	2
.LC1:
	.ascii	"%s: 0x%hx -- out of bounds\012\000"
	.align	2
.LC2:
	.ascii	"%s: 0x%hx -- GDT entry is not readable\012\000"
	.align	2
.LC3:
	.ascii	"%s: 0x%hx -- base=0x%lx limit=0x%x\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	show_ldttss, %function
show_ldttss:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	ldr	ip, .L14
	sub	sp, sp, #44
	cmp	r2, #0
	ldr	ip, [ip]
	str	ip, [sp, #36]
	mov	ip,#0
	beq	.L10
	asr	r3, r2, #3
	ldr	ip, [r0]
	lsl	r3, r3, #2
	add	lr, r3, #24
	cmp	lr, ip
	bcs	.L11
	mov	r5, r1
	ldr	r1, [r0, #4]
	mov	r4, r2
	add	r1, r3, r1
	mov	r2, #24
	add	r0, sp, #12
	bl	probe_kernel_read
	cmp	r0, #0
	bne	.L12
	ldr	r1, [sp, #16]
	ldr	r2, [sp, #24]
	ldr	r3, [sp, #12]
	ldr	r0, [sp, #20]
	ldr	ip, [sp, #32]
	orr	r0, r0, r2, lsl #16
	orr	r3, r3, r1, lsl #16
	str	r0, [sp]
	mov	r2, r4
	mov	r1, r5
	ldr	r0, .L14+4
	orr	r3, r3, ip, lsl #24
	bl	pr_alert
.L1:
	ldr	r3, .L14
	ldr	r2, [r3]
	ldr	r3, [sp, #36]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L13
	add	sp, sp, #44
	@ sp needed
	pop	{r4, r5, pc}
.L11:
	ldr	r0, .L14+8
	bl	pr_alert
	b	.L1
.L10:
	ldr	r0, .L14+12
	bl	pr_alert
	b	.L1
.L12:
	mov	r2, r4
	mov	r1, r5
	ldr	r0, .L14+16
	bl	pr_alert
	b	.L1
.L13:
	bl	__stack_chk_fail
.L15:
	.align	2
.L14:
	.word	.LC4
	.word	.LC3
	.word	.LC1
	.word	.LC0
	.word	.LC2
	.size	show_ldttss, .-show_ldttss
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
