	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function map_decision
LCPI0_0:
	.long	0                               ## 0x0
	.long	1                               ## 0x1
	.long	2                               ## 0x2
	.long	3                               ## 0x3
LCPI0_1:
	.long	4                               ## 0x4
	.long	4                               ## 0x4
	.long	4                               ## 0x4
	.long	4                               ## 0x4
LCPI0_2:
	.long	1065353216                      ## 0x3f800000
	.long	1065353216                      ## 0x3f800000
	.long	1065353216                      ## 0x3f800000
	.long	1065353216                      ## 0x3f800000
LCPI0_3:
	.long	8                               ## 0x8
	.long	8                               ## 0x8
	.long	8                               ## 0x8
	.long	8                               ## 0x8
LCPI0_4:
	.long	12                              ## 0xc
	.long	12                              ## 0xc
	.long	12                              ## 0xc
	.long	12                              ## 0xc
LCPI0_5:
	.long	16                              ## 0x10
	.long	16                              ## 0x10
	.long	16                              ## 0x10
	.long	16                              ## 0x10
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_map_decision:                          ## @map_decision
	.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	_current_mapping_size@GOTPCREL(%rip), %rax
	cmpq	%rdi, (%rax)
	jbe	LBB0_31
## %bb.1:
	movq	_current_mapping@GOTPCREL(%rip), %rax
	movq	(%rax), %r9
	shlq	$4, %rdi
	movl	(%r9,%rdi), %r15d
	testq	%r15, %r15
	je	LBB0_2
## %bb.3:
	movl	(%rsi), %r10d
	movq	8(%r9,%rdi), %r11
	movq	%r15, %r8
	decq	%r8
	je	LBB0_4
## %bb.5:
	movl	%r15d, %r14d
	andl	$-2, %r14d
	xorl	%ebx, %ebx
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ecx, %eax
	btsl	%ebx, %eax
	movl	(%r11,%rbx,4), %r12d
	testl	%r10d, %r12d
	cmovnel	%eax, %ecx
	movl	4(%r11,%rbx,4), %r13d
	testl	%r12d, %r12d
	cmovnel	%ecx, %eax
	testl	%edx, %edx
	cmovel	%ecx, %eax
	leal	1(%rbx), %r12d
	movl	%eax, %ecx
	btsl	%r12d, %ecx
	testl	%r10d, %r13d
	cmovnel	%ecx, %eax
	testl	%r13d, %r13d
	cmovnel	%eax, %ecx
	testl	%edx, %edx
	cmovel	%eax, %ecx
	addq	$2, %rbx
	cmpq	%r14, %rbx
	jne	LBB0_6
	jmp	LBB0_7
LBB0_2:
	movq	$0, (%rsi)
	xorl	%edi, %edi
	xorl	%r15d, %r15d
	jmp	LBB0_20
LBB0_4:
	xorl	%ebx, %ebx
	xorl	%ecx, %ecx
LBB0_7:
	addq	%rdi, %r9
	addq	$8, %r9
	testb	$1, %r15b
	je	LBB0_9
## %bb.8:
	movl	(%r11,%rbx,4), %eax
	movl	%ecx, %edi
	btsl	%ebx, %edi
	testl	%r10d, %eax
	cmovnel	%edi, %ecx
	testl	%eax, %eax
	cmovnel	%ecx, %edi
	testl	%edx, %edx
	cmovnel	%edi, %ecx
LBB0_9:
	movl	%ecx, (%rsi)
	movl	4(%rsi), %r10d
	movq	(%r9), %r14
	cmpl	$8, %r15d
	jae	LBB0_11
## %bb.10:
	xorl	%ecx, %ecx
	xorl	%ebx, %ebx
	jmp	LBB0_14
