	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx5_core_create_sq_tracked    ## -- Begin function mlx5_core_create_sq_tracked
	.p2align	4, 0x90
_mlx5_core_create_sq_tracked:           ## @mlx5_core_create_sq_tracked
	.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
	movq	%rcx, %r14
	movq	%rsi, %r12
	movq	%rdi, %r15
	leaq	-36(%rbp), %rcx
	callq	_mlx5_core_create_sq
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_4
## %bb.1:
	movq	_create_sq_in@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_uid@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rsi
	callq	_MLX5_GET
	movl	%eax, (%r14)
	movl	-36(%rbp), %eax
	movl	%eax, 4(%r14)
	movq	_MLX5_RES_SQ@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_create_resource_common
	testl	%eax, %eax
	je	LBB0_2
## %bb.3:
	movl	%eax, %ebx
	movl	(%r14), %edx
	movl	4(%r14), %esi
	movq	%r15, %rdi
	callq	_destroy_sq_tracked
	jmp	LBB0_4
LBB0_2:
	xorl	%ebx, %ebx
LBB0_4:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_create_sq_in,4,2               ## @create_sq_in
	.comm	_uid,4,2                        ## @uid
	.comm	_MLX5_RES_SQ,4,2                ## @MLX5_RES_SQ
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx5_core_create_sq_tracked    ; -- Begin function mlx5_core_create_sq_tracked
	.p2align	2
_mlx5_core_create_sq_tracked:           ; @mlx5_core_create_sq_tracked
	.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	x19, x3
	mov	x21, x1
	mov	x20, x0
	add	x3, sp, #12
	bl	_mlx5_core_create_sq
	mov	x22, x0
	cbnz	w0, LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _create_sq_in@GOTPAGE
Lloh1:
	ldr	x8, [x8, _create_sq_in@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _uid@GOTPAGE
Lloh4:
	ldr	x8, [x8, _uid@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x1, x21
	bl	_MLX5_GET
	ldr	w8, [sp, #12]
	stp	w0, w8, [x19]
Lloh6:
	adrp	x8, _MLX5_RES_SQ@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MLX5_RES_SQ@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x19
	bl	_create_resource_common
	mov	x22, x0
	cbz	w0, LBB0_3
; %bb.2:
	ldp	w2, w1, [x19]
	mov	x0, x20
	bl	_destroy_sq_tracked
LBB0_3:
	mov	x0, x22
	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
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_create_sq_in,4,2               ; @create_sq_in
	.comm	_uid,4,2                        ; @uid
	.comm	_MLX5_RES_SQ,4,2                ; @MLX5_RES_SQ
.subsections_via_symbols
