	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function apply_mask_line
_apply_mask_line:                       ## @apply_mask_line
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testl	%edx, %edx
	jle	LBB0_18
## %bb.1:
	movl	%edx, %r8d
	cmpl	$1, %edx
	jne	LBB0_3
## %bb.2:
	xorl	%eax, %eax
LBB0_13:
	testb	$1, %r8b
	je	LBB0_18
## %bb.14:
	movl	(%rsi,%rax,4), %ecx
	cmpl	$1, %ecx
	jne	LBB0_16
## %bb.15:
	movl	$255, (%rdi,%rax,4)
	movl	(%rsi,%rax,4), %ecx
LBB0_16:
	cmpl	$128, %ecx
	jne	LBB0_18
## %bb.17:
	movl	$128, (%rdi,%rax,4)
LBB0_18:
	popq	%rbp
	retq
LBB0_3:
	movl	%r8d, %edx
	andl	$-2, %edx
	xorl	%eax, %eax
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_4 Depth=1
	addq	$2, %rax
	cmpq	%rax, %rdx
	je	LBB0_13
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rsi,%rax,4), %ecx
	cmpl	$1, %ecx
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	$255, (%rdi,%rax,4)
	movl	(%rsi,%rax,4), %ecx
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	cmpl	$128, %ecx
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	$128, (%rdi,%rax,4)
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	movl	4(%rsi,%rax,4), %ecx
	cmpl	$1, %ecx
	jne	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	$255, 4(%rdi,%rax,4)
	movl	4(%rsi,%rax,4), %ecx
LBB0_10:                                ##   in Loop: Header=BB0_4 Depth=1
	cmpl	$128, %ecx
	jne	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_4 Depth=1
	movl	$128, 4(%rdi,%rax,4)
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_apply_mask_line
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function apply_mask_line
_apply_mask_line:                       ; @apply_mask_line
	.cfi_startproc
; %bb.0:
	cmp	w2, #1
	b.lt	LBB0_7
; %bb.1:
	mov	w8, w2
	mov	w9, #255
	mov	w10, #128
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x0, x0, #4
	add	x1, x1, #4
	subs	x8, x8, #1
	b.eq	LBB0_7
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x1]
	cmp	w11, #1
	b.ne	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	str	w9, [x0]
	ldr	w11, [x1]
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	cmp	w11, #128
	b.ne	LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	str	w10, [x0]
	b	LBB0_2
LBB0_7:
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_apply_mask_line
.subsections_via_symbols