LBB0_11:
	movl	%r15d, %ecx
	andl	$-8, %ecx
	movd	%r10d, %xmm0
	pshufd	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	leaq	(,%r15,4), %r11
	andq	$-32, %r11
	movdqa	LCPI0_0(%rip), %xmm5            ## xmm5 = [0,1,2,3]
	pxor	%xmm10, %xmm10
	xorl	%ebx, %ebx
	movdqa	LCPI0_1(%rip), %xmm8            ## xmm8 = [4,4,4,4]
	movdqa	LCPI0_2(%rip), %xmm11           ## xmm11 = [1065353216,1065353216,1065353216,1065353216]
	movdqa	LCPI0_3(%rip), %xmm9            ## xmm9 = [8,8,8,8]
	pxor	%xmm6, %xmm6
	pxor	%xmm3, %xmm3
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movdqa	%xmm5, %xmm1
	paddd	%xmm8, %xmm1
	movdqu	(%r14,%rbx), %xmm7
	movdqu	16(%r14,%rbx), %xmm2
	pand	%xmm0, %xmm7
	pand	%xmm0, %xmm2
	movdqa	%xmm5, %xmm4
	pslld	$23, %xmm4
	paddd	%xmm11, %xmm4
	cvttps2dq	%xmm4, %xmm4
	pslld	$23, %xmm1
	paddd	%xmm11, %xmm1
	cvttps2dq	%xmm1, %xmm1
	pcmpeqd	%xmm10, %xmm7
	pandn	%xmm4, %xmm7
	por	%xmm7, %xmm6
	pcmpeqd	%xmm10, %xmm2
	pandn	%xmm1, %xmm2
	por	%xmm2, %xmm3
	paddd	%xmm9, %xmm5
	addq	$32, %rbx
	cmpq	%rbx, %r11
	jne	LBB0_12
## %bb.13:
	por	%xmm6, %xmm3
	pshufd	$238, %xmm3, %xmm0              ## xmm0 = xmm3[2,3,2,3]
	por	%xmm3, %xmm0
	pshufd	$85, %xmm0, %xmm1               ## xmm1 = xmm0[1,1,1,1]
	por	%xmm0, %xmm1
	movd	%xmm1, %ebx
	cmpq	%r15, %rcx
	je	LBB0_15
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r14,%rcx,4), %eax
	movl	$1, %edi
	shll	%cl, %edi
	andl	%r10d, %eax
	testl	%eax, %eax
	cmovel	%eax, %edi
	orl	%edi, %ebx
	incq	%rcx
	cmpq	%rcx, %r15
	jne	LBB0_14
LBB0_15:
	movl	%ebx, 4(%rsi)
	movl	8(%rsi), %r10d
	movq	(%r9), %r9
	testq	%r8, %r8
	je	LBB0_16
## %bb.32:
	movl	%r15d, %r8d
	andl	$-2, %r8d
	xorl	%ebx, %ebx
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_33:                                ## =>This Inner Loop Header: Depth=1
	movl	%edi, %eax
	btsl	%ebx, %eax
	movl	(%r9,%rbx,4), %ecx
	movl	4(%r9,%rbx,4), %r11d
	testl	%r10d, %ecx
	cmovnel	%eax, %edi
	orl	%edx, %ecx
	cmovel	%eax, %edi
	leal	1(%rbx), %eax
	movl	%edi, %ecx
	btsl	%eax, %ecx
	testl	%r10d, %r11d
	cmovnel	%ecx, %edi
	orl	%edx, %r11d
	cmovel	%ecx, %edi
	addq	$2, %rbx
	cmpq	%r8, %rbx
	jne	LBB0_33
## %bb.17:
	testb	$1, %r15b
	je	LBB0_19
LBB0_18:
	movl	(%r9,%rbx,4), %eax
	movl	%edi, %ecx
	btsl	%ebx, %ecx
	testl	%r10d, %eax
	cmovnel	%ecx, %edi
	orl	%eax, %edx
	cmovel	%ecx, %edi
LBB0_19:
	cmpl	$31, %r15d
	ja	LBB0_30
LBB0_20:
	movl	$32, %ecx
	subl	%r15d, %ecx
	cmpl	$8, %ecx
	jb	LBB0_29
