	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function optest
_optest:                                ## @optest
	.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	%rdx, %rbx
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	%rdx, %rdi
	callq	_is_valid_registers
	movq	(%rbx), %rdx
	movl	(%rdx), %eax
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	cmpl	$0, 32(%rdx)
	je	LBB0_2
## %bb.3:
	xorl	%ecx, %ecx
	cmpl	$64, (%r15)
	jne	LBB0_12
## %bb.4:
	movq	_OT_MEMORY@GOTPCREL(%rip), %rsi
	xorl	%ecx, %ecx
	testl	%eax, (%rsi)
	je	LBB0_7
## %bb.5:
	movq	_OT_DWORD@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	testl	%esi, 4(%rdx)
	je	LBB0_7
## %bb.6:
	movl	$103, (%r14)
	movl	(%rdx), %eax
	movl	$1, %ecx
LBB0_7:
	movq	_OT_QWORD@GOTPCREL(%rip), %rsi
	testl	%eax, (%rsi)
	je	LBB0_12
## %bb.8:
	cmpq	$0, 24(%rdx)
	je	LBB0_10
## %bb.9:
	movl	$77, %eax
	cmpq	$0, 56(%rdx)
	jne	LBB0_11
LBB0_10:
	movl	$72, %eax
LBB0_11:
	movl	%ecx, %esi
	incl	%ecx
	movl	%eax, (%r14,%rsi,4)
LBB0_12:
	movl	(%rdx), %edi
	movl	32(%rdx), %eax
	movq	_OT_CONSTANT@GOTPCREL(%rip), %rsi
	movq	_OT_BYTE@GOTPCREL(%rip), %r8
	movl	(%r8), %ebx
	testl	%eax, (%rsi)
	je	LBB0_21
## %bb.13:
	movl	$246, %eax
	testl	%edi, %ebx
	je	LBB0_14
LBB0_17:
	movl	%ecx, %edi
	movl	%eax, (%r14,%rdi,4)
	movq	_OT_MEMORY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	(%rdx), %eax
	movl	8(%rdx), %ebx
	movl	%ebx, %esi
	orl	$192, %esi
	testl	%eax, %eax
	cmovnel	%ebx, %esi
	movl	%esi, 4(%r14,%rdi,4)
	movl	44(%rdx), %esi
	leal	3(%rcx), %eax
	movl	%esi, 8(%r14,%rdi,4)
	movl	(%r8), %esi
	testl	%esi, (%rdx)
	jne	LBB0_28
## %bb.18:
	movl	44(%rdx), %ebx
	sarl	$8, %ebx
	leal	4(%rcx), %esi
	movl	%eax, %eax
	movl	%ebx, (%r14,%rax,4)
	movq	_OT_WORD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rdx)
	je	LBB0_20
## %bb.19:
	movl	%esi, %eax
	jmp	LBB0_28
LBB0_2:
	leaq	L_.str(%rip), %rdi
	callq	_eprintf
	movl	$-1, %eax
	jmp	LBB0_28
LBB0_21:
	orl	%eax, %edi
	xorl	%eax, %eax
	testl	%edi, %ebx
	sete	%al
	movl	%ecx, %esi
	orl	$132, %eax
	movl	%eax, (%r14,%rsi,4)
	leal	1(%rcx), %eax
	movq	_OT_MEMORY@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	testl	%esi, (%rdx)
	je	LBB0_23
## %bb.22:
	movl	40(%rdx), %esi
	shll	$3, %esi
	movq	16(%rdx), %rdx
	orl	(%rdx), %esi
	jmp	LBB0_26
LBB0_14:
	movq	_OT_WORD@GOTPCREL(%rip), %rsi
	movl	$247, %eax
	testl	%edi, (%rsi)
	je	LBB0_17
## %bb.15:
	cmpl	$16, (%r15)
	je	LBB0_17
## %bb.16:
	movl	%ecx, %esi
	incl	%ecx
	movl	$102, (%r14,%rsi,4)
	jmp	LBB0_17
LBB0_23:
	testl	%esi, 32(%rdx)
	je	LBB0_25
