	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_delegpt_add_addr               ## -- Begin function delegpt_add_addr
	.p2align	4, 0x90
_delegpt_add_addr:                      ## @delegpt_add_addr
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r15
	movq	%r8, %rbx
	movl	%ecx, %r12d
	movq	%rdx, %r13
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r14
	xorl	%edi, %edi
	cmpl	$0, 16(%r14)
	sete	%dil
	callq	_log_assert
	movq	%r14, %rdi
	movq	%r13, %rsi
	movl	%r12d, %edx
	callq	_delegpt_find_addr
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	%r15, %rcx
	testq	%rbx, %rbx
	je	LBB0_3
## %bb.2:
	movq	%rbx, 24(%rax)
LBB0_3:
	movl	$1, %r15d
	testq	%rcx, %rcx
	jne	LBB0_10
## %bb.4:
	movq	$0, 16(%rax)
	jmp	LBB0_10
LBB0_5:
	movl	%r12d, -44(%rbp)                ## 4-byte Spill
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	$72, %esi
	callq	_regional_alloc
	xorl	%r15d, %r15d
	testq	%rax, %rax
	je	LBB0_10
## %bb.6:
	movq	%rax, %r12
	movq	16(%rbp), %r13
	movq	8(%r14), %rax
	movq	%rax, 64(%r12)
	movq	%r12, 8(%r14)
	movq	$0, 56(%r12)
	movq	(%r14), %rax
	movq	%rax, 48(%r12)
	movq	%r12, (%r14)
	movq	%r12, %rdi
	addq	$44, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	movl	%r14d, %edx
	callq	_memcpy
	movl	%r14d, 40(%r12)
	movq	$0, 32(%r12)
	movq	%rbx, 24(%r12)
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 16(%r12)
	movq	$0, 8(%r12)
	testq	%r13, %r13
	je	LBB0_8
## %bb.7:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	callq	_regional_strdup
	movq	%rax, (%r12)
	testq	%rax, %rax
	jne	LBB0_9
	jmp	LBB0_10
LBB0_8:
	movq	$0, (%r12)
LBB0_9:
	movl	$1, %r15d
LBB0_10:
	movl	%r15d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_delegpt_add_addr               ; -- Begin function delegpt_add_addr
	.p2align	2
_delegpt_add_addr:                      ; @delegpt_add_addr
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x6
	mov	x20, x5
	mov	x21, x4
	mov	x23, x3
	mov	x24, x2
	mov	x22, x1
	mov	x26, x0
	ldr	w8, [x0, #16]
	cmp	w8, #0
	cset	w0, eq
	bl	_log_assert
	mov	x0, x26
	mov	x1, x24
	mov	x2, x23
	bl	_delegpt_find_addr
	cbz	x0, LBB0_5
; %bb.1:
	cbz	x21, LBB0_3
; %bb.2:
	str	x21, [x0, #24]
LBB0_3:
	cbnz	x20, LBB0_9
; %bb.4:
	str	xzr, [x0, #16]
	b	LBB0_9
LBB0_5:
	mov	x0, x22
	mov	w1, #72
	bl	_regional_alloc
	cbz	x0, LBB0_10
; %bb.6:
	mov	x25, x0
	ldp	x9, x8, [x26]
	stp	xzr, x8, [x0, #56]
	str	x9, [x0, #48]
	stp	x0, x0, [x26]
	add	x0, x0, #44
	mov	x1, x24
	mov	x2, x23
	bl	_memcpy
	str	w23, [x25, #40]
	stp	x21, xzr, [x25, #24]
	stp	xzr, x20, [x25, #8]
	cbz	x19, LBB0_8
; %bb.7:
	mov	x0, x22
	mov	x1, x19
	bl	_regional_strdup
	str	x0, [x25]
	cbnz	x0, LBB0_9
	b	LBB0_10
LBB0_8:
	str	xzr, [x25]
LBB0_9:
	mov	w0, #1
LBB0_10:
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
