	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ibmvnic_poll
_ibmvnic_poll:                          ## @ibmvnic_poll
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movq	%rdi, %r14
	movq	(%rdi), %rdi
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	callq	_netdev_priv
	movq	%rax, %r13
	movslq	(%rax), %rax
	shlq	$3, %rax
	movq	%r14, %rcx
	subq	%rax, %rcx
	movq	%r13, %rax
	addq	$56, %rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	movslq	%ecx, %r15
	xorl	%r12d, %r12d
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_1
LBB0_19:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	(%r12), %ebx
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_napi_gro_receive
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	incl	4(%rax)
	addl	%ebx, (%rax)
	movq	40(%r13), %rax
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	incl	4(%rax,%r15,8)
	addl	%ebx, (%rax,%r15,8)
	movl	-80(%rbp), %r12d                ## 4-byte Reload
	incl	%r12d
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	-44(%rbp), %r12d                ## 4-byte Folded Reload
	jge	LBB0_20
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	xorl	%ebx, %ebx
	xorl	%edi, %edi
	movq	-104(%rbp), %rsi                ## 8-byte Reload
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	8(%r13), %rax
	movq	_VNIC_RESET_NON_FATAL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	setne	%bl
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	movzbl	%bl, %edi
	callq	_unlikely
	movq	24(%r13), %rcx
	movl	(%rcx,%r15,4), %esi
	testq	%rax, %rax
	jne	LBB0_5
## %bb.7:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%r13, %rdi
	callq	_pending_scrq
	testq	%rax, %rax
	je	LBB0_20
