	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function decode_jarl
_decode_jarl:                           ## @decode_jarl
	.cfi_startproc
## %bb.0:
	movl	$-1, %eax
	cmpl	$4, %esi
	jl	LBB0_2
## %bb.1:
	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	%rdx, %r14
	movq	%rdi, %rbx
	callq	_r_read_le16
	movl	%eax, %r13d
	movq	%rbx, %rdi
	movl	$2, %esi
	callq	_r_read_at_le16
	movl	%eax, %r12d
	movl	%r13d, %edi
	callq	_get_reg2
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	%r13d, %edi
	callq	_get_reg1
	movl	%eax, %ebx
	movl	4(%r14), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_V850_INSTR_MAXLEN@GOTPCREL(%rip), %rax
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movq	(%rax), %r14
	decq	%r14
	movq	_instrs@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movl	%r13d, %edi
	callq	_get_opcode
	movq	(%r15,%rax,8), %rcx
	leaq	L_.str(%rip), %rdx
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_snprintf
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	movq	_V850_INSTR_MAXLEN@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	decq	%rsi
	shll	$7, %r12d
	addl	%ebx, %ebx
	orl	%r12d, %ebx
	leaq	L_.str.1(%rip), %rdx
	movl	%ebx, %ecx
	movl	-48(%rbp), %r8d                 ## 4-byte Reload
	xorl	%eax, %eax
	callq	_snprintf
	movl	$4, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
LBB0_2:
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_V850_INSTR_MAXLEN,8,3          ## @V850_INSTR_MAXLEN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s"

	.comm	_instrs,8,3                     ## @instrs
L_.str.1:                               ## @.str.1
	.asciz	"0x%08x, r%d"

	.no_dead_strip	_decode_jarl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function decode_jarl
_decode_jarl:                           ; @decode_jarl
	.cfi_startproc
; %bb.0:
	cmp	w1, #4
	b.ge	LBB0_2
; %bb.1:
	mov	w0, #-1
	ret
LBB0_2:
	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	x19, x2
	mov	x20, x0
	bl	_r_read_le16
	mov	x21, x0
	mov	x0, x20
	mov	w1, #2
	bl	_r_read_at_le16
	mov	x20, x0
	mov	x0, x21
	bl	_get_reg2
	mov	x22, x0
	mov	x0, x21
	bl	_get_reg1
	mov	x23, x0
Lloh0:
	adrp	x26, _V850_INSTR_MAXLEN@GOTPAGE
Lloh1:
	ldr	x26, [x26, _V850_INSTR_MAXLEN@GOTPAGEOFF]
	ldr	w24, [x19, #4]
	ldr	x8, [x26]
	sub	x25, x8, #1
Lloh2:
	adrp	x8, _instrs@GOTPAGE
Lloh3:
	ldr	x8, [x8, _instrs@GOTPAGEOFF]
Lloh4:
	ldr	x27, [x8]
	mov	x0, x21
	bl	_get_opcode
	ldr	x8, [x27, x0, lsl #3]
	str	x8, [sp]
Lloh5:
	adrp	x2, l_.str@PAGE
Lloh6:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x24
	mov	x1, x25
	bl	_snprintf
	ldr	w0, [x19]
	ldr	x8, [x26]
	sub	x1, x8, #1
	lsl	w8, w23, #1
	orr	w8, w8, w20, lsl #7
	stp	x8, x22, [sp]
Lloh7:
	adrp	x2, l_.str.1@PAGE
Lloh8:
	add	x2, x2, l_.str.1@PAGEOFF
	bl	_snprintf
	mov	w0, #4
	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
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_V850_INSTR_MAXLEN,8,3          ; @V850_INSTR_MAXLEN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s"

	.comm	_instrs,8,3                     ; @instrs
l_.str.1:                               ; @.str.1
	.asciz	"0x%08x, r%d"

	.no_dead_strip	_decode_jarl
.subsections_via_symbols
