	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function kill_dup_votings
_kill_dup_votings:                      ## @kill_dup_votings
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_VN@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	testl	%edx, %edx
	je	LBB0_9
## %bb.1:
	movl	$1, %r15d
	cmpl	$2, %edx
	jl	LBB0_6
## %bb.2:
	movl	$1, %r15d
	movl	$1, %r12d
	movl	$4, %ebx
	movq	_VD@GOTPCREL(%rip), %r13
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%r12
	movslq	(%r14), %rdx
	addq	$4, %rbx
	cmpq	%rdx, %r12
	jge	LBB0_6
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r13), %rsi
	leaq	(%rsi,%rbx), %rdi
	addq	$-4, %rdi
	addq	%rbx, %rsi
	callq	_cmp_voting
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r13), %rax
	movl	(%rax,%rbx), %ecx
	movslq	%r15d, %rdx
	incl	%r15d
	movl	%ecx, (%rax,%rdx,4)
	jmp	LBB0_5
LBB0_6:
	movq	_verbosity@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jle	LBB0_8
## %bb.7:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	subl	%r15d, %edx
	leaq	L_.str(%rip), %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_fprintf
LBB0_8:
	movl	%r15d, (%r14)
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VN,4,2                         ## @VN
	.comm	_VD,8,3                         ## @VD
	.comm	_verbosity,8,3                  ## @verbosity
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"deleted %d duplicate records\n"

	.no_dead_strip	_kill_dup_votings
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function kill_dup_votings
_kill_dup_votings:                      ; @kill_dup_votings
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
Lloh0:
	adrp	x19, _VN@GOTPAGE
Lloh1:
	ldr	x19, [x19, _VN@GOTPAGEOFF]
	ldr	w8, [x19]
	cbz	w8, LBB0_10
; %bb.1:
	cmp	w8, #2
	b.lt	LBB0_6
; %bb.2:
	mov	w21, #1
	mov	w22, #4
Lloh2:
	adrp	x23, _VD@GOTPAGE
Lloh3:
	ldr	x23, [x23, _VD@GOTPAGEOFF]
	mov	w20, #1
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x21, x21, #1
	ldrsw	x8, [x19]
	add	x22, x22, #4
	cmp	x21, x8
	b.ge	LBB0_7
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x23]
	add	x1, x8, x22
	sub	x0, x1, #4
	bl	_cmp_voting
	cbz	x0, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x23]
	ldr	w9, [x8, x22]
	str	w9, [x8, w20, sxtw #2]
	add	w20, w20, #1
	b	LBB0_3
LBB0_6:
	mov	w20, #1
LBB0_7:
Lloh4:
	adrp	x9, _verbosity@GOTPAGE
Lloh5:
	ldr	x9, [x9, _verbosity@GOTPAGEOFF]
Lloh6:
	ldr	x9, [x9]
	cmp	x9, #1
	b.lt	LBB0_9
; %bb.8:
Lloh7:
	adrp	x9, _stderr@GOTPAGE
Lloh8:
	ldr	x9, [x9, _stderr@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x9]
	sub	w2, w8, w20
Lloh10:
	adrp	x1, l_.str@PAGE
Lloh11:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
LBB0_9:
	str	w20, [x19]
LBB0_10:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_VN,4,2                         ; @VN
	.comm	_VD,8,3                         ; @VD
	.comm	_verbosity,8,3                  ; @verbosity
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"deleted %d duplicate records\n"

	.no_dead_strip	_kill_dup_votings
.subsections_via_symbols
