	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function membadd
_membadd:                               ## @membadd
	.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
	movl	%edx, %r15d
	movl	%esi, %r12d
	movq	%rdi, %r13
	movl	$24, %edi
	callq	_ctf_alloc
	testq	%rax, %rax
	je	LBB0_7
## %bb.1:
	movq	%rax, %rbx
	testq	%r13, %r13
	je	LBB0_2
## %bb.5:
	movq	%r13, %rdi
	callq	_ctf_strdup
	movq	%rax, %r13
	testq	%rax, %rax
	jne	LBB0_3
## %bb.6:
	movq	%rbx, %rdi
	movl	$24, %esi
	callq	_ctf_free
LBB0_7:
	movq	(%r14), %rdi
	movq	_EAGAIN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ctf_set_errno                  ## TAILCALL
LBB0_2:
	xorl	%r13d, %r13d
LBB0_3:
	movq	%r13, (%rbx)
	movl	%r12d, 16(%rbx)
	movl	%r15d, 12(%rbx)
	movl	$-1, 8(%rbx)
	movq	8(%r14), %rdi
	movq	%rbx, %rsi
	callq	_ctf_list_append
	testq	%r13, %r13
	je	LBB0_4
## %bb.8:
	movq	%r13, %rdi
	callq	_strlen
	movq	(%r14), %rcx
	movl	4(%rcx), %edx
	addl	%edx, %eax
	incl	%eax
	movl	%eax, 4(%rcx)
	jmp	LBB0_9
LBB0_4:
	movq	(%r14), %rcx
LBB0_9:
	movq	_LCTF_DIRTY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%rcx)
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EAGAIN,4,2                     ## @EAGAIN
	.comm	_LCTF_DIRTY,4,2                 ## @LCTF_DIRTY
	.no_dead_strip	_membadd
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function membadd
_membadd:                               ; @membadd
	.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	x20, x2
	mov	x22, x1
	mov	x23, x0
	mov	w0, #24
	bl	_ctf_alloc
	cbz	x0, LBB0_8
; %bb.1:
	mov	x21, x0
	cbz	x23, LBB0_3
; %bb.2:
	mov	x0, x23
	bl	_ctf_strdup
	mov	x23, x0
	cbz	x0, LBB0_7
LBB0_3:
	str	x23, [x21]
	stp	w20, w22, [x21, #12]
	mov	w8, #-1
	str	w8, [x21, #8]
	ldr	x0, [x19, #8]
	mov	x1, x21
	bl	_ctf_list_append
	cbz	x23, LBB0_5
; %bb.4:
	mov	x0, x23
	bl	_strlen
	ldr	x8, [x19]
	ldr	w9, [x8, #4]
	add	w9, w0, w9
	add	w9, w9, #1
	str	w9, [x8, #4]
	b	LBB0_6
LBB0_5:
	ldr	x8, [x19]
LBB0_6:
Lloh0:
	adrp	x9, _LCTF_DIRTY@GOTPAGE
Lloh1:
	ldr	x9, [x9, _LCTF_DIRTY@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	ldr	w10, [x8]
	orr	w9, w10, w9
	str	w9, [x8]
	mov	w0, #0
	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
	ret
LBB0_7:
	mov	x0, x21
	mov	w1, #24
	bl	_ctf_free
LBB0_8:
	ldr	x0, [x19]
Lloh3:
	adrp	x8, _EAGAIN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EAGAIN@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	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	_ctf_set_errno
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_EAGAIN,4,2                     ; @EAGAIN
	.comm	_LCTF_DIRTY,4,2                 ; @LCTF_DIRTY
	.no_dead_strip	_membadd
.subsections_via_symbols