## %bb.21:
	movl	%ecx, %edx
	andl	$-8, %edx
	movd	%edi, %xmm0
	movd	%r15d, %xmm1
	pshufd	$0, %xmm1, %xmm5                ## xmm5 = xmm1[0,0,0,0]
	paddd	LCPI0_0(%rip), %xmm5
	leal	-8(%rdx), %eax
	movl	%eax, %ebx
	shrl	$3, %ebx
	incl	%ebx
	testl	%eax, %eax
	je	LBB0_22
## %bb.23:
	movl	%ebx, %edi
	andl	$-2, %edi
	pxor	%xmm2, %xmm2
	movdqa	LCPI0_1(%rip), %xmm8            ## xmm8 = [4,4,4,4]
	movdqa	LCPI0_2(%rip), %xmm4            ## xmm4 = [1065353216,1065353216,1065353216,1065353216]
	movdqa	LCPI0_3(%rip), %xmm9            ## xmm9 = [8,8,8,8]
	movdqa	LCPI0_4(%rip), %xmm6            ## xmm6 = [12,12,12,12]
	movdqa	LCPI0_5(%rip), %xmm7            ## xmm7 = [16,16,16,16]
	.p2align	4, 0x90
LBB0_24:                                ## =>This Inner Loop Header: Depth=1
	movdqa	%xmm5, %xmm1
	paddd	%xmm8, %xmm1
	movdqa	%xmm5, %xmm3
	pslld	$23, %xmm3
	paddd	%xmm4, %xmm3
	cvttps2dq	%xmm3, %xmm3
	por	%xmm0, %xmm3
	pslld	$23, %xmm1
	paddd	%xmm4, %xmm1
	cvttps2dq	%xmm1, %xmm1
	por	%xmm2, %xmm1
	movdqa	%xmm5, %xmm0
	paddd	%xmm9, %xmm0
	movdqa	%xmm5, %xmm2
	paddd	%xmm6, %xmm2
	pslld	$23, %xmm0
	paddd	%xmm4, %xmm0
	cvttps2dq	%xmm0, %xmm0
	por	%xmm3, %xmm0
	pslld	$23, %xmm2
	paddd	%xmm4, %xmm2
	cvttps2dq	%xmm2, %xmm2
	por	%xmm1, %xmm2
	paddd	%xmm7, %xmm5
	addl	$-2, %edi
	jne	LBB0_24
## %bb.25:
	testb	$1, %bl
	je	LBB0_27
LBB0_26:
	movdqa	LCPI0_1(%rip), %xmm1            ## xmm1 = [4,4,4,4]
	paddd	%xmm5, %xmm1
	pslld	$23, %xmm5
	movdqa	LCPI0_2(%rip), %xmm3            ## xmm3 = [1065353216,1065353216,1065353216,1065353216]
	paddd	%xmm3, %xmm5
	cvttps2dq	%xmm5, %xmm4
	por	%xmm4, %xmm0
	pslld	$23, %xmm1
	paddd	%xmm3, %xmm1
	cvttps2dq	%xmm1, %xmm1
	por	%xmm1, %xmm2
LBB0_27:
	por	%xmm2, %xmm0
	pshufd	$238, %xmm0, %xmm1              ## xmm1 = xmm0[2,3,2,3]
	por	%xmm0, %xmm1
	pshufd	$85, %xmm1, %xmm0               ## xmm0 = xmm1[1,1,1,1]
	por	%xmm1, %xmm0
	movd	%xmm0, %edi
	cmpl	%edx, %ecx
	je	LBB0_30
## %bb.28:
	addl	%edx, %r15d
	.p2align	4, 0x90
LBB0_29:                                ## =>This Inner Loop Header: Depth=1
	btsl	%r15d, %edi
	incl	%r15d
	cmpl	$32, %r15d
	jne	LBB0_29
LBB0_30:
	movl	%edi, 8(%rsi)
