	.file	"700265.c"
	.intel_syntax noprefix
	.text
	.local	patlen
	.comm	patlen,4,4
	.local	skip
	.comm	skip,1024,32
	.local	pat
	.comm	pat,8,8
	.globl	bmhi_init
	.type	bmhi_init, @function
bmhi_init:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR patlen[rip], eax
	mov	DWORD PTR -12[rbp], 0
	jmp	.L2
.L5:
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR -13[rbp], al
	mov	rdx, QWORD PTR __ctype_ptr__[rip]
	movsx	rax, BYTE PTR -13[rbp]
	add	rax, 1
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	and	eax, 3
	cmp	eax, 2
	jne	.L3
	movsx	eax, BYTE PTR -13[rbp]
	sub	eax, 32
	jmp	.L4
.L3:
	movsx	eax, BYTE PTR -13[rbp]
.L4:
	mov	rcx, QWORD PTR pat[rip]
	mov	edx, DWORD PTR -12[rbp]
	movsx	rdx, edx
	add	rdx, rcx
	mov	BYTE PTR [rdx], al
	add	DWORD PTR -12[rbp], 1
.L2:
	mov	eax, DWORD PTR patlen[rip]
	cmp	DWORD PTR -12[rbp], eax
	jl	.L5
	mov	DWORD PTR -12[rbp], 0
	jmp	.L6
.L9:
	mov	eax, DWORD PTR patlen[rip]
	sub	eax, DWORD PTR -12[rbp]
	mov	edx, eax
	mov	rcx, QWORD PTR pat[rip]
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR -14[rbp], al
	mov	rcx, QWORD PTR __ctype_ptr__[rip]
	movzx	eax, BYTE PTR -14[rbp]
	add	rax, 1
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	and	eax, 3
	cmp	eax, 1
	jne	.L7
	movzx	eax, BYTE PTR -14[rbp]
	add	eax, 32
	jmp	.L8
.L7:
	movzx	eax, BYTE PTR -14[rbp]
.L8:
	lea	ecx, -1[rdx]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, skip[rip]
	mov	DWORD PTR [rdx+rax], ecx
	add	DWORD PTR -12[rbp], 1
.L6:
	mov	eax, DWORD PTR patlen[rip]
	sub	eax, 1
	cmp	DWORD PTR -12[rbp], eax
	jl	.L9
	mov	eax, DWORD PTR -8[rbp]
	mov	DWORD PTR -4[rbp], eax
	mov	rdx, QWORD PTR __ctype_ptr__[rip]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	add	rax, 1
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	and	eax, 3
	cmp	eax, 1
	jne	.L10
	mov	eax, DWORD PTR -4[rbp]
	add	eax, 32
	jmp	.L11
.L10:
	mov	eax, DWORD PTR -4[rbp]
.L11:
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, skip[rip]
	mov	DWORD PTR [rdx+rax], 32767
	mov	DWORD PTR -12[rbp], 0
	jmp	.L12
.L13:
	add	DWORD PTR -12[rbp], 1
.L12:
	mov	eax, DWORD PTR patlen[rip]
	sub	eax, 1
	cmp	DWORD PTR -12[rbp], eax
	jl	.L13
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	bmhi_init, .-bmhi_init
	.globl	bmhi_search
	.type	bmhi_search, @function
bmhi_search:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	nop
.L18:
	sub	DWORD PTR -12[rbp], 1
	cmp	DWORD PTR -12[rbp], 0
	js	.L18
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR -13[rbp], al
	mov	rdx, QWORD PTR __ctype_ptr__[rip]
	movsx	rax, BYTE PTR -13[rbp]
	add	rax, 1
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	and	eax, 3
	cmp	eax, 2
	jne	.L16
	movsx	eax, BYTE PTR -13[rbp]
	sub	eax, 32
	jmp	.L17
.L16:
	movsx	eax, BYTE PTR -13[rbp]
.L17:
	mov	rcx, QWORD PTR pat[rip]
	mov	edx, DWORD PTR -12[rbp]
	movsx	rdx, edx
	add	rdx, rcx
	movzx	edx, BYTE PTR [rdx]
	movzx	edx, dl
	cmp	eax, edx
	jmp	.L18
	.cfi_endproc
