	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx5_init_fs                   ## -- Begin function mlx5_init_fs
	.p2align	4, 0x90
_mlx5_init_fs:                          ## @mlx5_init_fs
	.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
	movq	%rdi, %r15
	callq	_mlx5_init_fc_stats
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_31
## %bb.1:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$24, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	%rax, %r14
	movq	%r15, 16(%rax)
	movq	%rax, (%r15)
	leaq	L_.str(%rip), %rdi
	xorl	%ebx, %ebx
	movl	$4, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_kmem_cache_create
	movq	%rax, (%r14)
	leaq	L_.str.1(%rip), %rdi
	movl	$4, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_kmem_cache_create
	movq	%rax, 8(%r14)
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	cmpq	$0, (%r14)
	je	LBB0_5
## %bb.7:
	movq	_port_type@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	%r15, %rdi
	callq	_MLX5_CAP_GEN
	movq	_MLX5_CAP_PORT_TYPE_ETH@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_9
## %bb.8:
	movq	_nic_flow_table@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_MLX5_CAP_GEN
	testq	%rax, %rax
	jne	LBB0_11
LBB0_9:
	movl	(%rbx), %esi
	movq	%r15, %rdi
	callq	_MLX5_CAP_GEN
	movq	_MLX5_CAP_PORT_TYPE_IB@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_13
## %bb.10:
	movq	_ipoib_enhanced_offloads@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_MLX5_CAP_GEN
	testq	%rax, %rax
	je	LBB0_13
LBB0_11:
	movq	_ft_support@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_MLX5_CAP_FLOWTABLE_NIC_RX
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	movq	%r14, %rdi
	callq	_init_root_ns
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_6
LBB0_13:
	movq	%r15, %rdi
	callq	_MLX5_ESWITCH_MANAGER
	testq	%rax, %rax
	je	LBB0_20
## %bb.14:
	movq	_ft_support@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%r15, %rdi
	callq	_MLX5_CAP_ESW_FLOWTABLE_FDB
	testq	%rax, %rax
	je	LBB0_16
## %bb.15:
	movq	%r14, %rdi
	callq	_init_fdb_root_ns
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_6
LBB0_16:
	movl	(%r12), %esi
	movq	%r15, %rdi
	callq	_MLX5_CAP_ESW_EGRESS_ACL
	testq	%rax, %rax
	je	LBB0_18
## %bb.17:
	movq	%r15, %rdi
	callq	_init_egress_acls_root_ns
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_6
LBB0_18:
	movl	(%r12), %esi
	movq	%r15, %rdi
	callq	_MLX5_CAP_ESW_INGRESS_ACL
	testq	%rax, %rax
	je	LBB0_20
## %bb.19:
	movq	%r15, %rdi
	callq	_init_ingress_acls_root_ns
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_6
LBB0_20:
	movq	_ft_support@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%r15, %rdi
	callq	_MLX5_CAP_FLOWTABLE_SNIFFER_RX
	testq	%rax, %rax
	je	LBB0_22
## %bb.21:
	movq	%r14, %rdi
	callq	_init_sniffer_rx_root_ns
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_6
LBB0_22:
	movl	(%r12), %esi
	movq	%r15, %rdi
	callq	_MLX5_CAP_FLOWTABLE_SNIFFER_TX
	testq	%rax, %rax
	je	LBB0_24
## %bb.23:
	movq	%r14, %rdi
	callq	_init_sniffer_tx_root_ns
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_6
LBB0_24:
	movl	(%r12), %esi
	movq	%r15, %rdi
	callq	_MLX5_CAP_FLOWTABLE_RDMA_RX
	testq	%rax, %rax
	je	LBB0_27
## %bb.25:
	movq	_table_miss_action_domain@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_MLX5_CAP_FLOWTABLE_RDMA_RX
	testq	%rax, %rax
	je	LBB0_27
## %bb.26:
	movq	%r14, %rdi
	callq	_init_rdma_rx_root_ns
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_6
LBB0_27:
	movq	%r15, %rdi
	callq	_MLX5_IPSEC_DEV
	testq	%rax, %rax
	jne	LBB0_29
