	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx5e_health_sq_to_ready       ## -- Begin function mlx5e_health_sq_to_ready
	.p2align	4, 0x90
_mlx5e_health_sq_to_ready:              ## @mlx5e_health_sq_to_ready
	.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
	movl	%esi, %r15d
	movq	(%rdi), %r14
	movq	8(%rdi), %r12
	movq	_MLX5_SQC_STATE_ERR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MLX5_SQC_STATE_RST@GOTPCREL(%rip), %r13
	movq	(%r13), %rax
	movq	%rax, -56(%rbp)
	leaq	-56(%rbp), %rdx
	movq	%r12, %rdi
	callq	_mlx5e_modify_sq
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movl	%eax, %ebx
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_4
LBB0_2:
	leaq	-56(%rbp), %rdi
	xorl	%ebx, %ebx
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_memset
	movq	(%r13), %rax
	movq	%rax, -48(%rbp)
	movq	_MLX5_SQC_STATE_RDY@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -56(%rbp)
	movq	%r12, %rdi
	movl	%r15d, %esi
	leaq	-56(%rbp), %rdx
	callq	_mlx5e_modify_sq
	testl	%eax, %eax
	je	LBB0_5
## %bb.3:
	leaq	L_.str.1(%rip), %rsi
	movl	%eax, %ebx
LBB0_4:
	movq	%r14, %rdi
	movl	%r15d, %edx
	callq	_netdev_err
LBB0_5:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MLX5_SQC_STATE_ERR,8,3         ## @MLX5_SQC_STATE_ERR
	.comm	_MLX5_SQC_STATE_RST,8,3         ## @MLX5_SQC_STATE_RST
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to move sq 0x%x to reset\n"

	.comm	_MLX5_SQC_STATE_RDY,8,3         ## @MLX5_SQC_STATE_RDY
L_.str.1:                               ## @.str.1
	.asciz	"Failed to move sq 0x%x to ready\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx5e_health_sq_to_ready       ; -- Begin function mlx5e_health_sq_to_ready
	.p2align	2
_mlx5e_health_sq_to_ready:              ; @mlx5e_health_sq_to_ready
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x19, x1
	ldp	x20, x21, [x0]
Lloh0:
	adrp	x8, _MLX5_SQC_STATE_ERR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MLX5_SQC_STATE_ERR@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x23, _MLX5_SQC_STATE_RST@GOTPAGE
Lloh4:
	ldr	x23, [x23, _MLX5_SQC_STATE_RST@GOTPAGEOFF]
	ldr	x9, [x23]
	stp	x9, x8, [sp]
	mov	x2, sp
	mov	x0, x21
	bl	_mlx5e_modify_sq
	cbz	w0, LBB0_2
; %bb.1:
	mov	x22, x0
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_4
LBB0_2:
	mov	x0, sp
	mov	w1, #0
	mov	w2, #16
	bl	_memset
	ldr	x8, [x23]
Lloh7:
	adrp	x9, _MLX5_SQC_STATE_RDY@GOTPAGE
Lloh8:
	ldr	x9, [x9, _MLX5_SQC_STATE_RDY@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	stp	x9, x8, [sp]
	mov	x2, sp
	mov	x0, x21
	mov	x1, x19
	bl	_mlx5e_modify_sq
	mov	x22, x0
	cbz	w0, LBB0_5
; %bb.3:
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_4:
	mov	x0, x20
	mov	x2, x19
	bl	_netdev_err
LBB0_5:
	mov	x0, x22
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_MLX5_SQC_STATE_ERR,8,3         ; @MLX5_SQC_STATE_ERR
	.comm	_MLX5_SQC_STATE_RST,8,3         ; @MLX5_SQC_STATE_RST
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to move sq 0x%x to reset\n"

	.comm	_MLX5_SQC_STATE_RDY,8,3         ; @MLX5_SQC_STATE_RDY
l_.str.1:                               ; @.str.1
	.asciz	"Failed to move sq 0x%x to ready\n"

.subsections_via_symbols
