	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_base_file_bitmap           ## -- Begin function get_base_file_bitmap
	.p2align	4, 0x90
_get_base_file_bitmap:                  ## @get_base_file_bitmap
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	callq	_get_file_basename
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdi
	movl	$47, %esi
	callq	_strchr
	movq	%rax, %r13
	movq	_NUM_BASE_FILES@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	testq	%r13, %r13
	je	LBB0_6
## %bb.1:
	cmpq	$2, %r15
	jb	LBB0_6
## %bb.2:
	subq	-48(%rbp), %r13                 ## 8-byte Folded Reload
	movl	$1, %ebx
	movq	_lang_dir_names@GOTPCREL(%rip), %r12
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%rbx
	cmpq	%r15, %rbx
	jae	LBB0_6
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rax
	movq	(%rax,%rbx,8), %r14
	movq	%r14, %rdi
	callq	_strlen
	cmpq	%rax, %r13
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	movq	%r13, %rdx
	callq	_memcmp
	movq	_NUM_BASE_FILES@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	jmp	LBB0_5
LBB0_6:
	movq	_NUM_LANG_FILES@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_16
## %bb.7:
	xorl	%r13d, %r13d
	movq	_langs_for_lang_files@GOTPCREL(%rip), %r14
	xorl	%r12d, %r12d
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_8 Depth=1
	incq	%r13
	movq	_NUM_LANG_FILES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpq	%rax, %r13
	jae	LBB0_15
LBB0_8:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_11 Depth 2
	movq	_lang_files@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%r13,4), %esi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_strcmp
	movq	_NUM_BASE_FILES@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r15
	testl	%eax, %eax
	jne	LBB0_14
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	testq	%r15, %r15
	je	LBB0_14
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=1
	xorl	%ebx, %ebx
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_11 Depth=2
	orl	%edx, %r12d
	incl	%ebx
	movq	_NUM_BASE_FILES@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	cmpq	%rbx, %r15
	jbe	LBB0_14
LBB0_11:                                ##   Parent Loop BB0_8 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	_lang_dir_names@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax,%rbx,8), %rdi
	movq	(%r14), %rax
	movl	(%rax,%r13,4), %esi
	callq	_strcmp
	movl	$1, %edx
	movl	%ebx, %ecx
	shll	%cl, %edx
	testl	%eax, %eax
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=2
	xorl	%edx, %edx
	jmp	LBB0_13
LBB0_15:
	testl	%r12d, %r12d
	jne	LBB0_17
LBB0_16:
	movl	$-1, %r12d
	movl	%r15d, %ecx
	shll	%cl, %r12d
	notl	%r12d
LBB0_17:
	movl	%r12d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NUM_BASE_FILES,8,3             ## @NUM_BASE_FILES
	.comm	_lang_dir_names,8,3             ## @lang_dir_names
	.comm	_NUM_LANG_FILES,4,2             ## @NUM_LANG_FILES
	.comm	_lang_files,8,3                 ## @lang_files
	.comm	_langs_for_lang_files,8,3       ## @langs_for_lang_files
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_base_file_bitmap           ; -- Begin function get_base_file_bitmap
	.p2align	2
_get_base_file_bitmap:                  ; @get_base_file_bitmap
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
	bl	_get_file_basename
	mov	x20, x0
	mov	w1, #47
	bl	_strchr
Lloh0:
	adrp	x23, _NUM_BASE_FILES@GOTPAGE
Lloh1:
	ldr	x23, [x23, _NUM_BASE_FILES@GOTPAGEOFF]
	ldr	x25, [x23]
Lloh2:
	adrp	x24, _lang_dir_names@GOTPAGE
Lloh3:
	ldr	x24, [x24, _lang_dir_names@GOTPAGEOFF]
	cbz	x0, LBB0_6
; %bb.1:
	cmp	x25, #2
	b.lo	LBB0_6
; %bb.2:
	sub	x21, x0, x20
	mov	w26, #1
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x26, x26, #1
	cmp	x26, x25
	b.hs	LBB0_6
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x24]
	ldr	x22, [x8, x26, lsl #3]
	mov	x0, x22
	bl	_strlen
	cmp	x21, x0
	b.ne	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
	mov	x1, x22
	mov	x2, x21
	bl	_memcmp
	ldr	x25, [x23]
	b	LBB0_3
LBB0_6:
Lloh4:
	adrp	x21, _NUM_LANG_FILES@GOTPAGE
Lloh5:
	ldr	x21, [x21, _NUM_LANG_FILES@GOTPAGEOFF]
	ldr	w8, [x21]
	cbz	w8, LBB0_14
; %bb.7:
	mov	x22, #0
	mov	w20, #0
Lloh6:
	adrp	x26, _lang_files@GOTPAGE
Lloh7:
	ldr	x26, [x26, _lang_files@GOTPAGEOFF]
Lloh8:
	adrp	x27, _langs_for_lang_files@GOTPAGE
Lloh9:
	ldr	x27, [x27, _langs_for_lang_files@GOTPAGEOFF]
	mov	w28, #1
	str	x19, [sp, #8]                   ; 8-byte Folded Spill
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	add	x22, x22, #1
	ldr	w8, [x21]
	cmp	x22, x8
	b.hs	LBB0_13
LBB0_9:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_11 Depth 2
	ldr	x8, [x26]
	ldr	w1, [x8, x22, lsl #2]
	mov	x0, x19
	bl	_strcmp
	ldr	x25, [x23]
	cmp	w0, #0
	ccmp	x25, #0, #4, eq
	b.eq	LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x19, x26
	mov	x26, x21
	mov	x21, #0
LBB0_11:                                ;   Parent Loop BB0_9 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x24]
	ldr	x0, [x8, x21, lsl #3]
	ldr	x8, [x27]
	ldr	w1, [x8, x22, lsl #2]
	bl	_strcmp
	lsl	w8, w28, w21
	cmp	w0, #0
	csel	w8, w8, wzr, eq
	orr	w20, w8, w20
	add	w21, w21, #1
	ldr	x25, [x23]
	cmp	x25, x21
	b.hi	LBB0_11
; %bb.12:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x21, x26
	mov	x26, x19
	ldr	x19, [sp, #8]                   ; 8-byte Folded Reload
	b	LBB0_8
LBB0_13:
	cbnz	w20, LBB0_15
LBB0_14:
	mov	w8, #-1
	lsl	w8, w8, w25
	mvn	w20, w8
LBB0_15:
	mov	x0, x20
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_NUM_BASE_FILES,8,3             ; @NUM_BASE_FILES
	.comm	_lang_dir_names,8,3             ; @lang_dir_names
	.comm	_NUM_LANG_FILES,4,2             ; @NUM_LANG_FILES
	.comm	_lang_files,8,3                 ; @lang_files
	.comm	_langs_for_lang_files,8,3       ; @langs_for_lang_files
.subsections_via_symbols
