	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_loop_reg                       ## -- Begin function loop_reg
	.p2align	4, 0x90
_loop_reg:                              ## @loop_reg
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r11d
	movl	%esi, -56(%rbp)                 ## 4-byte Spill
                                        ## kill: def $edi killed $edi def $rdi
	movq	_slen@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%edi, %esi
	movq	_itype@GOTPCREL(%rip), %rax
	movq	(%rax), %r9
	movq	_UJUMP@GOTPCREL(%rip), %rax
	movq	(%rax), %r10
	movslq	%edi, %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	cmpl	%edi, %edx
	cmovgl	%edx, %esi
	jle	LBB0_1
## %bb.2:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%r9,%rax,8), %rax
	movl	$1, %r14d
	cmpq	%r10, %rax
	je	LBB0_26
## %bb.3:
	movq	_RJUMP@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r8
	cmpq	%r8, %rax
	je	LBB0_26
## %bb.4:
	subl	%edi, %esi
	cmpl	$1, %esi
	je	LBB0_1
## %bb.5:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	8(%r9,%rax,8), %rax
	movl	$2, %r14d
	cmpq	%r10, %rax
	je	LBB0_26
## %bb.6:
	cmpq	%r8, %rax
	je	LBB0_26
## %bb.7:
	cmpl	$2, %esi
	je	LBB0_1
## %bb.8:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	16(%r9,%rax,8), %rax
	movl	$3, %r14d
	cmpq	%r10, %rax
	je	LBB0_26
## %bb.9:
	cmpq	%r8, %rax
	je	LBB0_26
## %bb.10:
	cmpl	$3, %esi
	je	LBB0_1
## %bb.11:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	24(%r9,%rax,8), %rax
	movl	$4, %r14d
	cmpq	%r10, %rax
	je	LBB0_26
## %bb.12:
	cmpq	%r8, %rax
	je	LBB0_26
## %bb.13:
	cmpl	$4, %esi
	je	LBB0_1
## %bb.14:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	32(%r9,%rax,8), %rax
	movl	$5, %r14d
	cmpq	%r10, %rax
	je	LBB0_26
## %bb.15:
	cmpq	%r8, %rax
	je	LBB0_26
## %bb.16:
	cmpl	$5, %esi
	je	LBB0_1
## %bb.17:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	40(%r9,%rax,8), %rax
	movl	$6, %r14d
	cmpq	%r10, %rax
	je	LBB0_26
## %bb.18:
	cmpq	%r8, %rax
	je	LBB0_26
## %bb.19:
	cmpl	$6, %esi
	je	LBB0_1
## %bb.20:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	48(%r9,%rax,8), %rax
	movl	$7, %r14d
	cmpq	%r10, %rax
	je	LBB0_26
## %bb.21:
	cmpq	%r8, %rax
	je	LBB0_26
## %bb.22:
	cmpl	$7, %esi
	je	LBB0_1
## %bb.23:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	56(%r9,%rax,8), %rax
	movl	$8, %r14d
	cmpq	%r10, %rax
	je	LBB0_26
## %bb.24:
	cmpq	%r8, %rax
	je	LBB0_26
## %bb.25:
	movl	$9, %r14d
	cmpl	$8, %esi
	jne	LBB0_26
LBB0_1:
	movl	%edi, %eax
	notl	%eax
	addl	%eax, %edx
	movl	%edx, %r14d
LBB0_26:
	testl	%edi, %edi
	jle	LBB0_27
## %bb.28:
	leal	-1(%rdi), %eax
	movq	(%r9,%rax,8), %rax
	cmpq	%r10, %rax
	sete	%cl
	movq	_CJUMP@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	sete	%dl
	movq	_SJUMP@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rax
	sete	%al
	orb	%dl, %al
	orb	%cl, %al
	movzbl	%al, %eax
	negl	%eax
	cmpl	%r14d, %eax
	jl	LBB0_30
	jmp	LBB0_44
LBB0_27:
	xorl	%eax, %eax
	cmpl	%r14d, %eax
	jge	LBB0_44
