	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cr16_decode_push_pop
_cr16_decode_push_pop:                  ## @cr16_decode_push_pop
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	callq	_r_read_le16
	movl	%eax, %ebx
	movl	$-1, %eax
	testb	$1, %bl
	jne	LBB0_4
## %bb.1:
	movl	%ebx, %eax
	sarl	$7, %eax
	addl	$-128, %eax
	cmpl	$3, %eax
	ja	LBB0_3
## %bb.2:
	cltq
	leaq	l_reltable.cr16_decode_push_pop(%rip), %rcx
	movslq	(%rcx,%rax,4), %rdx
	addq	%rcx, %rdx
	movl	4(%r14), %edi
	movq	_CR16_INSTR_MAXLEN@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	decq	%rsi
	xorl	%eax, %eax
	callq	_snprintf
LBB0_3:
	movl	(%r14), %edi
	movq	_CR16_INSTR_MAXLEN@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	decq	%rsi
	movl	%ebx, %ecx
	shrl	$5, %ecx
	andl	$3, %ecx
	incl	%ecx
	movq	_cr16_regs_names@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	shrl	%ebx
	andl	$15, %ebx
	movq	(%rax,%rbx,8), %r8
	leaq	L_.str.3(%rip), %rdx
	xorl	%eax, %eax
	callq	_snprintf
	movl	$2, %eax
LBB0_4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CR16_INSTR_MAXLEN,8,3          ## @CR16_INSTR_MAXLEN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"push"

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

L_.str.2:                               ## @.str.2
	.asciz	"popret"

L_.str.3:                               ## @.str.3
	.asciz	"$0x%x,%s"

	.comm	_cr16_regs_names,8,3            ## @cr16_regs_names
	.no_dead_strip	_cr16_decode_push_pop
	.section	__TEXT,__const
	.p2align	2                               ## @reltable.cr16_decode_push_pop
l_reltable.cr16_decode_push_pop:
	.long	L_.str-l_reltable.cr16_decode_push_pop
	.long	L_.str.2-l_reltable.cr16_decode_push_pop
	.long	L_.str.2-l_reltable.cr16_decode_push_pop
	.long	L_.str.1-l_reltable.cr16_decode_push_pop

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cr16_decode_push_pop
_cr16_decode_push_pop:                  ; @cr16_decode_push_pop
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x1
	bl	_r_read_le16
	tbnz	w0, #0, LBB0_4
; %bb.1:
	mov	x19, x0
	sbfx	x8, x19, #7, #25
	sub	x8, x8, #128
Lloh0:
	adrp	x21, _CR16_INSTR_MAXLEN@GOTPAGE
Lloh1:
	ldr	x21, [x21, _CR16_INSTR_MAXLEN@GOTPAGEOFF]
	cmp	w8, #3
	b.hi	LBB0_3
; %bb.2:
Lloh2:
	adrp	x9, l_switch.table.cr16_decode_push_pop@PAGE
Lloh3:
	add	x9, x9, l_switch.table.cr16_decode_push_pop@PAGEOFF
	ldr	x2, [x9, x8, lsl #3]
	ldr	w0, [x20, #4]
	ldr	x8, [x21]
	sub	x1, x8, #1
	bl	_snprintf
LBB0_3:
	ldr	w0, [x20]
	ldr	x8, [x21]
	sub	x1, x8, #1
	ubfx	w8, w19, #5, #2
	add	w8, w8, #1
Lloh4:
	adrp	x9, _cr16_regs_names@GOTPAGE
Lloh5:
	ldr	x9, [x9, _cr16_regs_names@GOTPAGEOFF]
Lloh6:
	ldr	x9, [x9]
	ubfx	w10, w19, #1, #4
	ldr	x9, [x9, w10, uxtw #3]
	stp	x8, x9, [sp]
Lloh7:
	adrp	x2, l_.str.3@PAGE
Lloh8:
	add	x2, x2, l_.str.3@PAGEOFF
	bl	_snprintf
	mov	w0, #2
	b	LBB0_5
LBB0_4:
	mov	w0, #-1
LBB0_5:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_CR16_INSTR_MAXLEN,8,3          ; @CR16_INSTR_MAXLEN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"push"

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

l_.str.2:                               ; @.str.2
	.asciz	"popret"

l_.str.3:                               ; @.str.3
	.asciz	"$0x%x,%s"

	.comm	_cr16_regs_names,8,3            ; @cr16_regs_names
	.no_dead_strip	_cr16_decode_push_pop
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.cr16_decode_push_pop
l_switch.table.cr16_decode_push_pop:
	.quad	l_.str
	.quad	l_.str.2
	.quad	l_.str.2
	.quad	l_.str.1

.subsections_via_symbols
