	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function init_scanner
_init_scanner:                          ## @init_scanner
	.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	_scp@GOTPCREL(%rip), %rax
	movq	%rsi, (%rax)
	movq	_scc@GOTPCREL(%rip), %rax
	movl	%edi, (%rax)
	movq	_need@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	movq	_sc_len@GOTPCREL(%rip), %r15
	movl	$1, (%r15)
	testl	%edi, %edi
	jle	LBB0_1
## %bb.2:
	movq	%rsi, %r14
	movl	%edi, %ebx
	incl	%ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r14), %edi
	addq	$8, %r14
	callq	_strlen
	addl	(%r15), %eax
	movl	%eax, (%r15)
	decl	%ebx
	cmpl	$1, %ebx
	ja	LBB0_3
	jmp	LBB0_4
LBB0_1:
	movl	$1, %eax
LBB0_4:
	movl	%eax, %edi
	callq	_malloc
	movq	_sc_token@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	_EXIT_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_errx                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_scp,8,3                        ## @scp
	.comm	_scc,4,2                        ## @scc
	.comm	_need,4,2                       ## @need
	.comm	_sc_len,4,2                     ## @sc_len
	.comm	_sc_token,8,3                   ## @sc_token
	.comm	_EXIT_FAILURE,4,2               ## @EXIT_FAILURE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"virtual memory exhausted"

	.no_dead_strip	_init_scanner
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function init_scanner
_init_scanner:                          ; @init_scanner
	.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	x8, x0
Lloh0:
	adrp	x9, _scp@GOTPAGE
Lloh1:
	ldr	x9, [x9, _scp@GOTPAGEOFF]
Lloh2:
	str	x1, [x9]
Lloh3:
	adrp	x9, _scc@GOTPAGE
Lloh4:
	ldr	x9, [x9, _scc@GOTPAGEOFF]
Lloh5:
	str	w0, [x9]
Lloh6:
	adrp	x9, _need@GOTPAGE
Lloh7:
	ldr	x9, [x9, _need@GOTPAGEOFF]
	mov	w0, #1
Lloh8:
	str	w0, [x9]
Lloh9:
	adrp	x20, _sc_len@GOTPAGE
Lloh10:
	ldr	x20, [x20, _sc_len@GOTPAGEOFF]
	str	w0, [x20]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x19, x1
	add	w21, w8, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x19], #8
	bl	_strlen
	ldr	w8, [x20]
	add	w0, w8, w0
	str	w0, [x20]
	sub	w21, w21, #1
	cmp	w21, #1
	b.hi	LBB0_2
LBB0_3:
	bl	_malloc
Lloh11:
	adrp	x8, _sc_token@GOTPAGE
Lloh12:
	ldr	x8, [x8, _sc_token@GOTPAGEOFF]
Lloh13:
	str	x0, [x8]
	cbz	x0, LBB0_5
; %bb.4:
	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_5:
Lloh14:
	adrp	x8, _EXIT_FAILURE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _EXIT_FAILURE@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
Lloh17:
	adrp	x1, l_.str@PAGE
Lloh18:
	add	x1, x1, l_.str@PAGEOFF
	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	_errx
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotStr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotStr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotStr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_scp,8,3                        ; @scp
	.comm	_scc,4,2                        ; @scc
	.comm	_need,4,2                       ; @need
	.comm	_sc_len,4,2                     ; @sc_len
	.comm	_sc_token,8,3                   ; @sc_token
	.comm	_EXIT_FAILURE,4,2               ; @EXIT_FAILURE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"virtual memory exhausted"

	.no_dead_strip	_init_scanner
.subsections_via_symbols
