	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sym_list_insert
_sym_list_insert:                       ## @sym_list_insert
	.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
	xorl	%r14d, %r14d
	testq	%rdi, %rdi
	je	LBB0_13
## %bb.1:
	movq	%rsi, %rbx
	testq	%rsi, %rsi
	je	LBB0_13
## %bb.2:
	movq	%rdx, %r13
	testq	%rdx, %rdx
	je	LBB0_13
## %bb.3:
	movq	%rdi, %r12
	movl	$16, %edi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%rax, %r15
	movq	%rbx, %rdi
	callq	_strdup
	movq	%rax, 8(%r15)
	testq	%rax, %rax
	je	LBB0_6
## %bb.8:
	movl	$16, %edi
	callq	_malloc
	movq	%rax, (%r15)
	testq	%rax, %rax
	je	LBB0_9
## %bb.10:
	movq	%rax, %rdi
	movq	%r13, %rsi
	movl	$16, %edx
	callq	_memcpy
	movq	(%r13), %rax
	movq	_SHN_COMMON@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_12
## %bb.11:
	movl	8(%r13), %eax
	movq	(%r15), %rcx
	movl	%eax, (%rcx)
LBB0_12:
	movq	_sym_entries@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_STAILQ_INSERT_TAIL
	movl	$1, %r14d
	jmp	LBB0_13
LBB0_4:
	leaq	L_.str(%rip), %rdi
	callq	_warn
	jmp	LBB0_13
LBB0_6:
	leaq	L_.str.1(%rip), %rdi
	callq	_warn
	jmp	LBB0_7
LBB0_9:
	leaq	L_.str(%rip), %rdi
	callq	_warn
	movq	8(%r15), %rdi
	callq	_free
LBB0_7:
	movq	%r15, %rdi
	callq	_free
LBB0_13:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"malloc"

L_.str.1:                               ## @.str.1
	.asciz	"strdup"

	.comm	_SHN_COMMON,8,3                 ## @SHN_COMMON
	.comm	_sym_entries,4,2                ## @sym_entries
	.no_dead_strip	_sym_list_insert
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sym_list_insert
_sym_list_insert:                       ; @sym_list_insert
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x0
	mov	w0, #0
	cbz	x20, LBB0_14
; %bb.1:
	mov	x22, x1
	cbz	x1, LBB0_14
; %bb.2:
	mov	x21, x2
	cbz	x2, LBB0_14
; %bb.3:
	mov	w0, #16
	bl	_malloc
	cbz	x0, LBB0_9
; %bb.4:
	mov	x19, x0
	mov	x0, x22
	bl	_strdup
	str	x0, [x19, #8]
	cbz	x0, LBB0_10
; %bb.5:
	mov	w0, #16
	bl	_malloc
	str	x0, [x19]
	cbz	x0, LBB0_11
; %bb.6:
	mov	x1, x21
	mov	w2, #16
	bl	_memcpy
	ldr	x8, [x21]
Lloh0:
	adrp	x9, _SHN_COMMON@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SHN_COMMON@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.7:
	ldr	w8, [x21, #8]
	ldr	x9, [x19]
	str	w8, [x9]
LBB0_8:
Lloh3:
	adrp	x8, _sym_entries@GOTPAGE
Lloh4:
	ldr	x8, [x8, _sym_entries@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x19
	bl	_STAILQ_INSERT_TAIL
	mov	w0, #1
	b	LBB0_14
LBB0_9:
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_warn
	b	LBB0_13
LBB0_10:
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_warn
	b	LBB0_12
LBB0_11:
Lloh10:
	adrp	x0, l_.str@PAGE
Lloh11:
	add	x0, x0, l_.str@PAGEOFF
	bl	_warn
	ldr	x0, [x19, #8]
	bl	_free
LBB0_12:
	mov	x0, x19
	bl	_free
LBB0_13:
	mov	w0, #0
LBB0_14:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"malloc"

l_.str.1:                               ; @.str.1
	.asciz	"strdup"

	.comm	_SHN_COMMON,8,3                 ; @SHN_COMMON
	.comm	_sym_entries,4,2                ; @sym_entries
	.no_dead_strip	_sym_list_insert
.subsections_via_symbols
