	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function process_duplicates
_process_duplicates:                    ## @process_duplicates
	.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	%rdi, %r12
	movq	_d_nfuncs@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_1 Depth=1
	testl	%r14d, %r14d
	je	LBB0_12
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_3 Depth 2
	movq	_nfunc@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r12, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	movl	$8, %edx
	callq	_qsort
	movl	(%rbx), %esi
	cmpl	$2, %esi
	jl	LBB0_12
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	xorl	%r13d, %r13d
	xorl	%r14d, %r14d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=2
	movl	(%r12), %eax
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=2
	movl	%eax, (%r12)
	movl	12(%r14), %eax
	orl	%eax, 12(%r12)
	movl	4(%r14), %eax
	orl	%eax, 4(%r12)
	movl	8(%r14), %eax
	orl	%eax, 8(%r12)
	movq	%rbx, %r12
	movq	$0, (%rbx,%r13,8)
	movl	$1, %r14d
	movq	_d_nfuncs@GOTPCREL(%rip), %rbx
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=2
	movq	%r12, %rdi
	callq	_remove_null_names
	movslq	(%rbx), %rsi
	leaq	-1(%rsi), %rax
	movq	%r15, %r13
	cmpq	%rax, %r15
	jge	LBB0_11
LBB0_3:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%r12,%r13,8), %rax
	movq	8(%r12,%r13,8), %rcx
	movl	16(%rax), %edi
	leaq	1(%r13), %r15
	movl	16(%rcx), %esi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_10
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=2
	movq	(%r12,%r13,8), %r14
	movq	%r12, %rbx
	movq	8(%r12,%r13,8), %r12
	leaq	L_.str(%rip), %rdi
	callq	__
	movl	(%r14), %edx
	movl	16(%r14), %esi
	movl	(%r12), %ecx
	movl	%eax, %edi
	callq	_inform
	movl	(%r14), %eax
	cmpl	$-1, %eax
	je	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=2
	cmpl	$-1, (%r12)
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=2
	leaq	L_.str.1(%rip), %rdi
	callq	__
	movl	16(%r14), %esi
	movl	%eax, %edi
	callq	_fatal
	movl	(%r14), %eax
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=2
	testl	%eax, %eax
	jg	LBB0_9
	jmp	LBB0_8
LBB0_12:
	testl	%esi, %esi
	jle	LBB0_24
## %bb.13:
	movq	_d_named_nfuncs@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%esi, %r8d
	cmpl	$1, %esi
	jne	LBB0_15
## %bb.14:
	xorl	%esi, %esi
LBB0_21:
	testb	$1, %r8b
	je	LBB0_24
## %bb.22:
	movq	(%r12,%rsi,8), %rdx
	cmpl	$0, 4(%rdx)
	jne	LBB0_24
## %bb.23:
	incl	%ecx
	movl	%ecx, (%rax)
LBB0_24:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	movl	%r8d, %edi
	andl	$-2, %edi
	xorl	%esi, %esi
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_16 Depth=1
	addq	$2, %rsi
	cmpq	%rsi, %rdi
	je	LBB0_21
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r12,%rsi,8), %rdx
	cmpl	$0, 4(%rdx)
	jne	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_16 Depth=1
	incl	%ecx
	movl	%ecx, (%rax)
LBB0_18:                                ##   in Loop: Header=BB0_16 Depth=1
	movq	8(%r12,%rsi,8), %rdx
	cmpl	$0, 4(%rdx)
	jne	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_16 Depth=1
	incl	%ecx
	movl	%ecx, (%rax)
	jmp	LBB0_20
	.cfi_endproc
                                        ## -- End function
	.comm	_d_nfuncs,4,2                   ## @d_nfuncs
	.comm	_nfunc,4,2                      ## @nfunc
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Warning, ignoring duplicate EXPORT %s %d,%d"

L_.str.1:                               ## @.str.1
	.asciz	"Error, duplicate EXPORT with oridinals: %s"

	.comm	_d_named_nfuncs,4,2             ## @d_named_nfuncs
	.no_dead_strip	_process_duplicates
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function process_duplicates
_process_duplicates:                    ; @process_duplicates
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
Lloh0:
	adrp	x22, _d_nfuncs@GOTPAGE
