	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function newLOfd
_newLOfd:                               ## @newLOfd
	.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	%rdi, %r14
	movq	_cookies_size@GOTPCREL(%rip), %r15
	movl	(%r15), %r12d
	testl	%r12d, %r12d
	jle	LBB0_5
## %bb.1:
	movq	_cookies@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	$0, (%r13)
	je	LBB0_8
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	addq	$8, %r13
	cmpq	%rbx, %r12
	jne	LBB0_2
## %bb.4:
	testl	%r12d, %r12d
	jle	LBB0_5
## %bb.6:
	leal	(%r12,%r12), %r13d
	movq	(%rax), %rdi
	movl	%r12d, %esi
	shll	$4, %esi
	movq	%rax, %rbx
	callq	_repalloc
	movq	%rax, (%rbx)
	movslq	(%r15), %rcx
	leaq	(%rax,%rcx,8), %rdi
	movl	%r13d, %edx
	subl	%ecx, %edx
	shll	$3, %edx
	xorl	%esi, %esi
	callq	_MemSet
	movq	(%rbx), %rax
	movl	%r12d, %ebx
	jmp	LBB0_7
LBB0_5:
	movq	_fscxt@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$512, %esi                      ## imm = 0x200
	callq	_MemoryContextAllocZero
	movq	_cookies@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	xorl	%ebx, %ebx
	movl	$64, %r13d
LBB0_7:
	movl	%r13d, (%r15)
	movl	%ebx, %ecx
	leaq	(,%rcx,8), %r13
	xorl	%edi, %edi
	cmpq	$0, (%rax,%rcx,8)
	sete	%dil
	callq	_Assert
	movq	_cookies@GOTPCREL(%rip), %rax
	addq	(%rax), %r13
LBB0_8:
	movq	%r14, (%r13)
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_cookies_size,4,2               ## @cookies_size
	.comm	_cookies,8,3                    ## @cookies
	.comm	_fscxt,4,2                      ## @fscxt
	.no_dead_strip	_newLOfd
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function newLOfd
_newLOfd:                               ; @newLOfd
	.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, x0
Lloh0:
	adrp	x22, _cookies_size@GOTPAGE
Lloh1:
	ldr	x22, [x22, _cookies_size@GOTPAGEOFF]
	ldr	w23, [x22]
Lloh2:
	adrp	x21, _cookies@GOTPAGE
Lloh3:
	ldr	x21, [x21, _cookies@GOTPAGEOFF]
	cmp	w23, #1
	b.lt	LBB0_6
; %bb.1:
	mov	x20, #0
	ldr	x8, [x21]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x8]
	cbz	x9, LBB0_8
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x20, x20, #1
	add	x8, x8, #8
	cmp	x23, x20
	b.ne	LBB0_2
; %bb.4:
	cmp	w23, #0
	b.le	LBB0_6
; %bb.5:
	lsl	w24, w23, #1
	ldr	x0, [x21]
	lsl	w1, w23, #4
	bl	_repalloc
	str	x0, [x21]
	ldrsw	x8, [x22]
	add	x0, x0, x8, lsl #3
	sub	w8, w24, w8
	lsl	w2, w8, #3
	mov	w1, #0
	bl	_MemSet
	ldr	x0, [x21]
	mov	x20, x23
	b	LBB0_7
LBB0_6:
Lloh4:
	adrp	x8, _fscxt@GOTPAGE
Lloh5:
	ldr	x8, [x8, _fscxt@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	mov	w1, #512
	bl	_MemoryContextAllocZero
	mov	w20, #0
	str	x0, [x21]
	mov	w24, #64
LBB0_7:
	str	w24, [x22]
	mov	w8, w20
	lsl	x22, x8, #3
	ldr	x8, [x0, x22]
	cmp	x8, #0
	cset	w0, eq
	bl	_Assert
	ldr	x8, [x21]
	add	x8, x8, x22
LBB0_8:
	str	x19, [x8]
	mov	x0, x20
	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
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_cookies_size,4,2               ; @cookies_size
	.comm	_cookies,8,3                    ; @cookies
	.comm	_fscxt,4,2                      ; @fscxt
	.no_dead_strip	_newLOfd
.subsections_via_symbols
