	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gen_op
_gen_op:                                ## @gen_op
	.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
	movq	%r8, %r14
	movq	%rcx, %r13
	movl	%edx, %ebx
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r12
	movl	%r9d, %edi
	callq	_sz
	movl	%eax, %edx
	movq	_arg_count@GOTPCREL(%rip), %rax
	movslq	(%rax), %r15
	leal	-128(%rbx), %eax
	cmpl	$3, %eax
	ja	LBB0_8
## %bb.1:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_3:
	movl	16(%r13), %eax
	movq	_modrm_reg@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_5
## %bb.4:
	movq	_arg_reg_a@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	addl	4(%r13), %ebx
	jmp	LBB0_8
LBB0_6:
	movq	32(%rbp), %rax
	movq	_arg_mem@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	movq	_modrm_mem@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 16(%r13)
	movq	_reg_none@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 4(%r13)
	movq	%rax, 8(%r13)
	jmp	LBB0_8
LBB0_7:
	movq	_arg_imm@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	$1, (%r14)
	jmp	LBB0_8
LBB0_2:
	movq	_arg_reg_a@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	addl	(%r13), %ebx
	jmp	LBB0_8
LBB0_5:
	movq	_arg_mem@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_8:
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	movq	16(%rbp), %r14
	movq	_arg_mem@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	je	LBB0_10
## %bb.9:
	movq	_arg_addr@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jne	LBB0_12
LBB0_10:
	movq	%r12, %rdi
	movl	%edx, %r12d
	movl	24(%rbp), %edx
	movq	%r13, %rsi
	movq	%r14, %rcx
	callq	_gen_addr
	movl	%r12d, %edx
	testl	%eax, %eax
	je	LBB0_11
LBB0_12:
	movslq	%edx, %rax
	imulq	%rax, %r15
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%r15,8), %rax
	movl	%ebx, %ecx
	movq	(%rax,%rcx,8), %rdi
	callq	_GEN
	movq	_arg_imm@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jne	LBB0_14
## %bb.13:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %r14
	jmp	LBB0_15
LBB0_14:
	movl	$1, %eax
	movq	_arg_mem@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %ebx
	jne	LBB0_16
LBB0_15:
	movq	%r14, %rdi
	callq	_GEN
	movl	$1, %eax
	jmp	LBB0_16
LBB0_11:
	xorl	%eax, %eax
LBB0_16:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
LJTI0_0:
	.long	L0_0_set_3
	.long	L0_0_set_2
	.long	L0_0_set_6
	.long	L0_0_set_7
	.end_data_region
                                        ## -- End function
	.comm	_arg_count,4,2                  ## @arg_count
	.comm	_arg_reg_a,4,2                  ## @arg_reg_a
	.comm	_modrm_reg,4,2                  ## @modrm_reg
	.comm	_arg_mem,4,2                    ## @arg_mem
	.comm	_modrm_mem,4,2                  ## @modrm_mem
	.comm	_reg_none,4,2                   ## @reg_none
	.comm	_arg_imm,4,2                    ## @arg_imm
	.comm	_UNDEFINED,4,2                  ## @UNDEFINED
	.comm	_arg_addr,4,2                   ## @arg_addr
	.no_dead_strip	_gen_op
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gen_op
_gen_op:                                ; @gen_op
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x22, x7
	mov	x19, x6
	mov	x20, x4
	mov	x23, x3
	mov	x26, x2
	mov	x21, x1
	mov	x25, x0
	mov	x0, x5
	bl	_sz
	mov	x24, x0
Lloh0:
	adrp	x8, _arg_count@GOTPAGE
Lloh1:
	ldr	x8, [x8, _arg_count@GOTPAGEOFF]
Lloh2:
	ldr	w28, [x8]
	sub	w8, w26, #128
Lloh3:
	adrp	x13, _arg_mem@GOTPAGE
Lloh4:
	ldr	x13, [x13, _arg_mem@GOTPAGEOFF]
Lloh5:
	adrp	x27, _arg_imm@GOTPAGE
Lloh6:
	ldr	x27, [x27, _arg_imm@GOTPAGEOFF]
	cmp	w8, #3
	b.hi	LBB0_9
; %bb.1:
Lloh7:
	adrp	x9, lJTI0_0@PAGE
Lloh8:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	ldr	w8, [x23, #16]
Lloh9:
	adrp	x9, _modrm_reg@GOTPAGE
Lloh10:
	ldr	x9, [x9, _modrm_reg@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_8
; %bb.3:
	ldr	w8, [x23, #4]
	b	LBB0_7
LBB0_4:
	ldr	x8, [x29, #16]
	ldr	w26, [x13]
Lloh12:
	adrp	x9, _modrm_mem@GOTPAGE
Lloh13:
	ldr	x9, [x9, _modrm_mem@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	str	w9, [x23, #16]
Lloh15:
	adrp	x9, _reg_none@GOTPAGE
Lloh16:
	ldr	x9, [x9, _reg_none@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	str	w9, [x23, #4]
	str	x8, [x23, #8]
	b	LBB0_9
LBB0_5:
	ldr	w26, [x27]
	mov	w8, #1
	str	x8, [x20]
	b	LBB0_9
LBB0_6:
	ldr	w8, [x23]
LBB0_7:
Lloh18:
	adrp	x9, _arg_reg_a@GOTPAGE
Lloh19:
	ldr	x9, [x9, _arg_reg_a@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	add	w26, w9, w8
	b	LBB0_9
LBB0_8:
	ldr	w26, [x13]
LBB0_9:
	ldr	w8, [x13]
Lloh21:
	adrp	x9, _arg_addr@GOTPAGE
Lloh22:
	ldr	x9, [x9, _arg_addr@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	cmp	w26, w8
	ccmp	w26, w9, #4, ne
	b.ne	LBB0_11
; %bb.10:
	mov	x0, x25
	mov	x1, x23
	mov	x2, x22
	mov	x3, x19
	bl	_gen_addr
	cbz	w0, LBB0_16
LBB0_11:
	mul	w8, w28, w24
	add	x8, x21, w8, sxtw #3
	ldr	x0, [x8, w26, uxtw #3]
	bl	_GEN
	ldr	w8, [x27]
	cmp	w26, w8
	b.ne	LBB0_13
; %bb.12:
	ldr	x19, [x20]
	b	LBB0_14
LBB0_13:
Lloh24:
	adrp	x8, _arg_mem@GOTPAGE
Lloh25:
	ldr	x8, [x8, _arg_mem@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	cmp	w26, w8
	b.ne	LBB0_15
LBB0_14:
	mov	x0, x19
	bl	_GEN
LBB0_15:
	mov	w0, #1
LBB0_16:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
                                        ; -- End function
	.comm	_arg_count,4,2                  ; @arg_count
	.comm	_arg_reg_a,4,2                  ; @arg_reg_a
	.comm	_modrm_reg,4,2                  ; @modrm_reg
	.comm	_arg_mem,4,2                    ; @arg_mem
	.comm	_modrm_mem,4,2                  ; @modrm_mem
	.comm	_reg_none,4,2                   ; @reg_none
	.comm	_arg_imm,4,2                    ; @arg_imm
	.comm	_UNDEFINED,4,2                  ; @UNDEFINED
	.comm	_arg_addr,4,2                   ; @arg_addr
	.no_dead_strip	_gen_op
.subsections_via_symbols