.LFE1:
	.size	bmhi_search, .-bmhi_search
	.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	"700265.c"
	.text
	.local	patlen
	.comm	patlen,4,4
	.local	skip
	.comm	skip,1024,4
	.local	pat
	.comm	pat,4,4
	.align	2
	.global	bmhi_init
	.syntax unified
	.arm
	.fpu softvfp
	.type	bmhi_init, %function
bmhi_init:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	ldr	r0, [fp, #-24]
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L14
	str	r2, [r3]
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L2
.L5:
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldrb	r3, [r3]
	strb	r3, [fp, #-17]
	ldr	r3, .L14+4
	ldr	r2, [r3]
	ldrb	r3, [fp, #-17]	@ zero_extendqisi2
	add	r3, r3, #1
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	and	r3, r3, #3
	cmp	r3, #2
	bne	.L3
	ldrb	r3, [fp, #-17]	@ zero_extendqisi2
	sub	r3, r3, #32
	b	.L4
.L3:
	ldrb	r3, [fp, #-17]	@ zero_extendqisi2
.L4:
	ldr	r2, .L14+8
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	add	r2, r1, r2
	and	r3, r3, #255
	strb	r3, [r2]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L2:
	ldr	r3, .L14
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	blt	.L5
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L6
.L9:
	ldr	r3, .L14
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	sub	r2, r2, r3
	ldr	r3, .L14+8
	ldr	r1, [r3]
	ldr	r3, [fp, #-16]
	add	r3, r1, r3
	ldrb	r3, [r3]
	strb	r3, [fp, #-18]
	ldr	r3, .L14+4
	ldr	r1, [r3]
	ldrb	r3, [fp, #-18]	@ zero_extendqisi2
	add	r3, r3, #1
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	and	r3, r3, #3
	cmp	r3, #1
	bne	.L7
	ldrb	r3, [fp, #-18]	@ zero_extendqisi2
	add	r3, r3, #32
	b	.L8
.L7:
	ldrb	r3, [fp, #-18]	@ zero_extendqisi2
.L8:
	sub	r2, r2, #1
	ldr	r1, .L14+12
	str	r2, [r1, r3, lsl #2]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L6:
	ldr	r3, .L14
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	blt	.L9
	ldr	r3, [fp, #-12]
	str	r3, [fp, #-8]
	ldr	r3, .L14+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	and	r3, r3, #3
	cmp	r3, #1
	bne	.L10
	ldr	r3, [fp, #-8]
	add	r3, r3, #32
	b	.L11
.L10:
	ldr	r3, [fp, #-8]
.L11:
	ldr	r2, .L14+12
	ldr	r1, .L14+16
	str	r1, [r2, r3, lsl #2]
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L12
.L13:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L12:
	ldr	r3, .L14
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	blt	.L13
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L15:
	.align	2
.L14:
	.word	patlen
	.word	__ctype_ptr__
	.word	pat
	.word	skip
	.word	32767
	.size	bmhi_init, .-bmhi_init
	.align	2
	.global	bmhi_search
	.syntax unified
	.arm
	.fpu softvfp
	.type	bmhi_search, %function
bmhi_search:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #28
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	nop
.L20:
	ldr	r3, [fp, #-12]
	sub	r3, r3, #1
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	blt	.L20
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-8]
	add	r3, r2, r3
	ldrb	r3, [r3]
	strb	r3, [fp, #-13]
	ldr	r3, .L22
	ldr	r2, [r3]
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	add	r3, r3, #1
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	and	r3, r3, #3
	cmp	r3, #2
	bne	.L18
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	sub	r3, r3, #32
	b	.L19
.L18:
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
.L19:
	ldr	r2, .L22+4
	ldr	r1, [r2]
	ldr	r2, [fp, #-12]
	add	r2, r1, r2
	ldrb	r2, [r2]	@ zero_extendqisi2
	cmp	r3, r2
	b	.L20
.L23:
	.align	2
.L22:
	.word	__ctype_ptr__
	.word	pat
	.size	bmhi_search, .-bmhi_search
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
