	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function its_alloc_tables
_its_alloc_tables:                      ## @its_alloc_tables
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_GITS_BASER_NR_REGS@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_14
## %bb.1:
	movq	%rdi, %r15
	movq	_ITS_FLAGS_WORKAROUND_CAVIUM_22375@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rdi)
	jne	LBB0_2
## %bb.3:
	movq	_GITS_BASER_RaWaWb@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_2:
	movq	_GITS_BASER_nCnB@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	_SZ_64K@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_GITS_BASER_InnerShareable@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	leaq	4(%r15), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	xorl	%r12d, %r12d
	xorl	%r13d, %r13d
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	%rbx, %r15
LBB0_13:                                ##   in Loop: Header=BB0_5 Depth=1
	incq	%r13
	movq	_GITS_BASER_NR_REGS@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	addq	$8, %r12
	cmpq	%rax, %r13
	jge	LBB0_14
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r15), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	leaq	(%rax,%r12), %r14
	movq	%r15, %rbx
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_its_read_baser
	movl	%eax, %edi
	callq	_GITS_BASER_TYPE
	movl	%eax, %r15d
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_get_order
	movl	%eax, -56(%rbp)
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	cmpl	$130, %r15d
	je	LBB0_10
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpl	$129, %r15d
	je	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	$0, %eax
	cmpl	$128, %r15d
	movq	%rbx, %r15
	jne	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	_ITS_MAX_VPEID_BITS@GOTPCREL(%rip), %rax
LBB0_10:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	(%rax), %r8d
	movq	%rbx, %r15
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	leaq	-56(%rbp), %rcx
	callq	_its_parse_indirect_baser
LBB0_11:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	-56(%rbp), %r9d
	movl	%eax, (%rsp)
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	callq	_its_setup_baser
	testl	%eax, %eax
	js	LBB0_16
## %bb.12:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax,%r12), %ecx
	movl	4(%rax,%r12), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_GITS_BASER_CACHEABILITY_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%ecx, %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	_GITS_BASER_SHAREABILITY_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %ecx
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	jmp	LBB0_13
LBB0_14:
	xorl	%ebx, %ebx
	jmp	LBB0_15
LBB0_16:
	movl	%eax, %ebx
	movq	%r15, %rdi
	callq	_its_free_tables
LBB0_15:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GITS_BASER_InnerShareable,4,2  ## @GITS_BASER_InnerShareable
	.comm	_GITS_BASER_RaWaWb,4,2          ## @GITS_BASER_RaWaWb
	.comm	_SZ_64K,4,2                     ## @SZ_64K
	.comm	_ITS_FLAGS_WORKAROUND_CAVIUM_22375,4,2 ## @ITS_FLAGS_WORKAROUND_CAVIUM_22375
	.comm	_GITS_BASER_nCnB,4,2            ## @GITS_BASER_nCnB
	.comm	_GITS_BASER_NR_REGS,4,2         ## @GITS_BASER_NR_REGS
	.comm	_ITS_MAX_VPEID_BITS,4,2         ## @ITS_MAX_VPEID_BITS
	.comm	_GITS_BASER_CACHEABILITY_MASK,4,2 ## @GITS_BASER_CACHEABILITY_MASK
	.comm	_GITS_BASER_SHAREABILITY_MASK,4,2 ## @GITS_BASER_SHAREABILITY_MASK
	.no_dead_strip	_its_alloc_tables
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function its_alloc_tables
_its_alloc_tables:                      ; @its_alloc_tables
	.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
Lloh0:
	adrp	x8, _GITS_BASER_NR_REGS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GITS_BASER_NR_REGS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_11
; %bb.1:
	mov	x19, x0
	mov	x26, #0
	mov	x27, #0
Lloh3:
	adrp	x8, _ITS_FLAGS_WORKAROUND_CAVIUM_22375@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ITS_FLAGS_WORKAROUND_CAVIUM_22375@GOTPAGEOFF]
	mov	x28, x0
	ldr	w9, [x28], #4
Lloh5:
	adrp	x10, _GITS_BASER_RaWaWb@GOTPAGE
