	.file	"957368.c"
	.intel_syntax noprefix
	.text
	.globl	byte2bin
	.type	byte2bin, @function
byte2bin:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, edi
	mov	QWORD PTR -32[rbp], rsi
	mov	BYTE PTR -20[rbp], al
	cmp	QWORD PTR -32[rbp], 0
	jne	.L2
	lea	rax, static_buf.1[rip]
	mov	QWORD PTR -32[rbp], rax
.L2:
	mov	WORD PTR -2[rbp], 7
	jmp	.L3
.L6:
	movzx	eax, BYTE PTR -20[rbp]
	and	eax, 1
	test	eax, eax
	je	.L4
	mov	edx, 49
	jmp	.L5
.L4:
	mov	edx, 48
.L5:
	movsx	rcx, WORD PTR -2[rbp]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rcx
	mov	BYTE PTR [rax], dl
	shr	BYTE PTR -20[rbp]
	movzx	eax, WORD PTR -2[rbp]
	sub	eax, 1
	mov	WORD PTR -2[rbp], ax
.L3:
	cmp	WORD PTR -2[rbp], 0
	jns	.L6
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 8
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -32[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	byte2bin, .-byte2bin
	.globl	short2bin
	.type	short2bin, @function
short2bin:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, edi
	mov	QWORD PTR -32[rbp], rsi
	mov	WORD PTR -20[rbp], ax
	cmp	QWORD PTR -32[rbp], 0
	jne	.L9
	lea	rax, static_buf.0[rip]
	mov	QWORD PTR -32[rbp], rax
.L9:
	mov	WORD PTR -2[rbp], 15
	jmp	.L10
.L13:
	movzx	eax, WORD PTR -20[rbp]
	and	eax, 1
	test	eax, eax
	je	.L11
	mov	edx, 49
	jmp	.L12
.L11:
	mov	edx, 48
.L12:
	movsx	rcx, WORD PTR -2[rbp]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rcx
	mov	BYTE PTR [rax], dl
	shr	WORD PTR -20[rbp]
	movzx	eax, WORD PTR -2[rbp]
	sub	eax, 1
	mov	WORD PTR -2[rbp], ax
.L10:
	cmp	WORD PTR -2[rbp], 0
	jns	.L13
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 16
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -32[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	short2bin, .-short2bin
	.local	static_buf.1
	.comm	static_buf.1,9,8
	.local	static_buf.0
	.comm	static_buf.0,17,16
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"957368.c"
	.text
	.align	2
	.global	byte2bin
	.syntax unified
	.arm
	.fpu softvfp
	.type	byte2bin, %function
byte2bin:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	mov	r3, r0
	str	r1, [fp, #-20]
	strb	r3, [fp, #-13]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L2
	ldr	r3, .L8
	str	r3, [fp, #-20]
.L2:
	mov	r3, #7
	strh	r3, [fp, #-6]	@ movhi
	b	.L3
.L6:
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	and	r3, r3, #1
	cmp	r3, #0
	beq	.L4
	mov	r1, #49
	b	.L5
.L4:
	mov	r1, #48
.L5:
	ldrsh	r3, [fp, #-6]
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	lsr	r3, r3, #1
	strb	r3, [fp, #-13]
	ldrh	r3, [fp, #-6]
	sub	r3, r3, #1
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	strh	r3, [fp, #-6]	@ movhi
.L3:
	ldrsh	r3, [fp, #-6]
	cmp	r3, #0
	bge	.L6
	ldr	r3, [fp, #-20]
	add	r3, r3, #8
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-20]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L9:
	.align	2
.L8:
	.word	static_buf.4807
	.size	byte2bin, .-byte2bin
	.align	2
	.global	short2bin
	.syntax unified
	.arm
	.fpu softvfp
	.type	short2bin, %function
short2bin:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	mov	r3, r0
	str	r1, [fp, #-20]
	strh	r3, [fp, #-14]	@ movhi
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L11
	ldr	r3, .L17
	str	r3, [fp, #-20]
.L11:
	mov	r3, #15
	strh	r3, [fp, #-6]	@ movhi
	b	.L12
.L15:
	ldrh	r3, [fp, #-14]
	and	r3, r3, #1
	cmp	r3, #0
	beq	.L13
	mov	r1, #49
	b	.L14
.L13:
	mov	r1, #48
.L14:
	ldrsh	r3, [fp, #-6]
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	ldrh	r3, [fp, #-14]
	lsr	r3, r3, #1
	strh	r3, [fp, #-14]	@ movhi
	ldrh	r3, [fp, #-6]
	sub	r3, r3, #1
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	strh	r3, [fp, #-6]	@ movhi
.L12:
	ldrsh	r3, [fp, #-6]
	cmp	r3, #0
	bge	.L15
	ldr	r3, [fp, #-20]
	add	r3, r3, #16
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-20]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L18:
	.align	2
.L17:
	.word	static_buf.4816
	.size	short2bin, .-short2bin
	.local	static_buf.4807
	.comm	static_buf.4807,9,4
	.local	static_buf.4816
	.comm	static_buf.4816,17,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
