	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ixgbe_intr_test
_ixgbe_intr_test:                       ## @ixgbe_intr_test
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	24(%rdi), %rax
	movq	32(%rdi), %r15
	movl	(%rax), %r12d
	movl	$0, (%rsi)
	xorl	%eax, %eax
	cmpq	$0, 16(%rdi)
	jne	LBB0_18
## %bb.1:
	movq	%rsi, %r13
	movq	%rdi, %rbx
	movq	_IXGBE_FLAG_MSI_ENABLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_ixgbe_test_intr@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	testl	%eax, (%rdi)
	je	LBB0_4
## %bb.2:
	movl	(%r15), %ecx
	movl	%r12d, %edi
	xorl	%edx, %edx
	movq	%r15, %r8
	callq	_request_irq
	testq	%rax, %rax
	jne	LBB0_19
	jmp	LBB0_3
LBB0_4:
	movq	_IRQF_PROBE_SHARED@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%r15), %ecx
	movl	%r12d, %edi
	movq	%r15, %r8
	callq	_request_irq
	testq	%rax, %rax
	je	LBB0_3
## %bb.5:
	movl	(%r14), %esi
	movq	_IRQF_SHARED@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%r15), %ecx
	movl	%r12d, %edi
	movq	%r15, %r8
	callq	_request_irq
	testq	%rax, %rax
	je	LBB0_6
LBB0_19:
	movl	$1, (%r13)
	movl	$-1, %eax
	jmp	LBB0_18
LBB0_3:
	movl	%r12d, -44(%rbp)                ## 4-byte Spill
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	leaq	L_.str.2(%rip), %rdx
	movb	$1, %r14b
	jmp	LBB0_7
LBB0_6:
	movl	%r12d, -44(%rbp)                ## 4-byte Spill
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	leaq	L_.str.1(%rip), %rdx
	xorl	%r14d, %r14d
LBB0_7:
	movq	_hw@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_e_info
	leaq	8(%rbx), %r13
	movq	_IXGBE_EIMC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	movl	$-1, %edx
	callq	_IXGBE_WRITE_REG
	movq	%r13, %rdi
	callq	_IXGBE_WRITE_FLUSH
	movl	$10000, %edi                    ## imm = 0x2710
	movl	$20000, %esi                    ## imm = 0x4E20
	callq	_usleep_range
	xorl	%r15d, %r15d
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_8 Depth=1
	incl	%r15d
	cmpl	$10, %r15d
	je	LBB0_17
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r15d, %edi
	callq	_BIT
	movl	%eax, %r12d
	testb	%r14b, %r14b
	je	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movl	$0, 4(%rbx)
	movq	_IXGBE_EIMC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %ebx
	movl	%r12d, %r14d
	notl	%r14d
	andl	$32767, %r14d                   ## imm = 0x7FFF
	movq	%r13, %rdi
	movl	%r14d, %edx
	callq	_IXGBE_WRITE_REG
	movq	_IXGBE_EICS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	movl	%r14d, %edx
	movl	%ebx, %r14d
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	callq	_IXGBE_WRITE_REG
	movq	%r13, %rdi
	callq	_IXGBE_WRITE_FLUSH
	movl	$10000, %edi                    ## imm = 0x2710
	movl	$20000, %esi                    ## imm = 0x4E20
	callq	_usleep_range
	testl	%r12d, 4(%rbx)
	jne	LBB0_10
LBB0_11:                                ##   in Loop: Header=BB0_8 Depth=1
	movl	$0, 4(%rbx)
	movq	_IXGBE_EIMS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	movl	%r12d, %edx
	callq	_IXGBE_WRITE_REG
	movq	_IXGBE_EICS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	movl	%r12d, %edx
	callq	_IXGBE_WRITE_REG
	movq	%r13, %rdi
	callq	_IXGBE_WRITE_FLUSH
	movl	$10000, %edi                    ## imm = 0x2710
	movl	$20000, %esi                    ## imm = 0x4E20
	callq	_usleep_range
	testl	%r12d, 4(%rbx)
	je	LBB0_12
## %bb.13:                              ##   in Loop: Header=BB0_8 Depth=1
	testb	%r14b, %r14b
	je	LBB0_20
## %bb.14:                              ##   in Loop: Header=BB0_8 Depth=1
	movl	$0, 4(%rbx)
	movq	_IXGBE_EIMC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	notl	%r12d
	andl	$32767, %r12d                   ## imm = 0x7FFF
	movq	%r13, %rdi
	movl	%r12d, %edx
	callq	_IXGBE_WRITE_REG
	movq	_IXGBE_EICS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	movl	%r12d, %edx
	callq	_IXGBE_WRITE_REG
	movq	%r13, %rdi
	callq	_IXGBE_WRITE_FLUSH
	movl	$10000, %edi                    ## imm = 0x2710
	movl	$20000, %esi                    ## imm = 0x4E20
	callq	_usleep_range
	cmpl	$0, 4(%rbx)
	je	LBB0_20
