	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlx5_fw_reporters_create
_mlx5_fw_reporters_create:              ## @mlx5_fw_reporters_create
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	callq	_priv_to_devlink
	movq	%rax, %r14
	movq	_mlx5_fw_reporter_ops@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movq	%rbx, %r8
	callq	_devlink_health_reporter_create
	movq	%rax, 8(%rbx)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	8(%rbx), %rdi
	callq	_PTR_ERR
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	movl	%eax, %edx
	callq	_mlx5_core_warn
LBB0_2:
	movq	_MLX5_REPORTER_FW_GRACEFUL_PERIOD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_mlx5_fw_fatal_reporter_ops@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	movl	$1, %ecx
	movq	%rbx, %r8
	callq	_devlink_health_reporter_create
	movq	%rax, (%rbx)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	(%rbx), %rdi
	callq	_PTR_ERR
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	movl	%eax, %edx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_mlx5_core_warn                 ## TAILCALL
LBB0_3:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_mlx5_fw_reporter_ops,4,2       ## @mlx5_fw_reporter_ops
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to create fw reporter, err = %ld\n"

	.comm	_mlx5_fw_fatal_reporter_ops,4,2 ## @mlx5_fw_fatal_reporter_ops
	.comm	_MLX5_REPORTER_FW_GRACEFUL_PERIOD,4,2 ## @MLX5_REPORTER_FW_GRACEFUL_PERIOD
L_.str.1:                               ## @.str.1
	.asciz	"Failed to create fw fatal reporter, err = %ld\n"

	.no_dead_strip	_mlx5_fw_reporters_create
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlx5_fw_reporters_create
_mlx5_fw_reporters_create:              ; @mlx5_fw_reporters_create
	.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	_priv_to_devlink
	mov	x20, x0
Lloh0:
	adrp	x1, _mlx5_fw_reporter_ops@GOTPAGE
Lloh1:
	ldr	x1, [x1, _mlx5_fw_reporter_ops@GOTPAGEOFF]
	mov	w2, #0
	mov	w3, #0
	mov	x4, x19
	bl	_devlink_health_reporter_create
	str	x0, [x19, #8]
	bl	_IS_ERR
	cbz	x0, LBB0_2
; %bb.1:
	ldr	x0, [x19, #8]
	bl	_PTR_ERR
	mov	x2, x0
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_mlx5_core_warn
LBB0_2:
Lloh4:
	adrp	x8, _MLX5_REPORTER_FW_GRACEFUL_PERIOD@GOTPAGE
Lloh5:
	ldr	x8, [x8, _MLX5_REPORTER_FW_GRACEFUL_PERIOD@GOTPAGEOFF]
Lloh6:
	ldr	w2, [x8]
Lloh7:
	adrp	x1, _mlx5_fw_fatal_reporter_ops@GOTPAGE
Lloh8:
	ldr	x1, [x1, _mlx5_fw_fatal_reporter_ops@GOTPAGEOFF]
	mov	x0, x20
	mov	w3, #1
	mov	x4, x19
	bl	_devlink_health_reporter_create
	str	x0, [x19]
	bl	_IS_ERR
	cbz	x0, LBB0_4
; %bb.3:
	ldr	x0, [x19]
	bl	_PTR_ERR
	mov	x2, x0
Lloh9:
	adrp	x1, l_.str.1@PAGE
Lloh10:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_mlx5_core_warn
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_mlx5_fw_reporter_ops,4,2       ; @mlx5_fw_reporter_ops
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to create fw reporter, err = %ld\n"

	.comm	_mlx5_fw_fatal_reporter_ops,4,2 ; @mlx5_fw_fatal_reporter_ops
	.comm	_MLX5_REPORTER_FW_GRACEFUL_PERIOD,4,2 ; @MLX5_REPORTER_FW_GRACEFUL_PERIOD
l_.str.1:                               ; @.str.1
	.asciz	"Failed to create fw fatal reporter, err = %ld\n"

	.no_dead_strip	_mlx5_fw_reporters_create
.subsections_via_symbols
