	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function add_syscall
_add_syscall:                           ## @add_syscall
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	8(%rdi), %rdi
	callq	_nitems
	cmpq	%rbx, %rax
	jbe	LBB0_2
## %bb.1:
	movq	8(%r14), %rax
	xorl	%edi, %edi
	cmpq	$0, (%rax,%rbx,8)
	sete	%dil
	callq	_assert
	movq	8(%r14), %rax
	movq	%r15, (%rax,%rbx,8)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movl	$16, %edi
	callq	_malloc
	movq	%r15, 8(%rax)
	movq	%rbx, (%rax)
	movq	_entries@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%r14, %rdi
	movq	%rax, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_STAILQ_INSERT_TAIL             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_entries,4,2                    ## @entries
	.no_dead_strip	_add_syscall
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function add_syscall
_add_syscall:                           ; @add_syscall
	.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, x2
	mov	x21, x1
	mov	x19, x0
	ldr	x0, [x0, #8]
	bl	_nitems
	cmp	x0, x21
	b.ls	LBB0_2
; %bb.1:
	ldr	x8, [x19, #8]
	lsl	x21, x21, #3
	ldr	x8, [x8, x21]
	cmp	x8, #0
	cset	w0, eq
	bl	_assert
	ldr	x8, [x19, #8]
	str	x20, [x8, x21]
	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
LBB0_2:
	mov	w0, #16
	bl	_malloc
	mov	x1, x0
	stp	x21, x20, [x0]
Lloh0:
	adrp	x8, _entries@GOTPAGE
Lloh1:
	ldr	x8, [x8, _entries@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x19
	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
	b	_STAILQ_INSERT_TAIL
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_entries,4,2                    ; @entries
	.no_dead_strip	_add_syscall
.subsections_via_symbols
