	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlx5_init_once
_mlx5_init_once:                        ## @mlx5_init_once
	.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	_mlx5_devcom_register_device
	movl	%eax, 4(%rbx)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	4(%rbx), %edx
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_mlx5_core_err
LBB0_2:
	movq	%rbx, %rdi
	callq	_mlx5_query_board_id
	testl	%eax, %eax
	je	LBB0_5
## %bb.3:
	movl	%eax, %r14d
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_4
LBB0_5:
	movq	%rbx, %rdi
	callq	_mlx5_irq_table_init
	testl	%eax, %eax
	je	LBB0_7
## %bb.6:
	movl	%eax, %r14d
	leaq	L_.str.2(%rip), %rsi
LBB0_4:
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_mlx5_core_err
LBB0_10:
	movl	4(%rbx), %edi
	callq	_mlx5_devcom_unregister_device
LBB0_31:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_7:
	movq	%rbx, %rdi
	callq	_mlx5_eq_table_init
	testl	%eax, %eax
	je	LBB0_11
## %bb.8:
	movl	%eax, %r14d
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_mlx5_core_err
	jmp	LBB0_9
LBB0_11:
	movq	%rbx, %rdi
	callq	_mlx5_events_init
	testl	%eax, %eax
	je	LBB0_14
## %bb.12:
	movl	%eax, %r14d
	leaq	L_.str.4(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_mlx5_core_err
	jmp	LBB0_13
LBB0_14:
	movq	%rbx, %rdi
	callq	_mlx5_cq_debugfs_init
	movq	%rbx, %rdi
	callq	_mlx5_init_qp_table
	movq	%rbx, %rdi
	callq	_mlx5_init_mkey_table
	movq	%rbx, %rdi
	callq	_mlx5_init_reserved_gids
	movq	%rbx, %rdi
	callq	_mlx5_init_clock
	movq	%rbx, %rdi
	callq	_mlx5_vxlan_create
	movl	%eax, 12(%rbx)
	movq	%rbx, %rdi
	callq	_mlx5_geneve_create
	movl	%eax, 16(%rbx)
	movq	%rbx, %rdi
	callq	_mlx5_init_rl_table
	testl	%eax, %eax
	je	LBB0_17
## %bb.15:
	movl	%eax, %r14d
	leaq	L_.str.5(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_mlx5_core_err
	jmp	LBB0_16
LBB0_17:
	movq	%rbx, %rdi
	callq	_mlx5_mpfs_init
	testl	%eax, %eax
	je	LBB0_20
## %bb.18:
	movl	%eax, %r14d
	leaq	L_.str.6(%rip), %rsi
	movq	%rbx, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_mlx5_core_err
	jmp	LBB0_19
LBB0_20:
	movq	%rbx, %rdi
	callq	_mlx5_sriov_init
	testl	%eax, %eax
	je	LBB0_23
## %bb.21:
	movl	%eax, %r14d
	leaq	L_.str.7(%rip), %rsi
	movq	%rbx, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_mlx5_core_err
	jmp	LBB0_22
LBB0_23:
	movq	%rbx, %rdi
	callq	_mlx5_eswitch_init
	testl	%eax, %eax
	je	LBB0_26
## %bb.24:
	movl	%eax, %r14d
	leaq	L_.str.8(%rip), %rsi
	movq	%rbx, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_mlx5_core_err
	jmp	LBB0_25
LBB0_26:
	movq	%rbx, %rdi
	callq	_mlx5_fpga_init
	testl	%eax, %eax
	je	LBB0_28
## %bb.27:
	movl	%eax, %r14d
	leaq	L_.str.9(%rip), %rsi
	movq	%rbx, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_mlx5_core_err
	movl	8(%rbx), %edi
	callq	_mlx5_eswitch_cleanup
LBB0_25:
	movq	%rbx, %rdi
	callq	_mlx5_sriov_cleanup
LBB0_22:
	movq	%rbx, %rdi
	callq	_mlx5_mpfs_cleanup
LBB0_19:
	movq	%rbx, %rdi
	callq	_mlx5_cleanup_rl_table
LBB0_16:
	movl	16(%rbx), %edi
	callq	_mlx5_geneve_destroy
	movl	12(%rbx), %edi
	callq	_mlx5_vxlan_destroy
	movq	%rbx, %rdi
	callq	_mlx5_cleanup_mkey_table
	movq	%rbx, %rdi
	callq	_mlx5_cleanup_qp_table
	movq	%rbx, %rdi
	callq	_mlx5_cq_debugfs_cleanup
	movq	%rbx, %rdi
	callq	_mlx5_events_cleanup
LBB0_13:
	movq	%rbx, %rdi
	callq	_mlx5_eq_table_cleanup
LBB0_9:
	movq	%rbx, %rdi
	callq	_mlx5_irq_table_cleanup
	jmp	LBB0_10
LBB0_28:
	movq	%rbx, %rdi
	callq	_mlx5_dm_create
	movl	%eax, (%rbx)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_30
## %bb.29:
	leaq	L_.str.10(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_mlx5_core_warn
LBB0_30:
	movq	%rbx, %rdi
	callq	_mlx5_fw_tracer_create
	movl	%eax, 24(%rbx)
	movq	%rbx, %rdi
	callq	_mlx5_hv_vhca_create
	movl	%eax, 20(%rbx)
	xorl	%r14d, %r14d
	jmp	LBB0_31
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"failed to register with devcom (0x%p)\n"

L_.str.1:                               ## @.str.1
	.asciz	"query board id failed\n"

L_.str.2:                               ## @.str.2
	.asciz	"failed to initialize irq table\n"

L_.str.3:                               ## @.str.3
	.asciz	"failed to initialize eq\n"

L_.str.4:                               ## @.str.4
	.asciz	"failed to initialize events\n"

L_.str.5:                               ## @.str.5
	.asciz	"Failed to init rate limiting\n"

L_.str.6:                               ## @.str.6
	.asciz	"Failed to init l2 table %d\n"

L_.str.7:                               ## @.str.7
	.asciz	"Failed to init sriov %d\n"

L_.str.8:                               ## @.str.8
	.asciz	"Failed to init eswitch %d\n"

L_.str.9:                               ## @.str.9
	.asciz	"Failed to init fpga device %d\n"

L_.str.10:                              ## @.str.10
	.asciz	"Failed to init device memory%d\n"

	.no_dead_strip	_mlx5_init_once
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlx5_init_once
_mlx5_init_once:                        ; @mlx5_init_once
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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_devcom_register_device
	str	w0, [x19, #4]
	bl	_IS_ERR
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w8, [x19, #4]
	str	x8, [sp]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_mlx5_core_err
LBB0_2:
	mov	x0, x19
	bl	_mlx5_query_board_id
	cbz	w0, LBB0_4
; %bb.3:
	mov	x20, x0
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_6
LBB0_4:
	mov	x0, x19
	bl	_mlx5_irq_table_init
	cbz	w0, LBB0_9
; %bb.5:
	mov	x20, x0
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_6:
	mov	x0, x19
	bl	_mlx5_core_err
LBB0_7:
	ldr	w0, [x19, #4]
	bl	_mlx5_devcom_unregister_device
LBB0_8:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_9:
	mov	x0, x19
	bl	_mlx5_eq_table_init
	cbz	w0, LBB0_11
; %bb.10:
	mov	x20, x0
Lloh6:
	adrp	x1, l_.str.3@PAGE
Lloh7:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_mlx5_core_err
	b	LBB0_28
LBB0_11:
	mov	x0, x19
	bl	_mlx5_events_init
	cbz	w0, LBB0_13
; %bb.12:
	mov	x20, x0
Lloh8:
	adrp	x1, l_.str.4@PAGE
Lloh9:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_mlx5_core_err
	b	LBB0_27
LBB0_13:
	mov	x0, x19
	bl	_mlx5_cq_debugfs_init
	mov	x0, x19
	bl	_mlx5_init_qp_table
	mov	x0, x19
	bl	_mlx5_init_mkey_table
	mov	x0, x19
	bl	_mlx5_init_reserved_gids
	mov	x0, x19
	bl	_mlx5_init_clock
	mov	x0, x19
	bl	_mlx5_vxlan_create
	str	w0, [x19, #12]
	mov	x0, x19
	bl	_mlx5_geneve_create
	str	w0, [x19, #16]
	mov	x0, x19
	bl	_mlx5_init_rl_table
	cbz	w0, LBB0_15
; %bb.14:
	mov	x20, x0
Lloh10:
	adrp	x1, l_.str.5@PAGE
Lloh11:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
	bl	_mlx5_core_err
	b	LBB0_26
LBB0_15:
	mov	x0, x19
	bl	_mlx5_mpfs_init
	cbz	w0, LBB0_17
; %bb.16:
	mov	x20, x0
	str	x20, [sp]
Lloh12:
	adrp	x1, l_.str.6@PAGE
Lloh13:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x19
	bl	_mlx5_core_err
	b	LBB0_25
LBB0_17:
	mov	x0, x19
	bl	_mlx5_sriov_init
	cbz	w0, LBB0_19
; %bb.18:
	mov	x20, x0
	str	x20, [sp]
Lloh14:
	adrp	x1, l_.str.7@PAGE
Lloh15:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x19
	bl	_mlx5_core_err
                                        ; kill: def $w20 killed $w20 killed $x20 def $x20
	b	LBB0_24
LBB0_19:
	mov	x0, x19
	bl	_mlx5_eswitch_init
	cbz	w0, LBB0_21
; %bb.20:
	mov	x20, x0
	str	x20, [sp]
Lloh16:
	adrp	x1, l_.str.8@PAGE
Lloh17:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x19
	bl	_mlx5_core_err
	b	LBB0_23
LBB0_21:
	mov	x0, x19
	bl	_mlx5_fpga_init
	cbz	w0, LBB0_29
; %bb.22:
	mov	x20, x0
	str	x20, [sp]
Lloh18:
	adrp	x1, l_.str.9@PAGE
Lloh19:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x0, x19
	bl	_mlx5_core_err
	ldr	w0, [x19, #8]
	bl	_mlx5_eswitch_cleanup
LBB0_23:
                                        ; kill: def $w20 killed $w20 killed $x20 def $x20
	mov	x0, x19
	bl	_mlx5_sriov_cleanup
LBB0_24:
	mov	x0, x19
	bl	_mlx5_mpfs_cleanup
LBB0_25:
	mov	x0, x19
	bl	_mlx5_cleanup_rl_table
LBB0_26:
	ldr	w0, [x19, #16]
	bl	_mlx5_geneve_destroy
	ldr	w0, [x19, #12]
	bl	_mlx5_vxlan_destroy
	mov	x0, x19
	bl	_mlx5_cleanup_mkey_table
	mov	x0, x19
	bl	_mlx5_cleanup_qp_table
	mov	x0, x19
	bl	_mlx5_cq_debugfs_cleanup
	mov	x0, x19
	bl	_mlx5_events_cleanup
LBB0_27:
	mov	x0, x19
	bl	_mlx5_eq_table_cleanup
LBB0_28:
	mov	x0, x19
	bl	_mlx5_irq_table_cleanup
	b	LBB0_7
LBB0_29:
	mov	x0, x19
	bl	_mlx5_dm_create
	str	w0, [x19]
	bl	_IS_ERR
	cbz	x0, LBB0_31
; %bb.30:
Lloh20:
	adrp	x1, l_.str.10@PAGE
Lloh21:
	add	x1, x1, l_.str.10@PAGEOFF
	mov	x0, x19
	mov	w2, #0
	bl	_mlx5_core_warn
LBB0_31:
	mov	x0, x19
	bl	_mlx5_fw_tracer_create
	str	w0, [x19, #24]
	mov	x0, x19
	bl	_mlx5_hv_vhca_create
	mov	w20, #0
	str	w0, [x19, #20]
	b	LBB0_8
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"failed to register with devcom (0x%p)\n"

l_.str.1:                               ; @.str.1
	.asciz	"query board id failed\n"

l_.str.2:                               ; @.str.2
	.asciz	"failed to initialize irq table\n"

l_.str.3:                               ; @.str.3
	.asciz	"failed to initialize eq\n"

l_.str.4:                               ; @.str.4
	.asciz	"failed to initialize events\n"

l_.str.5:                               ; @.str.5
	.asciz	"Failed to init rate limiting\n"

l_.str.6:                               ; @.str.6
	.asciz	"Failed to init l2 table %d\n"

l_.str.7:                               ; @.str.7
	.asciz	"Failed to init sriov %d\n"

l_.str.8:                               ; @.str.8
	.asciz	"Failed to init eswitch %d\n"

l_.str.9:                               ; @.str.9
	.asciz	"Failed to init fpga device %d\n"

l_.str.10:                              ; @.str.10
	.asciz	"Failed to init device memory%d\n"

	.no_dead_strip	_mlx5_init_once
.subsections_via_symbols
