	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ns_initparse                   ## -- Begin function ns_initparse
	.p2align	4, 0x90
_ns_initparse:                          ## @ns_initparse
	.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	%rdx, %r14
	movl	%esi, %r12d
	movq	%rdi, %r13
	movslq	%esi, %rax
	leaq	(%rdi,%rax,4), %r15
	movq	%rdi, 40(%rdx)
	movq	%r15, 32(%rdx)
	movq	_NS_INT16SZ@GOTPCREL(%rip), %rbx
	cmpl	%eax, (%rbx)
	jle	LBB0_2
## %bb.1:
	movq	_EMSGSIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_RETERR
LBB0_2:
	movq	(%r14), %rdi
	movq	%r13, %rsi
	callq	_NS_GET16
	cmpl	%r12d, (%rbx)
	jle	LBB0_4
## %bb.3:
	movq	_EMSGSIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_RETERR
LBB0_4:
	movq	8(%r14), %rdi
	movq	%r13, %rsi
	callq	_NS_GET16
	movq	_ns_s_max@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	testl	%esi, %esi
	jle	LBB0_17
## %bb.5:
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	xorl	%r15d, %r15d
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=1
	movq	16(%r14), %rax
	movq	(%rax,%r15,8), %rdi
	movq	%r13, %rsi
	callq	_NS_GET16
	incq	%r15
	movq	_ns_s_max@GOTPCREL(%rip), %rax
	movslq	(%rax), %rsi
	cmpq	%rsi, %r15
	jge	LBB0_9
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	%r12d, (%rbx)
	jle	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	_EMSGSIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_RETERR
	jmp	LBB0_8
LBB0_9:
	testl	%esi, %esi
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	jle	LBB0_17
## %bb.10:
	xorl	%ebx, %ebx
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	24(%r14), %rax
	movq	$0, (%rax,%rbx,8)
LBB0_16:                                ##   in Loop: Header=BB0_11 Depth=1
	incq	%rbx
	movslq	%esi, %rax
	cmpq	%rax, %rbx
	jge	LBB0_17
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	16(%r14), %rax
	movq	(%rax,%rbx,8), %rcx
	testq	%rcx, %rcx
	je	LBB0_12
## %bb.13:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	%r13, %rdi
	movq	%r15, %rsi
	movl	%ebx, %edx
	callq	_ns_skiprr
	testl	%eax, %eax
	js	LBB0_14
## %bb.15:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	24(%r14), %rcx
	movq	%r13, (%rcx,%rbx,8)
	movl	%eax, %eax
	leaq	(%r13,%rax,4), %r13
	movq	_ns_s_max@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	jmp	LBB0_16
LBB0_17:
	cmpq	%r15, %r13
	je	LBB0_19
## %bb.18:
	movq	_EMSGSIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_RETERR
	movq	_ns_s_max@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
LBB0_19:
	movq	%r14, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_setsection
	xorl	%eax, %eax
LBB0_20:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	movl	$-1, %eax
	jmp	LBB0_20
	.cfi_endproc
                                        ## -- End function
	.comm	_NS_INT16SZ,4,2                 ## @NS_INT16SZ
	.comm	_EMSGSIZE,4,2                   ## @EMSGSIZE
	.comm	_ns_s_max,4,2                   ## @ns_s_max
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ns_initparse                   ; -- Begin function ns_initparse
	.p2align	2
_ns_initparse:                          ; @ns_initparse
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x2
	mov	x22, x1
	mov	x20, x0
	add	x21, x0, w1, sxtw #2
	stp	x21, x0, [x2, #32]
Lloh0:
	adrp	x25, _NS_INT16SZ@GOTPAGE
Lloh1:
	ldr	x25, [x25, _NS_INT16SZ@GOTPAGEOFF]
	ldr	w8, [x25]
Lloh2:
	adrp	x23, _EMSGSIZE@GOTPAGE
Lloh3:
	ldr	x23, [x23, _EMSGSIZE@GOTPAGEOFF]
	cmp	w8, w1
	b.le	LBB0_2
; %bb.1:
	ldr	w0, [x23]
	bl	_RETERR
LBB0_2:
	ldr	x0, [x19]
	mov	x1, x20
	bl	_NS_GET16
	ldr	w8, [x25]
	cmp	w8, w22
	b.le	LBB0_4
; %bb.3:
	ldr	w0, [x23]
	bl	_RETERR
LBB0_4:
	ldr	x0, [x19, #8]
	mov	x1, x20
	bl	_NS_GET16
Lloh4:
	adrp	x24, _ns_s_max@GOTPAGE
Lloh5:
	ldr	x24, [x24, _ns_s_max@GOTPAGEOFF]
	ldr	w1, [x24]
	cmp	w1, #1
	b.lt	LBB0_16
; %bb.5:
	mov	x26, #0
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [x19, #16]
	ldr	x0, [x8, x26, lsl #3]
	mov	x1, x20
	bl	_NS_GET16
	add	x26, x26, #1
	ldrsw	x1, [x24]
	cmp	x26, x1
	b.ge	LBB0_9
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x25]
	cmp	w8, w22
	b.le	LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w0, [x23]
	bl	_RETERR
	b	LBB0_6
LBB0_9:
	cmp	w1, #1
	b.lt	LBB0_16
; %bb.10:
	mov	x22, #0
	b	LBB0_13
LBB0_11:                                ;   in Loop: Header=BB0_13 Depth=1
	ldr	x8, [x19, #24]
	str	xzr, [x8, x22, lsl #3]
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=1
	add	x22, x22, #1
	cmp	x22, w1, sxtw
	b.ge	LBB0_16
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #16]
	ldr	x3, [x8, x22, lsl #3]
	cbz	x3, LBB0_11
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	mov	x0, x20
	mov	x1, x21
	mov	x2, x22
	bl	_ns_skiprr
	tbnz	w0, #31, LBB0_20
; %bb.15:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	x8, [x19, #24]
	str	x20, [x8, x22, lsl #3]
	add	x20, x20, w0, uxtw #2
	ldr	w1, [x24]
	b	LBB0_12
LBB0_16:
	cmp	x20, x21
	b.eq	LBB0_18
; %bb.17:
	ldr	w0, [x23]
	bl	_RETERR
	ldr	w1, [x24]
LBB0_18:
	mov	x0, x19
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_setsection
	mov	w0, #0
LBB0_19:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_20:
	mov	w0, #-1
	b	LBB0_19
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_NS_INT16SZ,4,2                 ; @NS_INT16SZ
	.comm	_EMSGSIZE,4,2                   ; @EMSGSIZE
	.comm	_ns_s_max,4,2                   ; @ns_s_max
.subsections_via_symbols