## %bb.8:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	24(%r13), %rax
	movl	(%rax,%r15,4), %esi
	movq	%r13, %rdi
	callq	_ibmvnic_next_scrq
	movq	%rax, %r15
	movl	48(%rax), %edi
	callq	_be64_to_cpu
	movq	%rax, %r14
	movq	40(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_1 Depth=1
	callq	_be16_to_cpu
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	leaq	L_.str(%rip), %rsi
	movq	%rax, %rdx
	callq	_netdev_dbg
	movq	$0, 8(%r15)
	movq	8(%r14), %rdi
	callq	_dev_kfree_skb_any
LBB0_12:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_remove_buff_from_pool
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_1 Depth=1
	cmpq	$0, 8(%r14)
	je	LBB0_11
## %bb.13:                              ##   in Loop: Header=BB0_1 Depth=1
	movl	%r12d, -80(%rbp)                ## 4-byte Spill
	movl	32(%r15), %edi
	callq	_be32_to_cpu
	movq	%rax, %rbx
	movq	24(%r15), %rdi
	callq	_be16_to_cpu
	movl	(%r15), %ecx
	movq	8(%r14), %r12
	addq	(%r14), %rax
	movq	%r12, %rdi
	movq	%rax, %rsi
	movq	%rbx, -96(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdx
	movl	%ecx, %ebx
	callq	_skb_copy_to_linear_data
	cmpq	$0, 48(%r13)
	je	LBB0_16
## %bb.14:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	_IBMVNIC_VLAN_STRIPPED@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	_ETH_P_8021Q@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	movl	%eax, -76(%rbp)                 ## 4-byte Spill
	movl	16(%r15), %edi
	callq	_ntohs
	movq	%r12, %rdi
	movl	-76(%rbp), %esi                 ## 4-byte Reload
	movl	%eax, %edx
	callq	___vlan_hwaccel_put_tag
LBB0_16:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	$0, 8(%r15)
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_remove_buff_from_pool
	movq	%r12, %rdi
	movq	-96(%rbp), %rsi                 ## 8-byte Reload
	callq	_skb_put
	movq	%r12, %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	callq	_eth_type_trans
	movl	%eax, 12(%r12)
	movq	%r12, %rdi
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_skb_record_rx_queue
	movq	_IBMVNIC_IP_CHKSUM_GOOD@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_19
## %bb.17:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	_IBMVNIC_TCP_UDP_CHKSUM_GOOD@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	_CHECKSUM_UNNECESSARY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r12)
	jmp	LBB0_19
LBB0_20:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	16(%r13), %rax
	movq	_VNIC_CLOSING@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_22
## %bb.21:                              ##   in Loop: Header=BB0_1 Depth=1
	leaq	(,%r15,4), %rsi
	addq	32(%r13), %rsi
	movq	%r13, %rdi
	callq	_replenish_rx_pool
LBB0_22:                                ##   in Loop: Header=BB0_1 Depth=1
	cmpl	-44(%rbp), %r12d                ## 4-byte Folded Reload
	jge	LBB0_6
## %bb.23:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	24(%r13), %rax
	movl	(%rax,%r15,4), %esi
	movq	%r13, %rdi
	callq	_enable_scrq_irq
	movq	%r14, %rdi
	movl	%r12d, %esi
	callq	_napi_complete_done
	movq	24(%r13), %rax
	movl	(%rax,%r15,4), %esi
	movq	%r13, %rdi
	callq	_pending_scrq
	testq	%rax, %rax
	je	LBB0_6
## %bb.24:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	%r14, %rdi
	callq	_napi_reschedule
	testq	%rax, %rax
	je	LBB0_6
## %bb.25:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	24(%r13), %rax
	movl	(%rax,%r15,4), %esi
	movq	%r13, %rdi
	callq	_disable_scrq_irq
	jmp	LBB0_1
LBB0_11:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	$0, 8(%r15)
	jmp	LBB0_12
LBB0_5:
	movq	%r13, %rdi
	callq	_enable_scrq_irq
	movq	%r14, %rdi
	movl	%r12d, %esi
	callq	_napi_complete_done
LBB0_6:
	movl	%r12d, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VNIC_RESET_NON_FATAL,8,3       ## @VNIC_RESET_NON_FATAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"rx buffer returned with rc %x\n"

	.comm	_IBMVNIC_VLAN_STRIPPED,4,2      ## @IBMVNIC_VLAN_STRIPPED
	.comm	_ETH_P_8021Q,4,2                ## @ETH_P_8021Q
	.comm	_IBMVNIC_IP_CHKSUM_GOOD,4,2     ## @IBMVNIC_IP_CHKSUM_GOOD
	.comm	_IBMVNIC_TCP_UDP_CHKSUM_GOOD,4,2 ## @IBMVNIC_TCP_UDP_CHKSUM_GOOD
	.comm	_CHECKSUM_UNNECESSARY,4,2       ## @CHECKSUM_UNNECESSARY
	.comm	_VNIC_CLOSING,8,3               ## @VNIC_CLOSING
	.no_dead_strip	_ibmvnic_poll
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ibmvnic_poll
_ibmvnic_poll:                          ; @ibmvnic_poll
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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	x25, x1
	mov	x21, x0
	ldr	x22, [x0]
	mov	x0, x22
	bl	_netdev_priv
	mov	x23, x0
	mov	w19, #0
	mov	x26, x0
	ldrsw	x8, [x26], #56
	sub	x8, x21, x8, lsl #3
	stp	x8, x26, [sp, #16]              ; 16-byte Folded Spill
	sxtw	x24, w8
	lsl	x8, x24, #3
	str	x8, [sp, #8]                    ; 8-byte Folded Spill
Lloh0:
	adrp	x20, l_.str@PAGE
Lloh1:
	add	x20, x20, l_.str@PAGEOFF
	str	x21, [sp, #40]                  ; 8-byte Folded Spill
	str	w25, [sp, #36]                  ; 4-byte Folded Spill
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	movi.2s	v0, #1
	ld1.s	{ v0 }[0], [x25]
	str	q0, [sp, #48]                   ; 16-byte Folded Spill
	ldr	x21, [sp, #40]                  ; 8-byte Folded Reload
	mov	x0, x21
	mov	x1, x25
	bl	_napi_gro_receive
	ldr	d0, [x22]
	ldr	q1, [sp, #48]                   ; 16-byte Folded Reload
	add.2s	v0, v0, v1
	str	d0, [x22]
	ldr	x8, [x23, #40]
	ldr	x9, [sp, #8]                    ; 8-byte Folded Reload
	ldr	d0, [x8, x9]
	add.2s	v0, v0, v1
	str	d0, [x8, x9]
	add	w19, w19, #1
	ldr	w25, [sp, #36]                  ; 4-byte Folded Reload
	ldr	x26, [sp, #24]                  ; 8-byte Folded Reload
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w19, w25
	b.ge	LBB0_17
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w0, #0
	mov	x1, x26
	bl	_test_bit
	cbz	x0, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x23, #8]
Lloh2:
	adrp	x9, _VNIC_RESET_NON_FATAL@GOTPAGE
Lloh3:
	ldr	x9, [x9, _VNIC_RESET_NON_FATAL@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, ne
LBB0_5:                                 ;   in Loop: Header=BB0_2 Depth=1
	bl	_unlikely
	ldr	x8, [x23, #24]
	ldr	w1, [x8, x24, lsl #2]
	cbnz	x0, LBB0_24
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x23
	bl	_pending_scrq
	cbz	x0, LBB0_17
; %bb.7:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x23, #24]
	ldr	w1, [x8, x24, lsl #2]
	mov	x0, x23
	bl	_ibmvnic_next_scrq
	mov	x28, x0
	ldr	w0, [x0, #48]
	bl	_be64_to_cpu
	mov	x27, x0
	ldr	x0, [x28, #40]
	cbz	x0, LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_2 Depth=1
	bl	_be16_to_cpu
	mov	x2, x0
	mov	x0, x22
	mov	x1, x20
	bl	_netdev_dbg
	str	xzr, [x28, #8]
	ldr	x0, [x27, #8]
	bl	_dev_kfree_skb_any
LBB0_9:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x23
	mov	x1, x27
	bl	_remove_buff_from_pool
	b	LBB0_2
LBB0_10:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x27, #8]
	cbz	x8, LBB0_23
; %bb.11:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [x28, #32]
	bl	_be32_to_cpu
	mov	x26, x0
	ldr	x0, [x28, #24]
	bl	_be16_to_cpu
	ldr	w21, [x28]
	ldp	x8, x25, [x27]
	add	x1, x8, x0
	mov	x0, x25
	mov	x2, x26
	bl	_skb_copy_to_linear_data
	ldr	x8, [x23, #48]
	cbz	x8, LBB0_14
; %bb.12:                               ;   in Loop: Header=BB0_2 Depth=1
Lloh5:
	adrp	x8, _IBMVNIC_VLAN_STRIPPED@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IBMVNIC_VLAN_STRIPPED@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_2 Depth=1
Lloh8:
	adrp	x8, _ETH_P_8021Q@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ETH_P_8021Q@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	bl	_htons
	mov	x20, x0
	ldr	w0, [x28, #16]
	bl	_ntohs
	mov	x2, x0
	mov	x0, x25
	mov	x1, x20
Lloh11:
	adrp	x20, l_.str@PAGE
Lloh12:
	add	x20, x20, l_.str@PAGEOFF
	bl	___vlan_hwaccel_put_tag
LBB0_14:                                ;   in Loop: Header=BB0_2 Depth=1
	str	xzr, [x28, #8]
	mov	x0, x23
	mov	x1, x27
	bl	_remove_buff_from_pool
	mov	x0, x25
	mov	x1, x26
	bl	_skb_put
	mov	x0, x25
	mov	x1, x22
	bl	_eth_type_trans
	str	w0, [x25, #12]
	mov	x0, x25
	ldr	x1, [sp, #16]                   ; 8-byte Folded Reload
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_skb_record_rx_queue
Lloh13:
	adrp	x8, _IBMVNIC_IP_CHKSUM_GOOD@GOTPAGE
Lloh14:
	ldr	x8, [x8, _IBMVNIC_IP_CHKSUM_GOOD@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_1
; %bb.15:                               ;   in Loop: Header=BB0_2 Depth=1
Lloh16:
	adrp	x8, _IBMVNIC_TCP_UDP_CHKSUM_GOOD@GOTPAGE
Lloh17:
	ldr	x8, [x8, _IBMVNIC_TCP_UDP_CHKSUM_GOOD@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_1
; %bb.16:                               ;   in Loop: Header=BB0_2 Depth=1
Lloh19:
	adrp	x8, _CHECKSUM_UNNECESSARY@GOTPAGE
Lloh20:
	ldr	x8, [x8, _CHECKSUM_UNNECESSARY@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	str	w8, [x25, #8]
	b	LBB0_1
LBB0_17:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x23, #16]
Lloh22:
	adrp	x9, _VNIC_CLOSING@GOTPAGE
Lloh23:
	ldr	x9, [x9, _VNIC_CLOSING@GOTPAGEOFF]
Lloh24:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_19
; %bb.18:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x23, #32]
	add	x1, x8, x24, lsl #2
	mov	x0, x23
	bl	_replenish_rx_pool
LBB0_19:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	w19, w25
	b.ge	LBB0_25
; %bb.20:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x23, #24]
	lsl	x20, x24, #2
	ldr	w1, [x8, x20]
	mov	x0, x23
	bl	_enable_scrq_irq
	mov	x0, x21
	mov	x1, x19
	bl	_napi_complete_done
	ldr	x8, [x23, #24]
	ldr	w1, [x8, x20]
	mov	x0, x23
	bl	_pending_scrq
	cbz	x0, LBB0_25
; %bb.21:                               ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x21
	bl	_napi_reschedule
	cbz	x0, LBB0_25
; %bb.22:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x23, #24]
	ldr	w1, [x8, x24, lsl #2]
	mov	x0, x23
	bl	_disable_scrq_irq
Lloh25:
	adrp	x20, l_.str@PAGE
Lloh26:
	add	x20, x20, l_.str@PAGEOFF
	b	LBB0_2
LBB0_23:                                ;   in Loop: Header=BB0_2 Depth=1
	str	xzr, [x28, #8]
	b	LBB0_9
LBB0_24:
	mov	x0, x23
	bl	_enable_scrq_irq
	mov	x0, x21
	mov	x1, x19
	bl	_napi_complete_done
LBB0_25:
	mov	x0, x19
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_VNIC_RESET_NON_FATAL,8,3       ; @VNIC_RESET_NON_FATAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"rx buffer returned with rc %x\n"

	.comm	_IBMVNIC_VLAN_STRIPPED,4,2      ; @IBMVNIC_VLAN_STRIPPED
	.comm	_ETH_P_8021Q,4,2                ; @ETH_P_8021Q
	.comm	_IBMVNIC_IP_CHKSUM_GOOD,4,2     ; @IBMVNIC_IP_CHKSUM_GOOD
	.comm	_IBMVNIC_TCP_UDP_CHKSUM_GOOD,4,2 ; @IBMVNIC_TCP_UDP_CHKSUM_GOOD
	.comm	_CHECKSUM_UNNECESSARY,4,2       ; @CHECKSUM_UNNECESSARY
	.comm	_VNIC_CLOSING,8,3               ; @VNIC_CLOSING
	.no_dead_strip	_ibmvnic_poll
.subsections_via_symbols
