	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function esw_offloads_devcom_init
_esw_offloads_devcom_init:              ## @esw_offloads_devcom_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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	(%rax), %r14
	leaq	8(%rdi), %r15
	addq	$12, %rdi
	callq	_INIT_LIST_HEAD
	movq	%r15, %rdi
	callq	_mutex_init
	movq	(%rbx), %rdi
	movq	_merged_eswitch@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_MLX5_CAP_ESW
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	_MLX5_DEVCOM_ESW_OFFLOADS@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	_mlx5_esw_offloads_devcom_event@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movq	%rbx, %rcx
	callq	_mlx5_devcom_register_component
	movl	(%r15), %esi
	movq	_ESW_OFFLOADS_DEVCOM_PAIR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movq	%rbx, %rcx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mlx5_devcom_send_event         ## TAILCALL
LBB0_1:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_merged_eswitch,4,2             ## @merged_eswitch
	.comm	_MLX5_DEVCOM_ESW_OFFLOADS,4,2   ## @MLX5_DEVCOM_ESW_OFFLOADS
	.comm	_mlx5_esw_offloads_devcom_event,4,2 ## @mlx5_esw_offloads_devcom_event
	.comm	_ESW_OFFLOADS_DEVCOM_PAIR,4,2   ## @ESW_OFFLOADS_DEVCOM_PAIR
	.no_dead_strip	_esw_offloads_devcom_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function esw_offloads_devcom_init
_esw_offloads_devcom_init:              ; @esw_offloads_devcom_init
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
	ldr	x8, [x0]
	ldr	x20, [x8]
	add	x21, x0, #8
	add	x0, x0, #12
	bl	_INIT_LIST_HEAD
	mov	x0, x21
	bl	_mutex_init
	ldr	x0, [x19]
Lloh0:
	adrp	x8, _merged_eswitch@GOTPAGE
Lloh1:
	ldr	x8, [x8, _merged_eswitch@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_MLX5_CAP_ESW
	cbz	w0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x21, _MLX5_DEVCOM_ESW_OFFLOADS@GOTPAGE
Lloh4:
	ldr	x21, [x21, _MLX5_DEVCOM_ESW_OFFLOADS@GOTPAGEOFF]
	ldr	w1, [x21]
Lloh5:
	adrp	x8, _mlx5_esw_offloads_devcom_event@GOTPAGE
Lloh6:
	ldr	x8, [x8, _mlx5_esw_offloads_devcom_event@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x3, x19
	bl	_mlx5_devcom_register_component
Lloh8:
	adrp	x8, _ESW_OFFLOADS_DEVCOM_PAIR@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ESW_OFFLOADS_DEVCOM_PAIR@GOTPAGEOFF]
	ldr	w1, [x21]
Lloh10:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x3, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_mlx5_devcom_send_event
LBB0_2:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_merged_eswitch,4,2             ; @merged_eswitch
	.comm	_MLX5_DEVCOM_ESW_OFFLOADS,4,2   ; @MLX5_DEVCOM_ESW_OFFLOADS
	.comm	_mlx5_esw_offloads_devcom_event,4,2 ; @mlx5_esw_offloads_devcom_event
	.comm	_ESW_OFFLOADS_DEVCOM_PAIR,4,2   ; @ESW_OFFLOADS_DEVCOM_PAIR
	.no_dead_strip	_esw_offloads_devcom_init
.subsections_via_symbols