LBB0_30:
	movl	%r11d, -52(%rbp)                ## 4-byte Spill
	movl	$1, %r11d
	movl	-56(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %ecx
	shll	%cl, %r11d
	addl	%edi, %edi
	movslq	%edi, %rcx
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movslq	%eax, %r13
	movq	-48(%rbp), %r8                  ## 8-byte Reload
	leaq	(%r8,%r13), %r12
	subl	%eax, %r14d
	movq	_unneeded_reg@GOTPCREL(%rip), %r9
	movq	_CJUMP@GOTPCREL(%rip), %r10
	movq	_SJUMP@GOTPCREL(%rip), %r15
	movq	_itype@GOTPCREL(%rip), %rsi
	movq	_UJUMP@GOTPCREL(%rip), %rdi
	movl	%r11d, -60(%rbp)                ## 4-byte Spill
	jmp	LBB0_31
	.p2align	4, 0x90
LBB0_42:                                ##   in Loop: Header=BB0_31 Depth=1
	incq	%r13
	incq	%r12
	decl	%r14d
	je	LBB0_43
LBB0_31:                                ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rax
	cmpl	$63, %ebx
	jg	LBB0_34
## %bb.32:                              ##   in Loop: Header=BB0_31 Depth=1
	movq	(%r9), %rax
	testl	%r11d, (%rax,%r12,4)
	jne	LBB0_43
## %bb.33:                              ##   in Loop: Header=BB0_31 Depth=1
	leaq	(%r8,%r13), %rax
LBB0_34:                                ##   in Loop: Header=BB0_31 Depth=1
	testq	%rax, %rax
	js	LBB0_42
## %bb.35:                              ##   in Loop: Header=BB0_31 Depth=1
	movq	(%rsi), %rcx
	movl	%eax, %eax
	movq	(%rcx,%rax,8), %rcx
	cmpq	(%rdi), %rcx
	je	LBB0_38
## %bb.36:                              ##   in Loop: Header=BB0_31 Depth=1
	cmpq	(%r10), %rcx
	je	LBB0_38
## %bb.37:                              ##   in Loop: Header=BB0_31 Depth=1
	cmpq	(%r15), %rcx
	jne	LBB0_42
LBB0_38:                                ##   in Loop: Header=BB0_31 Depth=1
	movq	_ba@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx,%rax,8), %rcx
	movq	_start@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	%rcx, %rax
	subq	%rdx, %rax
	jl	LBB0_42
## %bb.39:                              ##   in Loop: Header=BB0_31 Depth=1
	addq	-72(%rbp), %rdx                 ## 8-byte Folded Reload
	cmpq	%rdx, %rcx
	jge	LBB0_42
## %bb.40:                              ##   in Loop: Header=BB0_31 Depth=1
	movq	_regs@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	shrq	%rax
	cltq
	movl	(%rcx,%rax,4), %edi
	movl	%ebx, %esi
	movq	%r9, %rbx
	movq	%r10, %r15
	callq	_get_reg
	movl	-60(%rbp), %r11d                ## 4-byte Reload
	movq	%r15, %r10
	movq	_SJUMP@GOTPCREL(%rip), %r15
	movq	%rbx, %r9
	movl	-56(%rbp), %ebx                 ## 4-byte Reload
	movq	-48(%rbp), %r8                  ## 8-byte Reload
	movq	_UJUMP@GOTPCREL(%rip), %rdi
	movq	_itype@GOTPCREL(%rip), %rsi
	testl	%eax, %eax
	js	LBB0_42
## %bb.41:
	movl	%eax, %r11d
	jmp	LBB0_44
LBB0_43:
	movl	-52(%rbp), %r11d                ## 4-byte Reload
LBB0_44:
	movl	%r11d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_slen,4,2                       ## @slen
	.comm	_itype,8,3                      ## @itype
	.comm	_UJUMP,8,3                      ## @UJUMP
	.comm	_RJUMP,8,3                      ## @RJUMP
	.comm	_CJUMP,8,3                      ## @CJUMP
	.comm	_SJUMP,8,3                      ## @SJUMP
	.comm	_unneeded_reg,8,3               ## @unneeded_reg
	.comm	_ba,8,3                         ## @ba
	.comm	_start,8,3                      ## @start
	.comm	_regs,8,3                       ## @regs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_loop_reg                       ; -- Begin function loop_reg
	.p2align	2
_loop_reg:                              ; @loop_reg
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	mov	x26, x1
                                        ; kill: def $w0 killed $w0 def $x0
Lloh0:
	adrp	x8, _slen@GOTPAGE
Lloh1:
	ldr	x8, [x8, _slen@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x8]
	cmp	w10, w0
	csel	w11, w10, w0, gt
Lloh3:
	adrp	x15, _itype@GOTPAGE
Lloh4:
	ldr	x15, [x15, _itype@GOTPAGEOFF]
	ldr	x8, [x15]
Lloh5:
	adrp	x16, _UJUMP@GOTPAGE