## %bb.15:
	movl	$5, %eax
	jmp	LBB0_16
LBB0_12:
	movl	$4, %eax
	jmp	LBB0_16
LBB0_10:
	movl	$3, %eax
LBB0_16:
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
LBB0_17:
	movq	_IXGBE_EIMC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	movl	$-1, %edx
	callq	_IXGBE_WRITE_REG
	movq	%r13, %rdi
	callq	_IXGBE_WRITE_FLUSH
	movl	$10000, %edi                    ## imm = 0x2710
	movl	$20000, %esi                    ## imm = 0x4E20
	callq	_usleep_range
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	callq	_free_irq
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %eax
LBB0_18:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IXGBE_FLAG_MSI_ENABLED,4,2     ## @IXGBE_FLAG_MSI_ENABLED
	.comm	_ixgbe_test_intr,4,2            ## @ixgbe_test_intr
	.comm	_IRQF_PROBE_SHARED,4,2          ## @IRQF_PROBE_SHARED
	.comm	_IRQF_SHARED,4,2                ## @IRQF_SHARED
	.comm	_hw,4,2                         ## @hw
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"testing %s interrupt\n"

L_.str.1:                               ## @.str.1
	.asciz	"shared"

L_.str.2:                               ## @.str.2
	.asciz	"unshared"

	.comm	_IXGBE_EIMC,4,2                 ## @IXGBE_EIMC
	.comm	_IXGBE_EICS,4,2                 ## @IXGBE_EICS
	.comm	_IXGBE_EIMS,4,2                 ## @IXGBE_EIMS
	.no_dead_strip	_ixgbe_intr_test
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ixgbe_intr_test
_ixgbe_intr_test:                       ; @ixgbe_intr_test
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x22, x0
	mov	w0, #0
	ldp	x8, x20, [x22, #24]
	ldr	x9, [x22, #16]
	ldr	w23, [x8]
	str	wzr, [x1]
	cbnz	x9, LBB0_22
; %bb.1:
	mov	x19, x1
Lloh0:
	adrp	x8, _IXGBE_FLAG_MSI_ENABLED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IXGBE_FLAG_MSI_ENABLED@GOTPAGEOFF]
	ldr	w9, [x22]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x21, _ixgbe_test_intr@GOTPAGE
Lloh4:
	ldr	x21, [x21, _ixgbe_test_intr@GOTPAGEOFF]
	ldr	w1, [x21]
	tst	w8, w9
	b.eq	LBB0_4
; %bb.2:
	ldr	w3, [x20]
	mov	x0, x23
	mov	w2, #0
	mov	x4, x20
	bl	_request_irq
	mov	w27, #1
	cbz	x0, LBB0_7
; %bb.3:
	str	w27, [x19]
	mov	w0, #-1
	b	LBB0_22
LBB0_4:
Lloh5:
	adrp	x8, _IRQF_PROBE_SHARED@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IRQF_PROBE_SHARED@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	ldr	w3, [x20]
	mov	x0, x23
	mov	x4, x20
	bl	_request_irq
	cbz	x0, LBB0_8
; %bb.5:
	ldr	w1, [x21]
Lloh8:
	adrp	x8, _IRQF_SHARED@GOTPAGE
Lloh9:
	ldr	x8, [x8, _IRQF_SHARED@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	ldr	w3, [x20]
	mov	x0, x23
	mov	x4, x20
	bl	_request_irq
	cbz	x0, LBB0_9
; %bb.6:
	mov	w8, #1
	str	w8, [x19]
	mov	w0, #-1
	b	LBB0_22
LBB0_7:
	str	x20, [sp]                       ; 8-byte Folded Spill
	str	w23, [sp, #12]                  ; 4-byte Folded Spill
Lloh11:
	adrp	x2, l_.str.2@PAGE
Lloh12:
	add	x2, x2, l_.str.2@PAGEOFF
	b	LBB0_10
LBB0_8:
	str	x20, [sp]                       ; 8-byte Folded Spill
	str	w23, [sp, #12]                  ; 4-byte Folded Spill
Lloh13:
	adrp	x2, l_.str.2@PAGE
Lloh14:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	w27, #1
	b	LBB0_10
LBB0_9:
	str	x20, [sp]                       ; 8-byte Folded Spill
	str	w23, [sp, #12]                  ; 4-byte Folded Spill
	mov	w27, #0
Lloh15:
	adrp	x2, l_.str.1@PAGE
Lloh16:
	add	x2, x2, l_.str.1@PAGEOFF
LBB0_10:
Lloh17:
	adrp	x8, _hw@GOTPAGE
Lloh18:
	ldr	x8, [x8, _hw@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
Lloh20:
	adrp	x1, l_.str@PAGE
Lloh21:
	add	x1, x1, l_.str@PAGEOFF
	bl	_e_info
	add	x23, x22, #8
Lloh22:
	adrp	x20, _IXGBE_EIMC@GOTPAGE
Lloh23:
	ldr	x20, [x20, _IXGBE_EIMC@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x23
	mov	w2, #-1
	bl	_IXGBE_WRITE_REG
	mov	x0, x23
	bl	_IXGBE_WRITE_FLUSH
	mov	w0, #10000
	mov	w1, #20000
	bl	_usleep_range
	mov	w24, #0
Lloh24:
	adrp	x21, _IXGBE_EICS@GOTPAGE
Lloh25:
	ldr	x21, [x21, _IXGBE_EICS@GOTPAGEOFF]
Lloh26:
	adrp	x28, _IXGBE_EIMS@GOTPAGE
Lloh27:
	ldr	x28, [x28, _IXGBE_EIMS@GOTPAGEOFF]
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=1
	add	w24, w24, #1
	cmp	w24, #10
	b.eq	LBB0_21
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x24
	bl	_BIT
	mov	x25, x0
	cbz	w27, LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	str	wzr, [x22, #4]
	ldr	w1, [x20]
	mvn	w8, w25
	and	w26, w8, #0x7fff
	mov	x0, x23
	mov	x2, x26
	bl	_IXGBE_WRITE_REG
	ldr	w1, [x21]
	mov	x0, x23
	mov	x2, x26
	bl	_IXGBE_WRITE_REG
	mov	x0, x23
	bl	_IXGBE_WRITE_FLUSH
	mov	w0, #10000
	mov	w1, #20000
	bl	_usleep_range
	ldr	w8, [x22, #4]
	tst	w8, w25
	b.ne	LBB0_19
LBB0_14:                                ;   in Loop: Header=BB0_12 Depth=1
	str	wzr, [x22, #4]
	ldr	w1, [x28]
	mov	x0, x23
	mov	x2, x25
	bl	_IXGBE_WRITE_REG
	ldr	w1, [x21]
	mov	x0, x23
	mov	x2, x25
	bl	_IXGBE_WRITE_REG
	mov	x0, x23
	bl	_IXGBE_WRITE_FLUSH
	mov	w0, #10000
	mov	w1, #20000
	bl	_usleep_range
	ldr	w8, [x22, #4]
	tst	w8, w25
	b.eq	LBB0_18
; %bb.15:                               ;   in Loop: Header=BB0_12 Depth=1
	cbz	w27, LBB0_11
; %bb.16:                               ;   in Loop: Header=BB0_12 Depth=1
	str	wzr, [x22, #4]
	ldr	w1, [x20]
	mvn	w8, w25
	and	w25, w8, #0x7fff
	mov	x0, x23
	mov	x2, x25
	bl	_IXGBE_WRITE_REG
	ldr	w1, [x21]
	mov	x0, x23
	mov	x2, x25
	bl	_IXGBE_WRITE_REG
	mov	x0, x23
	bl	_IXGBE_WRITE_FLUSH
	mov	w0, #10000
	mov	w1, #20000
	bl	_usleep_range
	ldr	w8, [x22, #4]
	cbz	w8, LBB0_11
; %bb.17:
	mov	w8, #5
	b	LBB0_20
LBB0_18:
	mov	w8, #4
	b	LBB0_20
LBB0_19:
	mov	w8, #3
LBB0_20:
	str	w8, [x19]
LBB0_21:
	ldr	w1, [x20]
	mov	x0, x23
	mov	w2, #-1
	bl	_IXGBE_WRITE_REG
	mov	x0, x23
	bl	_IXGBE_WRITE_FLUSH
	mov	w0, #10000
	mov	w1, #20000
	bl	_usleep_range
	ldr	w0, [sp, #12]                   ; 4-byte Folded Reload
	ldr	x1, [sp]                        ; 8-byte Folded Reload
	bl	_free_irq
	ldr	w0, [x19]
LBB0_22:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_IXGBE_FLAG_MSI_ENABLED,4,2     ; @IXGBE_FLAG_MSI_ENABLED
	.comm	_ixgbe_test_intr,4,2            ; @ixgbe_test_intr
	.comm	_IRQF_PROBE_SHARED,4,2          ; @IRQF_PROBE_SHARED
	.comm	_IRQF_SHARED,4,2                ; @IRQF_SHARED
	.comm	_hw,4,2                         ; @hw
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"testing %s interrupt\n"

l_.str.1:                               ; @.str.1
	.asciz	"shared"

l_.str.2:                               ; @.str.2
	.asciz	"unshared"

	.comm	_IXGBE_EIMC,4,2                 ; @IXGBE_EIMC
	.comm	_IXGBE_EICS,4,2                 ; @IXGBE_EICS
	.comm	_IXGBE_EIMS,4,2                 ; @IXGBE_EIMS
	.no_dead_strip	_ixgbe_intr_test
.subsections_via_symbols
