	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx5_modify_nic_vport_promisc  ## -- Begin function mlx5_modify_nic_vport_promisc
	.p2align	4, 0x90
_mlx5_modify_nic_vport_promisc:         ## @mlx5_modify_nic_vport_promisc
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movl	%esi, %r14d
	movq	%rdi, %r13
	movq	_modify_nic_vport_context_in@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	_MLX5_ST_SZ_BYTES
	movl	%eax, %r12d
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r12d, %edi
	callq	_kvzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movq	%rax, %rbx
	movl	(%r15), %edi
	movq	_field_select@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rsi
	movl	$1, %ecx
	callq	_MLX5_SET
	movl	(%r15), %edi
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	movq	_nic_vport_context@GOTPCREL(%rip), %r13
	movl	8(%r13), %edx
	movq	%rbx, %rsi
	movl	%r14d, %ecx
	callq	_MLX5_SET
	movl	(%r15), %edi
	movl	4(%r13), %edx
	movq	%rbx, %rsi
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	callq	_MLX5_SET
	movl	(%r15), %edi
	movl	(%r13), %edx
	movq	%rbx, %rsi
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	callq	_MLX5_SET
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	movl	%r12d, %edx
	callq	_mlx5_modify_nic_vport_context
	movl	%eax, %r14d
	movq	%rbx, %rdi
	callq	_kvfree
	movl	%r14d, %eax
	jmp	LBB0_2
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_2:
	addq	$24, %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	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_field_select,4,2               ## @field_select
	.comm	_nic_vport_context,12,2         ## @nic_vport_context
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx5_modify_nic_vport_promisc  ; -- Begin function mlx5_modify_nic_vport_promisc
	.p2align	2
_mlx5_modify_nic_vport_promisc:         ; @mlx5_modify_nic_vport_promisc
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x3
	mov	x23, x2
	mov	x24, x1
	mov	x19, x0
Lloh0:
	adrp	x25, _modify_nic_vport_context_in@GOTPAGE
Lloh1:
	ldr	x25, [x25, _modify_nic_vport_context_in@GOTPAGEOFF]
	ldr	w0, [x25]
	bl	_MLX5_ST_SZ_BYTES
	mov	x21, x0
Lloh2:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	bl	_kvzalloc
	cbz	x0, LBB0_2
; %bb.1:
	mov	x22, x0
	ldr	w0, [x25]
Lloh5:
	adrp	x8, _field_select@GOTPAGE
Lloh6:
	ldr	x8, [x8, _field_select@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	mov	x1, x22
	mov	w3, #1
	bl	_MLX5_SET
	ldr	w0, [x25]
Lloh8:
	adrp	x26, _nic_vport_context@GOTPAGE
Lloh9:
	ldr	x26, [x26, _nic_vport_context@GOTPAGEOFF]
	ldr	w2, [x26, #8]
	mov	x1, x22
	mov	x3, x24
	bl	_MLX5_SET
	ldr	w0, [x25]
	ldr	w2, [x26, #4]
	mov	x1, x22
	mov	x3, x23
	bl	_MLX5_SET
	ldr	w0, [x25]
	ldr	w2, [x26]
	mov	x1, x22
	mov	x3, x20
	bl	_MLX5_SET
	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_3
LBB0_2:
Lloh10:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_3:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_modify_nic_vport_context_in,4,2 ; @modify_nic_vport_context_in
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_field_select,4,2               ; @field_select
	.comm	_nic_vport_context,12,2         ; @nic_vport_context
.subsections_via_symbols
