	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_combine_notes_cat_sort_uniq    ## -- Begin function combine_notes_cat_sort_uniq
	.p2align	4, 0x90
_combine_notes_cat_sort_uniq:           ## @combine_notes_cat_sort_uniq
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	_STRING_LIST_INIT_DUP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -32(%rbp)
	movq	_STRBUF_INIT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	leaq	-32(%rbp), %rdi
	movq	%r14, %rsi
	callq	_string_list_add_note_lines
	movl	$1, %r15d
	testq	%rax, %rax
	jne	LBB0_4
## %bb.1:
	leaq	-32(%rbp), %rdi
	movq	%rbx, %rsi
	callq	_string_list_add_note_lines
	testq	%rax, %rax
	jne	LBB0_4
## %bb.2:
	leaq	-32(%rbp), %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_string_list_remove_empty_items
	movq	%rbx, %rdi
	callq	_string_list_sort
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_string_list_remove_duplicates
	movq	_string_list_join_lines_helper@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-40(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_for_each_string_list
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:
	movl	-40(%rbp), %esi
	movl	-36(%rbp), %edi
	movq	_blob_type@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rcx
	callq	_write_object_file
	movl	%eax, %r15d
LBB0_4:
	leaq	-40(%rbp), %rdi
	callq	_strbuf_release
	leaq	-32(%rbp), %rdi
	xorl	%esi, %esi
	callq	_string_list_clear
	movl	%r15d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_STRING_LIST_INIT_DUP,4,2       ## @STRING_LIST_INIT_DUP
	.comm	_STRBUF_INIT,8,2                ## @STRBUF_INIT
	.comm	_string_list_join_lines_helper,4,2 ## @string_list_join_lines_helper
	.comm	_blob_type,4,2                  ## @blob_type
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_combine_notes_cat_sort_uniq    ; -- Begin function combine_notes_cat_sort_uniq
	.p2align	2
_combine_notes_cat_sort_uniq:           ; @combine_notes_cat_sort_uniq
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _STRING_LIST_INIT_DUP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _STRING_LIST_INIT_DUP@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #8]
Lloh3:
	adrp	x8, _STRBUF_INIT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _STRBUF_INIT@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	str	x8, [sp]
	add	x0, sp, #8
	mov	x1, x19
	bl	_string_list_add_note_lines
	cbnz	x0, LBB0_3
; %bb.1:
	add	x0, sp, #8
	mov	x1, x20
	bl	_string_list_add_note_lines
	cbnz	x0, LBB0_3
; %bb.2:
	add	x0, sp, #8
	mov	w1, #0
	bl	_string_list_remove_empty_items
	add	x0, sp, #8
	bl	_string_list_sort
	add	x0, sp, #8
	mov	w1, #0
	bl	_string_list_remove_duplicates
Lloh6:
	adrp	x8, _string_list_join_lines_helper@GOTPAGE
Lloh7:
	ldr	x8, [x8, _string_list_join_lines_helper@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	add	x0, sp, #8
	mov	x2, sp
	bl	_for_each_string_list
	cbz	x0, LBB0_5
LBB0_3:
	mov	w19, #1
LBB0_4:
	mov	x0, sp
	bl	_strbuf_release
	add	x0, sp, #8
	mov	w1, #0
	bl	_string_list_clear
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_5:
	ldp	w1, w0, [sp]
Lloh9:
	adrp	x8, _blob_type@GOTPAGE
Lloh10:
	ldr	x8, [x8, _blob_type@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	mov	x3, x19
	bl	_write_object_file
	mov	x19, x0
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_STRING_LIST_INIT_DUP,4,2       ; @STRING_LIST_INIT_DUP
	.comm	_STRBUF_INIT,8,2                ; @STRBUF_INIT
	.comm	_string_list_join_lines_helper,4,2 ; @string_list_join_lines_helper
	.comm	_blob_type,4,2                  ; @blob_type
.subsections_via_symbols