Lloh1:
	ldr	x22, [x22, _d_nfuncs@GOTPAGEOFF]
	ldr	w1, [x22]
Lloh2:
	adrp	x23, _nfunc@GOTPAGE
Lloh3:
	ldr	x23, [x23, _nfunc@GOTPAGEOFF]
Lloh4:
	adrp	x20, l_.str@PAGE
Lloh5:
	add	x20, x20, l_.str@PAGEOFF
Lloh6:
	adrp	x21, l_.str.1@PAGE
Lloh7:
	add	x21, x21, l_.str.1@PAGEOFF
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	cbz	w25, LBB0_12
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
	ldr	w3, [x23]
	mov	x0, x19
                                        ; kill: def $w1 killed $w1 killed $x1
	mov	w2, #8
	bl	_qsort
	ldr	w1, [x22]
	cmp	w1, #1
	b.le	LBB0_12
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x24, #0
	mov	w25, #0
	b	LBB0_7
LBB0_4:                                 ;   in Loop: Header=BB0_7 Depth=2
	ldr	w8, [x25]
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=2
	str	w8, [x25]
	ldr	w8, [x26, #12]
	ldr	w9, [x25, #12]
	orr	w8, w9, w8
	str	w8, [x25, #12]
	ldur	d0, [x26, #4]
	ldur	d1, [x25, #4]
	orr.8b	v0, v1, v0
	stur	d0, [x25, #4]
	str	xzr, [x19, x24, lsl #3]
	mov	w25, #1
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=2
	add	x24, x24, #1
	mov	x0, x19
	bl	_remove_null_names
	ldrsw	x1, [x22]
	sub	x8, x1, #1
	cmp	x24, x8
	b.ge	LBB0_1
LBB0_7:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	x27, x19, x24, lsl #3
	ldp	x8, x9, [x27]
	ldr	w0, [x8, #16]
	ldr	w1, [x9, #16]
	bl	_strcmp
	cbnz	x0, LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=2
	ldr	x26, [x19, x24, lsl #3]
	ldr	x25, [x27, #8]
	mov	x0, x20
	bl	__
	ldr	w1, [x26, #16]
	ldr	w2, [x26]
	ldr	w3, [x25]
	bl	_inform
	ldr	w8, [x26]
	cmn	w8, #1
	b.eq	LBB0_4
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=2
	ldr	w9, [x25]
	cmn	w9, #1
	b.eq	LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=2
	mov	x0, x21
	bl	__
	ldr	w1, [x26, #16]
	bl	_fatal
	ldr	w8, [x26]
LBB0_11:                                ;   in Loop: Header=BB0_7 Depth=2
	cmp	w8, #0
	b.gt	LBB0_5
	b	LBB0_4
LBB0_12:
	cmp	w1, #1
	b.lt	LBB0_17
; %bb.13:
Lloh8:
	adrp	x8, _d_named_nfuncs@GOTPAGE
Lloh9:
	ldr	x8, [x8, _d_named_nfuncs@GOTPAGEOFF]
	ldr	w9, [x8]
	mov	w10, w1
	b	LBB0_15
LBB0_14:                                ;   in Loop: Header=BB0_15 Depth=1
	add	x19, x19, #8
	subs	x10, x10, #1
	b.eq	LBB0_17
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x19]
	ldr	w11, [x11, #4]
	cbnz	w11, LBB0_14
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=1
	add	w9, w9, #1
	str	w9, [x8]
	b	LBB0_14
LBB0_17:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_d_nfuncs,4,2                   ; @d_nfuncs
	.comm	_nfunc,4,2                      ; @nfunc
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Warning, ignoring duplicate EXPORT %s %d,%d"

l_.str.1:                               ; @.str.1
	.asciz	"Error, duplicate EXPORT with oridinals: %s"

	.comm	_d_named_nfuncs,4,2             ; @d_named_nfuncs
	.no_dead_strip	_process_duplicates
.subsections_via_symbols
