	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function create_root_ns
_create_root_ns:                        ## @create_root_ns
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r12d
	movq	%rdi, %r14
	movl	%esi, %edi
	callq	_mlx5_fs_cmd_get_default
	movq	%rax, %r15
	movl	(%r14), %edi
	callq	_mlx5_accel_ipsec_device_caps
	movq	_MLX5_ACCEL_IPSEC_CAP_DEVICE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_4
## %bb.1:
	movq	_FS_FT_NIC_RX@GOTPCREL(%rip), %rax
	cmpl	%r12d, (%rax)
	je	LBB0_3
## %bb.2:
	movq	_FS_FT_NIC_TX@GOTPCREL(%rip), %rax
	cmpl	%r12d, (%rax)
	jne	LBB0_4
LBB0_3:
	movl	%r12d, %edi
	callq	_mlx5_fs_cmd_get_default_ipsec_fpga_cmds
	movq	%rax, %r15
LBB0_4:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$32, %edi
	callq	_kzalloc
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movl	(%r14), %eax
	movl	%eax, 24(%rbx)
	movl	%r12d, (%rbx)
	movq	%r15, 16(%rbx)
	leaq	12(%rbx), %rdi
	callq	_INIT_LIST_HEAD
	leaq	8(%rbx), %r14
	movq	%r14, %rdi
	callq	_fs_init_namespace
	movq	%rbx, %rdi
	addq	$4, %rdi
	callq	_mutex_init
	movq	%r14, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_tree_init_node
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_tree_add_node
LBB0_6:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MLX5_ACCEL_IPSEC_CAP_DEVICE,4,2 ## @MLX5_ACCEL_IPSEC_CAP_DEVICE
	.comm	_FS_FT_NIC_RX,4,2               ## @FS_FT_NIC_RX
	.comm	_FS_FT_NIC_TX,4,2               ## @FS_FT_NIC_TX
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.no_dead_strip	_create_root_ns
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function create_root_ns
_create_root_ns:                        ; @create_root_ns
	.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	x0, x1
	bl	_mlx5_fs_cmd_get_default
	mov	x21, x0
	ldr	w0, [x20]
	bl	_mlx5_accel_ipsec_device_caps
Lloh0:
	adrp	x8, _MLX5_ACCEL_IPSEC_CAP_DEVICE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MLX5_ACCEL_IPSEC_CAP_DEVICE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_3
; %bb.1:
Lloh3:
	adrp	x8, _FS_FT_NIC_RX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FS_FT_NIC_RX@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _FS_FT_NIC_TX@GOTPAGE
Lloh7:
	ldr	x9, [x9, _FS_FT_NIC_TX@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	cmp	w8, w19
	ccmp	w9, w19, #4, ne
	b.ne	LBB0_3
; %bb.2:
	mov	x0, x19
	bl	_mlx5_fs_cmd_get_default_ipsec_fpga_cmds
	mov	x21, x0
LBB0_3:
Lloh9:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	w0, #32
	bl	_kzalloc
	mov	x22, x0
	cbz	x0, LBB0_5
; %bb.4:
	ldr	w8, [x20]
	str	w8, [x22, #24]
	str	w19, [x22]
	str	x21, [x22, #16]
	add	x0, x22, #12
	bl	_INIT_LIST_HEAD
	add	x19, x22, #8
	mov	x0, x19
	bl	_fs_init_namespace
	add	x0, x22, #4
	bl	_mutex_init
	mov	x0, x19
	mov	x1, #0
	mov	x2, #0
	bl	_tree_init_node
	mov	x0, x19
	mov	x1, #0
	bl	_tree_add_node
LBB0_5:
	mov	x0, x22
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_MLX5_ACCEL_IPSEC_CAP_DEVICE,4,2 ; @MLX5_ACCEL_IPSEC_CAP_DEVICE
	.comm	_FS_FT_NIC_RX,4,2               ; @FS_FT_NIC_RX
	.comm	_FS_FT_NIC_TX,4,2               ; @FS_FT_NIC_TX
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.no_dead_strip	_create_root_ns
.subsections_via_symbols
