	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_ins_bits
_get_ins_bits:                          ## @get_ins_bits
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $edi killed $edi def $rdi
	movb	(%rdx), %al
	cmpb	$113, %al
	jne	LBB0_1
## %bb.12:
	movl	%r8d, %edi
	movq	%rdx, %rsi
	movl	%ecx, %edx
	movq	%r9, %rcx
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_get_q_bits                     ## TAILCALL
LBB0_1:
	testl	%ecx, %ecx
	jle	LBB0_2
## %bb.6:
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%r9, -64(%rbp)                  ## 8-byte Spill
	movq	_ins_str@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	leal	1(,%rdi,4), %esi
	movslq	%esi, %rsi
	movq	(%rdx,%rsi,8), %r13
	movl	%ecx, %ecx
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movl	$1, %r15d
	xorl	%ecx, %ecx
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movslq	%ecx, %rdi
	addq	%r13, %rdi
	movsbl	%al, %r12d
	movl	%r12d, %esi
	callq	_strchr
	movq	%rax, %r14
	testq	%rax, %rax
	jne	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	%r13, %rdi
	movl	%r12d, %esi
	callq	_strchr
	movq	%rax, %r14
	testq	%rax, %rax
	je	LBB0_9
LBB0_10:                                ##   in Loop: Header=BB0_7 Depth=1
	subq	%r13, %r14
	leal	7(%r14), %edi
	testl	%r14d, %r14d
	cmovnsl	%r14d, %edi
	sarl	$3, %edi
	addl	-44(%rbp), %edi                 ## 4-byte Folded Reload
	movl	$1, %esi
	callq	_get_ins_part
	movb	$7, %cl
	subb	%r14b, %cl
	andb	$7, %cl
	movzbl	%cl, %ecx
	xorl	%edx, %edx
	btl	%ecx, %eax
	setb	%dl
	leal	(%rdx,%rbx,2), %ebx
	cmpq	%r15, -72(%rbp)                 ## 8-byte Folded Reload
	je	LBB0_3
## %bb.11:                              ##   in Loop: Header=BB0_7 Depth=1
	movslq	%r14d, %rax
	leaq	1(%rax), %rcx
	cmpb	$0, 1(%r13,%rax)
	movl	$0, %eax
	cmovel	%eax, %ecx
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movzbl	(%rax,%r15), %eax
	incq	%r15
	jmp	LBB0_7
LBB0_2:
	xorl	%ebx, %ebx
LBB0_3:
	movq	_C55PLUS_DEBUG@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_5
## %bb.4:
	leaq	L_.str.1(%rip), %rdi
	movl	%ebx, %esi
	callq	_printf
	xorl	%eax, %eax
	callq	_getchar
	jmp	LBB0_5
LBB0_9:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	callq	_fprintf
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	$-1, (%rax)
	xorl	%ebx, %ebx
LBB0_5:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ins_str,8,3                    ## @ins_str
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid token %s\n"

	.comm	_C55PLUS_DEBUG,8,3              ## @C55PLUS_DEBUG
L_.str.1:                               ## @.str.1
	.asciz	"INS_BITS => 0x%x\n"

	.no_dead_strip	_get_ins_bits
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_ins_bits
_get_ins_bits:                          ; @get_ins_bits
	.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	x20, x5
	mov	x21, x2
	ldrb	w8, [x2]
	cmp	w8, #113
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x4
	mov	x1, x21
	mov	x2, x3
	mov	x3, x20
	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
	b	_get_q_bits
LBB0_2:
	cmp	w3, #1
	b.lt	LBB0_8
; %bb.3:
	mov	x22, x1
	mov	w9, #0
	mov	w19, #0
Lloh0:
	adrp	x10, _ins_str@GOTPAGE
Lloh1:
	ldr	x10, [x10, _ins_str@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	mov	w11, #1
	bfi	w11, w0, #2, #30
	ldr	x23, [x10, w11, sxtw #3]
	mov	w25, w3
	mov	w26, #1
	mov	w27, #7
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, x23, w9, sxtw
	sxtb	w24, w8
	mov	x1, x24
	bl	_strchr
	cbnz	x0, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x23
	mov	x1, x24
	bl	_strchr
	cbz	x0, LBB0_11
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	sub	w24, w0, w23
	add	w8, w24, #7
	cmp	w24, #0
	csel	w8, w8, w24, lt
	add	w0, w22, w8, asr #3
	mov	w1, #1
	bl	_get_ins_part
	sub	w8, w27, w24
	and	w8, w8, #0x7
	lsr	w8, w0, w8
	bfi	w8, w19, #1, #31
	mov	x19, x8
	cmp	x25, x26
	b.eq	LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	sxtw	x8, w24
	add	x8, x8, #1
	ldrb	w9, [x23, x8]
	cmp	w9, #0
	csel	w9, wzr, w8, eq
	ldrb	w8, [x21, x26]
	add	x26, x26, #1
	b	LBB0_4
LBB0_8:
	mov	w19, #0
LBB0_9:
Lloh3:
	adrp	x8, _C55PLUS_DEBUG@GOTPAGE
Lloh4:
	ldr	x8, [x8, _C55PLUS_DEBUG@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cbz	x8, LBB0_12
; %bb.10:
Lloh6:
	adrp	x0, l_.str.1@PAGE
Lloh7:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x19
	bl	_printf
	bl	_getchar
	b	LBB0_12
LBB0_11:
Lloh8:
	adrp	x8, _stderr@GOTPAGE
Lloh9:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x21
	bl	_fprintf
	mov	w19, #0
	mov	w8, #-1
	str	w8, [x20]
LBB0_12:
	mov	x0, x19
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_ins_str,8,3                    ; @ins_str
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid token %s\n"

	.comm	_C55PLUS_DEBUG,8,3              ; @C55PLUS_DEBUG
l_.str.1:                               ; @.str.1
	.asciz	"INS_BITS => 0x%x\n"

	.no_dead_strip	_get_ins_bits
.subsections_via_symbols
