	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_add_note                       ## -- Begin function add_note
	.p2align	4, 0x90
_add_note:                              ## @add_note
	.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	%rcx, %r14
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, %rbx
	testq	%rdi, %rdi
	jne	LBB0_2
## %bb.1:
	movq	_default_notes_tree@GOTPCREL(%rip), %rbx
LBB0_2:
	movl	16(%rbx), %edi
	callq	_assert
	movl	$1, (%rbx)
	testq	%r14, %r14
	jne	LBB0_4
## %bb.3:
	movq	8(%rbx), %r14
LBB0_4:
	movl	$8, %edi
	callq	_xmalloc
	movq	%rax, %r13
	leaq	4(%rax), %rdi
	movq	%r12, %rsi
	callq	_oidcpy
	movq	%r13, %rdi
	movq	%r15, %rsi
	callq	_oidcpy
	movl	4(%rbx), %esi
	movq	_PTR_TYPE_NOTE@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%rbx, %rdi
	xorl	%edx, %edx
	movq	%r13, %rcx
	movq	%r14, %r9
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_note_tree_insert               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_default_notes_tree,24,3        ## @default_notes_tree
	.comm	_PTR_TYPE_NOTE,4,2              ## @PTR_TYPE_NOTE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_add_note                       ; -- Begin function add_note
	.p2align	2
_add_note:                              ; @add_note
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x3
	mov	x21, x2
	mov	x22, x1
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, #16]
	bl	_assert
	mov	w8, #1
	str	w8, [x20]
	cbnz	x19, LBB0_2
; %bb.1:
	ldr	x19, [x20, #8]
LBB0_2:
	mov	w0, #8
	bl	_xmalloc
	mov	x23, x0
	add	x0, x0, #4
	mov	x1, x22
	bl	_oidcpy
	mov	x0, x23
	mov	x1, x21
	bl	_oidcpy
	ldr	w1, [x20, #4]
Lloh2:
	adrp	x8, _PTR_TYPE_NOTE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _PTR_TYPE_NOTE@GOTPAGEOFF]
Lloh4:
	ldr	w4, [x8]
	mov	x0, x20
	mov	w2, #0
	mov	x3, x23
	mov	x5, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_note_tree_insert
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_default_notes_tree,24,3        ; @default_notes_tree
	.comm	_PTR_TYPE_NOTE,4,2              ; @PTR_TYPE_NOTE
.subsections_via_symbols
