	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlx5e_alloc_flow
_mlx5e_alloc_flow:                      ## @mlx5e_alloc_flow
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -56(%rbp)                  ## 8-byte Spill
	movq	%r8, -64(%rbp)                  ## 8-byte Spill
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r15
                                        ## kill: def $esi killed $esi def $rsi
	movq	%rdi, %r14
	leal	48(%rsi), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	callq	_kzalloc
	movq	%rax, %r13
	movl	(%rbx), %esi
	movl	$4, %edi
	callq	_kvzalloc
	movq	%rax, %r12
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	testq	%r13, %r13
	je	LBB0_2
## %bb.3:
	movl	(%r15), %eax
	movl	%eax, 40(%r13)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, (%r13)
	movq	%r14, 32(%r13)
	movq	_MLX5_MAX_FLOW_FWD_VPORTS@GOTPCREL(%rip), %r14
	cmpl	$0, (%r14)
	jle	LBB0_6
## %bb.4:
	xorl	%r15d, %r15d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	24(%r13), %rdi
	addq	%r15, %rdi
	callq	_INIT_LIST_HEAD
	incq	%rbx
	movslq	(%r14), %rax
	addq	$4, %r15
	cmpq	%rax, %rbx
	jl	LBB0_5
LBB0_6:
	leaq	20(%r13), %rdi
	callq	_INIT_LIST_HEAD
	leaq	16(%r13), %rdi
	callq	_INIT_LIST_HEAD
	leaq	12(%r13), %rdi
	movl	$1, %esi
	callq	_refcount_set
	movq	%r13, %rdi
	addq	$8, %rdi
	callq	_init_completion
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%r13, (%rax)
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	%r12, (%rax)
	xorl	%r14d, %r14d
	jmp	LBB0_7
LBB0_2:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
	movq	%r13, %rdi
	callq	_kfree
	movq	%r12, %rdi
	callq	_kvfree
LBB0_7:
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_MLX5_MAX_FLOW_FWD_VPORTS,4,2   ## @MLX5_MAX_FLOW_FWD_VPORTS
	.no_dead_strip	_mlx5e_alloc_flow
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlx5e_alloc_flow
_mlx5e_alloc_flow:                      ; @mlx5e_alloc_flow
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x5
	mov	x19, x4
	mov	x23, x3
	mov	x25, x2
	mov	x24, x0
	add	w0, w1, #48
Lloh0:
	adrp	x22, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x22, [x22, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w1, [x22]
	bl	_kzalloc
	mov	x21, x0
	ldr	w1, [x22]
	mov	w0, #4
	bl	_kvzalloc
	mov	x22, x0
	cmp	x0, #0
	ccmp	x21, #0, #4, ne
	b.ne	LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w23, w8
	mov	x0, x21
	bl	_kfree
	mov	x0, x22
	bl	_kvfree
	b	LBB0_6
LBB0_2:
	ldr	w8, [x25]
	str	w8, [x21, #40]
	str	x23, [x21]
	str	x24, [x21, #32]
Lloh5:
	adrp	x23, _MLX5_MAX_FLOW_FWD_VPORTS@GOTPAGE
Lloh6:
	ldr	x23, [x23, _MLX5_MAX_FLOW_FWD_VPORTS@GOTPAGEOFF]
	ldr	w8, [x23]
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.3:
	mov	x24, #0
	mov	x25, #0
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21, #24]
	add	x0, x8, x24
	bl	_INIT_LIST_HEAD
	add	x25, x25, #1
	ldrsw	x8, [x23]
	add	x24, x24, #4
	cmp	x25, x8
	b.lt	LBB0_4
LBB0_5:
	add	x0, x21, #20
	bl	_INIT_LIST_HEAD
	add	x0, x21, #16
	bl	_INIT_LIST_HEAD
	add	x0, x21, #12
	mov	w1, #1
	bl	_refcount_set
	add	x0, x21, #8
	bl	_init_completion
	mov	w23, #0
	str	x21, [x20]
	str	x22, [x19]
LBB0_6:
	mov	x0, x23
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_MLX5_MAX_FLOW_FWD_VPORTS,4,2   ; @MLX5_MAX_FLOW_FWD_VPORTS
	.no_dead_strip	_mlx5e_alloc_flow
.subsections_via_symbols
