	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iCode_write                    ## -- Begin function iCode_write
	.p2align	4, 0x90
_iCode_write:                           ## @iCode_write
	.cfi_startproc
## %bb.0:
	cmpl	$1, %ecx
	je	LBB0_8
## %bb.1:
	xorl	%r9d, %r9d
	cmpl	$2, %ecx
	jl	LBB0_4
## %bb.2:
	xorl	%r9d, %r9d
	movl	$1, %eax
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	addl	%eax, %eax
	incl	%r9d
	cmpl	%ecx, %eax
	jl	LBB0_3
LBB0_4:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rdx), %r8d
	movl	$8, %ecx
	subl	%r8d, %ecx
	cmpl	%ecx, %r9d
	jle	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_6 Depth=1
	subl	%ecx, %r9d
	movl	%edi, %eax
	movl	%r9d, %ecx
	sarl	%cl, %eax
	movl	%r8d, %ecx
	shll	%cl, %eax
	movq	(%rsi), %rcx
	addb	%al, (%rcx)
	movl	$0, (%rdx)
	movq	(%rsi), %rax
	leaq	1(%rax), %rcx
	movq	%rcx, (%rsi)
	movb	$0, 1(%rax)
	jmp	LBB0_6
LBB0_7:
	movl	$-1, %eax
	movl	%r9d, %ecx
	shll	%cl, %eax
	notl	%eax
	andl	%edi, %eax
	movl	%r8d, %ecx
	shll	%cl, %eax
	movq	(%rsi), %rcx
	addb	%al, (%rcx)
	addl	%r9d, (%rdx)
	popq	%rbp
LBB0_8:
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iCode_write                    ; -- Begin function iCode_write
	.p2align	2
_iCode_write:                           ; @iCode_write
	.cfi_startproc
; %bb.0:
	cmp	w3, #1
	b.eq	LBB0_9
; %bb.1:
	cmp	w3, #2
	b.lt	LBB0_4
; %bb.2:
	mov	w8, #0
	mov	w9, #1
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	lsl	w9, w9, #1
	add	w8, w8, #1
	cmp	w9, w3
	b.lt	LBB0_3
	b	LBB0_5
LBB0_4:
	mov	w8, #0
LBB0_5:
	ldr	w9, [x2]
	mov	w10, #8
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	sub	w11, w10, w9
	cmp	w8, w11
	b.le	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	sub	w8, w8, w11
	asr	w11, w0, w8
	lsl	w9, w11, w9
	ldr	x11, [x1]
	ldrb	w12, [x11]
	add	w9, w12, w9
	strb	w9, [x11]
	str	wzr, [x2]
	ldr	x9, [x1]
	add	x11, x9, #1
	str	x11, [x1]
	strb	wzr, [x9, #1]
	ldr	w9, [x2]
	b	LBB0_6
LBB0_8:
	mov	w10, #-1
	lsl	w10, w10, w8
	bic	w10, w0, w10
	lsl	w9, w10, w9
	ldr	x10, [x1]
	ldrb	w11, [x10]
	add	w9, w11, w9
	strb	w9, [x10]
	ldr	w9, [x2]
	add	w8, w9, w8
	str	w8, [x2]
LBB0_9:
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
