	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function llist_insert_sorted_unique
_llist_insert_sorted_unique:            ## @llist_insert_sorted_unique
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movq	%rsi, %r15
	movq	%rdi, %r14
	testq	%rdx, %rdx
	jne	LBB0_2
## %bb.1:
	movq	(%r14), %r12
	testq	%r12, %r12
	je	LBB0_8
LBB0_2:
	movl	8(%r12), %edi
	movq	%r15, %rsi
	callq	_oidcmp
	testl	%eax, %eax
	jle	LBB0_6
## %bb.3:
	xorl	%esi, %esi
LBB0_4:
	movq	%r14, %rdi
	movq	%r15, %rdx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_llist_insert                   ## TAILCALL
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_6 Depth=1
	movq	(%r12), %rbx
	testq	%rbx, %rbx
	je	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	8(%rbx), %edi
	movq	%r15, %rsi
	callq	_oidcmp
	movq	%r12, %rsi
	movq	%rbx, %r12
	testl	%eax, %eax
	jg	LBB0_4
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	testl	%eax, %eax
	jne	LBB0_7
## %bb.9:
	movq	%r12, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movq	%r14, %rdi
	movq	%r15, %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_llist_insert_back              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_llist_insert_sorted_unique
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function llist_insert_sorted_unique
_llist_insert_sorted_unique:            ; @llist_insert_sorted_unique
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
	cbnz	x2, LBB0_2
; %bb.1:
	ldr	x21, [x20]
	cbz	x21, LBB0_9
LBB0_2:
	ldr	w0, [x21, #8]
	mov	x1, x19
	bl	_oidcmp
	cmp	w0, #0
	b.le	LBB0_7
; %bb.3:
	mov	x1, #0
LBB0_4:
	mov	x0, x20
	mov	x2, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_llist_insert
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldr	x22, [x21]
	cbz	x22, LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w0, [x22, #8]
	mov	x1, x19
	bl	_oidcmp
	mov	x1, x21
	mov	x21, x22
	cmp	w0, #1
	b.ge	LBB0_4
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	cbnz	w0, LBB0_5
; %bb.8:
	mov	x0, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_9:
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_llist_insert_back
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_llist_insert_sorted_unique
.subsections_via_symbols
