	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function findmust
_findmust:                              ## @findmust
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpq	$0, (%rdi)
	jne	LBB0_26
## %bb.1:
	movq	%rsi, %r14
	movq	(%rsi), %r10
	movq	32(%rsi), %r9
	addq	$4, %r10
	addq	$4, %r9
	movq	_O_QUEST@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_O_CH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r13d
	movq	_OOR2@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r11d
	movq	_OEND@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	%edx, -64(%rbp)                 ## 4-byte Spill
	xorl	%r12d, %r12d
	xorl	%ebx, %ebx
	xorl	%ecx, %ecx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	xorl	%ecx, %ecx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	xorl	%ecx, %ecx
	movl	$13, %r15d
	jmp	LBB0_2
LBB0_27:                                ##   in Loop: Header=BB0_2 Depth=1
	testq	%r8, %r8
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	cmoveq	%r10, %rcx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	cmoveq	%r9, %rcx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movq	%r8, %rcx
	incq	%rcx
	movl	$133, %r8d
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%rsi, %r10
	movq	%rdi, %r9
	cmpl	-64(%rbp), %r8d                 ## 4-byte Folded Reload
	je	LBB0_16
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
	leaq	4(%r10), %rsi
	movl	(%r10), %r8d
	leaq	4(%r9), %rdi
	leal	-128(%r8), %edx
	cmpl	$5, %edx
	ja	LBB0_12
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	btl	%edx, %r15d
	jb	LBB0_15
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rcx, %r8
	movl	$18, %ecx
	btl	%edx, %ecx
	jae	LBB0_27
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r10, %rsi
	movq	%r9, %rdi
	movq	%r8, %rcx
	.p2align	4, 0x90
LBB0_6:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movslq	(%rdi), %rdx
	movl	(%rsi,%rdx,4), %r8d
	cmpl	%eax, %r8d
	je	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=2
	cmpl	%r13d, %r8d
	je	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=2
	cmpl	%r11d, %r8d
	jne	LBB0_9
LBB0_10:                                ##   in Loop: Header=BB0_6 Depth=2
	leaq	(%rsi,%rdx,4), %rsi
	leaq	(%rdi,%rdx,4), %rdi
	cmpl	%eax, %r8d
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_6 Depth=2
	cmpl	%r13d, %r8d
	jne	LBB0_6
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpq	8(%r14), %rcx
	jle	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%rcx, 8(%r14)
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	xorl	%ecx, %ecx
	jmp	LBB0_15
LBB0_9:
	movq	_BAD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 24(%r14)
LBB0_26:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	movq	8(%r14), %r13
	testq	%r13, %r13
	je	LBB0_26
## %bb.17:
	leaq	4(,%r13,4), %rdi
	callq	_malloc
	movq	%rax, 16(%r14)
	testq	%rax, %rax
	je	LBB0_20
## %bb.18:
	movq	%rax, %r15
	testq	%r13, %r13
	jle	LBB0_19
	.p2align	4, 0x90
LBB0_21:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_22 Depth 2
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_22:                                ##   Parent Loop BB0_21 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	addq	$4, %rbx
	cmpl	$133, (%r12)
	leaq	4(%r12), %r12
	jne	LBB0_22
## %bb.23:                              ##   in Loop: Header=BB0_21 Depth=1
	movq	8(%r14), %rax
	shlq	$2, %rax
	addq	16(%r14), %rax
	movq	%r14, %r13
	movl	-4(%rbx), %r14d
	xorl	%edi, %edi
	cmpq	%rax, %r15
	setb	%dil
	callq	_assert
	movl	%r14d, (%r15)
	movq	%r13, %r14
	addq	$4, %r15
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	leaq	-1(%rcx), %r13
	cmpq	$1, %rcx
	jg	LBB0_21
## %bb.24:
	movq	8(%r14), %r13
	movq	16(%r14), %rax
	jmp	LBB0_25
LBB0_20:
	movq	$0, 8(%r14)
	jmp	LBB0_26
LBB0_19:
	movq	%r15, %rax
LBB0_25:
	leaq	(%rax,%r13,4), %rax
	xorl	%edi, %edi
	cmpq	%rax, %r15
	sete	%dil
	callq	_assert
	movl	$0, (%r15)
	jmp	LBB0_26
	.cfi_endproc
                                        ## -- End function
	.comm	_O_QUEST,4,2                    ## @O_QUEST
	.comm	_O_CH,4,2                       ## @O_CH
	.comm	_OOR2,4,2                       ## @OOR2
	.comm	_BAD,4,2                        ## @BAD
	.comm	_OEND,4,2                       ## @OEND
	.no_dead_strip	_findmust
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function findmust
_findmust:                              ; @findmust
	.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
	ldr	x8, [x0]
	cbnz	x8, LBB0_14
