	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx5_core_create_dct           ## -- Begin function mlx5_core_create_dct
	.p2align	4, 0x90
_mlx5_core_create_dct:                  ## @mlx5_core_create_dct
	.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	%r9d, %ebx
	movq	%r8, %r12
	movl	%ecx, %r14d
	movq	%rdx, %r13
	movq	%rdi, %r15
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rdi
	callq	_init_completion
	movq	_create_dct_in@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_opcode@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_MLX5_CMD_OP_CREATE_DCT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r13, %rsi
	callq	_MLX5_SET
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	movq	%r13, %rsi
	movl	%r14d, %edx
	movq	%r12, %rcx
	movl	%ebx, %r8d
	callq	_mlx5_cmd_exec
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movl	%eax, %ebx
	leaq	L_.str(%rip), %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%eax, %edx
	callq	_mlx5_core_warn
	jmp	LBB0_5
LBB0_2:
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	leaq	8(%r15), %rbx
	movq	_create_dct_out@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_dctn@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rsi
	callq	_MLX5_GET
	movq	%rax, 16(%r15)
	movq	_create_dct_in@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_uid@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rsi
	callq	_MLX5_GET
	movq	%rax, 8(%r15)
	movq	_MLX5_RES_DCT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_create_resource_common
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:
	movl	%eax, %ebx
	movq	%r14, %rdi
	movq	%r15, %rsi
	xorl	%edx, %edx
	callq	__mlx5_core_destroy_dct
	jmp	LBB0_5
LBB0_3:
	xorl	%ebx, %ebx
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	_create_dct_in,4,2              ## @create_dct_in
	.comm	_opcode,4,2                     ## @opcode
	.comm	_MLX5_CMD_OP_CREATE_DCT,4,2     ## @MLX5_CMD_OP_CREATE_DCT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"create DCT failed, ret %d\n"

	.comm	_create_dct_out,4,2             ## @create_dct_out
	.comm	_dctn,4,2                       ## @dctn
	.comm	_uid,4,2                        ## @uid
	.comm	_MLX5_RES_DCT,4,2               ## @MLX5_RES_DCT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx5_core_create_dct           ; -- Begin function mlx5_core_create_dct
	.p2align	2
_mlx5_core_create_dct:                  ; @mlx5_core_create_dct
	.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	x23, x5
	mov	x22, x4
	mov	x24, x3
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
	mov	x0, x1
	bl	_init_completion
Lloh0:
	adrp	x25, _create_dct_in@GOTPAGE
Lloh1:
	ldr	x25, [x25, _create_dct_in@GOTPAGEOFF]
	ldr	w0, [x25]
Lloh2:
	adrp	x8, _opcode@GOTPAGE
Lloh3:
	ldr	x8, [x8, _opcode@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
Lloh5:
	adrp	x8, _MLX5_CMD_OP_CREATE_DCT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MLX5_CMD_OP_CREATE_DCT@GOTPAGEOFF]
Lloh7:
	ldr	w3, [x8]
	mov	x1, x21
	bl	_MLX5_SET
	mov	x0, x19
	mov	x1, x21
	mov	x2, x24
	mov	x3, x22
	mov	x4, x23
	bl	_mlx5_cmd_exec
	cbz	w0, LBB0_2
; %bb.1:
	mov	x23, x0
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x2, x23
	bl	_mlx5_core_warn
	b	LBB0_4
LBB0_2:
Lloh10:
	adrp	x8, _create_dct_out@GOTPAGE
Lloh11:
	ldr	x8, [x8, _create_dct_out@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
Lloh13:
	adrp	x8, _dctn@GOTPAGE
Lloh14:
	ldr	x8, [x8, _dctn@GOTPAGEOFF]
Lloh15:
	ldr	w2, [x8]
	mov	x1, x22
	bl	_MLX5_GET
	str	x0, [x20, #16]
	ldr	w0, [x25]
Lloh16:
	adrp	x8, _uid@GOTPAGE
Lloh17:
	ldr	x8, [x8, _uid@GOTPAGEOFF]
Lloh18:
	ldr	w2, [x8]
	mov	x1, x21
	bl	_MLX5_GET
	mov	x1, x20
	str	x0, [x1, #8]!
Lloh19:
	adrp	x8, _MLX5_RES_DCT@GOTPAGE
Lloh20:
	ldr	x8, [x8, _MLX5_RES_DCT@GOTPAGEOFF]
Lloh21:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_create_resource_common
	mov	x23, x0
	cbz	w0, LBB0_4
; %bb.3:
	mov	x0, x19
	mov	x1, x20
	mov	w2, #0
	bl	__mlx5_core_destroy_dct
LBB0_4:
	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 AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_create_dct_in,4,2              ; @create_dct_in
	.comm	_opcode,4,2                     ; @opcode
	.comm	_MLX5_CMD_OP_CREATE_DCT,4,2     ; @MLX5_CMD_OP_CREATE_DCT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"create DCT failed, ret %d\n"

	.comm	_create_dct_out,4,2             ; @create_dct_out
	.comm	_dctn,4,2                       ; @dctn
	.comm	_uid,4,2                        ; @uid
	.comm	_MLX5_RES_DCT,4,2               ; @MLX5_RES_DCT
.subsections_via_symbols
