	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx5_query_nic_vport_promisc   ## -- Begin function mlx5_query_nic_vport_promisc
	.p2align	4, 0x90
_mlx5_query_nic_vport_promisc:          ## @mlx5_query_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
	movq	%r8, -56(%rbp)                  ## 8-byte Spill
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r13
	movl	%esi, %r12d
	movq	%rdi, %r14
	movq	_query_nic_vport_context_out@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MLX5_ST_SZ_BYTES
	movl	%eax, %r15d
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r15d, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	%r14, %rdi
	movl	%r12d, %esi
	movq	%rax, %rdx
	movl	%r15d, %ecx
	callq	_mlx5_query_nic_vport_context
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	movq	_query_nic_vport_context_out@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movq	_nic_vport_context@GOTPCREL(%rip), %r14
	movl	8(%r14), %edx
	movq	%rbx, %rsi
	callq	_MLX5_GET
	movl	%eax, (%r13)
	movl	(%r15), %edi
	movl	4(%r14), %edx
	movq	%rbx, %rsi
	callq	_MLX5_GET
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
	movl	(%r15), %edi
	movl	(%r14), %edx
	movq	%rbx, %rsi
	callq	_MLX5_GET
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
LBB0_4:
	movq	%rbx, %rdi
	callq	_kfree
	jmp	LBB0_5
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
LBB0_5:
	movl	%r12d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_query_nic_vport_context_out,4,2 ## @query_nic_vport_context_out
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.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_query_nic_vport_promisc   ; -- Begin function mlx5_query_nic_vport_promisc
	.p2align	2
_mlx5_query_nic_vport_promisc:          ; @mlx5_query_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	x19, x4
	mov	x20, x3
	mov	x23, x2
	mov	x22, x1
	mov	x24, x0
Lloh0:
	adrp	x26, _query_nic_vport_context_out@GOTPAGE
Lloh1:
	ldr	x26, [x26, _query_nic_vport_context_out@GOTPAGEOFF]
	ldr	w0, [x26]
	bl	_MLX5_ST_SZ_BYTES
	mov	x25, x0
Lloh2:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	bl	_kzalloc
	cbz	x0, LBB0_4
; %bb.1:
	mov	x21, x0
	mov	x0, x24
	mov	x1, x22
	mov	x2, x21
	mov	x3, x25
	bl	_mlx5_query_nic_vport_context
	mov	x22, x0
	cbnz	w0, LBB0_3
; %bb.2:
	ldr	w0, [x26]
Lloh5:
	adrp	x24, _nic_vport_context@GOTPAGE
Lloh6:
	ldr	x24, [x24, _nic_vport_context@GOTPAGEOFF]
	ldr	w2, [x24, #8]
	mov	x1, x21
	bl	_MLX5_GET
	str	w0, [x23]
	ldr	w0, [x26]
	ldr	w2, [x24, #4]
	mov	x1, x21
	bl	_MLX5_GET
	str	w0, [x20]
	ldr	w0, [x26]
	ldr	w2, [x24]
	mov	x1, x21
	bl	_MLX5_GET
	str	w0, [x19]
LBB0_3:
	mov	x0, x21
	bl	_kfree
	b	LBB0_5
LBB0_4:
Lloh7:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	neg	w22, w8
LBB0_5:
	mov	x0, x22
	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	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_query_nic_vport_context_out,4,2 ; @query_nic_vport_context_out
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_nic_vport_context,12,2         ; @nic_vport_context
.subsections_via_symbols
