	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function openguess
_openguess:                             ## @openguess
	.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
	subq	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpq	$0, (%rdi)
	je	LBB0_14
## %bb.1:
	movq	%r8, %rbx
	leaq	8(%rcx), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rdi, %r14
	movq	%rcx, -96(%rbp)                 ## 8-byte Spill
	movq	%rdx, -88(%rbp)                 ## 8-byte Spill
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
                                        ##       Child Loop BB0_6 Depth 3
                                        ##         Child Loop BB0_9 Depth 4
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	cmpq	$0, (%rsi)
	je	LBB0_13
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	movq	%rsi, %r15
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_6 Depth 3
                                        ##         Child Loop BB0_9 Depth 4
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	(%rdx), %r8
	testq	%r8, %r8
	je	LBB0_12
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=2
	xorl	%eax, %eax
	movq	%rdx, %r12
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_6 Depth=3
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	movq	-104(%rbp), %rax                ## 8-byte Reload
	leaq	(%rdx,%rax,8), %r12
	addq	$8, %r12
	movq	8(%rdx,%rax,8), %r8
	incq	%rax
	testq	%r8, %r8
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	je	LBB0_12
LBB0_6:                                 ##   Parent Loop BB0_2 Depth=1
                                        ##     Parent Loop BB0_4 Depth=2
                                        ## =>    This Loop Header: Depth=3
                                        ##         Child Loop BB0_9 Depth 4
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movq	(%rcx), %r9
	testq	%r9, %r9
	je	LBB0_11
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=3
	movq	(%r14), %rdx
	movq	(%r15), %rcx
	movq	%rbx, %rdi
	leaq	L_.str(%rip), %rsi
	callq	_asprintf
	movq	(%rbx), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_fopen
	testq	%rax, %rax
	jne	LBB0_15
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=3
	movq	-80(%rbp), %r13                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_9:                                 ##   Parent Loop BB0_2 Depth=1
                                        ##     Parent Loop BB0_4 Depth=2
                                        ##       Parent Loop BB0_6 Depth=3
                                        ## =>      This Inner Loop Header: Depth=4
	movq	(%rbx), %rdi
	callq	_free
	movq	(%r13), %r9
	testq	%r9, %r9
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=4
	movq	(%r12), %r8
	movq	(%r14), %rdx
	movq	(%r15), %rcx
	movq	%rbx, %rdi
	leaq	L_.str(%rip), %rsi
	callq	_asprintf
	movq	(%rbx), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_fopen
	addq	$8, %r13
	testq	%rax, %rax
	je	LBB0_9
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_4 Depth=2
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rsi,%rax,8), %r15
	addq	$8, %r15
	cmpq	$0, 8(%rsi,%rax,8)
	leaq	1(%rax), %rax
	jne	LBB0_4
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rdi,%rax,8), %r14
	addq	$8, %r14
	cmpq	$0, 8(%rdi,%rax,8)
	leaq	1(%rax), %rax
	jne	LBB0_2
LBB0_14:
	xorl	%eax, %eax
LBB0_15:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s%s%s%s"

L_.str.1:                               ## @.str.1
	.asciz	"r"

	.no_dead_strip	_openguess
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function openguess
_openguess:                             ; @openguess
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	ldr	x8, [x0]
	cbz	x8, LBB0_14
; %bb.1:
	mov	x19, x4
	mov	x27, x2
	mov	x9, #0
	add	x8, x3, #8
	str	x8, [sp, #40]                   ; 8-byte Folded Spill
Lloh0:
	adrp	x24, l_.str@PAGE
Lloh1:
	add	x24, x24, l_.str@PAGEOFF
	mov	x28, x0
Lloh2:
	adrp	x25, l_.str.1@PAGE
Lloh3:
	add	x25, x25, l_.str.1@PAGEOFF
	stp	x0, x1, [sp, #8]                ; 16-byte Folded Spill
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_4 Depth 2
                                        ;       Child Loop BB0_7 Depth 3
                                        ;         Child Loop BB0_10 Depth 4
	str	x9, [sp, #24]                   ; 8-byte Folded Spill
	ldr	x8, [x1]
	cbz	x8, LBB0_13
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x9, #0
	mov	x22, x1
LBB0_4:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_7 Depth 3
                                        ;         Child Loop BB0_10 Depth 4
	str	x9, [sp, #32]                   ; 8-byte Folded Spill
	ldr	x4, [x27]
	cbz	x4, LBB0_12
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=2
	mov	x23, #0
	mov	x21, x27
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=3
	add	x23, x23, #1
	add	x21, x27, x23, lsl #3
	ldr	x4, [x21]
	mov	x3, x26
	cbz	x4, LBB0_12
LBB0_7:                                 ;   Parent Loop BB0_2 Depth=1
                                        ;     Parent Loop BB0_4 Depth=2
                                        ; =>    This Loop Header: Depth=3
                                        ;         Child Loop BB0_10 Depth 4
	mov	x26, x3
	ldr	x5, [x3]
	cbz	x5, LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=3
	ldr	x2, [x28]
	ldr	x3, [x22]
	mov	x0, x19
	mov	x1, x24
	bl	_asprintf
	ldr	x0, [x19]
	mov	x1, x25
	bl	_fopen
	cbnz	x0, LBB0_15
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=3
	ldr	x20, [sp, #40]                  ; 8-byte Folded Reload
LBB0_10:                                ;   Parent Loop BB0_2 Depth=1
                                        ;     Parent Loop BB0_4 Depth=2
                                        ;       Parent Loop BB0_7 Depth=3
                                        ; =>      This Inner Loop Header: Depth=4
	ldr	x0, [x19]
	bl	_free
	ldr	x5, [x20]
	cbz	x5, LBB0_6
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=4
	ldr	x4, [x21]
	ldr	x2, [x28]
	ldr	x3, [x22]
	mov	x0, x19
	mov	x1, x24
	bl	_asprintf
	ldr	x0, [x19]
	mov	x1, x25
	bl	_fopen
	add	x20, x20, #8
	cbz	x0, LBB0_10
	b	LBB0_15
LBB0_12:                                ;   in Loop: Header=BB0_4 Depth=2
	ldr	x9, [sp, #32]                   ; 8-byte Folded Reload
	add	x9, x9, #1
	ldr	x1, [sp, #16]                   ; 8-byte Folded Reload
	add	x22, x1, x9, lsl #3
	ldr	x8, [x22]
	cbnz	x8, LBB0_4
LBB0_13:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x9, [sp, #24]                   ; 8-byte Folded Reload
	add	x9, x9, #1
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
	add	x28, x0, x9, lsl #3
	ldr	x8, [x28]
	cbnz	x8, LBB0_2
LBB0_14:
	mov	x0, #0
LBB0_15:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s%s%s%s"

l_.str.1:                               ; @.str.1
	.asciz	"r"

	.no_dead_strip	_openguess
.subsections_via_symbols
