	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fill_picture_monoblack
_fill_picture_monoblack:                ## @fill_picture_monoblack
	.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
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rax
	movl	8(%rax), %r10d
	testl	%r10d, %r10d
	jle	LBB0_9
## %bb.1:
	movq	16(%rax), %rcx
	movq	(%rax), %rdx
	movq	(%rcx,%rdx,8), %rdx
	movq	(%rsi), %rcx
	movq	8(%rsi), %rsi
	movq	(%rsi), %rsi
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movslq	(%rcx), %r9
	movl	12(%rax), %r13d
	leal	-1(%r13), %r12d
	movslq	%r13d, %r11
	shlq	$3, %r11
	xorl	%r14d, %r14d
	movq	_ALIVE_CELL@GOTPCREL(%rip), %r15
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%r14
	addq	%r11, %rdx
	cmpq	%r10, %r14
	je	LBB0_9
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	testl	%r13d, %r13d
	jle	LBB0_8
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rax
	imulq	%r9, %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rax,8), %rax
	xorl	%ebx, %ebx
	xorl	%esi, %esi
	xorl	%edi, %edi
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=2
	movq	%rdi, (%rax)
	addq	$8, %rax
	xorl	%ecx, %ecx
	xorl	%edi, %edi
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=2
	incq	%rbx
	movq	%rdi, %rsi
	movl	%ecx, %edi
	cmpq	%rbx, %r13
	je	LBB0_8
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%rdx,%rbx,8), %rcx
	xorl	%r8d, %r8d
	cmpq	(%r15), %rcx
	sete	%r8b
	movb	$7, %cl
	subb	%dil, %cl
	shll	%cl, %r8d
	leal	1(%rdi), %ecx
	movslq	%r8d, %rdi
	orq	%rsi, %rdi
	cmpl	$8, %ecx
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=2
	cmpq	%rbx, %r12
	jne	LBB0_7
	jmp	LBB0_6
LBB0_9:
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ALIVE_CELL,8,3                 ## @ALIVE_CELL
	.no_dead_strip	_fill_picture_monoblack
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fill_picture_monoblack
_fill_picture_monoblack:                ; @fill_picture_monoblack
	.cfi_startproc
; %bb.0:
	ldr	x13, [x0]
	ldr	w8, [x13, #8]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.1:
	mov	x9, #0
	ldr	x10, [x13, #16]
	ldr	x11, [x13]
	ldr	x10, [x10, x11, lsl #3]
	ldp	x12, x11, [x1]
	ldr	x11, [x11]
	ldrsw	x12, [x12]
	ldr	w13, [x13, #12]
	sub	w14, w13, #1
	sxtw	x15, w13
	lsl	x15, x15, #3
Lloh0:
	adrp	x16, _ALIVE_CELL@GOTPAGE
Lloh1:
	ldr	x16, [x16, _ALIVE_CELL@GOTPAGEOFF]
	mov	w17, #7
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x9, x9, #1
	add	x10, x10, x15
	cmp	x9, x8
	b.eq	LBB0_9
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
	cmp	w13, #1
	b.lt	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x1, #0
	mov	w6, #0
	mul	x0, x9, x12
	add	x0, x11, x0, lsl #3
	mov	x2, x13
	mov	x3, x14
	mov	x4, x10
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=2
	mov	w5, #0
	str	x1, [x0], #8
	mov	x1, #0
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=2
	add	x4, x4, #8
	sub	x3, x3, #1
	mov	x6, x5
	subs	x2, x2, #1
	b.eq	LBB0_2
LBB0_7:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x5, [x4]
	ldr	x7, [x16]
	cmp	x5, x7
	cset	w7, eq
	add	w5, w6, #1
	sub	w6, w17, w6
	lsl	w6, w7, w6
	sxtw	x6, w6
	orr	x1, x1, x6
	cmp	w5, #8
	b.eq	LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=2
	cbnz	x3, LBB0_6
	b	LBB0_5
LBB0_9:
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_ALIVE_CELL,8,3                 ; @ALIVE_CELL
	.no_dead_strip	_fill_picture_monoblack
.subsections_via_symbols
