	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function opmovx
_opmovx:                                ## @opmovx
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, %r14
	movq	%rdx, %rdi
	callq	_is_valid_registers
	movq	8(%rbx), %r15
	movq	_OT_REGTYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	$-1, %eax
	testl	%ecx, (%r15)
	je	LBB0_9
## %bb.1:
	movl	16(%r15), %ecx
	movq	_OT_MEMORY@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	je	LBB0_9
## %bb.2:
	movq	(%rbx), %rbx
	addq	$3, %rbx
	movq	_OT_WORD@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
	andl	(%rax), %ecx
	setne	%r13b
	movl	$15, (%r14)
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	movl	$1, %ecx
	testl	%eax, %eax
	jne	LBB0_7
## %bb.5:
	movl	$190, %eax
	jmp	LBB0_6
LBB0_3:
	movl	$182, %eax
LBB0_6:
	movb	%r13b, %r12b
	orl	%eax, %r12d
	movl	%r12d, 4(%r14)
	movl	$2, %ecx
LBB0_7:
	movl	4(%r15), %edx
	shll	$3, %edx
	movq	24(%r15), %rsi
	orl	(%rsi), %edx
	leal	1(%rcx), %eax
	movl	%ecx, %edi
	movl	%edx, (%r14,%rdi,4)
	movl	(%rsi), %edx
	movq	_X86R_ESP@GOTPCREL(%rip), %rsi
	cmpl	(%rsi), %edx
	jne	LBB0_9
## %bb.8:
	addl	$2, %ecx
	movl	%eax, %eax
	movl	$36, (%r14,%rax,4)
	movl	%ecx, %eax
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OT_REGTYPE,4,2                 ## @OT_REGTYPE
	.comm	_OT_MEMORY,4,2                  ## @OT_MEMORY
	.comm	_OT_WORD,4,2                    ## @OT_WORD
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"zx"

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

	.comm	_X86R_ESP,4,2                   ## @X86R_ESP
	.no_dead_strip	_opmovx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function opmovx
_opmovx:                                ; @opmovx
	.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	x20, x2
	mov	x19, x1
	mov	x0, x2
	bl	_is_valid_registers
	ldr	x21, [x20, #8]
	ldr	w8, [x21]
Lloh0:
	adrp	x9, _OT_REGTYPE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _OT_REGTYPE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.1:
	ldr	w8, [x21, #16]
Lloh3:
	adrp	x9, _OT_MEMORY@GOTPAGE
Lloh4:
	ldr	x9, [x9, _OT_MEMORY@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.2:
	ldr	x9, [x20]
Lloh6:
	adrp	x10, _OT_WORD@GOTPAGE
Lloh7:
	ldr	x10, [x10, _OT_WORD@GOTPAGEOFF]
	add	x20, x9, #3
Lloh8:
	ldr	w9, [x10]
	tst	w9, w8
	cset	w22, ne
	mov	w8, #15
	str	w8, [x19]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_strcmp
	cbz	w0, LBB0_6
; %bb.3:
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_strcmp
	cbz	w0, LBB0_7
; %bb.4:
	mov	w8, #1
	b	LBB0_9
LBB0_5:
	mov	w0, #-1
	b	LBB0_11
LBB0_6:
	mov	w8, #182
	b	LBB0_8
LBB0_7:
	mov	w8, #190
LBB0_8:
	orr	w8, w8, w22
	str	w8, [x19, #4]
	mov	w8, #2
LBB0_9:
	ldr	w9, [x21, #4]
	ldr	x10, [x21, #24]
	ldr	w11, [x10]
	orr	w9, w11, w9, lsl #3
	str	w9, [x19, w8, uxtw #2]
	add	w0, w8, #1
	ldr	w9, [x10]
Lloh13:
	adrp	x10, _X86R_ESP@GOTPAGE
Lloh14:
	ldr	x10, [x10, _X86R_ESP@GOTPAGEOFF]
Lloh15:
	ldr	w10, [x10]
	cmp	w9, w10
	b.ne	LBB0_11
; %bb.10:
	mov	w9, #36
	str	w9, [x19, w0, uxtw #2]
	add	w0, w8, #2
LBB0_11:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_OT_REGTYPE,4,2                 ; @OT_REGTYPE
	.comm	_OT_MEMORY,4,2                  ; @OT_MEMORY
	.comm	_OT_WORD,4,2                    ; @OT_WORD
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"zx"

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

	.comm	_X86R_ESP,4,2                   ; @X86R_ESP
	.no_dead_strip	_opmovx
.subsections_via_symbols
