	.file	"extr_midx.c_write_midx_oid_lookup.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"OIDs not in order: %s >= %s"
	.text
	.p2align 4
	.type	write_midx_oid_lookup, @function
write_midx_oid_lookup:
.LFB0:
	.cfi_startproc
	endbr64
	test	rcx, rcx
	jle	.L7
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	movzx	eax, sil
	mov	r15, rdx
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	xor	r14d, r14d
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	lea	r13, -1[rcx]
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	movzx	ebp, sil
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rcx
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	QWORD PTR 24[rsp], rax
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L4:
	mov	esi, DWORD PTR -4[r15]
	mov	edx, ebp
	mov	rdi, r12
	add	r14, 1
	call	hashwrite@PLT
	cmp	rbx, r14
	je	.L14
.L6:
	add	r15, 4
	cmp	r13, r14
	jle	.L4
	lea	r9, -4[r15]
	mov	rsi, r15
	mov	rdi, r9
	mov	QWORD PTR 8[rsp], r9
	call	oidcmp@PLT
	test	rax, rax
	js	.L4
	mov	rdi, r15
	call	oid_to_hex@PLT
	mov	r9, QWORD PTR 8[rsp]
	mov	DWORD PTR 20[rsp], eax
	mov	rdi, r9
	call	oid_to_hex@PLT
	mov	edx, DWORD PTR 20[rsp]
	lea	rdi, .LC0[rip]
	mov	esi, eax
	call	BUG@PLT
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L14:
	mov	rax, QWORD PTR 24[rsp]
	add	rsp, 40
	.cfi_def_cfa_offset 56
	imul	rax, rbx
	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
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore 3
	.cfi_restore 6
	.cfi_restore 12
	.cfi_restore 13
	.cfi_restore 14
	.cfi_restore 15
	xor	eax, eax
	ret
	.cfi_endproc
.LFE0:
	.size	write_midx_oid_lookup, .-write_midx_oid_lookup
	.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_midx.c_write_midx_oid_lookup.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"OIDs not in order: %s >= %s\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	write_midx_oid_lookup, %function
write_midx_oid_lookup:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	subs	r7, r3, #0
	sub	sp, sp, #12
	ble	.L7
	mov	r9, r0
	mov	r8, r1
	mov	r5, r2
	mov	r4, #0
	ldr	fp, .L12
	sub	r10, r7, #1
	b	.L6
.L4:
	ldr	r1, [r5]
	mov	r2, r8
	mov	r0, r9
	add	r4, r4, #1
	bl	hashwrite
	cmp	r7, r4
	mov	r5, r6
	beq	.L11
.L6:
	cmp	r10, r4
	add	r6, r5, #4
	ble	.L4
	mov	r1, r6
	mov	r0, r5
	bl	oidcmp
	cmp	r0, #0
	blt	.L4
	mov	r0, r5
	bl	oid_to_hex
	mov	r1, r0
	mov	r0, r6
	str	r1, [sp, #4]
	bl	oid_to_hex
	ldr	r1, [sp, #4]
	mov	r2, r0
	mov	r0, fp
	bl	BUG
	b	.L4
.L11:
	mul	r0, r8, r7
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L7:
	mov	r0, #0
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L13:
	.align	2
.L12:
	.word	.LC0
	.size	write_midx_oid_lookup, .-write_midx_oid_lookup
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
