	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_prune_notes                    ## -- Begin function prune_notes
	.p2align	4, 0x90
_prune_notes:                           ## @prune_notes
	.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
	movl	%esi, %ebx
	movq	%rdi, %r14
	movq	$0, -48(%rbp)
	testq	%rdi, %rdi
	jne	LBB0_2
## %bb.1:
	movq	_default_notes_tree@GOTPCREL(%rip), %r14
LBB0_2:
	movl	(%r14), %edi
	callq	_assert
	movq	_prune_notes_helper@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-48(%rbp), %rcx
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_for_each_note
	movq	-48(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_9
## %bb.3:
	movq	_NOTES_PRUNE_VERBOSE@GOTPCREL(%rip), %r12
	movq	_NOTES_PRUNE_DRYRUN@GOTPCREL(%rip), %r13
	leaq	L_.str(%rip), %r15
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	-48(%rbp), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	testq	%rax, %rax
	je	LBB0_9
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	testl	%ebx, (%r12)
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	8(%rax), %edi
	callq	_hash_to_hex
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_printf
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	testl	%ebx, (%r13)
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	-48(%rbp), %rax
	movl	8(%rax), %esi
	movq	%r14, %rdi
	callq	_remove_note
	jmp	LBB0_8
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_default_notes_tree,4,2         ## @default_notes_tree
	.comm	_prune_notes_helper,4,2         ## @prune_notes_helper
	.comm	_NOTES_PRUNE_VERBOSE,4,2        ## @NOTES_PRUNE_VERBOSE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s\n"

	.comm	_NOTES_PRUNE_DRYRUN,4,2         ## @NOTES_PRUNE_DRYRUN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_prune_notes                    ; -- Begin function prune_notes
	.p2align	2
_prune_notes:                           ; @prune_notes
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x1
	str	xzr, [sp, #8]
Lloh0:
	adrp	x8, _default_notes_tree@GOTPAGE
Lloh1:
	ldr	x8, [x8, _default_notes_tree@GOTPAGEOFF]
	cmp	x0, #0
	csel	x20, x8, x0, eq
	ldr	w0, [x20]
	bl	_assert
Lloh2:
	adrp	x8, _prune_notes_helper@GOTPAGE
Lloh3:
	ldr	x8, [x8, _prune_notes_helper@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	add	x3, sp, #8
	mov	x0, x20
	mov	w1, #0
	bl	_for_each_note
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_7
; %bb.1:
Lloh5:
	adrp	x22, _NOTES_PRUNE_VERBOSE@GOTPAGE
Lloh6:
	ldr	x22, [x22, _NOTES_PRUNE_VERBOSE@GOTPAGEOFF]
Lloh7:
	adrp	x23, _NOTES_PRUNE_DRYRUN@GOTPAGE
Lloh8:
	ldr	x23, [x23, _NOTES_PRUNE_DRYRUN@GOTPAGEOFF]
Lloh9:
	adrp	x21, l_.str@PAGE
Lloh10:
	add	x21, x21, l_.str@PAGEOFF
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [sp, #8]
	ldr	x8, [x8]
	str	x8, [sp, #8]
	cbz	x8, LBB0_7
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x22]
	tst	w9, w19
	b.eq	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x8, #8]
	bl	_hash_to_hex
	mov	x1, x0
	mov	x0, x21
	bl	_printf
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x23]
	tst	w8, w19
	b.ne	LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [sp, #8]
	ldr	w1, [x8, #8]
	mov	x0, x20
	bl	_remove_note
	b	LBB0_2
LBB0_7:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_default_notes_tree,4,2         ; @default_notes_tree
	.comm	_prune_notes_helper,4,2         ; @prune_notes_helper
	.comm	_NOTES_PRUNE_VERBOSE,4,2        ; @NOTES_PRUNE_VERBOSE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s\n"

	.comm	_NOTES_PRUNE_DRYRUN,4,2         ; @NOTES_PRUNE_DRYRUN
.subsections_via_symbols
