	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx5_fw_tracer_cleanup         ## -- Begin function mlx5_fw_tracer_cleanup
	.p2align	4, 0x90
_mlx5_fw_tracer_cleanup:                ## @mlx5_fw_tracer_cleanup
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	callq	_IS_ERR_OR_NULL
	testq	%rax, %rax
	je	LBB0_1
## %bb.4:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_1:
	movl	8(%rbx), %edi
	movq	16(%rbx), %rdx
	leaq	L_.str(%rip), %rsi
	callq	_mlx5_core_dbg
	movl	8(%rbx), %edi
	leaq	32(%rbx), %rsi
	callq	_mlx5_eq_notifier_unregister
	leaq	28(%rbx), %rdi
	callq	_cancel_work_sync
	leaq	24(%rbx), %rdi
	callq	_cancel_work_sync
	cmpq	$0, 16(%rbx)
	je	LBB0_3
## %bb.2:
	movq	%rbx, %rdi
	callq	_mlx5_fw_tracer_ownership_release
LBB0_3:
	movl	8(%rbx), %edi
	leaq	4(%rbx), %rsi
	callq	_mlx5_core_destroy_mkey
	movl	(%rbx), %esi
	movl	8(%rbx), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_mlx5_core_dealloc_pd           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"FWTracer: Cleanup, is owner ? (%d)\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx5_fw_tracer_cleanup         ; -- Begin function mlx5_fw_tracer_cleanup
	.p2align	2
_mlx5_fw_tracer_cleanup:                ; @mlx5_fw_tracer_cleanup
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_IS_ERR_OR_NULL
	cbz	x0, LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
	ldr	w0, [x19, #8]
	ldr	x2, [x19, #16]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_mlx5_core_dbg
	ldr	w0, [x19, #8]
	add	x1, x19, #32
	bl	_mlx5_eq_notifier_unregister
	add	x0, x19, #28
	bl	_cancel_work_sync
	add	x0, x19, #24
	bl	_cancel_work_sync
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_4
; %bb.3:
	mov	x0, x19
	bl	_mlx5_fw_tracer_ownership_release
LBB0_4:
	ldr	w0, [x19, #8]
	add	x1, x19, #4
	bl	_mlx5_core_destroy_mkey
	ldr	w0, [x19, #8]
	ldr	w1, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_mlx5_core_dealloc_pd
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"FWTracer: Cleanup, is owner ? (%d)\n"

.subsections_via_symbols
