	.file	"extr_win32-nat.c_display_selector.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"0x%03lx: "
.LC1:
	.string	"Segment not present\n"
.LC2:
	.string	"base=0x%08x limit=0x%08x"
.LC3:
	.string	" 32-bit "
.LC4:
	.string	" 16-bit "
.LC5:
	.string	"Data (Read-Only, Exp-up"
.LC6:
	.string	"Data (Read/Write, Exp-up"
.LC7:
	.string	"Unused segment ("
.LC8:
	.string	"Data (Read/Write, Exp-down"
.LC9:
	.string	"Code (Exec-Only, N.Conf"
.LC10:
	.string	"Code (Exec/Read, N.Conf"
.LC11:
	.string	"Code (Exec-Only, Conf"
.LC12:
	.string	"Code (Exec/Read, Conf"
.LC13:
	.string	", N.Acc"
.LC14:
	.string	")\n"
.LC15:
	.string	"System selector "
.LC16:
	.string	"Priviledge level = %d. "
.LC17:
	.string	"Page granular.\n"
.LC18:
	.string	"Byte granular.\n"
.LC19:
	.string	"Invalid selector 0x%lx.\n"
	.text
	.p2align 4
	.type	display_selector, @function
display_selector:
.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	ebp, esi
	sub	rsp, 72
	.cfi_def_cfa_offset 96
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 56[rsp], rax
	xor	eax, eax
	mov	rdx, rsp
	call	GetThreadSelectorEntry@PLT
	mov	esi, ebp
	test	rax, rax
	je	.L2
	lea	rdi, .LC0[rip]
	xor	eax, eax
	call	printf_filtered@PLT
	mov	r12d, DWORD PTR 48[rsp]
	test	r12d, r12d
	je	.L24
	mov	esi, DWORD PTR 8[rsp]
	mov	eax, DWORD PTR 12[rsp]
	mov	edx, DWORD PTR 16[rsp]
	sal	esi, 24
	sal	eax, 16
	add	esi, eax
	sal	edx, 16
	add	esi, DWORD PTR [rsp]
	add	edx, DWORD PTR 4[rsp]
	cmp	QWORD PTR 32[rsp], 0
	je	.L5
	sal	edx, 12
	or	edx, 4095
.L5:
	xor	eax, eax
	lea	rdi, .LC2[rip]
	call	printf_filtered@PLT
	cmp	QWORD PTR 40[rsp], 0
	je	.L6
	lea	rdi, .LC3[rip]
	call	puts_filtered@PLT
.L7:
	mov	eax, DWORD PTR 20[rsp]
	lea	rdx, .L10[rip]
	sar	eax
	and	eax, 7
	movsx	rax, DWORD PTR [rdx+rax*4]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L10:
	.long	.L8-.L10
	.long	.L16-.L10
	.long	.L15-.L10
	.long	.L14-.L10
	.long	.L13-.L10
	.long	.L12-.L10
	.long	.L11-.L10
	.long	.L9-.L10
	.text
	.p2align 4,,10
	.p2align 3
.L24:
	lea	rdi, .LC1[rip]
	call	puts_filtered@PLT
