	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hclge_update_desc_vfid
_hclge_update_desc_vfid:                ## @hclge_update_desc_vfid
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
                                        ## kill: def $esi killed $esi def $rsi
	cmpl	$256, %esi                      ## imm = 0x100
	jb	LBB0_2
## %bb.1:
	movq	_EIO@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_12
LBB0_2:
	movq	%rdi, %r14
	cmpl	$191, %esi
	ja	LBB0_7
## %bb.3:
	movl	%esi, %ebx
	shrl	$5, %ebx
	movl	$1, %edi
	movl	%esi, %ecx
	shll	%cl, %edi
	testl	%edx, %edx
	je	LBB0_6
## %bb.4:
	notl	%edi
	callq	_cpu_to_le32
	movq	8(%r14), %rcx
	jmp	LBB0_5
LBB0_7:
	leal	64(%rsi), %ebx
	shrl	$5, %ebx
	andl	$7, %ebx
	movl	$1, %edi
	movl	%esi, %ecx
	shll	%cl, %edi
	testl	%edx, %edx
	je	LBB0_9
## %bb.8:
	notl	%edi
	callq	_cpu_to_le32
	movq	16(%r14), %rcx
LBB0_5:
	movl	%ebx, %edx
	andl	%eax, (%rcx,%rdx,4)
	jmp	LBB0_11
LBB0_6:
	callq	_cpu_to_le32
	movq	8(%r14), %rcx
	jmp	LBB0_10
LBB0_9:
	callq	_cpu_to_le32
	movq	16(%r14), %rcx
LBB0_10:
	movl	%ebx, %edx
	orl	%eax, (%rcx,%rdx,4)
LBB0_11:
	xorl	%eax, %eax
LBB0_12:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EIO,4,2                        ## @EIO
	.comm	_HCLGE_VF_NUM_IN_FIRST_DESC,4,2 ## @HCLGE_VF_NUM_IN_FIRST_DESC
	.no_dead_strip	_hclge_update_desc_vfid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hclge_update_desc_vfid
_hclge_update_desc_vfid:                ; @hclge_update_desc_vfid
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	cmp	w1, #256
	b.lo	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _EIO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_12
LBB0_2:
	mov	x19, x0
	cmp	w1, #191
	b.hi	LBB0_5
; %bb.3:
	lsr	w20, w1, #5
	mov	w8, #1
	lsl	w0, w8, w1
	cbz	w2, LBB0_8
; %bb.4:
	mvn	w0, w0
	bl	_cpu_to_le32
	mov	x8, x0
	mov	w0, #0
	ldr	x9, [x19, #8]
	b	LBB0_7
LBB0_5:
	add	w8, w1, #64
	ubfx	w20, w8, #5, #3
	mov	w8, #1
	lsl	w0, w8, w1
	cbz	w2, LBB0_9
; %bb.6:
	mvn	w0, w0
	bl	_cpu_to_le32
	mov	x8, x0
	mov	w0, #0
	ldr	x9, [x19, #16]
LBB0_7:
	lsl	x10, x20, #2
	ldr	w11, [x9, x10]
	and	w8, w11, w8
	b	LBB0_11
LBB0_8:
	bl	_cpu_to_le32
	mov	x8, x0
	mov	w0, #0
	ldr	x9, [x19, #8]
	b	LBB0_10
LBB0_9:
	bl	_cpu_to_le32
	mov	x8, x0
	mov	w0, #0
	ldr	x9, [x19, #16]
LBB0_10:
	lsl	x10, x20, #2
	ldr	w11, [x9, x10]
	orr	w8, w11, w8
LBB0_11:
	str	w8, [x9, x10]
LBB0_12:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EIO,4,2                        ; @EIO
	.comm	_HCLGE_VF_NUM_IN_FIRST_DESC,4,2 ; @HCLGE_VF_NUM_IN_FIRST_DESC
	.no_dead_strip	_hclge_update_desc_vfid
.subsections_via_symbols