; %bb.1:
	mov	x19, x1
	mov	x21, #0
	mov	x22, #0
	mov	x9, #0
	mov	x17, #0
	ldr	x10, [x1]
	add	x3, x10, #4
	ldr	x10, [x1, #32]
	add	x4, x10, #4
Lloh0:
	adrp	x10, _O_QUEST@GOTPAGE
Lloh1:
	ldr	x10, [x10, _O_QUEST@GOTPAGEOFF]
Lloh2:
	adrp	x11, _O_CH@GOTPAGE
Lloh3:
	ldr	x11, [x11, _O_CH@GOTPAGEOFF]
Lloh4:
	ldr	w10, [x10]
Lloh5:
	ldr	w11, [x11]
Lloh6:
	adrp	x12, _OOR2@GOTPAGE
Lloh7:
	ldr	x12, [x12, _OOR2@GOTPAGEOFF]
Lloh8:
	adrp	x13, _OEND@GOTPAGE
Lloh9:
	ldr	x13, [x13, _OEND@GOTPAGEOFF]
Lloh10:
	ldr	w12, [x12]
Lloh11:
	ldr	w13, [x13]
	mov	w14, #1
	mov	w15, #13
	mov	w16, #18
	mov	x0, x3
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	cmp	x17, #0
	csel	x8, x3, x8, eq
	csel	x9, x4, x9, eq
	add	x17, x17, #1
	mov	w2, #133
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x3, x0
	mov	x4, x1
	cmp	w2, w13
	b.eq	LBB0_15
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
	ldr	w2, [x0], #4
	add	x1, x4, #4
	sub	w5, w2, #128
	cmp	w5, #5
	b.hi	LBB0_10
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	lsl	w5, w14, w5
	tst	w5, w15
	b.ne	LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	tst	w5, w16
	b.eq	LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x3
	mov	x1, x4
LBB0_8:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrsw	x3, [x1]
	add	x0, x0, x3, lsl #2
	ldr	w2, [x0]
	cmp	w2, w10
	ccmp	w2, w11, #4, ne
	ccmp	w2, w12, #4, ne
	b.ne	LBB0_13
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=2
	add	x1, x1, x3, lsl #2
	cmp	w2, w10
	ccmp	w2, w11, #4, ne
	b.ne	LBB0_8
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x3, [x19, #8]
	cmp	x17, x3
	b.le	LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_4 Depth=1
	str	x17, [x19, #8]
	mov	x21, x8
	mov	x22, x9
LBB0_12:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x17, #0
	b	LBB0_3
LBB0_13:
Lloh12:
	adrp	x8, _BAD@GOTPAGE
Lloh13:
	ldr	x8, [x8, _BAD@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	ldr	w9, [x19, #24]
	orr	w8, w9, w8
	str	w8, [x19, #24]
LBB0_14:
	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
LBB0_15:
	ldr	x23, [x19, #8]
	cbz	x23, LBB0_14
; %bb.16:
	lsl	x8, x23, #2
	add	x0, x8, #4
	bl	_malloc
	str	x0, [x19, #16]
	cbz	x0, LBB0_21
; %bb.17:
	mov	x20, x0
	cmp	x23, #1
	b.lt	LBB0_22
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x21], #4
	add	x22, x22, #4
	cmp	w8, #133
	b.ne	LBB0_18
; %bb.19:                               ;   in Loop: Header=BB0_18 Depth=1
	ldur	w24, [x22, #-4]
	ldp	x9, x8, [x19, #8]
	add	x8, x8, x9, lsl #2
	cmp	x20, x8
	cset	w0, lo
	bl	_assert
	str	w24, [x20], #4
	subs	x23, x23, #1
	b.gt	LBB0_18
; %bb.20:
	ldp	x23, x8, [x19, #8]
	b	LBB0_23
LBB0_21:
	str	xzr, [x19, #8]
	b	LBB0_14
LBB0_22:
	mov	x8, x20
LBB0_23:
	add	x8, x8, x23, lsl #2
	cmp	x20, x8
	cset	w0, eq
	bl	_assert
	str	wzr, [x20]
	b	LBB0_14
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh10
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_O_QUEST,4,2                    ; @O_QUEST
	.comm	_O_CH,4,2                       ; @O_CH
	.comm	_OOR2,4,2                       ; @OOR2
	.comm	_BAD,4,2                        ; @BAD
	.comm	_OEND,4,2                       ; @OEND
	.no_dead_strip	_findmust
.subsections_via_symbols
