	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_newhideset                     ## -- Begin function newhideset
	.p2align	4, 0x90
_newhideset:                            ## @newhideset
	.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	%rsi, %r14
	movl	%edi, %r15d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_HSSIZ@GOTPCREL(%rip), %r12
	movl	(%r12), %eax
	addl	$3, %eax
	shlq	$3, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rbx
	movq	_hidesets@GOTPCREL(%rip), %r13
	movq	(%r13), %rax
	movslq	%r15d, %rcx
	movq	(%rax,%rcx,8), %rsi
	movq	%rbx, %rdi
	movq	%r14, %rdx
	callq	_inserths
	movl	%eax, %r14d
	movq	_nhidesets@GOTPCREL(%rip), %r11
	movl	(%r11), %r9d
	testl	%r9d, %r9d
	jle	LBB0_7
## %bb.1:
	movq	(%r13), %r8
	movq	(%rbx), %r10
	xorl	%ecx, %ecx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%rcx
	cmpq	%r9, %rcx
	je	LBB0_7
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	movq	(%r8,%rcx,8), %rdi
	cmpq	(%rdi), %r10
	jne	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	$8, %edx
	movq	%r10, %rsi
	.p2align	4, 0x90
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	testq	%rsi, %rsi
	je	LBB0_12
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=2
	movq	(%rbx,%rdx), %rsi
	leaq	8(%rdx), %rax
	cmpq	(%rdi,%rdx), %rsi
	movq	%rax, %rdx
	je	LBB0_4
	jmp	LBB0_6
LBB0_12:
	movl	%ecx, %r15d
	jmp	LBB0_13
LBB0_7:
	cmpl	(%r12), %r14d
	jge	LBB0_13
## %bb.8:
	movq	%r11, %r15
	movq	_maxhidesets@GOTPCREL(%rip), %rcx
	movl	(%rcx), %eax
	cmpl	%eax, %r9d
	jl	LBB0_11
## %bb.9:
	leal	(%rax,%rax,2), %eax
	movl	%eax, %edx
	shrl	$31, %edx
	addl	%eax, %edx
	sarl	%edx
	leal	1(%rdx), %eax
	movl	%eax, (%rcx)
	movq	(%r13), %rdi
	leal	8(,%rdx,8), %esi
	callq	_realloc
	movq	%rax, (%r13)
	testq	%rax, %rax
	jne	LBB0_11
## %bb.10:
	movq	_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_error
LBB0_11:
	shll	$3, %r14d
	movl	%r14d, %edi
	callq	_domalloc
	movq	%rax, %r12
	movq	%rax, %rdi
	movq	%rbx, %rsi
	movl	%r14d, %edx
	callq	_memmove
	movq	(%r13), %rax
	movq	%r15, %rcx
	movslq	(%r15), %r15
	movq	%r12, (%rax,%r15,8)
	leal	1(%r15), %eax
	movl	%eax, (%rcx)
LBB0_13:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_15
## %bb.14:
	movl	%r15d, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_HSSIZ,4,2                      ## @HSSIZ
	.comm	_hidesets,8,3                   ## @hidesets
	.comm	_nhidesets,4,2                  ## @nhidesets
	.comm	_maxhidesets,4,2                ## @maxhidesets
	.comm	_FATAL,4,2                      ## @FATAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Out of memory from realloc"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_newhideset                     ; -- Begin function newhideset
	.p2align	2
_newhideset:                            ; @newhideset
	.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
	sub	sp, sp, #16
	mov	x2, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
Lloh3:
	adrp	x24, _HSSIZ@GOTPAGE
Lloh4:
	ldr	x24, [x24, _HSSIZ@GOTPAGEOFF]
	ldr	w8, [x24]
	add	w8, w8, #3
	lsl	x8, x8, #3
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0xffffffff0
	sub	x19, x9, x8
	mov	sp, x19
Lloh7:
	adrp	x22, _hidesets@GOTPAGE
Lloh8:
	ldr	x22, [x22, _hidesets@GOTPAGEOFF]
	ldr	x8, [x22]
	ldr	x1, [x8, w0, sxtw #3]
	mov	x0, x19
	bl	_inserths
	mov	x21, x0
Lloh9:
	adrp	x23, _nhidesets@GOTPAGE
Lloh10:
	ldr	x23, [x23, _nhidesets@GOTPAGEOFF]
	ldr	w8, [x23]
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.1:
	mov	x9, #0
	ldr	x10, [x22]
	mov	x11, x19
	ldr	x12, [x11], #8
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x9, x9, #1
	cmp	x9, x8
	b.eq	LBB0_8
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
	ldr	x13, [x10, x9, lsl #3]
	ldr	x14, [x13]
	cmp	x12, x14
	b.ne	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x13, x13, #8
	mov	x14, x11
	mov	x15, x12
LBB0_5:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	cbz	x15, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=2
	ldr	x15, [x14], #8
	ldr	x16, [x13], #8
	cmp	x15, x16
	b.eq	LBB0_5
	b	LBB0_2
LBB0_7:
	mov	x20, x9
	b	LBB0_13
LBB0_8:
	ldr	w9, [x24]
	cmp	w21, w9
	b.ge	LBB0_13
; %bb.9:
Lloh11:
	adrp	x9, _maxhidesets@GOTPAGE
Lloh12:
	ldr	x9, [x9, _maxhidesets@GOTPAGEOFF]
	ldr	w10, [x9]
	cmp	w8, w10
	b.lt	LBB0_12
; %bb.10:
	add	w8, w10, w10, lsl #1
	cmp	w8, #0
	cinc	w8, w8, lt
	asr	w8, w8, #1
	add	w8, w8, #1
	str	w8, [x9]
	ldr	x0, [x22]
	lsl	w1, w8, #3
	bl	_realloc
	str	x0, [x22]
	cbnz	x0, LBB0_12
; %bb.11:
Lloh13:
	adrp	x8, _FATAL@GOTPAGE
Lloh14:
	ldr	x8, [x8, _FATAL@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
Lloh16:
	adrp	x1, l_.str@PAGE
Lloh17:
	add	x1, x1, l_.str@PAGEOFF
	bl	_error
LBB0_12:
	lsl	w20, w21, #3
	mov	x0, x20
	bl	_domalloc
	mov	x21, x0
	mov	x1, x19
	mov	x2, x20
	bl	_memmove
	ldr	x8, [x22]
	ldrsw	x20, [x23]
	str	x21, [x8, x20, lsl #3]
	add	w8, w20, #1
	str	w8, [x23]
LBB0_13:
	ldur	x8, [x29, #-56]
Lloh18:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh19:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_15
; %bb.14:
	mov	x0, x20
	sub	sp, x29, #48
	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_15:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_HSSIZ,4,2                      ; @HSSIZ
	.comm	_hidesets,8,3                   ; @hidesets
	.comm	_nhidesets,4,2                  ; @nhidesets
	.comm	_maxhidesets,4,2                ; @maxhidesets
	.comm	_FATAL,4,2                      ; @FATAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Out of memory from realloc"

.subsections_via_symbols
