	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlx5e_create_sq
_mlx5e_create_sq:                       ## @mlx5e_create_sq
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movq	%rdx, %r13
	movq	%rsi, %r12
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	movq	_create_sq_in@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	callq	_MLX5_ST_SZ_BYTES
                                        ## kill: def $eax killed $eax def $rax
	movq	16(%r13), %rcx
	movl	(%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_1
## %bb.3:
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	movq	(%r14), %rdi
	movq	_ctx@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%rax, %rsi
	callq	_MLX5_ADDR_OF
	movq	%rax, %r15
	movq	%rax, %rdi
	movq	%rax, %rsi
	callq	_MLX5_ADDR_OF
	movq	%rax, %r14
	movl	(%r12), %esi
	movq	%r15, %rdi
	movl	$4, %edx
	callq	_memcpy
	movq	_tis_lst_sz@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%r13), %ecx
	movq	%r15, %rdi
	movq	%r15, %rsi
	callq	_MLX5_SET
	movq	_tis_num_0@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	4(%r13), %ecx
	movq	%r15, %rdi
	movq	%r15, %rsi
	callq	_MLX5_SET
	movq	_cqn@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	8(%r13), %ecx
	movq	%r15, %rdi
	movq	%r15, %rsi
	callq	_MLX5_SET
	movq	_wqe_inline_mode@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	callq	_MLX5_CAP_ETH
	movq	_MLX5_CAP_INLINE_MODE_VPORT_CONTEXT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.4:
	movq	_min_wqe_inline_mode@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	12(%r13), %ecx
	movq	%r15, %rdi
	movq	%r15, %rsi
	callq	_MLX5_SET
LBB0_5:
	movq	_state@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_MLX5_SQC_STATE_RST@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdi
	movq	%r15, %rsi
	callq	_MLX5_SET
	movq	_flush_in_error_en@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movq	%r15, %rsi
	movl	$1, %ecx
	callq	_MLX5_SET
	movq	_wq_type@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_MLX5_WQ_TYPE_CYCLIC@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	movq	%r14, %rsi
	callq	_MLX5_SET
	movq	_uar_page@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%r12), %ecx
	movq	%r14, %rdi
	movq	%r14, %rsi
	callq	_MLX5_SET
	movq	_log_wq_pg_sz@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	16(%r13), %rax
	movl	4(%rax), %ecx
	movq	_MLX5_ADAPTER_PAGE_SHIFT@GOTPCREL(%rip), %rax
	subl	(%rax), %ecx
	movq	%r14, %rdi
	movq	%r14, %rsi
	callq	_MLX5_SET
	movq	_dbr_addr@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	16(%r13), %rax
	movl	8(%rax), %ecx
	movq	%r14, %rdi
	movq	%r14, %rsi
	callq	_MLX5_SET64
	movq	16(%r13), %rbx
	movq	_pas@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	%r14, %rdi
	movq	%r14, %rsi
	callq	_MLX5_ADDR_OF
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_mlx5_fill_page_frag_array
	movq	%r12, %rdi
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rsi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	callq	_mlx5_core_create_sq
	movl	%eax, %r14d
	movq	%rbx, %rdi
	callq	_kvfree
	movl	%r14d, %eax
	jmp	LBB0_2
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_2:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_create_sq_in,8,3               ## @create_sq_in
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_ctx,8,3                        ## @ctx
	.comm	_tis_lst_sz,4,2                 ## @tis_lst_sz
	.comm	_tis_num_0,4,2                  ## @tis_num_0
	.comm	_cqn,4,2                        ## @cqn
	.comm	_wqe_inline_mode,4,2            ## @wqe_inline_mode
	.comm	_MLX5_CAP_INLINE_MODE_VPORT_CONTEXT,8,3 ## @MLX5_CAP_INLINE_MODE_VPORT_CONTEXT
	.comm	_min_wqe_inline_mode,4,2        ## @min_wqe_inline_mode
	.comm	_state,4,2                      ## @state
	.comm	_MLX5_SQC_STATE_RST,4,2         ## @MLX5_SQC_STATE_RST
	.comm	_flush_in_error_en,4,2          ## @flush_in_error_en
	.comm	_wq_type,4,2                    ## @wq_type
	.comm	_MLX5_WQ_TYPE_CYCLIC,4,2        ## @MLX5_WQ_TYPE_CYCLIC
	.comm	_uar_page,4,2                   ## @uar_page
	.comm	_log_wq_pg_sz,4,2               ## @log_wq_pg_sz
	.comm	_MLX5_ADAPTER_PAGE_SHIFT,4,2    ## @MLX5_ADAPTER_PAGE_SHIFT
	.comm	_dbr_addr,4,2                   ## @dbr_addr
	.comm	_pas,8,3                        ## @pas
	.no_dead_strip	_mlx5e_create_sq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlx5e_create_sq
