	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tipc_ref_table_init            ## -- Begin function tipc_ref_table_init
	.p2align	4, 0x90
_tipc_ref_table_init:                   ## @tipc_ref_table_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movl	%edi, %r15d
	movl	$16, %eax
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	%eax, %ebx
	leal	(%rbx,%rbx), %eax
	cmpl	%r15d, %ebx
	jle	LBB0_1
## %bb.2:
	leal	(,%rbx,4), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movq	___GFP_HIGHMEM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movq	___GFP_ZERO@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movq	_PAGE_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	___vmalloc
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	incl	%r15d
	movq	_tipc_ref_table@GOTPCREL(%rip), %rcx
	movq	%rax, 32(%rcx)
	movl	%r15d, (%rcx)
	movl	$1, 4(%rcx)
	leal	-1(%rbx), %eax
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rcx)
	movl	%eax, 8(%rcx)
	negl	%ebx
	andl	%r14d, %ebx
	movl	%ebx, 12(%rcx)
	xorl	%eax, %eax
	jmp	LBB0_5
LBB0_3:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	___GFP_HIGHMEM,4,2              ## @__GFP_HIGHMEM
	.comm	___GFP_ZERO,4,2                 ## @__GFP_ZERO
	.comm	_PAGE_KERNEL,4,2                ## @PAGE_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_tipc_ref_table,40,3            ## @tipc_ref_table
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tipc_ref_table_init            ; -- Begin function tipc_ref_table_init
	.p2align	2
_tipc_ref_table_init:                   ; @tipc_ref_table_init
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x1
	mov	x20, x0
	mov	w8, #16
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	mov	x21, x8
	lsl	w8, w8, #1
	cmp	w21, w20
	b.le	LBB0_1
; %bb.2:
	lsl	w0, w21, #2
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, ___GFP_HIGHMEM@GOTPAGE
Lloh4:
	ldr	x9, [x9, ___GFP_HIGHMEM@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
Lloh6:
	adrp	x10, ___GFP_ZERO@GOTPAGE
Lloh7:
	ldr	x10, [x10, ___GFP_ZERO@GOTPAGEOFF]
	orr	w8, w9, w8
Lloh8:
	ldr	w9, [x10]
	orr	w1, w8, w9
Lloh9:
	adrp	x8, _PAGE_KERNEL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _PAGE_KERNEL@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	bl	___vmalloc
	cbz	x0, LBB0_4
; %bb.3:
	mov	x8, x0
	mov	w0, #0
Lloh12:
	adrp	x9, _tipc_ref_table@GOTPAGE
Lloh13:
	ldr	x9, [x9, _tipc_ref_table@GOTPAGEOFF]
	add	w10, w20, #1
	stp	xzr, x8, [x9, #24]
	mov	w8, #1
	stp	w10, w8, [x9]
	sub	w8, w21, #1
	str	xzr, [x9, #16]
	neg	w10, w21
	and	w10, w10, w19
	stp	w8, w10, [x9, #8]
	b	LBB0_5
LBB0_4:
Lloh14:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	___GFP_HIGHMEM,4,2              ; @__GFP_HIGHMEM
	.comm	___GFP_ZERO,4,2                 ; @__GFP_ZERO
	.comm	_PAGE_KERNEL,4,2                ; @PAGE_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_tipc_ref_table,40,3            ; @tipc_ref_table
.subsections_via_symbols
