	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i40e_setup_misc_vector
_i40e_setup_misc_vector:                ## @i40e_setup_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	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	___I40E_MISC_IRQ_REQUESTED@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	movl	16(%rbx), %esi
	callq	_test_and_set_bit
	testl	%eax, %eax
	je	LBB0_1
LBB0_3:
	leaq	32(%rbx), %r14
	movq	%rbx, %rdi
	callq	_i40e_enable_misc_int_causes
	movq	_I40E_PFINT_LNKLST0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_I40E_QUEUE_END_OF_LIST@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_wr32
	movq	_I40E_RX_ITR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_I40E_PFINT_ITR0
	movq	_I40E_ITR_8K@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_wr32
	movq	%r14, %rdi
	callq	_i40e_flush
	movq	%rbx, %rdi
	callq	_i40e_irq_dynamic_enable_icr0
	xorl	%r14d, %r14d
	jmp	LBB0_4
LBB0_1:
	movq	24(%rbx), %rax
	movl	(%rax), %edi
	movq	_i40e_intr@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%rbx), %ecx
	xorl	%r14d, %r14d
	xorl	%edx, %edx
	movq	%rbx, %r8
	callq	_request_irq
	testl	%eax, %eax
	je	LBB0_3
## %bb.2:
	movl	%eax, %r15d
	movl	(%r12), %edi
	movl	16(%rbx), %esi
	callq	_clear_bit
	movq	8(%rbx), %rdi
	movl	(%rbx), %edx
	leaq	L_.str(%rip), %rsi
	movl	%r15d, %ecx
	callq	_dev_info
	movq	_EFAULT@GOTPCREL(%rip), %rax
	subl	(%rax), %r14d
LBB0_4:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	___I40E_MISC_IRQ_REQUESTED,4,2  ## @__I40E_MISC_IRQ_REQUESTED
	.comm	_i40e_intr,4,2                  ## @i40e_intr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"request_irq for %s failed: %d\n"

	.comm	_EFAULT,4,2                     ## @EFAULT
	.comm	_I40E_PFINT_LNKLST0,4,2         ## @I40E_PFINT_LNKLST0
	.comm	_I40E_QUEUE_END_OF_LIST,4,2     ## @I40E_QUEUE_END_OF_LIST
	.comm	_I40E_RX_ITR,4,2                ## @I40E_RX_ITR
	.comm	_I40E_ITR_8K,4,2                ## @I40E_ITR_8K
	.no_dead_strip	_i40e_setup_misc_vector
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i40e_setup_misc_vector
_i40e_setup_misc_vector:                ; @i40e_setup_misc_vector
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
Lloh0:
	adrp	x21, ___I40E_MISC_IRQ_REQUESTED@GOTPAGE
Lloh1:
	ldr	x21, [x21, ___I40E_MISC_IRQ_REQUESTED@GOTPAGEOFF]
	ldr	w0, [x21]
	ldr	w1, [x19, #16]
	bl	_test_and_set_bit
	cbz	w0, LBB0_2
LBB0_1:
	add	x20, x19, #32
	mov	x0, x19
	bl	_i40e_enable_misc_int_causes
Lloh2:
	adrp	x8, _I40E_PFINT_LNKLST0@GOTPAGE
Lloh3:
	ldr	x8, [x8, _I40E_PFINT_LNKLST0@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	adrp	x8, _I40E_QUEUE_END_OF_LIST@GOTPAGE
Lloh6:
	ldr	x8, [x8, _I40E_QUEUE_END_OF_LIST@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_wr32
Lloh8:
	adrp	x8, _I40E_RX_ITR@GOTPAGE
Lloh9:
	ldr	x8, [x8, _I40E_RX_ITR@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	bl	_I40E_PFINT_ITR0
	mov	x1, x0
Lloh11:
	adrp	x8, _I40E_ITR_8K@GOTPAGE
Lloh12:
	ldr	x8, [x8, _I40E_ITR_8K@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_wr32
	mov	x0, x20
	bl	_i40e_flush
	mov	x0, x19
	bl	_i40e_irq_dynamic_enable_icr0
	mov	w0, #0
	b	LBB0_4
LBB0_2:
	ldr	x8, [x19, #24]
	ldr	w0, [x8]
Lloh14:
	adrp	x8, _i40e_intr@GOTPAGE
Lloh15:
	ldr	x8, [x8, _i40e_intr@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	ldr	w3, [x19]
	mov	w2, #0
	mov	x4, x19
	bl	_request_irq
	cbz	w0, LBB0_1
; %bb.3:
	mov	x20, x0
	ldr	w0, [x21]
	ldr	w1, [x19, #16]
	bl	_clear_bit
	ldr	x0, [x19, #8]
	ldr	w2, [x19]
Lloh17:
	adrp	x1, l_.str@PAGE
Lloh18:
	add	x1, x1, l_.str@PAGEOFF
	mov	x3, x20
	bl	_dev_info
Lloh19:
	adrp	x8, _EFAULT@GOTPAGE
Lloh20:
	ldr	x8, [x8, _EFAULT@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	___I40E_MISC_IRQ_REQUESTED,4,2  ; @__I40E_MISC_IRQ_REQUESTED
	.comm	_i40e_intr,4,2                  ; @i40e_intr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"request_irq for %s failed: %d\n"

	.comm	_EFAULT,4,2                     ; @EFAULT
	.comm	_I40E_PFINT_LNKLST0,4,2         ; @I40E_PFINT_LNKLST0
	.comm	_I40E_QUEUE_END_OF_LIST,4,2     ; @I40E_QUEUE_END_OF_LIST
	.comm	_I40E_RX_ITR,4,2                ; @I40E_RX_ITR
	.comm	_I40E_ITR_8K,4,2                ; @I40E_ITR_8K
	.no_dead_strip	_i40e_setup_misc_vector
.subsections_via_symbols