## %bb.28:
	movl	(%r12), %esi
	movq	%r15, %rdi
	callq	_MLX5_CAP_FLOWTABLE_NIC_TX
	testq	%rax, %rax
	je	LBB0_30
LBB0_29:
	movq	%r14, %rdi
	callq	_init_egress_root_ns
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_6
LBB0_30:
	xorl	%ebx, %ebx
	jmp	LBB0_31
LBB0_5:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
LBB0_6:
	movq	%r15, %rdi
	callq	_mlx5_cleanup_fs
	jmp	LBB0_31
LBB0_2:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_31:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"mlx5_fs_fgs"

L_.str.1:                               ## @.str.1
	.asciz	"mlx5_fs_ftes"

	.comm	_port_type,4,2                  ## @port_type
	.comm	_MLX5_CAP_PORT_TYPE_ETH,8,3     ## @MLX5_CAP_PORT_TYPE_ETH
	.comm	_nic_flow_table,4,2             ## @nic_flow_table
	.comm	_MLX5_CAP_PORT_TYPE_IB,8,3      ## @MLX5_CAP_PORT_TYPE_IB
	.comm	_ipoib_enhanced_offloads,4,2    ## @ipoib_enhanced_offloads
	.comm	_ft_support,4,2                 ## @ft_support
	.comm	_table_miss_action_domain,4,2   ## @table_miss_action_domain
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx5_init_fs                   ; -- Begin function mlx5_init_fs
	.p2align	2
_mlx5_init_fs:                          ; @mlx5_init_fs
	.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, x0
	bl	_mlx5_init_fc_stats
	mov	x21, x0
	cbnz	w0, LBB0_30
; %bb.1:
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #24
	bl	_kzalloc
	cbz	x0, LBB0_29
