	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlx5_ib_set_vport_rep
_mlx5_ib_set_vport_rep:                 ## @mlx5_ib_set_vport_rep
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %r14
	movl	(%rdi), %edi
	callq	_mlx5_ib_get_uplink_ibdev
	movq	%rax, %r15
	movslq	(%r12), %rbx
	movq	(%rax), %rdi
	shlq	$4, %rbx
	movq	%r12, 8(%rdi,%rbx)
	addq	%rbx, %rdi
	movq	8(%r12), %rax
	movq	_REP_IB@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%r15, (%rax,%rcx,8)
	callq	_write_lock
	movl	(%r14), %edi
	movl	4(%r12), %esi
	callq	_mlx5_ib_get_rep_netdev
	movq	(%r15), %rcx
	leaq	(%rcx,%rbx), %rdi
	movl	%eax, 4(%rcx,%rbx)
	callq	_write_unlock
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_REP_IB,8,3                     ## @REP_IB
	.no_dead_strip	_mlx5_ib_set_vport_rep
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlx5_ib_set_vport_rep
_mlx5_ib_set_vport_rep:                 ; @mlx5_ib_set_vport_rep
	.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
	ldr	w0, [x0]
	bl	_mlx5_ib_get_uplink_ibdev
	mov	x21, x0
	ldrsw	x8, [x19]
	ldr	x9, [x0]
	lsl	x22, x8, #4
	add	x0, x9, x22
	str	x19, [x0, #8]
	ldr	x8, [x19, #8]
Lloh0:
	adrp	x9, _REP_IB@GOTPAGE
Lloh1:
	ldr	x9, [x9, _REP_IB@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	str	x21, [x8, x9, lsl #3]
	bl	_write_lock
	ldr	w0, [x20]
	ldr	w1, [x19, #4]
	bl	_mlx5_ib_get_rep_netdev
	ldr	x8, [x21]
	add	x8, x8, x22
	str	w0, [x8, #4]
	mov	x0, x8
	bl	_write_unlock
	mov	w0, #0
	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
	.cfi_endproc
                                        ; -- End function
	.comm	_REP_IB,8,3                     ; @REP_IB
	.no_dead_strip	_mlx5_ib_set_vport_rep
.subsections_via_symbols
