	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function array_build_flags
_array_build_flags:                     ## @array_build_flags
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%esi, %ebx
	movl	%esi, %edi
	callq	_metafile_get_flags
	cmpl	$256, %eax                      ## imm = 0x100
	jb	LBB0_2
## %bb.1:
	movq	_LF_BIGFLAGS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_new_flags@GOTPCREL(%rip), %rcx
	orl	%eax, (%rcx)
LBB0_2:
	movl	%ebx, %edi
	callq	_metafile_get_value
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	_LF_HAVE_VALUES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_new_flags@GOTPCREL(%rip), %rcx
	orl	%eax, (%rcx)
LBB0_4:
	movl	%ebx, %edi
	callq	_metafile_get_date
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	_LF_HAVE_DATES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_new_flags@GOTPCREL(%rip), %rcx
	orl	%eax, (%rcx)
LBB0_6:
	leaq	-12(%rbp), %rsi
	movl	%ebx, %edi
	callq	_metafile_get_text
	cmpl	$0, -12(%rbp)
	je	LBB0_8
## %bb.7:
	movq	_LF_HAVE_TEXTS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_new_flags@GOTPCREL(%rip), %rcx
	orl	%eax, (%rcx)
LBB0_8:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LF_BIGFLAGS,4,2                ## @LF_BIGFLAGS
	.comm	_new_flags,4,2                  ## @new_flags
	.comm	_LF_HAVE_VALUES,4,2             ## @LF_HAVE_VALUES
	.comm	_LF_HAVE_DATES,4,2              ## @LF_HAVE_DATES
	.comm	_LF_HAVE_TEXTS,4,2              ## @LF_HAVE_TEXTS
	.no_dead_strip	_array_build_flags
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function array_build_flags
_array_build_flags:                     ; @array_build_flags
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x0, x1
	bl	_metafile_get_flags
Lloh0:
	adrp	x20, _new_flags@GOTPAGE
Lloh1:
	ldr	x20, [x20, _new_flags@GOTPAGEOFF]
	cmp	w0, #256
	b.lo	LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _LF_BIGFLAGS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _LF_BIGFLAGS@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	ldr	w9, [x20]
	orr	w8, w9, w8
	str	w8, [x20]
LBB0_2:
	mov	x0, x19
	bl	_metafile_get_value
	cbz	x0, LBB0_4
; %bb.3:
Lloh5:
	adrp	x8, _LF_HAVE_VALUES@GOTPAGE
Lloh6:
	ldr	x8, [x8, _LF_HAVE_VALUES@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	ldr	w9, [x20]
	orr	w8, w9, w8
	str	w8, [x20]
LBB0_4:
	mov	x0, x19
	bl	_metafile_get_date
	cbz	x0, LBB0_6
; %bb.5:
Lloh8:
	adrp	x8, _LF_HAVE_DATES@GOTPAGE
Lloh9:
	ldr	x8, [x8, _LF_HAVE_DATES@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	ldr	w9, [x20]
	orr	w8, w9, w8
	str	w8, [x20]
LBB0_6:
	add	x1, sp, #12
	mov	x0, x19
	bl	_metafile_get_text
	ldr	w8, [sp, #12]
	cbz	w8, LBB0_8
; %bb.7:
Lloh11:
	adrp	x8, _LF_HAVE_TEXTS@GOTPAGE
Lloh12:
	ldr	x8, [x8, _LF_HAVE_TEXTS@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	ldr	w9, [x20]
	orr	w8, w9, w8
	str	w8, [x20]
LBB0_8:
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_LF_BIGFLAGS,4,2                ; @LF_BIGFLAGS
	.comm	_new_flags,4,2                  ; @new_flags
	.comm	_LF_HAVE_VALUES,4,2             ; @LF_HAVE_VALUES
	.comm	_LF_HAVE_DATES,4,2              ; @LF_HAVE_DATES
	.comm	_LF_HAVE_TEXTS,4,2              ; @LF_HAVE_TEXTS
	.no_dead_strip	_array_build_flags
.subsections_via_symbols