; %bb.2:
	mov	x20, x0
	str	x19, [x0, #16]
	str	x0, [x19]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	mov	w1, #4
	mov	w2, #0
	mov	w3, #0
	mov	x4, #0
	bl	_kmem_cache_create
	str	x0, [x20]
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	w1, #4
	mov	w2, #0
	mov	w3, #0
	mov	x4, #0
	bl	_kmem_cache_create
	str	x0, [x20, #8]
	cbz	x0, LBB0_27
; %bb.3:
	ldr	x8, [x20]
	cbz	x8, LBB0_27
; %bb.4:
Lloh7:
	adrp	x21, _port_type@GOTPAGE
Lloh8:
	ldr	x21, [x21, _port_type@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x19
	bl	_MLX5_CAP_GEN
Lloh9:
	adrp	x8, _MLX5_CAP_PORT_TYPE_ETH@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MLX5_CAP_PORT_TYPE_ETH@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
Lloh12:
	adrp	x22, _ft_support@GOTPAGE
Lloh13:
	ldr	x22, [x22, _ft_support@GOTPAGEOFF]
	cmp	x0, x8
	b.ne	LBB0_6
; %bb.5:
Lloh14:
	adrp	x8, _nic_flow_table@GOTPAGE
Lloh15:
	ldr	x8, [x8, _nic_flow_table@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_MLX5_CAP_GEN
	cbnz	x0, LBB0_8
LBB0_6:
	ldr	w1, [x21]
	mov	x0, x19
	bl	_MLX5_CAP_GEN
Lloh17:
	adrp	x8, _MLX5_CAP_PORT_TYPE_IB@GOTPAGE
Lloh18:
	ldr	x8, [x8, _MLX5_CAP_PORT_TYPE_IB@GOTPAGEOFF]
Lloh19:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_10
; %bb.7:
Lloh20:
	adrp	x8, _ipoib_enhanced_offloads@GOTPAGE
Lloh21:
	ldr	x8, [x8, _ipoib_enhanced_offloads@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_MLX5_CAP_GEN
	cbz	x0, LBB0_10
LBB0_8:
	ldr	w1, [x22]
	mov	x0, x19
	bl	_MLX5_CAP_FLOWTABLE_NIC_RX
	cbz	x0, LBB0_10
; %bb.9:
	mov	x0, x20
	bl	_init_root_ns
	mov	x21, x0
	cbnz	w0, LBB0_28
LBB0_10:
	mov	x0, x19
	bl	_MLX5_ESWITCH_MANAGER
	cbz	x0, LBB0_17
; %bb.11:
	ldr	w1, [x22]
	mov	x0, x19
	bl	_MLX5_CAP_ESW_FLOWTABLE_FDB
	cbz	x0, LBB0_13
; %bb.12:
	mov	x0, x20
	bl	_init_fdb_root_ns
	mov	x21, x0
	cbnz	w0, LBB0_28
LBB0_13:
	ldr	w1, [x22]
	mov	x0, x19
	bl	_MLX5_CAP_ESW_EGRESS_ACL
	cbz	x0, LBB0_15
; %bb.14:
	mov	x0, x19
	bl	_init_egress_acls_root_ns
	mov	x21, x0
	cbnz	w0, LBB0_28
LBB0_15:
	ldr	w1, [x22]
	mov	x0, x19
	bl	_MLX5_CAP_ESW_INGRESS_ACL
	cbz	x0, LBB0_17
; %bb.16:
	mov	x0, x19
	bl	_init_ingress_acls_root_ns
	mov	x21, x0
	cbnz	w0, LBB0_28
LBB0_17:
	ldr	w1, [x22]
	mov	x0, x19
	bl	_MLX5_CAP_FLOWTABLE_SNIFFER_RX
	cbz	x0, LBB0_19
; %bb.18:
	mov	x0, x20
	bl	_init_sniffer_rx_root_ns
	mov	x21, x0
	cbnz	w0, LBB0_28
LBB0_19:
	ldr	w1, [x22]
	mov	x0, x19
	bl	_MLX5_CAP_FLOWTABLE_SNIFFER_TX
	cbz	x0, LBB0_21
; %bb.20:
	mov	x0, x20
	bl	_init_sniffer_tx_root_ns
	mov	x21, x0
	cbnz	w0, LBB0_28
LBB0_21:
	ldr	w1, [x22]
	mov	x0, x19
	bl	_MLX5_CAP_FLOWTABLE_RDMA_RX
	cbz	x0, LBB0_24
; %bb.22:
Lloh23:
	adrp	x8, _table_miss_action_domain@GOTPAGE
Lloh24:
	ldr	x8, [x8, _table_miss_action_domain@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_MLX5_CAP_FLOWTABLE_RDMA_RX
	cbz	x0, LBB0_24
; %bb.23:
	mov	x0, x20
	bl	_init_rdma_rx_root_ns
	mov	x21, x0
	cbnz	w0, LBB0_28
LBB0_24:
	mov	x0, x19
	bl	_MLX5_IPSEC_DEV
	cbnz	x0, LBB0_26
; %bb.25:
	ldr	w1, [x22]
	mov	x0, x19
	bl	_MLX5_CAP_FLOWTABLE_NIC_TX
	cbz	x0, LBB0_31
LBB0_26:
	mov	x0, x20
	bl	_init_egress_root_ns
	mov	x21, x0
	cbnz	w0, LBB0_28
	b	LBB0_30
LBB0_27:
Lloh26:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh27:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
	neg	w21, w8
LBB0_28:
	mov	x0, x19
	bl	_mlx5_cleanup_fs
	b	LBB0_30
LBB0_29:
Lloh29:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh30:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
	neg	w21, w8
LBB0_30:
	mov	x0, x21
	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
LBB0_31:
	mov	w21, #0
	b	LBB0_30
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"mlx5_fs_fgs"

l_.str.1:                               ; @.str.1
	.asciz	"mlx5_fs_ftes"

	.comm	_port_type,4,2                  ; @port_type
	.comm	_MLX5_CAP_PORT_TYPE_ETH,8,3     ; @MLX5_CAP_PORT_TYPE_ETH
	.comm	_nic_flow_table,4,2             ; @nic_flow_table
	.comm	_MLX5_CAP_PORT_TYPE_IB,8,3      ; @MLX5_CAP_PORT_TYPE_IB
	.comm	_ipoib_enhanced_offloads,4,2    ; @ipoib_enhanced_offloads
	.comm	_ft_support,4,2                 ; @ft_support
	.comm	_table_miss_action_domain,4,2   ; @table_miss_action_domain
.subsections_via_symbols