_mlx5e_create_sq:                       ; @mlx5e_create_sq
	.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	x19, x3
	mov	x23, x2
	mov	x26, x1
	mov	x20, x0
Lloh0:
	adrp	x24, _create_sq_in@GOTPAGE
Lloh1:
	ldr	x24, [x24, _create_sq_in@GOTPAGEOFF]
	ldr	x0, [x24]
	bl	_MLX5_ST_SZ_BYTES
	ldr	x8, [x23, #16]
	ldr	w8, [x8]
	add	w21, w0, w8, lsl #2
Lloh2:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_kvzalloc
	cbz	x0, LBB0_4
; %bb.1:
	mov	x22, x0
	ldr	x0, [x24]
Lloh5:
	adrp	x8, _ctx@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ctx@GOTPAGEOFF]
Lloh7:
	ldr	x2, [x8]
	mov	x1, x22
	bl	_MLX5_ADDR_OF
	mov	x25, x0
	mov	x1, x0
	bl	_MLX5_ADDR_OF
	mov	x24, x0
	ldr	w1, [x26]
	mov	x0, x25
	mov	w2, #4
	bl	_memcpy
Lloh8:
	adrp	x8, _tis_lst_sz@GOTPAGE
Lloh9:
	ldr	x8, [x8, _tis_lst_sz@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	ldr	w3, [x23]
	mov	x0, x25
	mov	x1, x25
	bl	_MLX5_SET
Lloh11:
	adrp	x8, _tis_num_0@GOTPAGE
Lloh12:
	ldr	x8, [x8, _tis_num_0@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	ldr	w3, [x23, #4]
	mov	x0, x25
	mov	x1, x25
	bl	_MLX5_SET
Lloh14:
	adrp	x8, _cqn@GOTPAGE
Lloh15:
	ldr	x8, [x8, _cqn@GOTPAGEOFF]
Lloh16:
	ldr	w2, [x8]
	ldr	w3, [x23, #8]
	mov	x0, x25
	mov	x1, x25
	bl	_MLX5_SET
Lloh17:
	adrp	x8, _wqe_inline_mode@GOTPAGE
Lloh18:
	ldr	x8, [x8, _wqe_inline_mode@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_MLX5_CAP_ETH
Lloh20:
	adrp	x8, _MLX5_CAP_INLINE_MODE_VPORT_CONTEXT@GOTPAGE
Lloh21:
	ldr	x8, [x8, _MLX5_CAP_INLINE_MODE_VPORT_CONTEXT@GOTPAGEOFF]
Lloh22:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_3
; %bb.2:
Lloh23:
	adrp	x8, _min_wqe_inline_mode@GOTPAGE
Lloh24:
	ldr	x8, [x8, _min_wqe_inline_mode@GOTPAGEOFF]
Lloh25:
	ldr	w2, [x8]
	ldr	w3, [x23, #12]
	mov	x0, x25
	mov	x1, x25
	bl	_MLX5_SET
LBB0_3:
Lloh26:
	adrp	x8, _state@GOTPAGE
Lloh27:
	ldr	x8, [x8, _state@GOTPAGEOFF]
Lloh28:
	ldr	w2, [x8]
Lloh29:
	adrp	x8, _MLX5_SQC_STATE_RST@GOTPAGE
Lloh30:
	ldr	x8, [x8, _MLX5_SQC_STATE_RST@GOTPAGEOFF]
Lloh31:
	ldr	w3, [x8]
	mov	x0, x25
	mov	x1, x25
	bl	_MLX5_SET
Lloh32:
	adrp	x8, _flush_in_error_en@GOTPAGE
Lloh33:
	ldr	x8, [x8, _flush_in_error_en@GOTPAGEOFF]
Lloh34:
	ldr	w2, [x8]
	mov	x0, x25
	mov	x1, x25
	mov	w3, #1
	bl	_MLX5_SET
Lloh35:
	adrp	x8, _wq_type@GOTPAGE
Lloh36:
	ldr	x8, [x8, _wq_type@GOTPAGEOFF]
Lloh37:
	ldr	w2, [x8]
Lloh38:
	adrp	x8, _MLX5_WQ_TYPE_CYCLIC@GOTPAGE
Lloh39:
	ldr	x8, [x8, _MLX5_WQ_TYPE_CYCLIC@GOTPAGEOFF]
Lloh40:
	ldr	w3, [x8]
	mov	x0, x24
	mov	x1, x24
	bl	_MLX5_SET
Lloh41:
	adrp	x8, _uar_page@GOTPAGE
Lloh42:
	ldr	x8, [x8, _uar_page@GOTPAGEOFF]
Lloh43:
	ldr	w2, [x8]
	ldr	w3, [x20]
	mov	x0, x24
	mov	x1, x24
	bl	_MLX5_SET
Lloh44:
	adrp	x8, _log_wq_pg_sz@GOTPAGE
Lloh45:
	ldr	x8, [x8, _log_wq_pg_sz@GOTPAGEOFF]
Lloh46:
	ldr	w2, [x8]
	ldr	x8, [x23, #16]
	ldr	w8, [x8, #4]
Lloh47:
	adrp	x9, _MLX5_ADAPTER_PAGE_SHIFT@GOTPAGE
Lloh48:
	ldr	x9, [x9, _MLX5_ADAPTER_PAGE_SHIFT@GOTPAGEOFF]
Lloh49:
	ldr	w9, [x9]
	sub	w3, w8, w9
	mov	x0, x24
	mov	x1, x24
	bl	_MLX5_SET
Lloh50:
	adrp	x8, _dbr_addr@GOTPAGE
Lloh51:
	ldr	x8, [x8, _dbr_addr@GOTPAGEOFF]
Lloh52:
	ldr	w2, [x8]
	ldr	x8, [x23, #16]
	ldr	w3, [x8, #8]
	mov	x0, x24
	mov	x1, x24
	bl	_MLX5_SET64
	ldr	x23, [x23, #16]
Lloh53:
	adrp	x8, _pas@GOTPAGE
Lloh54:
	ldr	x8, [x8, _pas@GOTPAGEOFF]
Lloh55:
	ldr	x2, [x8]
	mov	x0, x24
	mov	x1, x24
	bl	_MLX5_ADDR_OF
	mov	x1, x0
	mov	x0, x23
	bl	_mlx5_fill_page_frag_array
	mov	x0, x20
	mov	x1, x22
	mov	x2, x21
	mov	x3, x19
	bl	_mlx5_core_create_sq
	mov	x19, x0
	mov	x0, x22
	bl	_kvfree
	mov	x0, x19
	b	LBB0_5
LBB0_4:
Lloh56:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh57:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh58:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_5:
	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 AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.cfi_endproc
                                        ; -- End function
	.comm	_create_sq_in,8,3               ; @create_sq_in
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_ctx,8,3                        ; @ctx
	.comm	_tis_lst_sz,4,2                 ; @tis_lst_sz
	.comm	_tis_num_0,4,2                  ; @tis_num_0
	.comm	_cqn,4,2                        ; @cqn
	.comm	_wqe_inline_mode,4,2            ; @wqe_inline_mode
	.comm	_MLX5_CAP_INLINE_MODE_VPORT_CONTEXT,8,3 ; @MLX5_CAP_INLINE_MODE_VPORT_CONTEXT
	.comm	_min_wqe_inline_mode,4,2        ; @min_wqe_inline_mode
	.comm	_state,4,2                      ; @state
	.comm	_MLX5_SQC_STATE_RST,4,2         ; @MLX5_SQC_STATE_RST
	.comm	_flush_in_error_en,4,2          ; @flush_in_error_en
	.comm	_wq_type,4,2                    ; @wq_type
	.comm	_MLX5_WQ_TYPE_CYCLIC,4,2        ; @MLX5_WQ_TYPE_CYCLIC
	.comm	_uar_page,4,2                   ; @uar_page
	.comm	_log_wq_pg_sz,4,2               ; @log_wq_pg_sz
	.comm	_MLX5_ADAPTER_PAGE_SHIFT,4,2    ; @MLX5_ADAPTER_PAGE_SHIFT
	.comm	_dbr_addr,4,2                   ; @dbr_addr
	.comm	_pas,8,3                        ; @pas
	.no_dead_strip	_mlx5e_create_sq
.subsections_via_symbols