## %bb.24:
	movl	8(%rdx), %esi
	shll	$3, %esi
	movq	48(%rdx), %rdx
	orl	(%rdx), %esi
	jmp	LBB0_26
LBB0_20:
	movswl	46(%rdx), %eax
	movl	%esi, %esi
	movl	%eax, (%r14,%rsi,4)
	movsbl	47(%rdx), %eax
	addl	$6, %ecx
	movl	%eax, 20(%r14,%rdi,4)
	jmp	LBB0_27
LBB0_25:
	movl	40(%rdx), %esi
	shll	$3, %esi
	orl	8(%rdx), %esi
	orl	$192, %esi
LBB0_26:
	movl	%eax, %eax
	movl	%esi, (%r14,%rax,4)
	addl	$2, %ecx
LBB0_27:
	movl	%ecx, %eax
LBB0_28:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Error: Invalid operands\n"

	.comm	_OT_MEMORY,4,2                  ## @OT_MEMORY
	.comm	_OT_DWORD,4,2                   ## @OT_DWORD
	.comm	_OT_QWORD,4,2                   ## @OT_QWORD
	.comm	_OT_CONSTANT,4,2                ## @OT_CONSTANT
	.comm	_OT_BYTE,4,2                    ## @OT_BYTE
	.comm	_OT_WORD,4,2                    ## @OT_WORD
	.no_dead_strip	_optest
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function optest
_optest:                                ; @optest
	.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	x21, x2
	mov	x19, x1
	mov	x20, x0
	mov	x0, x2
	bl	_is_valid_registers
	ldr	x8, [x21]
	ldr	w11, [x8]
	cbz	w11, LBB0_6
