	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hclgevf_get_misc_vector
_hclgevf_get_misc_vector:               ## @hclgevf_get_misc_vector
	.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
	movq	%rdi, %rbx
	movl	32(%rdi), %edi
	movq	_HCLGEVF_MISC_VECTOR_NUM@GOTPCREL(%rip), %r14
	movq	(%r14), %rsi
	callq	_pci_irq_vector
	movl	%eax, 40(%rbx)
	movq	_HCLGEVF_MISC_VECTOR_REG_BASE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	addq	24(%rbx), %rcx
	movq	%rcx, 48(%rbx)
	movq	16(%rbx), %rcx
	movq	(%r14), %rdx
	movq	$0, (%rcx,%rdx,8)
	movq	8(%rbx), %rcx
	movq	(%r14), %rdx
	movl	%eax, (%rcx,%rdx,4)
	decl	(%rbx)
	incl	4(%rbx)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HCLGEVF_MISC_VECTOR_NUM,8,3    ## @HCLGEVF_MISC_VECTOR_NUM
	.comm	_HCLGEVF_MISC_VECTOR_REG_BASE,8,3 ## @HCLGEVF_MISC_VECTOR_REG_BASE
	.no_dead_strip	_hclgevf_get_misc_vector
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function hclgevf_get_misc_vector
lCPI0_0:
	.long	4294967295                      ; 0xffffffff
	.long	1                               ; 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_hclgevf_get_misc_vector:               ; @hclgevf_get_misc_vector
	.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
	mov	x19, x0
	ldr	w0, [x0, #32]
Lloh0:
	adrp	x20, _HCLGEVF_MISC_VECTOR_NUM@GOTPAGE
Lloh1:
	ldr	x20, [x20, _HCLGEVF_MISC_VECTOR_NUM@GOTPAGEOFF]
	ldr	x1, [x20]
	bl	_pci_irq_vector
	ldr	x8, [x19, #24]
Lloh2:
	adrp	x9, _HCLGEVF_MISC_VECTOR_REG_BASE@GOTPAGE
Lloh3:
	ldr	x9, [x9, _HCLGEVF_MISC_VECTOR_REG_BASE@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	add	x8, x9, x8
	str	x8, [x19, #48]
	ldr	x8, [x20]
	ldp	x10, x9, [x19, #8]
	str	xzr, [x9, x8, lsl #3]
	str	w0, [x19, #40]
	ldr	x8, [x20]
	str	w0, [x10, x8, lsl #2]
	ldr	d0, [x19]
Lloh5:
	adrp	x8, lCPI0_0@PAGE
Lloh6:
	ldr	d1, [x8, lCPI0_0@PAGEOFF]
	add.2s	v0, v0, v1
	str	d0, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdr	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_HCLGEVF_MISC_VECTOR_NUM,8,3    ; @HCLGEVF_MISC_VECTOR_NUM
	.comm	_HCLGEVF_MISC_VECTOR_REG_BASE,8,3 ; @HCLGEVF_MISC_VECTOR_REG_BASE
	.no_dead_strip	_hclgevf_get_misc_vector
.subsections_via_symbols
