	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx5_init_fc_stats             ## -- Begin function mlx5_init_fc_stats
	.p2align	4, 0x90
_mlx5_init_fc_stats:                    ## @mlx5_init_fc_stats
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	addq	$36, %rdi
	callq	_spin_lock_init
	leaq	32(%rbx), %rdi
	callq	_idr_init
	leaq	28(%rbx), %rdi
	callq	_INIT_LIST_HEAD
	leaq	24(%rbx), %rdi
	callq	_init_llist_head
	leaq	20(%rbx), %rdi
	callq	_init_llist_head
	movq	%rbx, %rdi
	callq	_get_max_bulk_query_len
	movl	%eax, %edi
	callq	_mlx5_cmd_fc_get_bulk_query_out_len
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_kzalloc
	movl	%eax, (%rbx)
	testl	%eax, %eax
	je	LBB0_4
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_create_singlethread_workqueue
	movl	%eax, 16(%rbx)
	testl	%eax, %eax
	je	LBB0_3
## %bb.2:
	movq	_MLX5_FC_STATS_PERIOD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%rbx)
	leaq	8(%rbx), %rdi
	movq	_mlx5_fc_stats_work@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_DELAYED_WORK
	leaq	4(%rbx), %rdi
	movq	%rbx, %rsi
	callq	_mlx5_fc_pool_init
	xorl	%eax, %eax
	jmp	LBB0_5
LBB0_3:
	movl	(%rbx), %edi
	callq	_kfree
LBB0_4:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	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_fc"

	.comm	_MLX5_FC_STATS_PERIOD,4,2       ## @MLX5_FC_STATS_PERIOD
	.comm	_mlx5_fc_stats_work,4,2         ## @mlx5_fc_stats_work
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx5_init_fc_stats             ; -- Begin function mlx5_init_fc_stats
	.p2align	2
_mlx5_init_fc_stats:                    ; @mlx5_init_fc_stats
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	add	x0, x0, #36
	bl	_spin_lock_init
	add	x0, x19, #32
	bl	_idr_init
	add	x0, x19, #28
	bl	_INIT_LIST_HEAD
	add	x0, x19, #24
	bl	_init_llist_head
	add	x0, x19, #20
	bl	_init_llist_head
	mov	x0, x19
	bl	_get_max_bulk_query_len
	bl	_mlx5_cmd_fc_get_bulk_query_out_len
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_kzalloc
	str	w0, [x19]
	cbz	w0, LBB0_4
; %bb.1:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_create_singlethread_workqueue
	str	w0, [x19, #16]
	cbz	w0, LBB0_3
; %bb.2:
Lloh5:
	adrp	x8, _MLX5_FC_STATS_PERIOD@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MLX5_FC_STATS_PERIOD@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	str	w8, [x19, #12]
	add	x0, x19, #8
Lloh8:
	adrp	x8, _mlx5_fc_stats_work@GOTPAGE
Lloh9:
	ldr	x8, [x8, _mlx5_fc_stats_work@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	bl	_INIT_DELAYED_WORK
	add	x0, x19, #4
	mov	x1, x19
	bl	_mlx5_fc_pool_init
	mov	w0, #0
	b	LBB0_5
LBB0_3:
	ldr	w0, [x19]
	bl	_kfree
LBB0_4:
Lloh11:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.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_fc"

	.comm	_MLX5_FC_STATS_PERIOD,4,2       ; @MLX5_FC_STATS_PERIOD
	.comm	_mlx5_fc_stats_work,4,2         ; @mlx5_fc_stats_work
.subsections_via_symbols
