	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx5_health_init               ## -- Begin function mlx5_health_init
	.p2align	4, 0x90
_mlx5_health_init:                      ## @mlx5_health_init
	.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, %r14
	callq	_mlx5_fw_reporters_create
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$64, %edi
	callq	_kmalloc
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	%rax, %rbx
	leaq	L_.str(%rip), %rsi
	movq	%rax, %rdi
	callq	_strcpy
	movl	(%r14), %edi
	callq	_dev_name
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_strcat
	movq	%rbx, %rdi
	callq	_create_singlethread_workqueue
	movl	%eax, 16(%r14)
	movq	%rbx, %rdi
	callq	_kfree
	cmpl	$0, 16(%r14)
	je	LBB0_3
## %bb.2:
	leaq	4(%r14), %rbx
	leaq	12(%r14), %rdi
	callq	_spin_lock_init
	addq	$8, %r14
	movq	_mlx5_fw_fatal_reporter_err_work@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_INIT_WORK
	movq	_mlx5_fw_reporter_err_work@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_INIT_WORK
	xorl	%eax, %eax
	jmp	LBB0_4
LBB0_3:
	movq	%r14, %rdi
	callq	_mlx5_fw_reporters_destroy
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"mlx5_health"

	.comm	_mlx5_fw_fatal_reporter_err_work,4,2 ## @mlx5_fw_fatal_reporter_err_work
	.comm	_mlx5_fw_reporter_err_work,4,2  ## @mlx5_fw_reporter_err_work
	.comm	_ENOMEM,4,2                     ## @ENOMEM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx5_health_init               ; -- Begin function mlx5_health_init
	.p2align	2
_mlx5_health_init:                      ; @mlx5_health_init
	.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	_mlx5_fw_reporters_create
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #64
	bl	_kmalloc
	cbz	x0, LBB0_3
; %bb.1:
	mov	x20, x0
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strcpy
	ldr	w0, [x19]
	bl	_dev_name
	mov	x1, x0
	mov	x0, x20
	bl	_strcat
	mov	x0, x20
	bl	_create_singlethread_workqueue
	str	w0, [x19, #16]
	mov	x0, x20
	bl	_kfree
	ldr	w8, [x19, #16]
	cbz	w8, LBB0_3
; %bb.2:
	add	x20, x19, #4
	add	x0, x19, #12
	bl	_spin_lock_init
	add	x0, x19, #8
Lloh5:
	adrp	x8, _mlx5_fw_fatal_reporter_err_work@GOTPAGE
Lloh6:
	ldr	x8, [x8, _mlx5_fw_fatal_reporter_err_work@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	bl	_INIT_WORK
Lloh8:
	adrp	x8, _mlx5_fw_reporter_err_work@GOTPAGE
Lloh9:
	ldr	x8, [x8, _mlx5_fw_reporter_err_work@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_INIT_WORK
	mov	w0, #0
	b	LBB0_4
LBB0_3:
	mov	x0, x19
	bl	_mlx5_fw_reporters_destroy
Lloh11:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"mlx5_health"

	.comm	_mlx5_fw_fatal_reporter_err_work,4,2 ; @mlx5_fw_fatal_reporter_err_work
	.comm	_mlx5_fw_reporter_err_work,4,2  ; @mlx5_fw_reporter_err_work
	.comm	_ENOMEM,4,2                     ; @ENOMEM
.subsections_via_symbols
