	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_MCAddSet                       ## -- Begin function MCAddSet
	.p2align	4, 0x90
_MCAddSet:                              ## @MCAddSet
	.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
	movl	%edi, %r14d
	testl	%edi, %edi
	jg	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_error
LBB0_2:
	movq	_NL_SETMAX@GOTPCREL(%rip), %rax
	cmpl	%r14d, (%rax)
	jge	LBB0_4
## %bb.3:
	leaq	L_.str.1(%rip), %rdi
	callq	_error
LBB0_4:
	movq	_sethead@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	testq	%rbx, %rbx
	je	LBB0_5
## %bb.6:
	movl	(%rbx), %eax
	cmpl	%r14d, %eax
	jge	LBB0_7
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %r15
	movq	8(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_10 Depth=1
	movl	(%rbx), %eax
	cmpl	%r14d, %eax
	jl	LBB0_10
	jmp	LBB0_8
LBB0_5:
	xorl	%r15d, %r15d
	jmp	LBB0_11
LBB0_7:
	xorl	%r15d, %r15d
LBB0_8:
	cmpl	%r14d, %eax
	je	LBB0_14
LBB0_11:
	movl	$16, %edi
	callq	_xmalloc
	movq	%rax, %rbx
	movq	%rax, %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_memset
	leaq	4(%rbx), %rdi
	callq	_LIST_INIT
	movl	%r14d, (%rbx)
	movq	_entries@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	testq	%r15, %r15
	je	LBB0_12
## %bb.13:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_LIST_INSERT_AFTER
	jmp	LBB0_14
LBB0_12:
	movq	_sethead@GOTPCREL(%rip), %rdi
	movq	%rbx, %rsi
	callq	_LIST_INSERT_HEAD
LBB0_14:
	movq	_curSet@GOTPCREL(%rip), %rax
	movq	%rbx, (%rax)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"setId's must be greater than zero"

	.comm	_NL_SETMAX,4,2                  ## @NL_SETMAX
L_.str.1:                               ## @.str.1
	.asciz	"setId exceeds limit"

	.comm	_sethead,8,3                    ## @sethead
	.comm	_entries,4,2                    ## @entries
	.comm	_curSet,8,3                     ## @curSet
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_MCAddSet                       ; -- Begin function MCAddSet
	.p2align	2
_MCAddSet:                              ; @MCAddSet
	.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	x19, x0
	cmp	w0, #0
	b.gt	LBB0_2
; %bb.1:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_error
LBB0_2:
Lloh2:
	adrp	x8, _NL_SETMAX@GOTPAGE
Lloh3:
	ldr	x8, [x8, _NL_SETMAX@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cmp	w8, w19
	b.ge	LBB0_4
; %bb.3:
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_error
LBB0_4:
Lloh7:
	adrp	x8, _sethead@GOTPAGE
Lloh8:
	ldr	x8, [x8, _sethead@GOTPAGEOFF]
Lloh9:
	ldr	x20, [x8]
	cbz	x20, LBB0_8
; %bb.5:
	ldr	w8, [x20]
	cmp	w8, w19
	b.ge	LBB0_9
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	mov	x21, x20
	ldr	x20, [x20, #8]
	cbz	x20, LBB0_11
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x20]
	cmp	w8, w19
	b.lt	LBB0_6
	b	LBB0_10
LBB0_8:
	mov	x21, #0
	b	LBB0_11
LBB0_9:
	mov	x21, #0
LBB0_10:
	cmp	w8, w19
	b.eq	LBB0_14
LBB0_11:
	mov	w0, #16
	bl	_xmalloc
	mov	x20, x0
	mov	w1, #0
	mov	w2, #16
	bl	_memset
	add	x0, x20, #4
	bl	_LIST_INIT
	str	w19, [x20]
Lloh10:
	adrp	x8, _entries@GOTPAGE
Lloh11:
	ldr	x8, [x8, _entries@GOTPAGEOFF]
Lloh12:
	ldr	w2, [x8]
	cbz	x21, LBB0_13
; %bb.12:
	mov	x0, x21
	mov	x1, x20
	bl	_LIST_INSERT_AFTER
	b	LBB0_14
LBB0_13:
Lloh13:
	adrp	x0, _sethead@GOTPAGE
Lloh14:
	ldr	x0, [x0, _sethead@GOTPAGEOFF]
	mov	x1, x20
	bl	_LIST_INSERT_HEAD
LBB0_14:
Lloh15:
	adrp	x8, _curSet@GOTPAGE
Lloh16:
	ldr	x8, [x8, _curSet@GOTPAGEOFF]
Lloh17:
	str	x20, [x8]
	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 AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotStr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"setId's must be greater than zero"

	.comm	_NL_SETMAX,4,2                  ; @NL_SETMAX
l_.str.1:                               ; @.str.1
	.asciz	"setId exceeds limit"

	.comm	_sethead,8,3                    ; @sethead
	.comm	_entries,4,2                    ; @entries
	.comm	_curSet,8,3                     ; @curSet
.subsections_via_symbols
