	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_resetstate                     ## -- Begin function resetstate
	.p2align	4, 0x90
_resetstate:                            ## @resetstate
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_prog@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	xorl	%ecx, %ecx
	cmpb	$123, (%rax)
	sete	%cl
	movq	24(%rax,%rcx,8), %rax
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	testq	%rax, %rax
	je	LBB0_5
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpq	$0, 16(%rax)
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	$0, 8(%rax)
	jmp	LBB0_4
LBB0_5:
	movq	_REPLACE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_HS@GOTPCREL(%rip), %rdi
	leaq	L_.str(%rip), %rsi
	xorl	%edx, %edx
	popq	%rbp
	jmp	_cspace                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_prog,8,3                       ## @prog
	.comm	_HS,4,2                         ## @HS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.space	1

	.comm	_REPLACE,4,2                    ## @REPLACE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_resetstate                     ; -- Begin function resetstate
	.p2align	2
_resetstate:                            ; @resetstate
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _prog@GOTPAGE
Lloh1:
	ldr	x8, [x8, _prog@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_5
; %bb.1:
	mov	w9, #24
	mov	w10, #32
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldrb	w11, [x8]
	cmp	w11, #123
	csel	x11, x10, x9, eq
	ldr	x8, [x8, x11]
	cbz	x8, LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x8, #16]
	cbz	x11, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	str	xzr, [x8, #8]
	b	LBB0_2
LBB0_5:
Lloh3:
	adrp	x8, _REPLACE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _REPLACE@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
Lloh6:
	adrp	x0, _HS@GOTPAGE
Lloh7:
	ldr	x0, [x0, _HS@GOTPAGEOFF]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	mov	w2, #0
	b	_cspace
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_prog,8,3                       ; @prog
	.comm	_HS,4,2                         ; @HS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.space	1

	.comm	_REPLACE,4,2                    ; @REPLACE
.subsections_via_symbols