Lloh6:
	ldr	x16, [x16, _UJUMP@GOTPAGEOFF]
	ldr	x9, [x16]
	sxtw	x17, w0
	cmp	w10, w0
	str	x17, [sp, #8]                   ; 8-byte Folded Spill
	b.le	LBB0_25
; %bb.1:
Lloh7:
	adrp	x12, _RJUMP@GOTPAGE
Lloh8:
	ldr	x12, [x12, _RJUMP@GOTPAGEOFF]
Lloh9:
	ldr	x12, [x12]
	ldr	x13, [x8, x17, lsl #3]
	cmp	x13, x9
	ccmp	x13, x12, #4, ne
	b.ne	LBB0_3
; %bb.2:
	mov	w11, #1
	b	LBB0_26
LBB0_3:
	sub	w13, w11, w0
	cmp	w13, #1
	b.eq	LBB0_25
; %bb.4:
	add	x11, x8, x17, lsl #3
	ldr	x11, [x11, #8]
	cmp	x11, x9
	ccmp	x11, x12, #4, ne
	b.ne	LBB0_6
; %bb.5:
	mov	w11, #2
	b	LBB0_26
LBB0_6:
	cmp	w13, #2
	b.eq	LBB0_25
; %bb.7:
	add	x11, x8, x17, lsl #3
	ldr	x11, [x11, #16]
	cmp	x11, x9
	ccmp	x11, x12, #4, ne
	b.ne	LBB0_9
; %bb.8:
	mov	w11, #3
	b	LBB0_26
LBB0_9:
	cmp	w13, #3
	b.eq	LBB0_25
; %bb.10:
	add	x11, x8, x17, lsl #3
	ldr	x11, [x11, #24]
	cmp	x11, x9
	ccmp	x11, x12, #4, ne
	b.ne	LBB0_12
; %bb.11:
	mov	w11, #4
	b	LBB0_26
LBB0_12:
	cmp	w13, #4
	b.eq	LBB0_25
; %bb.13:
	add	x11, x8, x17, lsl #3
	ldr	x11, [x11, #32]
	cmp	x11, x9
	ccmp	x11, x12, #4, ne
	b.ne	LBB0_15
; %bb.14:
	mov	w11, #5
	b	LBB0_26
LBB0_15:
	cmp	w13, #5
	b.eq	LBB0_25
; %bb.16:
	add	x11, x8, x17, lsl #3
	ldr	x14, [x11, #40]
	mov	w11, #6
	cmp	x14, x9
	b.eq	LBB0_26
; %bb.17:
	cmp	x14, x12
	b.eq	LBB0_26
; %bb.18:
	cmp	w13, #6
	b.eq	LBB0_25
; %bb.19:
	add	x11, x8, x17, lsl #3
	ldr	x14, [x11, #48]
	mov	w11, #7
	cmp	x14, x9
	b.eq	LBB0_26
; %bb.20:
	cmp	x14, x12
	b.eq	LBB0_26
; %bb.21:
	cmp	w13, #7
	b.eq	LBB0_25
; %bb.22:
	add	x11, x8, x17, lsl #3
	ldr	x14, [x11, #56]
	mov	w11, #8
	cmp	x14, x9
	b.eq	LBB0_41
; %bb.23:
	cmp	x14, x12
Lloh10:
	adrp	x15, _itype@GOTPAGE
Lloh11:
	ldr	x15, [x15, _itype@GOTPAGEOFF]
Lloh12:
	adrp	x16, _UJUMP@GOTPAGE
Lloh13:
	ldr	x16, [x16, _UJUMP@GOTPAGEOFF]
	ldr	x17, [sp, #8]                   ; 8-byte Folded Reload
	b.eq	LBB0_26
; %bb.24:
	cmp	w13, #8
	b.ne	LBB0_42
LBB0_25:
	mvn	w11, w0
	add	w11, w10, w11
LBB0_26:
Lloh14:
	adrp	x25, _CJUMP@GOTPAGE
Lloh15:
	ldr	x25, [x25, _CJUMP@GOTPAGEOFF]
Lloh16:
	adrp	x27, _SJUMP@GOTPAGE
Lloh17:
	ldr	x27, [x27, _SJUMP@GOTPAGEOFF]
	subs	w10, w0, #1
	b.lt	LBB0_28
; %bb.27:
	ldr	x8, [x8, w10, uxtw #3]
	cmp	x8, x9
	ldr	x9, [x25]
	ccmp	x8, x9, #4, ne
	ldr	x9, [x27]
	ccmp	x8, x9, #4, ne
	cset	w8, eq
	sbfx	w8, w8, #0, #1
	cmp	w8, w11
	b.lt	LBB0_29
	b	LBB0_40
LBB0_28:
	mov	w8, #0
	cmp	w8, w11
	b.ge	LBB0_40
LBB0_29:
	str	w2, [sp, #4]                    ; 4-byte Folded Spill
	mov	w9, #1
	lsl	w22, w9, w26
	lsl	w9, w0, #1
	sxtw	x20, w9
	sxtw	x28, w8
	add	x19, x28, x17
	sub	w21, w11, w8
Lloh18:
	adrp	x24, _unneeded_reg@GOTPAGE
Lloh19:
	ldr	x24, [x24, _unneeded_reg@GOTPAGEOFF]
Lloh20:
	adrp	x23, _ba@GOTPAGE
Lloh21:
	ldr	x23, [x23, _ba@GOTPAGEOFF]
Lloh22:
	adrp	x14, _start@GOTPAGE
Lloh23:
	ldr	x14, [x14, _start@GOTPAGEOFF]
	b	LBB0_31
LBB0_30:                                ;   in Loop: Header=BB0_31 Depth=1
	add	x28, x28, #1
	add	x19, x19, #1
	subs	w21, w21, #1
	b.eq	LBB0_39
LBB0_31:                                ; =>This Inner Loop Header: Depth=1
	mov	x8, x19
	cmp	w26, #63
	b.gt	LBB0_34
; %bb.32:                               ;   in Loop: Header=BB0_31 Depth=1
	ldr	x8, [x24]
	ldr	w8, [x8, x19, lsl #2]
	tst	w8, w22
	b.ne	LBB0_39
; %bb.33:                               ;   in Loop: Header=BB0_31 Depth=1
	add	x8, x28, x17
LBB0_34:                                ;   in Loop: Header=BB0_31 Depth=1
	tbnz	x8, #63, LBB0_30
; %bb.35:                               ;   in Loop: Header=BB0_31 Depth=1
	ldr	x9, [x15]
	ldr	x9, [x9, w8, uxtw #3]
	ldr	x10, [x16]
	ldr	x11, [x25]
	ldr	x12, [x27]
	cmp	x9, x10
	ccmp	x9, x11, #4, ne
	ccmp	x9, x12, #4, ne
	b.ne	LBB0_30
; %bb.36:                               ;   in Loop: Header=BB0_31 Depth=1
	and	x8, x8, #0xffffffff
	ldr	x9, [x23]
	ldr	x9, [x9, x8, lsl #3]
	ldr	x8, [x14]
	add	x10, x8, x20
	subs	x8, x9, x8
	ccmp	x9, x10, #0, ge
	b.ge	LBB0_30
; %bb.37:                               ;   in Loop: Header=BB0_31 Depth=1
Lloh24:
	adrp	x9, _regs@GOTPAGE
Lloh25:
	ldr	x9, [x9, _regs@GOTPAGEOFF]
Lloh26:
	ldr	x9, [x9]
	lsr	x8, x8, #1
	ldr	w0, [x9, w8, sxtw #2]
	mov	x1, x26
	bl	_get_reg
Lloh27:
	adrp	x14, _start@GOTPAGE
Lloh28:
	ldr	x14, [x14, _start@GOTPAGEOFF]
	ldr	x17, [sp, #8]                   ; 8-byte Folded Reload
Lloh29:
	adrp	x16, _UJUMP@GOTPAGE
Lloh30:
	ldr	x16, [x16, _UJUMP@GOTPAGEOFF]
Lloh31:
	adrp	x15, _itype@GOTPAGE
Lloh32:
	ldr	x15, [x15, _itype@GOTPAGEOFF]
	tbnz	w0, #31, LBB0_30
; %bb.38:
	mov	x2, x0
	b	LBB0_40
LBB0_39:
	ldr	w2, [sp, #4]                    ; 4-byte Folded Reload
LBB0_40:
	mov	x0, x2
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_41:
Lloh33:
	adrp	x15, _itype@GOTPAGE
Lloh34:
	ldr	x15, [x15, _itype@GOTPAGEOFF]
Lloh35:
	adrp	x16, _UJUMP@GOTPAGE
Lloh36:
	ldr	x16, [x16, _UJUMP@GOTPAGEOFF]
	ldr	x17, [sp, #8]                   ; 8-byte Folded Reload
	b	LBB0_26
LBB0_42:
	mov	w11, #9
	b	LBB0_26
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh33, Lloh34
	.cfi_endproc
                                        ; -- End function
	.comm	_slen,4,2                       ; @slen
	.comm	_itype,8,3                      ; @itype
	.comm	_UJUMP,8,3                      ; @UJUMP
	.comm	_RJUMP,8,3                      ; @RJUMP
	.comm	_CJUMP,8,3                      ; @CJUMP
	.comm	_SJUMP,8,3                      ; @SJUMP
	.comm	_unneeded_reg,8,3               ; @unneeded_reg
	.comm	_ba,8,3                         ; @ba
	.comm	_start,8,3                      ; @start
	.comm	_regs,8,3                       ; @regs
.subsections_via_symbols