; %bb.1:
	ldr	w9, [x8, #32]
	cbz	w9, LBB0_6
; %bb.2:
	ldr	w9, [x20]
Lloh0:
	adrp	x10, _OT_MEMORY@GOTPAGE
Lloh1:
	ldr	x10, [x10, _OT_MEMORY@GOTPAGEOFF]
	cmp	w9, #64
	b.ne	LBB0_8
; %bb.3:
	ldr	w9, [x10]
	tst	w9, w11
	b.eq	LBB0_9
; %bb.4:
	ldr	w9, [x8, #4]
Lloh2:
	adrp	x12, _OT_DWORD@GOTPAGE
Lloh3:
	ldr	x12, [x12, _OT_DWORD@GOTPAGEOFF]
Lloh4:
	ldr	w12, [x12]
	tst	w12, w9
	b.eq	LBB0_9
; %bb.5:
	mov	w9, #103
	str	w9, [x19]
	ldr	w11, [x8]
	mov	w9, #1
	b	LBB0_10
LBB0_6:
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	bl	_eprintf
	mov	w0, #-1
LBB0_7:
	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_8:
	mov	w9, #0
	b	LBB0_16
LBB0_9:
	mov	w9, #0
LBB0_10:
Lloh7:
	adrp	x12, _OT_QWORD@GOTPAGE
Lloh8:
	ldr	x12, [x12, _OT_QWORD@GOTPAGEOFF]
Lloh9:
	ldr	w12, [x12]
	tst	w12, w11
	b.eq	LBB0_16
; %bb.11:
	ldr	x11, [x8, #24]
	cbz	x11, LBB0_14
; %bb.12:
	ldr	x11, [x8, #56]
	cbz	x11, LBB0_14
; %bb.13:
	mov	w11, #77
	b	LBB0_15
LBB0_14:
	mov	w11, #72
LBB0_15:
	str	w11, [x19, w9, uxtw #2]
	add	w9, w9, #1
LBB0_16:
	ldr	w13, [x8, #32]
Lloh10:
	adrp	x11, _OT_CONSTANT@GOTPAGE
Lloh11:
	ldr	x11, [x11, _OT_CONSTANT@GOTPAGEOFF]
Lloh12:
	ldr	w16, [x11]
	ldr	w12, [x8]
Lloh13:
	adrp	x11, _OT_BYTE@GOTPAGE
Lloh14:
	ldr	x11, [x11, _OT_BYTE@GOTPAGEOFF]
	ldr	w15, [x11]
	and	w14, w15, w12
	tst	w16, w13
	b.eq	LBB0_19
; %bb.17:
	cbz	w14, LBB0_21
; %bb.18:
	mov	w12, #246
	b	LBB0_25
LBB0_19:
	and	w11, w15, w13
	orr	w11, w14, w11
	cmp	w11, #0
	mov	w11, #132
	cinc	w11, w11, eq
	str	w11, [x19, w9, uxtw #2]
	add	w11, w9, #1
	ldr	w12, [x8]
	ldr	w10, [x10]
	tst	w10, w12
	b.eq	LBB0_28
; %bb.20:
	ldr	w10, [x8, #40]
	ldr	x8, [x8, #16]
	b	LBB0_30
LBB0_21:
Lloh15:
	adrp	x13, _OT_WORD@GOTPAGE
Lloh16:
	ldr	x13, [x13, _OT_WORD@GOTPAGEOFF]
Lloh17:
	ldr	w13, [x13]
	tst	w13, w12
	b.eq	LBB0_24
; %bb.22:
	ldr	w12, [x20]
	cmp	w12, #16
	b.eq	LBB0_24
; %bb.23:
	mov	w12, #102
	str	w12, [x19, w9, uxtw #2]
	add	w9, w9, #1
LBB0_24:
	mov	w12, #247
LBB0_25:
	str	w12, [x19, w9, uxtw #2]
	add	w12, w9, #1
	ldr	w13, [x8]
	ldr	w10, [x10]
	ldr	w14, [x8, #8]
	orr	w15, w14, #0xc0
	tst	w10, w13
	csel	w10, w15, w14, eq
	str	w10, [x19, w12, uxtw #2]
	add	w10, w9, #2
	ldr	w12, [x8, #44]
	add	w0, w9, #3
	str	w12, [x19, w10, uxtw #2]
	ldr	w10, [x8]
	ldr	w11, [x11]
	tst	w11, w10
	b.ne	LBB0_7
; %bb.26:
	ldr	w10, [x8, #44]
	asr	w10, w10, #8
	str	w10, [x19, w0, uxtw #2]
	add	w0, w9, #4
	ldr	w10, [x8]
Lloh18:
	adrp	x11, _OT_WORD@GOTPAGE
Lloh19:
	ldr	x11, [x11, _OT_WORD@GOTPAGEOFF]
Lloh20:
	ldr	w11, [x11]
	tst	w11, w10
	b.ne	LBB0_7
; %bb.27:
	ldrsh	w10, [x8, #46]
	add	w11, w9, #5
	str	w10, [x19, w0, uxtw #2]
	ldrsb	w8, [x8, #47]
	add	w0, w9, #6
	str	w8, [x19, w11, uxtw #2]
	b	LBB0_7
LBB0_28:
	ldr	w12, [x8, #32]
	tst	w12, w10
	b.eq	LBB0_32
; %bb.29:
	ldr	w10, [x8, #8]
	ldr	x8, [x8, #48]
LBB0_30:
	ldr	w8, [x8]
	orr	w8, w8, w10, lsl #3
LBB0_31:
	str	w8, [x19, w11, uxtw #2]
	add	w0, w9, #2
	b	LBB0_7
LBB0_32:
	ldr	w10, [x8, #40]
	ldr	w8, [x8, #8]
	orr	w8, w8, w10, lsl #3
	orr	w8, w8, #0xc0
	b	LBB0_31
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Error: Invalid operands\n"

	.comm	_OT_MEMORY,4,2                  ; @OT_MEMORY
	.comm	_OT_DWORD,4,2                   ; @OT_DWORD
	.comm	_OT_QWORD,4,2                   ; @OT_QWORD
	.comm	_OT_CONSTANT,4,2                ; @OT_CONSTANT
	.comm	_OT_BYTE,4,2                    ; @OT_BYTE
	.comm	_OT_WORD,4,2                    ; @OT_WORD
	.no_dead_strip	_optest
.subsections_via_symbols