LBB0_31:
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	xorl	%ebx, %ebx
	xorl	%edi, %edi
	testb	$1, %r15b
	jne	LBB0_18
	jmp	LBB0_19
LBB0_22:
	pxor	%xmm2, %xmm2
	testb	$1, %bl
	jne	LBB0_26
	jmp	LBB0_27
	.cfi_endproc
                                        ## -- End function
	.comm	_current_mapping_size,8,3       ## @current_mapping_size
	.comm	_current_mapping,8,3            ## @current_mapping
	.no_dead_strip	_map_decision
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function map_decision
lCPI0_0:
	.long	0                               ; 0x0
	.long	1                               ; 0x1
	.long	2                               ; 0x2
	.long	3                               ; 0x3
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_map_decision:                          ; @map_decision
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _current_mapping_size@GOTPAGE
Lloh1:
	ldr	x8, [x8, _current_mapping_size@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x0
	b.ls	LBB0_23
; %bb.1:
Lloh3:
	adrp	x8, _current_mapping@GOTPAGE
Lloh4:
	ldr	x8, [x8, _current_mapping@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x8]
	lsl	x8, x0, #4
	ldr	w8, [x9, x8]
	cbz	w8, LBB0_6
; %bb.2:
	mov	x10, #0
	mov	w11, #0
	ldr	w12, [x1]
	add	x9, x9, x0, lsl #4
	ldr	x13, [x9, #8]!
	mov	w14, #1
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w15, [x13, x10, lsl #2]
	lsl	w16, w14, w10
	orr	w16, w11, w16
	tst	w15, w12
	csel	w11, w11, w16, eq
	cmp	w15, #0
	ccmp	w2, #0, #4, eq
	csel	w11, w16, w11, ne
	add	x10, x10, #1
	cmp	x8, x10
	b.ne	LBB0_3
; %bb.4:
	str	w11, [x1]
	ldr	w10, [x1, #4]
	ldr	x11, [x9]
	cmp	w8, #16
	b.hs	LBB0_7
; %bb.5:
	mov	x12, #0
	mov	w13, #0
	b	LBB0_10
LBB0_6:
	mov	w10, #0
	str	xzr, [x1]
	b	LBB0_15
LBB0_7:
	and	x12, x8, #0xfffffff0
	dup.4s	v0, w10
	movi.2d	v1, #0000000000000000
	movi.4s	v2, #4
	movi.4s	v3, #8
Lloh6:
	adrp	x13, lCPI0_0@PAGE
Lloh7:
	ldr	q4, [x13, lCPI0_0@PAGEOFF]
	add	x13, x11, #32
	movi.4s	v5, #12
	movi.4s	v6, #1
	movi.4s	v7, #16
	mov	x14, x12
	movi.2d	v16, #0000000000000000
	movi.2d	v17, #0000000000000000
	movi.2d	v18, #0000000000000000
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	add.4s	v19, v4, v2
	add.4s	v20, v4, v3
	add.4s	v21, v4, v5
	ldp	q22, q23, [x13, #-32]
	ldp	q24, q25, [x13], #64
	and.16b	v22, v22, v0
	and.16b	v23, v23, v0
	and.16b	v24, v24, v0
	and.16b	v25, v25, v0
	cmeq.4s	v22, v22, #0
	cmeq.4s	v23, v23, #0
	cmeq.4s	v24, v24, #0
	cmeq.4s	v25, v25, #0
	ushl.4s	v26, v6, v4
	ushl.4s	v19, v6, v19
	ushl.4s	v20, v6, v20
	ushl.4s	v21, v6, v21
	bic.16b	v22, v26, v22
	bic.16b	v19, v19, v23
	bic.16b	v20, v20, v24
	bic.16b	v21, v21, v25
	orr.16b	v1, v22, v1
	orr.16b	v16, v19, v16
	orr.16b	v17, v20, v17
	orr.16b	v18, v21, v18
	add.4s	v4, v4, v7
	subs	x14, x14, #16
	b.ne	LBB0_8
; %bb.9:
	orr.16b	v0, v16, v1
	orr.16b	v0, v17, v0
	orr.16b	v0, v18, v0
	ext.16b	v1, v0, v0, #8
	orr.8b	v0, v0, v1
	fmov	w13, s0
	mov.s	w14, v0[1]
	orr	w13, w13, w14
	cmp	x12, x8
	b.eq	LBB0_12
LBB0_10:
	mov	w14, #1
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	w15, [x11, x12, lsl #2]
	lsl	w16, w14, w12
	tst	w15, w10
	csel	w15, wzr, w16, eq
	orr	w13, w15, w13
	add	x12, x12, #1
	cmp	x8, x12
	b.ne	LBB0_11
LBB0_12:
	mov	x11, #0
	mov	w10, #0
	str	w13, [x1, #4]
	ldr	w12, [x1, #8]
	mov	w13, #1
	ldr	x9, [x9]
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldr	w14, [x9, x11, lsl #2]
	orr	w15, w2, w14
	lsl	w16, w13, w11
	orr	w16, w10, w16
	tst	w14, w12
	csel	w10, w10, w16, eq
	cmp	w15, #0
	csel	w10, w16, w10, eq
	add	x11, x11, #1
	cmp	x8, x11
	b.ne	LBB0_13
; %bb.14:
	cmp	w8, #31
	b.hi	LBB0_22
LBB0_15:
	mov	w9, #32
	sub	w9, w9, w8
	cmp	w9, #16
	b.hs	LBB0_17
; %bb.16:
                                        ; kill: def $w8 killed $w8 killed $x8
	b	LBB0_20
LBB0_17:
	movi.2d	v0, #0000000000000000
	movi.2d	v1, #0000000000000000
	mov.s	v1[0], w10
	dup.4s	v2, w8
Lloh8:
	adrp	x10, lCPI0_0@PAGE
Lloh9:
	ldr	q3, [x10, lCPI0_0@PAGEOFF]
	add.4s	v2, v2, v3
	and	w11, w9, #0xfffffff0
	movi.4s	v3, #4
	add	w8, w8, w11
	movi.4s	v4, #8
	movi.4s	v5, #12
	movi.4s	v6, #1
	movi.4s	v7, #16
	mov	x10, x11
	movi.2d	v16, #0000000000000000
	movi.2d	v17, #0000000000000000
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	add.4s	v18, v2, v3
	add.4s	v19, v2, v4
	add.4s	v20, v2, v5
	ushl.4s	v21, v6, v2
	ushl.4s	v18, v6, v18
	ushl.4s	v19, v6, v19
	ushl.4s	v20, v6, v20
	orr.16b	v1, v1, v21
	orr.16b	v0, v0, v18
	orr.16b	v16, v16, v19
	orr.16b	v17, v17, v20
	add.4s	v2, v2, v7
	subs	w10, w10, #16
	b.ne	LBB0_18
; %bb.19:
	orr.16b	v0, v0, v1
	orr.16b	v0, v16, v0
	orr.16b	v0, v17, v0
	ext.16b	v1, v0, v0, #8
	orr.8b	v0, v0, v1
	fmov	w10, s0
	mov.s	w12, v0[1]
	orr	w10, w10, w12
	cmp	w9, w11
	b.eq	LBB0_22
LBB0_20:
	mov	w9, #1
LBB0_21:                                ; =>This Inner Loop Header: Depth=1
	lsl	w11, w9, w8
	orr	w10, w10, w11
	add	w8, w8, #1
	cmp	w8, #32
	b.ne	LBB0_21
LBB0_22:
	str	w10, [x1, #8]
LBB0_23:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdr	Lloh6, Lloh7
	.loh AdrpLdr	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_current_mapping_size,8,3       ; @current_mapping_size
	.comm	_current_mapping,8,3            ; @current_mapping
	.no_dead_strip	_map_decision
.subsections_via_symbols
