	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlx5e_create_cq
_mlx5e_create_cq:                       ## @mlx5e_create_cq
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_create_cq_out@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MLX5_ST_SZ_DW
	movl	%eax, %r13d
	movl	%eax, %eax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	16(%rbx), %r14
	movl	8(%r15), %esi
	leaq	-68(%rbp), %rdx
	leaq	-108(%rbp), %rcx
	movq	%r14, %rdi
	callq	_mlx5_vector2eqn
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_1
LBB0_5:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_7
## %bb.6:
	movl	%ebx, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	%r14, -96(%rbp)                 ## 8-byte Spill
	movq	%r12, -104(%rbp)                ## 8-byte Spill
	movq	_create_cq_in@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	callq	_MLX5_ST_SZ_BYTES
                                        ## kill: def $eax killed $eax def $rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	4(%rcx), %ecx
	leal	(%rax,%rcx,4), %ebx
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_kvzalloc
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	%rax, %r14
	movl	%ebx, -64(%rbp)                 ## 4-byte Spill
	movq	%r12, %rbx
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	leaq	12(%r12), %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	leaq	4(%r12), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movl	(%rbx), %edi
	movq	_cq_context@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rsi
	callq	_MLX5_ADDR_OF
	movl	%r13d, -60(%rbp)                ## 4-byte Spill
	movq	%rax, %r13
	movl	4(%r15), %esi
	movq	%rax, %rdi
	movl	$4, %edx
	callq	_memcpy
	movl	(%rbx), %edi
	movq	_pas@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rsi
	callq	_MLX5_ADDR_OF
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movq	%rax, %rsi
	callq	_mlx5_fill_page_frag_array
	movq	_cq_period_mode@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%r15), %ecx
	movq	%r13, %rdi
	movq	%r13, %rsi
	callq	_MLX5_SET
	movq	_c_eqn@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	-68(%rbp), %ecx
	movq	%r13, %rdi
	movq	%r13, %rsi
	callq	_MLX5_SET
	movq	_uar_page@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	-96(%rbp), %rbx                 ## 8-byte Reload
	movq	(%rbx), %rax
	movl	(%rax), %ecx
	movq	%r13, %rdi
	movq	%r13, %rsi
	callq	_MLX5_SET
	movq	_log_page_size@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	8(%r12), %ecx
	movq	_MLX5_ADAPTER_PAGE_SHIFT@GOTPCREL(%rip), %rax
	subl	(%rax), %ecx
	movq	%r13, %rdi
	movq	%r13, %rsi
	callq	_MLX5_SET
	movq	_dbr_addr@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%r12), %ecx
	movq	%r13, %rdi
	movq	%r13, %rsi
	callq	_MLX5_SET64
	movl	-60(%rbp), %r9d                 ## 4-byte Reload
	shll	$2, %r9d
	movq	%rbx, %rdi
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	movq	%r14, %rdx
	movl	-64(%rbp), %ecx                 ## 4-byte Reload
	movq	-104(%rbp), %r8                 ## 8-byte Reload
	callq	_mlx5_core_create_cq
	movl	%eax, %ebx
	movq	%r14, %rdi
	callq	_kvfree
	testl	%ebx, %ebx
	jne	LBB0_5
## %bb.4:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_mlx5e_cq_arm
	xorl	%ebx, %ebx
	jmp	LBB0_5
LBB0_2:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_5
LBB0_7:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_create_cq_out,4,2              ## @create_cq_out
	.comm	_create_cq_in,4,2               ## @create_cq_in
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_cq_context,4,2                 ## @cq_context
	.comm	_pas,4,2                        ## @pas
	.comm	_cq_period_mode,4,2             ## @cq_period_mode
	.comm	_c_eqn,4,2                      ## @c_eqn
	.comm	_uar_page,4,2                   ## @uar_page
	.comm	_log_page_size,4,2              ## @log_page_size
	.comm	_MLX5_ADAPTER_PAGE_SHIFT,4,2    ## @MLX5_ADAPTER_PAGE_SHIFT
	.comm	_dbr_addr,4,2                   ## @dbr_addr
	.no_dead_strip	_mlx5e_create_cq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlx5e_create_cq
_mlx5e_create_cq:                       ; @mlx5e_create_cq
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #32
	mov	x25, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x8, _create_cq_out@GOTPAGE
