	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function write_bitmap_word
_write_bitmap_word:                     ## @write_bitmap_word
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %ecx
	movl	%ecx, %r8d
	sarl	$4, %r8d
	addl	$7, %r8d
	sarl	$3, %r8d
	movl	$-15, %esi
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	4(%rdi), %eax
	leal	(%rsi,%rax,8), %eax
	addl	$7, %eax
	sarl	$4, %ecx
	cltd
	idivl	%ecx
	imull	%r8d, %eax
	movl	%edx, %ecx
	sarl	$3, %ecx
	addl	%eax, %ecx
	cmpl	$7, %ecx
	ja	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	%ecx, %r9d
	movl	16(%rdi), %eax
	andl	$1, %eax
	andb	$7, %dl
	movl	%edx, %ecx
	shll	%cl, %eax
	movq	8(%rdi), %rcx
	orl	%eax, (%rcx,%r9,4)
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	sarl	16(%rdi)
	testl	%esi, %esi
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	(%rdi), %ecx
	incl	%esi
	jmp	LBB0_1
LBB0_5:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_write_bitmap_word
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function write_bitmap_word
_write_bitmap_word:                     ; @write_bitmap_word
	.cfi_startproc
; %bb.0:
	ldr	w10, [x0]
	asr	w8, w10, #4
	add	w8, w8, #7
	asr	w8, w8, #3
	mov	w9, #-15
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x0, #4]
	add	w11, w9, w11, lsl #3
	add	w11, w11, #7
	asr	w10, w10, #4
	sdiv	w12, w11, w10
	msub	w11, w12, w10, w11
	mul	w10, w12, w8
	add	w10, w10, w11, asr #3
	cmp	w10, #7
	b.hi	LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w12, [x0, #16]
	and	w12, w12, #0x1
	and	w11, w11, #0x7
	lsl	w11, w12, w11
	ldr	x12, [x0, #8]
	lsl	x10, x10, #2
	ldr	w13, [x12, x10]
	orr	w11, w13, w11
	str	w11, [x12, x10]
LBB0_3:                                 ;   in Loop: Header=BB0_1 Depth=1
	ldr	w10, [x0, #16]
	asr	w10, w10, #1
	str	w10, [x0, #16]
	cbz	w9, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w10, [x0]
	add	w9, w9, #1
	b	LBB0_1
LBB0_5:
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_write_bitmap_word
.subsections_via_symbols
