	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function pres_bool_from_value
LCPI0_0:
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_pres_bool_from_value:                  ## @pres_bool_from_value
	.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
	je	LBB0_14
## %bb.1:
	movl	%edx, %r9d
	xorl	%ecx, %ecx
	cmpl	$8, %edx
	jb	LBB0_10
## %bb.2:
	movq	%rdi, %rax
	subq	%rsi, %rax
	cmpq	$32, %rax
	jb	LBB0_10
## %bb.3:
	movl	%r9d, %ecx
	andl	$-8, %ecx
	leaq	-8(%rcx), %rax
	movq	%rax, %r8
	shrq	$3, %r8
	incq	%r8
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%r8, %rax
	andq	$-2, %rax
	xorl	%edx, %edx
	pxor	%xmm0, %xmm0
	movdqa	LCPI0_0(%rip), %xmm1            ## xmm1 = [1,1,1,1]
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movdqu	(%rsi,%rdx,4), %xmm2
	movdqu	16(%rsi,%rdx,4), %xmm3
	pcmpeqd	%xmm0, %xmm2
	pandn	%xmm1, %xmm2
	pcmpeqd	%xmm0, %xmm3
	pandn	%xmm1, %xmm3
	movdqu	%xmm2, (%rdi,%rdx,4)
	movdqu	%xmm3, 16(%rdi,%rdx,4)
	movdqu	32(%rsi,%rdx,4), %xmm2
	movdqu	48(%rsi,%rdx,4), %xmm3
	pcmpeqd	%xmm0, %xmm2
	pandn	%xmm1, %xmm2
	pcmpeqd	%xmm0, %xmm3
	pandn	%xmm1, %xmm3
	movdqu	%xmm2, 32(%rdi,%rdx,4)
	movdqu	%xmm3, 48(%rdi,%rdx,4)
	addq	$16, %rdx
	addq	$-2, %rax
	jne	LBB0_6
## %bb.7:
	testb	$1, %r8b
	je	LBB0_9
LBB0_8:
	movdqu	(%rsi,%rdx,4), %xmm0
	movdqu	16(%rsi,%rdx,4), %xmm1
	pxor	%xmm2, %xmm2
	pcmpeqd	%xmm2, %xmm0
	movdqa	LCPI0_0(%rip), %xmm3            ## xmm3 = [1,1,1,1]
	pandn	%xmm3, %xmm0
	pcmpeqd	%xmm2, %xmm1
	pandn	%xmm3, %xmm1
	movdqu	%xmm0, (%rdi,%rdx,4)
	movdqu	%xmm1, 16(%rdi,%rdx,4)
LBB0_9:
	cmpq	%r9, %rcx
	je	LBB0_14
LBB0_10:
	movq	%rcx, %r8
	notq	%r8
	addq	%r9, %r8
	movq	%r9, %rdx
	andq	$3, %rdx
	je	LBB0_12
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	xorl	%eax, %eax
	cmpl	$0, (%rsi,%rcx,4)
	setne	%al
	movl	%eax, (%rdi,%rcx,4)
	incq	%rcx
	decq	%rdx
	jne	LBB0_11
LBB0_12:
	cmpq	$3, %r8
	jb	LBB0_14
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	xorl	%eax, %eax
	cmpl	$0, (%rsi,%rcx,4)
	setne	%al
	movl	%eax, (%rdi,%rcx,4)
	xorl	%eax, %eax
	cmpl	$0, 4(%rsi,%rcx,4)
	setne	%al
	movl	%eax, 4(%rdi,%rcx,4)
	xorl	%eax, %eax
	cmpl	$0, 8(%rsi,%rcx,4)
	setne	%al
	movl	%eax, 8(%rdi,%rcx,4)
	xorl	%eax, %eax
	cmpl	$0, 12(%rsi,%rcx,4)
	setne	%al
	movl	%eax, 12(%rdi,%rcx,4)
	addq	$4, %rcx
	cmpq	%rcx, %r9
	jne	LBB0_13
LBB0_14:
	popq	%rbp
	retq
LBB0_4:
	xorl	%edx, %edx
	testb	$1, %r8b
	jne	LBB0_8
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_pres_bool_from_value
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pres_bool_from_value
_pres_bool_from_value:                  ; @pres_bool_from_value
	.cfi_startproc
; %bb.0:
	cbz	w2, LBB0_8
; %bb.1:
	mov	x9, #0
	mov	w8, w2
	cmp	w2, #16
	b.lo	LBB0_6
; %bb.2:
	sub	x10, x0, x1
	cmp	x10, #64
	b.lo	LBB0_6
; %bb.3:
	and	x9, x8, #0xfffffff0
	add	x10, x0, #32
	add	x11, x1, #32
	movi.4s	v0, #1
	mov	x12, x9
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldp	q1, q2, [x11, #-32]
	ldp	q3, q4, [x11], #64
	cmeq.4s	v1, v1, #0
	bic.16b	v1, v0, v1
	cmeq.4s	v2, v2, #0
	bic.16b	v2, v0, v2
	cmeq.4s	v3, v3, #0
	bic.16b	v3, v0, v3
	cmeq.4s	v4, v4, #0
	bic.16b	v4, v0, v4
	stp	q1, q2, [x10, #-32]
	stp	q3, q4, [x10], #64
	subs	x12, x12, #16
	b.ne	LBB0_4
; %bb.5:
	cmp	x9, x8
	b.eq	LBB0_8
LBB0_6:
	lsl	x11, x9, #2
	add	x10, x1, x11
	add	x11, x0, x11
	sub	x8, x8, x9
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x10], #4
	cmp	w9, #0
	cset	w9, ne
	str	w9, [x11], #4
	subs	x8, x8, #1
	b.ne	LBB0_7
LBB0_8:
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_pres_bool_from_value
.subsections_via_symbols