Lloh4:
	ldr	x8, [x8, _create_cq_out@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_MLX5_ST_SZ_DW
	mov	x20, x0
	mov	w8, w0
	lsl	x8, x8, #2
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x21, x9, x8
	mov	sp, x21
	ldr	x22, [x19, #16]
	ldr	w1, [x25, #8]
	sub	x2, x29, #96
	sub	x3, x29, #92
	mov	x0, x22
	bl	_mlx5_vector2eqn
	mov	x23, x0
	cbz	w0, LBB0_3
LBB0_1:
	ldur	x8, [x29, #-88]
Lloh8:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh9:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_7
; %bb.2:
	mov	x0, x23
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_3:
Lloh11:
	adrp	x26, _create_cq_in@GOTPAGE
Lloh12:
	ldr	x26, [x26, _create_cq_in@GOTPAGEOFF]
	ldr	w0, [x26]
	bl	_MLX5_ST_SZ_BYTES
	mov	x28, x19
	ldr	w8, [x28, #4]!
	add	w23, w0, w8, lsl #2
Lloh13:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh14:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	mov	x0, x23
	bl	_kvzalloc
	cbz	x0, LBB0_6
; %bb.4:
	mov	x24, x0
	add	x8, x19, #12
	stur	x8, [x29, #-104]                ; 8-byte Folded Spill
	ldr	w0, [x26]
Lloh16:
	adrp	x8, _cq_context@GOTPAGE
Lloh17:
	ldr	x8, [x8, _cq_context@GOTPAGEOFF]
Lloh18:
	ldr	w2, [x8]
	mov	x1, x24
	bl	_MLX5_ADDR_OF
	mov	x27, x0
	ldr	w1, [x25, #4]
	mov	w2, #4
	bl	_memcpy
	ldr	w0, [x26]
Lloh19:
	adrp	x8, _pas@GOTPAGE
Lloh20:
	ldr	x8, [x8, _pas@GOTPAGEOFF]
Lloh21:
	ldr	w2, [x8]
	mov	x1, x24
	bl	_MLX5_ADDR_OF
	mov	x1, x0
	mov	x0, x28
	bl	_mlx5_fill_page_frag_array
Lloh22:
	adrp	x8, _cq_period_mode@GOTPAGE
Lloh23:
	ldr	x8, [x8, _cq_period_mode@GOTPAGEOFF]
Lloh24:
	ldr	w2, [x8]
	ldr	w3, [x25]
	mov	x0, x27
	mov	x1, x27
	bl	_MLX5_SET
Lloh25:
	adrp	x8, _c_eqn@GOTPAGE
Lloh26:
	ldr	x8, [x8, _c_eqn@GOTPAGEOFF]
Lloh27:
	ldr	w2, [x8]
	ldur	w3, [x29, #-96]
	mov	x0, x27
	mov	x1, x27
	bl	_MLX5_SET
Lloh28:
	adrp	x8, _uar_page@GOTPAGE
Lloh29:
	ldr	x8, [x8, _uar_page@GOTPAGEOFF]
Lloh30:
	ldr	w2, [x8]
	ldr	x8, [x22]
	ldr	w3, [x8]
	mov	x0, x27
	mov	x1, x27
	bl	_MLX5_SET
Lloh31:
	adrp	x8, _log_page_size@GOTPAGE
Lloh32:
	ldr	x8, [x8, _log_page_size@GOTPAGEOFF]
Lloh33:
	ldr	w2, [x8]
	ldr	w8, [x19, #8]
Lloh34:
	adrp	x9, _MLX5_ADAPTER_PAGE_SHIFT@GOTPAGE
Lloh35:
	ldr	x9, [x9, _MLX5_ADAPTER_PAGE_SHIFT@GOTPAGEOFF]
Lloh36:
	ldr	w9, [x9]
	sub	w3, w8, w9
	mov	x0, x27
	mov	x1, x27
	bl	_MLX5_SET
Lloh37:
	adrp	x8, _dbr_addr@GOTPAGE
Lloh38:
	ldr	x8, [x8, _dbr_addr@GOTPAGEOFF]
Lloh39:
	ldr	w2, [x8]
	ldr	w3, [x19]
	mov	x0, x27
	mov	x1, x27
	bl	_MLX5_SET64
	lsl	w5, w20, #2
	mov	x0, x22
	ldur	x1, [x29, #-104]                ; 8-byte Folded Reload
	mov	x2, x24
	mov	x3, x23
	mov	x4, x21
	bl	_mlx5_core_create_cq
	mov	x23, x0
	mov	x0, x24
	bl	_kvfree
	cbnz	w23, LBB0_1
; %bb.5:
	mov	x0, x19
	bl	_mlx5e_cq_arm
	b	LBB0_1
LBB0_6:
Lloh40:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh41:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh42:
	ldr	w8, [x8]
	neg	w23, w8
	b	LBB0_1
LBB0_7:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.cfi_endproc
                                        ; -- End function
	.comm	_create_cq_out,4,2              ; @create_cq_out
	.comm	_create_cq_in,4,2               ; @create_cq_in
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_cq_context,4,2                 ; @cq_context
	.comm	_pas,4,2                        ; @pas
	.comm	_cq_period_mode,4,2             ; @cq_period_mode
	.comm	_c_eqn,4,2                      ; @c_eqn
	.comm	_uar_page,4,2                   ; @uar_page
	.comm	_log_page_size,4,2              ; @log_page_size
	.comm	_MLX5_ADAPTER_PAGE_SHIFT,4,2    ; @MLX5_ADAPTER_PAGE_SHIFT
	.comm	_dbr_addr,4,2                   ; @dbr_addr
	.no_dead_strip	_mlx5e_create_cq
.subsections_via_symbols
