	.file	"extr_hash.c_main.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"djb2"
.LC1:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	rax, QWORD PTR [rsi]
	mov	rbx, rsi
	mov	QWORD PTR program[rip], rax
	cmp	edi, 3
	je	.L2
	xor	eax, eax
	call	usage@PLT
.L2:
	mov	rdx, QWORD PTR 8[rbx]
	mov	ecx, 5
	lea	rdi, .LC0[rip]
	mov	rsi, rdx
	repz cmpsb
	seta	al
	sbb	al, 0
	test	al, al
	je	.L12
	cmp	BYTE PTR [rdx], 114
	je	.L13
.L6:
	xor	eax, eax
	call	usage@PLT
.L4:
	xor	edi, edi
	call	exit@PLT
	xor	eax, eax
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L13:
	.cfi_restore_state
	cmp	BYTE PTR 1[rdx], 53
	jne	.L6
	cmp	BYTE PTR 2[rdx], 0
	jne	.L6
	mov	rdi, QWORD PTR 16[rbx]
	call	r5_hash@PLT
	lea	rdi, .LC1[rip]
	mov	esi, eax
	call	printf@PLT
	jmp	.L4
.L12:
	mov	rdi, QWORD PTR 16[rbx]
	call	djb2_hash@PLT
	lea	rdi, .LC1[rip]
	mov	esi, eax
	call	printf@PLT
	jmp	.L4
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.comm	program,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_hash.c_main.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"djb2\000"
	.align	2
.LC1:
	.ascii	"%d\012\000"
	.section	.text.startup,"ax",%progbits
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r2, [r1]
	ldr	r3, .L14
	cmp	r0, #3
	push	{r4, r5, r6, lr}
	mov	r4, r1
	str	r2, [r3]
	beq	.L2
	bl	usage
.L2:
	ldr	r5, [r4, #4]
	ldr	r1, .L14+4
	mov	r0, r5
	bl	strcmp
	cmp	r0, #0
	beq	.L12
	ldrb	r3, [r5]	@ zero_extendqisi2
	cmp	r3, #114
	beq	.L13
.L6:
	bl	usage
.L4:
	mov	r0, #0
	bl	exit
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L13:
	ldrb	r3, [r5, #1]	@ zero_extendqisi2
	cmp	r3, #53
	bne	.L6
	ldrb	r3, [r5, #2]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L6
	ldr	r0, [r4, #8]
	bl	r5_hash
	mov	r1, r0
	ldr	r0, .L14+8
	bl	printf
	b	.L4
.L12:
	ldr	r0, [r4, #8]
	bl	djb2_hash
	mov	r1, r0
	ldr	r0, .L14+8
	bl	printf
	b	.L4
.L15:
	.align	2
.L14:
	.word	program
	.word	.LC0
	.word	.LC1
	.size	main, .-main
	.comm	program,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
