	.file	"extr_wchar.c_report_invalid_encoding.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"invalid byte sequence for encoding \"%s\": %s"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"0x%02x"
	.text
	.p2align 4
	.globl	report_invalid_encoding
	.type	report_invalid_encoding, @function
report_invalid_encoding:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12d, edx
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 88
	.cfi_def_cfa_offset 144
	mov	DWORD PTR 4[rsp], edi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 72[rsp], rax
	xor	eax, eax
	call	pg_encoding_mblen@PLT
	mov	esi, r12d
	mov	edi, eax
	call	Min@PLT
	mov	esi, 8
	mov	edi, eax
	call	Min@PLT
	test	eax, eax
	jle	.L12
	lea	r13d, -1[rax]
	lea	r15, 16[rsp]
	xor	r14d, r14d
	mov	QWORD PTR 8[rsp], r15
	mov	rbx, r13
	lea	r12, .LC1[rip]
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L7:
	mov	r15, rax
	lea	rax, 1[r14]
	cmp	r13, r14
	je	.L5
.L8:
	mov	r14, rax
.L4:
	movzx	edx, BYTE PTR 0[rbp+r14]
	mov	rsi, r12
	mov	rdi, r15
	xor	eax, eax
	call	sprintf@PLT
	lea	rax, 4[r15]
	cmp	ebx, r14d
	jle	.L7
	mov	eax, 32
	add	r15, 5
	mov	WORD PTR -1[r15], ax
	lea	rax, 1[r14]
	cmp	r13, r14
	jne	.L8
.L5:
	mov	edi, DWORD PTR ERRCODE_CHARACTER_NOT_IN_REPERTOIRE[rip]
	call	errcode@PLT
	movsx	r14, DWORD PTR 4[rsp]
	mov	rax, QWORD PTR pg_enc2name_tbl[rip]
	lea	rdi, .LC0[rip]
	mov	rdx, QWORD PTR 8[rsp]
	mov	esi, DWORD PTR [rax+r14*4]
	call	errmsg@PLT
	mov	edi, DWORD PTR ERROR[rip]
	mov	esi, eax
	call	ereport@PLT
	mov	rax, QWORD PTR 72[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L13
	add	rsp, 88
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	lea	rax, 16[rsp]
	mov	QWORD PTR 8[rsp], rax
	jmp	.L5
.L13:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	report_invalid_encoding, .-report_invalid_encoding
	.comm	pg_enc2name_tbl,8,8
	.comm	ERROR,4,4
	.comm	ERRCODE_CHARACTER_NOT_IN_REPERTOIRE,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_wchar.c_report_invalid_encoding.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"invalid byte sequence for encoding \"%s\": %s\000"
	.align	2
.LC1:
	.ascii	"0x%02x\000"
	.align	2
.LC2:
	.ascii	" \000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	report_invalid_encoding
	.syntax unified
	.arm
	.fpu softvfp
	.type	report_invalid_encoding, %function
report_invalid_encoding:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r4, r2
	ldr	r3, .L14
	sub	sp, sp, #60
	ldr	r3, [r3]
	str	r3, [sp, #52]
	mov	r3,#0
	mov	r6, r1
	str	r0, [sp, #4]
	bl	pg_encoding_mblen
	mov	r1, r4
	bl	Min
	mov	r1, #8
	bl	Min
	cmp	r0, #0
	ble	.L12
	add	fp, sp, #8
	mov	r10, fp
	ldr	r7, .L14+4
	ldr	r9, .L14+8
	mov	r4, r6
	mvn	r8, r6
	sub	r5, r0, #1
	add	r6, r6, r0
.L4:
	ldrb	r2, [r4], #1	@ zero_extendqisi2
	mov	r0, r10
	mov	r1, r7
	bl	sprintf
	add	r2, r8, r4
	cmp	r2, r5
	add	r0, r10, #4
	movge	r10, r0
	bge	.L3
	mov	r2, #2
	mov	r1, r9
	add	r10, r10, #5
	bl	memcpy
.L3:
	cmp	r4, r6
	bne	.L4
.L5:
	ldr	r2, .L14+12
	ldr	r3, .L14+16
	ldr	r0, [r2]
	ldr	r4, [r3]
	bl	errcode
	ldr	r3, .L14+20
	ldr	r1, [sp, #4]
	ldr	r3, [r3]
	mov	r2, fp
	ldr	r1, [r3, r1, lsl #2]
	ldr	r0, .L14+24
	bl	errmsg
	mov	r1, r0
	mov	r0, r4
	bl	ereport
	ldr	r3, .L14
	ldr	r2, [r3]
	ldr	r3, [sp, #52]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L13
	add	sp, sp, #60
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L12:
	add	fp, sp, #8
	b	.L5
.L13:
	bl	__stack_chk_fail
.L15:
	.align	2
.L14:
	.word	.LC3
	.word	.LC1
	.word	.LC2
	.word	ERRCODE_CHARACTER_NOT_IN_REPERTOIRE
	.word	ERROR
	.word	pg_enc2name_tbl
	.word	.LC0
	.size	report_invalid_encoding, .-report_invalid_encoding
	.comm	pg_enc2name_tbl,4,4
	.comm	ERROR,4,4
	.comm	ERRCODE_CHARACTER_NOT_IN_REPERTOIRE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
