	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_list_deduplicate_oid           ## -- Begin function list_deduplicate_oid
	.p2align	4, 0x90
_list_deduplicate_oid:                  ## @list_deduplicate_oid
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	callq	_IsOidList
	movl	%eax, %edi
	callq	_Assert
	movq	%r14, %rdi
	callq	_list_length
	cmpl	$2, %eax
	jl	LBB0_7
## %bb.1:
	movq	8(%r14), %rcx
	movl	%eax, %r8d
	decq	%r8
	cmpl	$2, %eax
	jne	LBB0_8
## %bb.2:
	xorl	%eax, %eax
	movl	$1, %esi
LBB0_3:
	testb	$1, %r8b
	je	LBB0_6
## %bb.4:
	movslq	%eax, %rdx
	movq	(%rcx,%rsi,8), %rsi
	cmpq	%rsi, (%rcx,%rdx,8)
	je	LBB0_6
## %bb.5:
	leal	1(%rdx), %eax
	movq	%rsi, 8(%rcx,%rdx,8)
LBB0_6:
	incl	%eax
	movl	%eax, (%r14)
LBB0_7:
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_check_list_invariants          ## TAILCALL
LBB0_8:
	movq	%r8, %rdi
	andq	$-2, %rdi
	negq	%rdi
	xorl	%eax, %eax
	movl	$1, %esi
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_9 Depth=1
	leaq	(%rdi,%rsi), %rdx
	addq	$2, %rdx
	addq	$2, %rsi
	cmpq	$1, %rdx
	je	LBB0_3
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movslq	%eax, %rdx
	movq	(%rcx,%rsi,8), %rbx
	cmpq	%rbx, (%rcx,%rdx,8)
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	leal	1(%rdx), %eax
	movq	%rbx, 8(%rcx,%rdx,8)
LBB0_11:                                ##   in Loop: Header=BB0_9 Depth=1
	movslq	%eax, %rdx
	movq	8(%rcx,%rsi,8), %rbx
	cmpq	%rbx, (%rcx,%rdx,8)
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_9 Depth=1
	leal	1(%rdx), %eax
	movq	%rbx, 8(%rcx,%rdx,8)
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_list_deduplicate_oid           ; -- Begin function list_deduplicate_oid
	.p2align	2
_list_deduplicate_oid:                  ; @list_deduplicate_oid
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_IsOidList
	bl	_Assert
	mov	x0, x19
	bl	_list_length
	cmp	w0, #2
	b.lt	LBB0_6
; %bb.1:
	mov	w9, #0
	ldr	x8, [x19, #8]
	mov	w11, w0
	add	x10, x8, #8
	sub	x11, x11, #1
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x10, x10, #8
	subs	x11, x11, #1
	b.eq	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x13, [x8, w9, sxtw #3]
	ldr	x12, [x10]
	cmp	x13, x12
	b.eq	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	sxtw	x9, w9
	add	x9, x9, #1
	str	x12, [x8, x9, lsl #3]
                                        ; kill: def $w9 killed $w9 killed $x9 def $x9
	b	LBB0_2
LBB0_5:
	add	w8, w9, #1
	str	w8, [x19]
LBB0_6:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_check_list_invariants
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
