	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __load_reps_special_vport
___load_reps_special_vport:             ## @__load_reps_special_vport
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %r12
	movq	_MLX5_VPORT_UPLINK@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	callq	_mlx5_eswitch_get_rep
	movq	%r12, %rdi
	movq	%rax, %rsi
	movl	%r14d, %edx
	callq	___esw_offloads_load_rep
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_8
## %bb.1:
	movl	(%r12), %edi
	callq	_mlx5_core_is_ecpf_esw_manager
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	_MLX5_VPORT_PF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_mlx5_eswitch_get_rep
	movq	%r12, %rdi
	movq	%rax, %rsi
	movl	%r14d, %edx
	callq	___esw_offloads_load_rep
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_7
LBB0_3:
	movl	(%r12), %edi
	callq	_mlx5_ecpf_vport_exists
	xorl	%ebx, %ebx
	testq	%rax, %rax
	je	LBB0_8
## %bb.4:
	movq	_MLX5_VPORT_ECPF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_mlx5_eswitch_get_rep
	movq	%r12, %rdi
	movq	%rax, %rsi
	movl	%r14d, %edx
	callq	___esw_offloads_load_rep
	testl	%eax, %eax
	je	LBB0_8
## %bb.5:
	movl	%eax, %r15d
	movl	(%r12), %edi
	callq	_mlx5_core_is_ecpf_esw_manager
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	_MLX5_VPORT_PF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_mlx5_eswitch_get_rep
	movq	%r12, %rdi
	movq	%rax, %rsi
	movl	%r14d, %edx
	callq	___esw_offloads_unload_rep
LBB0_7:
	movl	(%r13), %esi
	movq	%r12, %rdi
	callq	_mlx5_eswitch_get_rep
	movq	%r12, %rdi
	movq	%rax, %rsi
	movl	%r14d, %edx
	callq	___esw_offloads_unload_rep
	movl	%r15d, %ebx
LBB0_8:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MLX5_VPORT_UPLINK,4,2          ## @MLX5_VPORT_UPLINK
	.comm	_MLX5_VPORT_PF,4,2              ## @MLX5_VPORT_PF
	.comm	_MLX5_VPORT_ECPF,4,2            ## @MLX5_VPORT_ECPF
	.no_dead_strip	___load_reps_special_vport
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __load_reps_special_vport
___load_reps_special_vport:             ; @__load_reps_special_vport
	.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, x1
	mov	x20, x0
Lloh0:
	adrp	x22, _MLX5_VPORT_UPLINK@GOTPAGE
Lloh1:
	ldr	x22, [x22, _MLX5_VPORT_UPLINK@GOTPAGEOFF]
	ldr	w1, [x22]
	bl	_mlx5_eswitch_get_rep
	mov	x1, x0
	mov	x0, x20
	mov	x2, x19
	bl	___esw_offloads_load_rep
	mov	x21, x0
	cbnz	w0, LBB0_9
; %bb.1:
	ldr	w0, [x20]
	bl	_mlx5_core_is_ecpf_esw_manager
	cbz	x0, LBB0_3
; %bb.2:
Lloh2:
	adrp	x8, _MLX5_VPORT_PF@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MLX5_VPORT_PF@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_mlx5_eswitch_get_rep
	mov	x1, x0
	mov	x0, x20
	mov	x2, x19
	bl	___esw_offloads_load_rep
	mov	x21, x0
	cbnz	w0, LBB0_7
LBB0_3:
	ldr	w0, [x20]
	bl	_mlx5_ecpf_vport_exists
	cbz	x0, LBB0_8
; %bb.4:
Lloh5:
	adrp	x8, _MLX5_VPORT_ECPF@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MLX5_VPORT_ECPF@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_mlx5_eswitch_get_rep
	mov	x1, x0
	mov	x0, x20
	mov	x2, x19
	bl	___esw_offloads_load_rep
	mov	x21, x0
	cbz	w0, LBB0_9
; %bb.5:
	ldr	w0, [x20]
	bl	_mlx5_core_is_ecpf_esw_manager
	cbz	x0, LBB0_7
; %bb.6:
Lloh8:
	adrp	x8, _MLX5_VPORT_PF@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MLX5_VPORT_PF@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_mlx5_eswitch_get_rep
	mov	x1, x0
	mov	x0, x20
	mov	x2, x19
	bl	___esw_offloads_unload_rep
LBB0_7:
	ldr	w1, [x22]
	mov	x0, x20
	bl	_mlx5_eswitch_get_rep
	mov	x1, x0
	mov	x0, x20
	mov	x2, x19
	bl	___esw_offloads_unload_rep
	b	LBB0_9
LBB0_8:
	mov	w21, #0
LBB0_9:
	mov	x0, x21
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_MLX5_VPORT_UPLINK,4,2          ; @MLX5_VPORT_UPLINK
	.comm	_MLX5_VPORT_PF,4,2              ; @MLX5_VPORT_PF
	.comm	_MLX5_VPORT_ECPF,4,2            ; @MLX5_VPORT_ECPF
	.no_dead_strip	___load_reps_special_vport
.subsections_via_symbols
