	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlx5_eswitch_event_handlers_register
_mlx5_eswitch_event_handlers_register:  ## @mlx5_eswitch_event_handlers_register
	.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
	leaq	16(%rdi), %rbx
	movq	_eswitch_vport_event@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_NIC_VPORT_CHANGE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_MLX5_NB_INIT
	movl	12(%r14), %edi
	movq	%rbx, %rsi
	callq	_mlx5_eq_notifier_register
	movq	(%r14), %rax
	movq	_MLX5_ESWITCH_OFFLOADS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movl	12(%r14), %edi
	callq	_mlx5_eswitch_is_funcs_handler
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	leaq	8(%r14), %rbx
	movq	_mlx5_esw_funcs_changed_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ESW_FUNCTIONS_CHANGED@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_MLX5_NB_INIT
	movl	12(%r14), %edi
	movq	%rbx, %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_mlx5_eq_notifier_register      ## TAILCALL
LBB0_2:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_eswitch_vport_event,4,2        ## @eswitch_vport_event
	.comm	_NIC_VPORT_CHANGE,4,2           ## @NIC_VPORT_CHANGE
	.comm	_MLX5_ESWITCH_OFFLOADS,8,3      ## @MLX5_ESWITCH_OFFLOADS
	.comm	_mlx5_esw_funcs_changed_handler,4,2 ## @mlx5_esw_funcs_changed_handler
	.comm	_ESW_FUNCTIONS_CHANGED,4,2      ## @ESW_FUNCTIONS_CHANGED
	.no_dead_strip	_mlx5_eswitch_event_handlers_register
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlx5_eswitch_event_handlers_register
_mlx5_eswitch_event_handlers_register:  ; @mlx5_eswitch_event_handlers_register
	.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
	add	x20, x0, #16
Lloh0:
	adrp	x8, _eswitch_vport_event@GOTPAGE
Lloh1:
	ldr	x8, [x8, _eswitch_vport_event@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _NIC_VPORT_CHANGE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NIC_VPORT_CHANGE@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_MLX5_NB_INIT
	ldr	w0, [x19, #12]
	mov	x1, x20
	bl	_mlx5_eq_notifier_register
	ldr	x8, [x19]
Lloh6:
	adrp	x9, _MLX5_ESWITCH_OFFLOADS@GOTPAGE
Lloh7:
	ldr	x9, [x9, _MLX5_ESWITCH_OFFLOADS@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.1:
	ldr	w0, [x19, #12]
	bl	_mlx5_eswitch_is_funcs_handler
	cbz	x0, LBB0_3
; %bb.2:
	add	x20, x19, #8
Lloh9:
	adrp	x8, _mlx5_esw_funcs_changed_handler@GOTPAGE
Lloh10:
	ldr	x8, [x8, _mlx5_esw_funcs_changed_handler@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
Lloh12:
	adrp	x8, _ESW_FUNCTIONS_CHANGED@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ESW_FUNCTIONS_CHANGED@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_MLX5_NB_INIT
	ldr	w0, [x19, #12]
	mov	x1, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_mlx5_eq_notifier_register
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_eswitch_vport_event,4,2        ; @eswitch_vport_event
	.comm	_NIC_VPORT_CHANGE,4,2           ; @NIC_VPORT_CHANGE
	.comm	_MLX5_ESWITCH_OFFLOADS,8,3      ; @MLX5_ESWITCH_OFFLOADS
	.comm	_mlx5_esw_funcs_changed_handler,4,2 ; @mlx5_esw_funcs_changed_handler
	.comm	_ESW_FUNCTIONS_CHANGED,4,2      ; @ESW_FUNCTIONS_CHANGED
	.no_dead_strip	_mlx5_eswitch_event_handlers_register
.subsections_via_symbols
