	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx5_fc_create                 ## -- Begin function mlx5_fc_create
	.p2align	4, 0x90
_mlx5_fc_create:                        ## @mlx5_fc_create
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, %r14
	callq	_mlx5_fc_acquire
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_1
LBB0_5:
	movq	%r15, %rax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	leaq	32(%r15), %rdi
	callq	_INIT_LIST_HEAD
	movl	%ebx, (%r15)
	testl	%ebx, %ebx
	je	LBB0_5
## %bb.2:
	movl	28(%r15), %r12d
	movl	%r12d, -36(%rbp)
	movq	_jiffies@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r15)
	movq	8(%r15), %rax
	movq	%rax, 20(%r15)
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_idr_preload
	leaq	12(%r14), %rbx
	movq	%rbx, %rdi
	callq	_spin_lock
	leaq	16(%r14), %rdi
	movq	_GFP_NOWAIT@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leaq	-36(%rbp), %rdx
	movq	%r15, %rsi
	movl	%r12d, %ecx
	callq	_idr_alloc_u32
	movl	%eax, %r12d
	movq	%rbx, %rdi
	callq	_spin_unlock
	xorl	%eax, %eax
	callq	_idr_preload_end
	testl	%r12d, %r12d
	je	LBB0_3
## %bb.4:
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_mlx5_fc_release
	movl	%r12d, %edi
	callq	_ERR_PTR
	movq	%rax, %r15
	jmp	LBB0_5
LBB0_3:
	movq	%r15, %rdi
	addq	$4, %rdi
	leaq	8(%r14), %rsi
	callq	_llist_add
	movl	4(%r14), %edi
	movq	%r14, %rsi
	xorl	%edx, %edx
	callq	_mod_delayed_work
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.comm	_jiffies,4,2                    ## @jiffies
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_GFP_NOWAIT,4,2                 ## @GFP_NOWAIT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx5_fc_create                 ; -- Begin function mlx5_fc_create
	.p2align	2
_mlx5_fc_create:                        ; @mlx5_fc_create
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x21, x1
	mov	x20, x0
	bl	_mlx5_fc_acquire
	mov	x19, x0
	bl	_IS_ERR
	cbz	x0, LBB0_2
LBB0_1:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_2:
	add	x0, x19, #32
	bl	_INIT_LIST_HEAD
	str	w21, [x19]
	cbz	w21, LBB0_1
; %bb.3:
	ldr	w21, [x19, #28]
	str	w21, [sp, #12]
Lloh0:
	adrp	x8, _jiffies@GOTPAGE
Lloh1:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x19, #16]
	ldr	d0, [x19, #8]
	stur	d0, [x19, #20]
Lloh3:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_idr_preload
	add	x22, x20, #12
	mov	x0, x22
	bl	_spin_lock
	add	x0, x20, #16
Lloh6:
	adrp	x8, _GFP_NOWAIT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _GFP_NOWAIT@GOTPAGEOFF]
Lloh8:
	ldr	w4, [x8]
	add	x2, sp, #12
	mov	x1, x19
	mov	x3, x21
	bl	_idr_alloc_u32
	mov	x21, x0
	mov	x0, x22
	bl	_spin_unlock
	bl	_idr_preload_end
	cbz	w21, LBB0_5
; %bb.4:
	mov	x0, x20
	mov	x1, x19
	bl	_mlx5_fc_release
	mov	x0, x21
	bl	_ERR_PTR
	mov	x19, x0
	b	LBB0_1
LBB0_5:
	add	x0, x19, #4
	add	x1, x20, #8
	bl	_llist_add
	ldr	w0, [x20, #4]
	mov	x1, x20
	mov	w2, #0
	bl	_mod_delayed_work
	b	LBB0_1
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_jiffies,4,2                    ; @jiffies
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_GFP_NOWAIT,4,2                 ; @GFP_NOWAIT
.subsections_via_symbols
