	.file	"extr_printf.c_putchw.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	putchw, @function
putchw:
.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
	mov	r13, r8
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	lea	r12, 1[r8]
	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
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	cmp	cl, 1
	movsx	esi, BYTE PTR [r8]
	sbb	r15d, r15d
	and	r15d, -16
	add	r15d, 48
	test	sil, sil
	je	.L3
	test	edx, edx
	jle	.L8
	mov	rax, r12
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L17:
	add	rax, 1
	test	edx, edx
	je	.L8
.L6:
	mov	r14d, edx
	sub	edx, 1
	cmp	BYTE PTR [rax], 0
	jne	.L17
	sub	r14d, 2
	test	edx, edx
	je	.L8
.L10:
	movsx	r15d, r15b
	.p2align 4,,10
	.p2align 3
.L7:
	mov	esi, r15d
	mov	rdi, rbx
	call	rbp
	mov	eax, r14d
	sub	r14d, 1
	test	eax, eax
	jg	.L7
	movsx	esi, BYTE PTR 0[r13]
	test	sil, sil
	je	.L1
	.p2align 4,,10
	.p2align 3
.L8:
	add	r12, 1
	mov	rdi, rbx
	call	rbp
	movsx	esi, BYTE PTR -1[r12]
	test	sil, sil
	jne	.L8
.L1:
	add	rsp, 8
	.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
.L3:
	.cfi_restore_state
	lea	r14d, -1[rdx]
	test	edx, edx
	jg	.L10
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	putchw, .-putchw
	.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_printf.c_putchw.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	putchw, %function
putchw:
	@ args = 4, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r5, [sp, #24]
	mov	r7, r1
	ldrb	r1, [r5], #1	@ zero_extendqisi2
	cmp	r3, #0
	movne	r8, #48
	moveq	r8, #32
	cmp	r1, #0
	mov	r6, r0
	beq	.L3
	cmp	r2, #0
	ble	.L8
	mov	r3, r5
	b	.L6
.L18:
	cmp	r2, #0
	beq	.L8
.L6:
	ldrb	r0, [r3], #1	@ zero_extendqisi2
	mov	r4, r2
	cmp	r0, #0
	sub	r2, r2, #1
	bne	.L18
	cmp	r2, #0
	sub	r4, r4, #2
	beq	.L8
.L7:
	mov	r1, r8
	mov	r0, r6
	blx	r7
	cmp	r4, #0
	sub	r4, r4, #1
	bgt	.L7
	ldr	r3, [sp, #24]
	ldrb	r1, [r3]	@ zero_extendqisi2
	cmp	r1, #0
	popeq	{r4, r5, r6, r7, r8, pc}
.L8:
	mov	r0, r6
	blx	r7
	ldrb	r1, [r5], #1	@ zero_extendqisi2
	cmp	r1, #0
	bne	.L8
	pop	{r4, r5, r6, r7, r8, pc}
.L3:
	cmp	r2, #0
	sub	r4, r2, #1
	bgt	.L7
	pop	{r4, r5, r6, r7, r8, pc}
	.size	putchw, .-putchw
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