Lloh6:
	ldr	x10, [x10, _GITS_BASER_RaWaWb@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	adrp	x11, _GITS_BASER_nCnB@GOTPAGE
Lloh9:
	ldr	x11, [x11, _GITS_BASER_nCnB@GOTPAGEOFF]
	tst	w8, w9
	csel	x8, x10, x11, eq
	ldr	w21, [x8]
Lloh10:
	adrp	x8, _SZ_64K@GOTPAGE
Lloh11:
	ldr	x8, [x8, _SZ_64K@GOTPAGEOFF]
Lloh12:
	ldr	w20, [x8]
Lloh13:
	adrp	x8, _GITS_BASER_InnerShareable@GOTPAGE
Lloh14:
	ldr	x8, [x8, _GITS_BASER_InnerShareable@GOTPAGEOFF]
Lloh15:
	ldr	w22, [x8]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x27, x27, #1
Lloh16:
	adrp	x8, _GITS_BASER_NR_REGS@GOTPAGE
Lloh17:
	ldr	x8, [x8, _GITS_BASER_NR_REGS@GOTPAGEOFF]
Lloh18:
	ldrsw	x8, [x8]
	add	x26, x26, #8
	cmp	x27, x8
	b.ge	LBB0_11
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x25, [x19, #8]
	add	x23, x25, x26
	mov	x0, x19
	mov	x1, x23
	bl	_its_read_baser
	bl	_GITS_BASER_TYPE
	mov	x24, x0
	mov	x0, x20
	bl	_get_order
	str	w0, [sp, #12]
	mov	x8, x28
	cmp	w24, #130
	b.eq	LBB0_7
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w24, #129
	b.eq	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w24, #128
	b.ne	LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh19:
	adrp	x8, _ITS_MAX_VPEID_BITS@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ITS_MAX_VPEID_BITS@GOTPAGEOFF]
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w4, [x8]
	add	x3, sp, #12
	mov	x0, x19
	mov	x1, x23
	mov	x2, x20
	bl	_its_parse_indirect_baser
	mov	x6, x0
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	w6, #0
LBB0_9:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w5, [sp, #12]
	mov	x0, x19
	mov	x1, x23
	mov	x2, x21
	mov	x3, x22
	mov	x4, x20
	bl	_its_setup_baser
	tbnz	w0, #31, LBB0_12
; %bb.10:                               ;   in Loop: Header=BB0_3 Depth=1
	add	x8, x25, x26
	ldp	w8, w20, [x8]
Lloh21:
	adrp	x9, _GITS_BASER_CACHEABILITY_MASK@GOTPAGE
Lloh22:
	ldr	x9, [x9, _GITS_BASER_CACHEABILITY_MASK@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	and	w21, w9, w8
Lloh24:
	adrp	x9, _GITS_BASER_SHAREABILITY_MASK@GOTPAGE
Lloh25:
	ldr	x9, [x9, _GITS_BASER_SHAREABILITY_MASK@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	and	w22, w9, w8
	b	LBB0_2
LBB0_11:
	mov	w20, #0
	b	LBB0_13
LBB0_12:
	mov	x20, x0
	mov	x0, x19
	bl	_its_free_tables
LBB0_13:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_GITS_BASER_InnerShareable,4,2  ; @GITS_BASER_InnerShareable
	.comm	_GITS_BASER_RaWaWb,4,2          ; @GITS_BASER_RaWaWb
	.comm	_SZ_64K,4,2                     ; @SZ_64K
	.comm	_ITS_FLAGS_WORKAROUND_CAVIUM_22375,4,2 ; @ITS_FLAGS_WORKAROUND_CAVIUM_22375
	.comm	_GITS_BASER_nCnB,4,2            ; @GITS_BASER_nCnB
	.comm	_GITS_BASER_NR_REGS,4,2         ; @GITS_BASER_NR_REGS
	.comm	_ITS_MAX_VPEID_BITS,4,2         ; @ITS_MAX_VPEID_BITS
	.comm	_GITS_BASER_CACHEABILITY_MASK,4,2 ; @GITS_BASER_CACHEABILITY_MASK
	.comm	_GITS_BASER_SHAREABILITY_MASK,4,2 ; @GITS_BASER_SHAREABILITY_MASK
	.no_dead_strip	_its_alloc_tables
.subsections_via_symbols
