	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_ins_part                   ## -- Begin function get_ins_part
	.p2align	4, 0x90
_get_ins_part:                          ## @get_ins_part
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movl	%edi, %ebx
	movq	_has_failed@GOTPCREL(%rip), %r15
	movl	$0, (%r15)
	movq	_C55PLUS_DEBUG@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.1:
	movq	_ins_buff_len@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %esi
	movl	%r14d, %edx
	callq	_printf
LBB0_2:
	testl	%ebx, %ebx
	js	LBB0_7
## %bb.3:
	movq	_ins_buff_len@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	cmpl	%ebx, %ecx
	jle	LBB0_7
## %bb.4:
	testl	%r14d, %r14d
	jle	LBB0_8
## %bb.5:
	movq	_ins_buff@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	cmpl	$1, %r14d
	jne	LBB0_9
## %bb.6:
	xorl	%eax, %eax
	jmp	LBB0_16
LBB0_7:
	movl	$1, (%r15)
LBB0_8:
	xorl	%eax, %eax
LBB0_20:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movl	%r14d, %esi
	andl	$-2, %esi
	xorl	%eax, %eax
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_11 Depth=1
	movslq	%ebx, %rdi
	incl	%ebx
	orl	(%rdx,%rdi,4), %eax
	addl	$-2, %esi
	je	LBB0_16
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	shll	$8, %eax
	cmpl	%ecx, %ebx
	jge	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	movslq	%ebx, %rdi
	incl	%ebx
	orl	(%rdx,%rdi,4), %eax
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_11 Depth=1
	movl	$1, (%r15)
LBB0_14:                                ##   in Loop: Header=BB0_11 Depth=1
	shll	$8, %eax
	cmpl	%ecx, %ebx
	jl	LBB0_10
## %bb.15:                              ##   in Loop: Header=BB0_11 Depth=1
	movl	$1, (%r15)
	addl	$-2, %esi
	jne	LBB0_11
LBB0_16:
	testb	$1, %r14b
	je	LBB0_20
## %bb.17:
	shll	$8, %eax
	cmpl	%ecx, %ebx
	jge	LBB0_19
## %bb.18:
	movslq	%ebx, %rcx
	orl	(%rdx,%rcx,4), %eax
	jmp	LBB0_20
LBB0_19:
	movl	$1, (%r15)
	jmp	LBB0_20
	.cfi_endproc
                                        ## -- End function
	.comm	_has_failed,4,2                 ## @has_failed
	.comm	_C55PLUS_DEBUG,8,3              ## @C55PLUS_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"pos => 0x%x len => %d ins_buff_len => %d\n"

	.comm	_ins_buff_len,4,2               ## @ins_buff_len
	.comm	_ins_buff,8,3                   ## @ins_buff
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_ins_part                   ; -- Begin function get_ins_part
	.p2align	2
_get_ins_part:                          ; @get_ins_part
	.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	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x21, _has_failed@GOTPAGE
Lloh1:
	ldr	x21, [x21, _has_failed@GOTPAGEOFF]
	str	wzr, [x21]
Lloh2:
	adrp	x8, _C55PLUS_DEBUG@GOTPAGE
Lloh3:
	ldr	x8, [x8, _C55PLUS_DEBUG@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
Lloh5:
	adrp	x22, _ins_buff_len@GOTPAGE
Lloh6:
	ldr	x22, [x22, _ins_buff_len@GOTPAGEOFF]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	w3, [x22]
Lloh7:
	adrp	x0, l_.str@PAGE
Lloh8:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	mov	x2, x20
	bl	_printf
LBB0_2:
	tbnz	w19, #31, LBB0_10
; %bb.3:
	ldr	w8, [x22]
	cmp	w8, w19
	b.le	LBB0_10
; %bb.4:
	cmp	w20, #1
	b.lt	LBB0_11
; %bb.5:
	mov	w0, #0
Lloh9:
	adrp	x9, _ins_buff@GOTPAGE
Lloh10:
	ldr	x9, [x9, _ins_buff@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	add	w10, w20, #1
	mov	w11, #1
	b	LBB0_8
LBB0_6:                                 ;   in Loop: Header=BB0_8 Depth=1
	ldr	w12, [x9, w19, sxtw #2]
	add	w19, w19, #1
	orr	w0, w12, w0
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	sub	w10, w10, #1
	cmp	w10, #1
	b.le	LBB0_12
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	lsl	w0, w0, #8
	cmp	w19, w8
	b.lt	LBB0_6
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	str	w11, [x21]
	b	LBB0_7
LBB0_10:
	mov	w0, #0
	mov	w8, #1
	str	w8, [x21]
	b	LBB0_12
LBB0_11:
	mov	w0, #0
LBB0_12:
	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 AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_has_failed,4,2                 ; @has_failed
	.comm	_C55PLUS_DEBUG,8,3              ; @C55PLUS_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"pos => 0x%x len => %d ins_buff_len => %d\n"

	.comm	_ins_buff_len,4,2               ; @ins_buff_len
	.comm	_ins_buff,8,3                   ; @ins_buff
.subsections_via_symbols