.L1:
	mov	rax, QWORD PTR 56[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L25
	add	rsp, 72
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, r12d
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	lea	rdi, .LC19[rip]
	xor	eax, eax
	xor	r12d, r12d
	call	printf_filtered@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L6:
	lea	rdi, .LC4[rip]
	call	puts_filtered@PLT
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L9:
	lea	rdi, .LC12[rip]
	call	puts_filtered@PLT
	.p2align 4,,10
	.p2align 3
.L17:
	test	BYTE PTR 20[rsp], 1
	je	.L26
.L18:
	lea	rdi, .LC14[rip]
	call	puts_filtered@PLT
	test	BYTE PTR 20[rsp], 16
	je	.L27
.L19:
	mov	esi, DWORD PTR 24[rsp]
	xor	eax, eax
	lea	rdi, .LC16[rip]
	call	printf_filtered@PLT
	cmp	QWORD PTR 32[rsp], 0
	je	.L20
	lea	rdi, .LC17[rip]
	mov	r12d, 1
	call	puts_filtered@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L11:
	lea	rdi, .LC11[rip]
	call	puts_filtered@PLT
	jmp	.L17
	.p2align 4,,10
	.p2align 3
.L13:
	lea	rdi, .LC9[rip]
	call	puts_filtered@PLT
	jmp	.L17
	.p2align 4,,10
	.p2align 3
.L14:
	lea	rdi, .LC8[rip]
	call	puts_filtered@PLT
	jmp	.L17
	.p2align 4,,10
	.p2align 3
.L15:
	lea	rdi, .LC7[rip]
	call	puts_filtered@PLT
	jmp	.L17
	.p2align 4,,10
	.p2align 3
.L16:
	lea	rdi, .LC6[rip]
	call	puts_filtered@PLT
	jmp	.L17
	.p2align 4,,10
	.p2align 3
.L12:
	lea	rdi, .LC10[rip]
	call	puts_filtered@PLT
	jmp	.L17
	.p2align 4,,10
	.p2align 3
.L20:
	lea	rdi, .LC18[rip]
	mov	r12d, 1
	call	puts_filtered@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L27:
	lea	rdi, .LC15[rip]
	call	puts_filtered@PLT
	jmp	.L19
	.p2align 4,,10
	.p2align 3
.L26:
	lea	rdi, .LC13[rip]
	call	puts_filtered@PLT
	jmp	.L18
.L8:
	lea	rdi, .LC5[rip]
	call	puts_filtered@PLT
	jmp	.L17
.L25:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	display_selector, .-display_selector
	.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_win32-nat.c_display_selector.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"0x%03lx: \000"
	.align	2
.LC1:
	.ascii	"Segment not present\012\000"
	.align	2
.LC2:
	.ascii	"base=0x%08x limit=0x%08x\000"
	.align	2
.LC3:
	.ascii	" 32-bit \000"
	.align	2
.LC4:
	.ascii	" 16-bit \000"
	.align	2
.LC5:
	.ascii	"Data (Read-Only, Exp-up\000"
	.align	2
.LC6:
	.ascii	"Data (Read/Write, Exp-up\000"
	.align	2
.LC7:
	.ascii	"Unused segment (\000"
	.align	2
.LC8:
	.ascii	"Data (Read/Write, Exp-down\000"
	.align	2
.LC9:
	.ascii	"Code (Exec-Only, N.Conf\000"
	.align	2
.LC10:
	.ascii	"Code (Exec/Read, N.Conf\000"
	.align	2
.LC11:
	.ascii	"Code (Exec-Only, Conf\000"
	.align	2
.LC12:
	.ascii	"Code (Exec/Read, Conf\000"
	.align	2
.LC13:
	.ascii	", N.Acc\000"
	.align	2
.LC14:
	.ascii	")\012\000"
	.align	2
.LC15:
	.ascii	"System selector \000"
	.align	2
.LC16:
	.ascii	"Priviledge level = %d. \000"
	.align	2
.LC17:
	.ascii	"Page granular.\012\000"
	.align	2
.LC18:
	.ascii	"Byte granular.\012\000"
	.align	2
.LC19:
	.ascii	"Invalid selector 0x%lx.\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC20:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	display_selector, %function
display_selector:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	ldr	r3, .L31
	sub	sp, sp, #52
	add	r2, sp, #4
	mov	r5, r1
	ldr	r3, [r3]
	str	r3, [sp, #44]
	mov	r3,#0
	bl	GetThreadSelectorEntry
	subs	r4, r0, #0
	mov	r1, r5
	beq	.L2
	ldr	r0, .L31+4
	bl	printf_filtered
	ldr	r4, [sp, #40]
	cmp	r4, #0
	beq	.L27
	ldr	ip, [sp, #32]
	ldr	r3, [sp, #20]
	ldr	r1, [sp, #16]
	ldr	r2, [sp, #8]
	cmp	ip, #0
	ldr	lr, [sp, #12]
	add	r2, r2, r3, lsl #16
	ldr	r0, [sp, #4]
	ldrne	r3, .L31+8
	lsl	r1, r1, #16
	add	r1, r1, lr, lsl #24
	orrne	r2, r3, r2, lsl #12
	add	r1, r1, r0
	ldr	r0, .L31+12
	bl	printf_filtered
	ldr	r3, [sp, #36]
	cmp	r3, #0
	ldrne	r0, .L31+16
	ldreq	r0, .L31+20
	bl	puts_filtered
	ldr	r3, [sp, #24]
	asr	r3, r3, #1
	and	r3, r3, #7
	sub	r3, r3, #1
	cmp	r3, #6
	ldrls	pc, [pc, r3, asl #2]
	b	.L8
.L10:
	.word	.L16
	.word	.L15
	.word	.L14
	.word	.L13
	.word	.L12
	.word	.L11
	.word	.L9
.L27:
	ldr	r0, .L31+24
	bl	puts_filtered
.L1:
	ldr	r3, .L31
	ldr	r2, [r3]
	ldr	r3, [sp, #44]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L28
	mov	r0, r4
	add	sp, sp, #52
	@ sp needed
	pop	{r4, r5, pc}
.L2:
	ldr	r0, .L31+28
	bl	printf_filtered
	b	.L1
.L9:
	ldr	r0, .L31+32
	bl	puts_filtered
.L17:
	ldr	r3, [sp, #24]
	tst	r3, #1
	beq	.L29
.L18:
	ldr	r0, .L31+36
	bl	puts_filtered
	ldr	r3, [sp, #24]
	tst	r3, #16
	beq	.L30
.L19:
	ldr	r1, [sp, #28]
	ldr	r0, .L31+40
	bl	printf_filtered
	ldr	r3, [sp, #32]
	mov	r4, #1
	cmp	r3, #0
	ldrne	r0, .L31+44
	ldreq	r0, .L31+48
	bl	puts_filtered
	b	.L1
.L11:
	ldr	r0, .L31+52
	bl	puts_filtered
	b	.L17
.L12:
	ldr	r0, .L31+56
	bl	puts_filtered
	b	.L17
.L15:
	ldr	r0, .L31+60
	bl	puts_filtered
	b	.L17
.L16:
	ldr	r0, .L31+64
	bl	puts_filtered
	b	.L17
.L13:
	ldr	r0, .L31+68
	bl	puts_filtered
	b	.L17
.L14:
	ldr	r0, .L31+72
	bl	puts_filtered
	b	.L17
.L30:
	ldr	r0, .L31+76
	bl	puts_filtered
	b	.L19
.L29:
	ldr	r0, .L31+80
	bl	puts_filtered
	b	.L18
.L28:
	bl	__stack_chk_fail
.L8:
	ldr	r0, .L31+84
	bl	puts_filtered
	b	.L17
.L32:
	.align	2
.L31:
	.word	.LC20
	.word	.LC0
	.word	4095
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC1
	.word	.LC19
	.word	.LC12
	.word	.LC14
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.word	.LC11
	.word	.LC10
	.word	.LC7
	.word	.LC6
	.word	.LC9
	.word	.LC8
	.word	.LC15
	.word	.LC13
	.word	.LC5
	.size	display_selector, .-display_selector
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
