	.file	"extr_kttcp.c_get_bytes.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%s"
.LC1:
	.string	"invalid byte count: %s"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC2:
	.string	"invalid byte count modifier: %s"
	.text
	.p2align 4
	.type	get_bytes, @function
get_bytes:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	edx, 10
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	sub	rsp, 24
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	rsi, rsp
	call	strtoull@PLT
	cmp	QWORD PTR ULLONG_MAX[rip], rax
	mov	r12, rax
	je	.L14
.L2:
	mov	rdx, QWORD PTR [rsp]
	movzx	eax, BYTE PTR [rdx]
	test	al, al
	je	.L1
	cmp	BYTE PTR 1[rdx], 0
	jne	.L15
	and	eax, -33
	cmp	al, 75
	jne	.L5
.L18:
	sal	r12, 10
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L16
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rax, r12
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	cmp	al, 77
	je	.L17
	cmp	al, 71
	jne	.L7
	sal	r12, 30
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L14:
	mov	rax, QWORD PTR ERANGE[rip]
	cmp	QWORD PTR errno[rip], rax
	jne	.L2
	mov	rdx, r13
	lea	rsi, .LC0[rip]
	mov	edi, 1
	call	err@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L15:
	mov	rdx, r13
	lea	rsi, .LC1[rip]
	mov	edi, 1
	call	errx@PLT
	mov	rax, QWORD PTR [rsp]
	movzx	eax, BYTE PTR [rax]
	and	eax, -33
	cmp	al, 75
	jne	.L5
	jmp	.L18
	.p2align 4,,10
	.p2align 3
.L17:
	sal	r12, 20
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L7:
	mov	rdx, r13
	lea	rsi, .LC2[rip]
	mov	edi, 1
	call	errx@PLT
	jmp	.L1
.L16:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	get_bytes, .-get_bytes
	.comm	errno,8,8
	.comm	ULLONG_MAX,8,8
	.comm	ERANGE,8,8
	.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_kttcp.c_get_bytes.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"%s\000"
	.align	2
.LC1:
	.ascii	"invalid byte count: %s\000"
	.align	2
.LC2:
	.ascii	"invalid byte count modifier: %s\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_bytes, %function
get_bytes:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r3, .L22
	sub	sp, sp, #8
	mov	r2, #10
	mov	r1, sp
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	mov	r6, r0
	bl	strtoull
	ldr	r3, .L22+4
	mov	r4, r0
	ldmia	r3, {r2-r3}
	cmp	r3, r1
	cmpeq	r2, r0
	mov	r5, r1
	beq	.L17
.L2:
	ldr	r2, [sp]
	ldrb	r3, [r2]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L1
	ldrb	r2, [r2, #1]	@ zero_extendqisi2
	cmp	r2, #0
	bne	.L18
	and	r3, r3, #223
	cmp	r3, #75
	bne	.L5
.L21:
	lsl	r3, r5, #10
	orr	r3, r3, r4, lsr #22
	lsl	r2, r4, #10
	mov	r4, r2
	mov	r5, r3
.L1:
	ldr	r3, .L22
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L19
	mov	r0, r4
	mov	r1, r5
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, pc}
.L5:
	cmp	r3, #77
	beq	.L20
	cmp	r3, #71
	bne	.L7
	lsl	r3, r5, #30
	orr	r3, r3, r4, lsr #2
	lsl	r2, r4, #30
	mov	r4, r2
	mov	r5, r3
	b	.L1
.L17:
	ldr	r2, .L22+8
	ldr	r3, .L22+12
	ldr	r2, [r2]
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L2
	mov	r2, r6
	ldr	r1, .L22+16
	mov	r0, #1
	bl	err
	b	.L2
.L18:
	mov	r2, r6
	mov	r0, #1
	ldr	r1, .L22+20
	bl	errx
	ldr	r3, [sp]
	ldrb	r3, [r3]	@ zero_extendqisi2
	and	r3, r3, #223
	cmp	r3, #75
	bne	.L5
	b	.L21
.L20:
	lsl	r3, r5, #20
	orr	r3, r3, r4, lsr #12
	lsl	r2, r4, #20
	mov	r4, r2
	mov	r5, r3
	b	.L1
.L7:
	mov	r2, r6
	ldr	r1, .L22+24
	mov	r0, #1
	bl	errx
	b	.L1
.L19:
	bl	__stack_chk_fail
.L23:
	.align	2
.L22:
	.word	.LC3
	.word	ULLONG_MAX
	.word	errno
	.word	ERANGE
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.size	get_bytes, .-get_bytes
	.comm	errno,4,4
	.comm	ULLONG_MAX,8,8
	.comm	ERANGE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
