	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx5_modify_nic_vport_node_guid ## -- Begin function mlx5_modify_nic_vport_node_guid
	.p2align	4, 0x90
_mlx5_modify_nic_vport_node_guid:       ## @mlx5_modify_nic_vport_node_guid
	.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	%edx, %r13d
	movl	%esi, %r15d
	movq	%rdi, %r12
	movq	_modify_nic_vport_context_in@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_MLX5_ST_SZ_BYTES
	testl	%r15d, %r15d
	je	LBB0_1
## %bb.3:
	movl	%eax, %ebx
	movq	_vport_group_manager@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_MLX5_CAP_GEN
	testl	%eax, %eax
	je	LBB0_4
## %bb.5:
	movl	%r13d, -44(%rbp)                ## 4-byte Spill
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_kvzalloc
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movq	%rax, %r13
	movl	(%r14), %edi
	movq	_field_select@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rsi
	movl	$1, %ecx
	callq	_MLX5_SET
	movl	(%r14), %edi
	movq	_vport_number@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rsi
	movl	%r15d, %ecx
	callq	_MLX5_SET
	movl	(%r14), %edi
	movq	_other_vport@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rsi
	movl	$1, %ecx
	callq	_MLX5_SET
	movl	(%r14), %edi
	movq	%r13, %rsi
	callq	_MLX5_ADDR_OF
	movq	%rax, %rdi
	movq	%rax, %rsi
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, %edx
	callq	_MLX5_SET64
	movq	%r12, %rdi
	movq	%r13, %rsi
	movl	%ebx, %edx
	callq	_mlx5_modify_nic_vport_context
	movl	%eax, %ebx
	movq	%r13, %rdi
	callq	_kvfree
	movl	%ebx, %eax
	jmp	LBB0_8
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_4:
	movq	_EACCES@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_6:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
LBB0_2:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_modify_nic_vport_context_in,4,2 ## @modify_nic_vport_context_in
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_vport_group_manager,4,2        ## @vport_group_manager
	.comm	_EACCES,4,2                     ## @EACCES
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_field_select,4,2               ## @field_select
	.comm	_vport_number,4,2               ## @vport_number
	.comm	_other_vport,4,2                ## @other_vport
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx5_modify_nic_vport_node_guid ; -- Begin function mlx5_modify_nic_vport_node_guid
	.p2align	2
_mlx5_modify_nic_vport_node_guid:       ; @mlx5_modify_nic_vport_node_guid
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x2
	mov	x23, x1
	mov	x19, x0
Lloh0:
	adrp	x24, _modify_nic_vport_context_in@GOTPAGE
Lloh1:
	ldr	x24, [x24, _modify_nic_vport_context_in@GOTPAGEOFF]
	ldr	w0, [x24]
	bl	_MLX5_ST_SZ_BYTES
	cbz	w23, LBB0_4
; %bb.1:
	mov	x21, x0
Lloh2:
	adrp	x8, _vport_group_manager@GOTPAGE
Lloh3:
	ldr	x8, [x8, _vport_group_manager@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_MLX5_CAP_GEN
	cbz	w0, LBB0_5
; %bb.2:
Lloh5:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_kvzalloc
	cbz	x0, LBB0_6
; %bb.3:
	mov	x22, x0
	ldr	w0, [x24]
Lloh8:
	adrp	x8, _field_select@GOTPAGE
Lloh9:
	ldr	x8, [x8, _field_select@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	mov	x1, x22
	mov	w3, #1
	bl	_MLX5_SET
	ldr	w0, [x24]
Lloh11:
	adrp	x8, _vport_number@GOTPAGE
Lloh12:
	ldr	x8, [x8, _vport_number@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	mov	x1, x22
	mov	x3, x23
	bl	_MLX5_SET
	ldr	w0, [x24]
Lloh14:
	adrp	x8, _other_vport@GOTPAGE
Lloh15:
	ldr	x8, [x8, _other_vport@GOTPAGEOFF]
Lloh16:
	ldr	w2, [x8]
	mov	x1, x22
	mov	w3, #1
	bl	_MLX5_SET
	ldr	w0, [x24]
	mov	x1, x22
	bl	_MLX5_ADDR_OF
	mov	x1, x0
	mov	x2, x20
	mov	x3, x20
	bl	_MLX5_SET64
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	bl	_mlx5_modify_nic_vport_context
	mov	x19, x0
	mov	x0, x22
	bl	_kvfree
	mov	x0, x19
	b	LBB0_8
LBB0_4:
Lloh17:
	adrp	x8, _EINVAL@GOTPAGE
Lloh18:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_7
LBB0_5:
Lloh19:
	adrp	x8, _EACCES@GOTPAGE
Lloh20:
	ldr	x8, [x8, _EACCES@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
Lloh21:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh22:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_7:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_8:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_modify_nic_vport_context_in,4,2 ; @modify_nic_vport_context_in
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_vport_group_manager,4,2        ; @vport_group_manager
	.comm	_EACCES,4,2                     ; @EACCES
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_field_select,4,2               ; @field_select
	.comm	_vport_number,4,2               ; @vport_number
	.comm	_other_vport,4,2                ; @other_vport
.subsections_via_symbols
