	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function policydb_init
_policydb_init:                         ## @policydb_init
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	movq	_SYM_NUM@GOTPCREL(%rip), %r15
	cmpl	$0, (%r15)
	jle	LBB0_8
## %bb.1:
	xorl	%ebx, %ebx
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %rdi
	addq	%rbx, %rdi
	movq	_symtab_sizes@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%rbx), %esi
	callq	_symtab_init
	testl	%eax, %eax
	jne	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_3 Depth=1
	incq	%r13
	movslq	(%r15), %rax
	addq	$4, %rbx
	cmpq	%rax, %r13
	jl	LBB0_3
LBB0_8:
	leaq	20(%r14), %rdi
	callq	_avtab_init
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_5
## %bb.9:
	movq	%r14, %rdi
	callq	_roles_init
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_5
## %bb.10:
	movq	%r14, %rdi
	callq	_cond_policydb_init
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_5
## %bb.11:
	movq	_rangetr_hash@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_rangetr_cmp@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$256, %edx                      ## imm = 0x100
	callq	_hashtab_create
	movl	%eax, 16(%r14)
	testl	%eax, %eax
	je	LBB0_12
## %bb.13:
	leaq	12(%r14), %rdi
	callq	_ebitmap_init
	addq	$8, %r14
	movq	%r14, %rdi
	callq	_ebitmap_init
	xorl	%r12d, %r12d
	jmp	LBB0_14
LBB0_4:
	movl	%eax, %r12d
LBB0_5:
	cmpl	$0, (%r15)
	jle	LBB0_14
LBB0_6:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %rax
	movl	(%rax,%rbx,4), %edi
	callq	_hashtab_destroy
	incq	%rbx
	movslq	(%r15), %rax
	cmpq	%rax, %rbx
	jl	LBB0_7
LBB0_14:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	xorl	%r12d, %r12d
	cmpl	$0, (%r15)
	jg	LBB0_6
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.comm	_SYM_NUM,4,2                    ## @SYM_NUM
	.comm	_symtab_sizes,8,3               ## @symtab_sizes
	.comm	_rangetr_hash,4,2               ## @rangetr_hash
	.comm	_rangetr_cmp,4,2                ## @rangetr_cmp
	.no_dead_strip	_policydb_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function policydb_init
_policydb_init:                         ; @policydb_init
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
	mov	w1, #0
	mov	w2, #24
	bl	_memset
Lloh0:
	adrp	x21, _SYM_NUM@GOTPAGE
Lloh1:
	ldr	x21, [x21, _SYM_NUM@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.1:
	mov	x22, #0
	mov	x23, #0
Lloh2:
	adrp	x24, _symtab_sizes@GOTPAGE
Lloh3:
	ldr	x24, [x24, _symtab_sizes@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19]
	add	x0, x8, x22
	ldr	x8, [x24]
	ldr	w1, [x8, x22]
	bl	_symtab_init
	cbnz	w0, LBB0_9
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x23, x23, #1
	ldrsw	x8, [x21]
	add	x22, x22, #4
	cmp	x23, x8
	b.lt	LBB0_2
LBB0_4:
	add	x0, x19, #20
	bl	_avtab_init
	mov	x20, x0
	cbnz	w0, LBB0_10
; %bb.5:
	mov	x0, x19
	bl	_roles_init
	mov	x20, x0
	cbnz	w0, LBB0_10
; %bb.6:
	mov	x0, x19
	bl	_cond_policydb_init
	mov	x20, x0
	cbnz	w0, LBB0_10
; %bb.7:
Lloh4:
	adrp	x8, _rangetr_hash@GOTPAGE
Lloh5:
	ldr	x8, [x8, _rangetr_hash@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
Lloh7:
	adrp	x8, _rangetr_cmp@GOTPAGE
Lloh8:
	ldr	x8, [x8, _rangetr_cmp@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	mov	w2, #256
	bl	_hashtab_create
	str	w0, [x19, #16]
	cbz	w0, LBB0_14
; %bb.8:
	add	x0, x19, #12
	bl	_ebitmap_init
	add	x0, x19, #8
	bl	_ebitmap_init
	mov	w20, #0
	b	LBB0_13
LBB0_9:
	mov	x20, x0
LBB0_10:
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_13
; %bb.11:
	mov	x22, #0
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19]
	ldr	w0, [x8, x22, lsl #2]
	bl	_hashtab_destroy
	add	x22, x22, #1
	ldrsw	x8, [x21]
	cmp	x22, x8
	b.lt	LBB0_12
LBB0_13:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_14:
	mov	w20, #0
	b	LBB0_10
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_SYM_NUM,4,2                    ; @SYM_NUM
	.comm	_symtab_sizes,8,3               ; @symtab_sizes
	.comm	_rangetr_hash,4,2               ; @rangetr_hash
	.comm	_rangetr_cmp,4,2                ; @rangetr_cmp
	.no_dead_strip	_policydb_init
.subsections_via_symbols
