	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gen_move
_gen_move:                              ## @gen_move
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r12d
	movl	%edx, %r15d
	movl	%esi, %r14d
	movq	%rdi, %rbx
	callq	_no_peephole
	testq	%rax, %rax
	je	LBB0_3
LBB0_1:
	movq	%rbx, %rdi
	movl	$129, %esi
	movl	%r14d, %edx
	movl	%r15d, %ecx
	callq	_genop_2
	movq	%rbx, %rdi
	callq	_on_eval
	testq	%rax, %rax
	je	LBB0_9
## %bb.2:
	movq	_OP_NOP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_genop_0                        ## TAILCALL
LBB0_3:
	movq	%rbx, %rdi
	callq	_mrb_last_insn
	leal	-128(%rax), %esi
	cmpl	$27, %esi
	ja	LBB0_1
## %bb.4:
	movq	%rax, %rcx
	shrq	$32, %rcx
	movl	$267780245, %edi                ## imm = 0xFF60095
	btl	%esi, %edi
	jae	LBB0_5
## %bb.14:
	testl	%r12d, %r12d
	jne	LBB0_1
## %bb.15:
	cmpl	%r15d, %edx
	jne	LBB0_1
## %bb.16:
	cmpl	%r15d, 8(%rbx)
	jg	LBB0_1
## %bb.17:
	movl	(%rbx), %edx
	movl	%edx, 4(%rbx)
	movq	%rbx, %rdi
	movl	%eax, %esi
	movl	%r14d, %edx
                                        ## kill: def $ecx killed $ecx killed $rcx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_genop_2                        ## TAILCALL
LBB0_5:
	movl	$655208, %edi                   ## imm = 0x9FF68
	btl	%esi, %edi
	jae	LBB0_6
## %bb.10:
	testl	%r12d, %r12d
	jne	LBB0_1
## %bb.11:
	cmpl	%r15d, %edx
	jne	LBB0_1
## %bb.12:
	cmpl	%r15d, 8(%rbx)
	jg	LBB0_1
## %bb.13:
	movl	(%rbx), %ecx
	movl	%ecx, 4(%rbx)
	movq	%rbx, %rdi
	movl	%eax, %esi
	movl	%r14d, %edx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_genop_1                        ## TAILCALL
LBB0_6:
	cmpl	%r15d, %r14d
	je	LBB0_9
## %bb.7:
	cmpl	%r14d, %ecx
	jne	LBB0_1
## %bb.8:
	cmpl	%r15d, %edx
	jne	LBB0_1
LBB0_9:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OP_NOP,4,2                     ## @OP_NOP
	.no_dead_strip	_gen_move
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gen_move
_gen_move:                              ; @gen_move
	.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	x22, x3
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
	bl	_no_peephole
	cbz	x0, LBB0_3
LBB0_1:
	mov	x0, x19
	mov	w1, #129
	mov	x2, x20
	mov	x3, x21
	bl	_genop_2
	mov	x0, x19
	bl	_on_eval
	cbz	x0, LBB0_17
; %bb.2:
Lloh0:
	adrp	x8, _OP_NOP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OP_NOP@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	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
	b	_genop_0
LBB0_3:
	mov	x0, x19
	bl	_mrb_last_insn
	mov	x8, x0
	sub	w9, w8, #128
	cmp	w9, #27
	b.hi	LBB0_1
; %bb.4:
	lsr	x3, x8, #32
	mov	w10, #1
	lsl	w9, w10, w9
	mov	w10, #149
	movk	w10, #4086, lsl #16
	tst	w9, w10
	b.eq	LBB0_9
; %bb.5:
	cbnz	w22, LBB0_1
; %bb.6:
	cmp	w1, w21
	b.ne	LBB0_1
; %bb.7:
	ldr	w9, [x19, #8]
	cmp	w9, w21
	b.gt	LBB0_1
; %bb.8:
	ldr	w9, [x19]
	str	w9, [x19, #4]
	mov	x0, x19
	mov	x1, x8
	mov	x2, x20
                                        ; kill: def $w3 killed $w3 killed $x3
	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
	b	_genop_2
LBB0_9:
	mov	w10, #65384
	movk	w10, #9, lsl #16
	tst	w9, w10
	b.eq	LBB0_14
; %bb.10:
	cbnz	w22, LBB0_1
; %bb.11:
	cmp	w1, w21
	b.ne	LBB0_1
; %bb.12:
	ldr	w9, [x19, #8]
	cmp	w9, w21
	b.gt	LBB0_1
; %bb.13:
	ldr	w9, [x19]
	str	w9, [x19, #4]
	mov	x0, x19
	mov	x1, x8
	mov	x2, x20
	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
	b	_genop_1
LBB0_14:
	cmp	w20, w21
	b.eq	LBB0_17
; %bb.15:
	cmp	w3, w20
	b.ne	LBB0_1
; %bb.16:
	cmp	w1, w21
	b.ne	LBB0_1
LBB0_17:
	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
	.cfi_endproc
                                        ; -- End function
	.comm	_OP_NOP,4,2                     ; @OP_NOP
	.no_dead_strip	_gen_move
.subsections_via_symbols
