	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vmxnet3_process_events
_vmxnet3_process_events:                ## @vmxnet3_process_events
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	48(%rdi), %rax
	movl	(%rax), %edi
	callq	_le32_to_cpu
	testl	%eax, %eax
	je	LBB0_15
## %bb.1:
	movl	%eax, %ebx
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_vmxnet3_ack_events
	movq	_VMXNET3_ECR_LINK@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_3
## %bb.2:
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_vmxnet3_check_link
LBB0_3:
	movq	_VMXNET3_ECR_TQERR@GOTPCREL(%rip), %rax
	movq	_VMXNET3_ECR_RQERR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	testl	%ebx, %ecx
	je	LBB0_15
## %bb.4:
	leaq	40(%r14), %rbx
	movq	%rbx, %rdi
	callq	_spin_lock_irqsave
	movq	_VMXNET3_REG_CMD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_VMXNET3_CMD_GET_QUEUE_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_VMXNET3_WRITE_BAR1_REG
	movq	%rbx, %rdi
	callq	_spin_unlock_irqrestore
	movl	(%r14), %eax
	testl	%eax, %eax
	jle	LBB0_9
## %bb.5:
	movl	$8, %r15d
	xorl	%ebx, %ebx
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=1
	incq	%rbx
	movslq	%eax, %rcx
	addq	$16, %r15
	cmpq	%rcx, %rbx
	jge	LBB0_9
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	32(%r14), %rcx
	cmpq	$0, (%rcx,%r15)
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	24(%r14), %r12
	movl	(%r12), %r13d
	addq	$4, %r12
	movl	-8(%rcx,%r15), %edi
	callq	_le32_to_cpu
	movq	%r12, %rdi
	leaq	L_.str(%rip), %rsi
	movl	%r13d, %edx
	movl	%ebx, %ecx
	movl	%eax, %r8d
	callq	_dev_err
	movl	(%r14), %eax
	jmp	LBB0_8
LBB0_15:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movl	4(%r14), %eax
	testl	%eax, %eax
	jle	LBB0_14
## %bb.10:
	movl	$8, %r12d
	xorl	%ebx, %ebx
	leaq	L_.str.1(%rip), %r15
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_11 Depth=1
	incq	%rbx
	movslq	%eax, %rcx
	addq	$16, %r12
	cmpq	%rcx, %rbx
	jge	LBB0_14
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	16(%r14), %rcx
	cmpq	$0, (%rcx,%r12)
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	24(%r14), %rdi
	movl	(%rdi), %edx
	addq	$4, %rdi
	movl	-8(%rcx,%r12), %r8d
	movq	%r15, %rsi
	movl	%ebx, %ecx
	callq	_dev_err
	movl	4(%r14), %eax
	jmp	LBB0_13
LBB0_14:
	addq	$8, %r14
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_schedule_work                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_VMXNET3_ECR_LINK,4,2           ## @VMXNET3_ECR_LINK
	.comm	_VMXNET3_ECR_TQERR,4,2          ## @VMXNET3_ECR_TQERR
	.comm	_VMXNET3_ECR_RQERR,4,2          ## @VMXNET3_ECR_RQERR
	.comm	_VMXNET3_REG_CMD,4,2            ## @VMXNET3_REG_CMD
	.comm	_VMXNET3_CMD_GET_QUEUE_STATUS,4,2 ## @VMXNET3_CMD_GET_QUEUE_STATUS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: tq[%d] error 0x%x\n"

L_.str.1:                               ## @.str.1
	.asciz	"%s: rq[%d] error 0x%x\n"

	.no_dead_strip	_vmxnet3_process_events
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vmxnet3_process_events
_vmxnet3_process_events:                ; @vmxnet3_process_events
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
	ldr	x8, [x0, #48]
	ldr	w0, [x8]
	bl	_le32_to_cpu
	cbz	w0, LBB0_9
; %bb.1:
	mov	x20, x0
	mov	x0, x19
	mov	x1, x20
	bl	_vmxnet3_ack_events
Lloh0:
	adrp	x8, _VMXNET3_ECR_LINK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VMXNET3_ECR_LINK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_3
; %bb.2:
	mov	x0, x19
	mov	w1, #1
	bl	_vmxnet3_check_link
LBB0_3:
Lloh3:
	adrp	x8, _VMXNET3_ECR_TQERR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _VMXNET3_ECR_TQERR@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _VMXNET3_ECR_RQERR@GOTPAGE
Lloh7:
	ldr	x9, [x9, _VMXNET3_ECR_RQERR@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w9, w8
	tst	w8, w20
	b.eq	LBB0_9
; %bb.4:
	add	x20, x19, #40
	mov	x0, x20
	bl	_spin_lock_irqsave
Lloh9:
	adrp	x8, _VMXNET3_REG_CMD@GOTPAGE
Lloh10:
	ldr	x8, [x8, _VMXNET3_REG_CMD@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
Lloh12:
	adrp	x8, _VMXNET3_CMD_GET_QUEUE_STATUS@GOTPAGE
Lloh13:
	ldr	x8, [x8, _VMXNET3_CMD_GET_QUEUE_STATUS@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_VMXNET3_WRITE_BAR1_REG
	mov	x0, x20
	bl	_spin_unlock_irqrestore
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_10
; %bb.5:
	mov	x24, #0
	mov	x20, #0
Lloh15:
	adrp	x21, l_.str@PAGE
Lloh16:
	add	x21, x21, l_.str@PAGEOFF
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	x20, x20, #1
	add	x24, x24, #16
	cmp	x20, w8, sxtw
	b.ge	LBB0_10
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x19, #32]
	add	x10, x9, x24
	ldr	x10, [x10, #8]
	cbz	x10, LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x22, [x19, #24]
	ldr	w23, [x22], #4
	ldr	w0, [x9, x24]
	bl	_le32_to_cpu
	mov	x4, x0
	mov	x0, x22
	mov	x1, x21
	mov	x2, x23
	mov	x3, x20
	bl	_dev_err
	ldr	w8, [x19]
	b	LBB0_6
LBB0_9:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_10:
	ldr	w8, [x19, #4]
	cmp	w8, #1
	b.lt	LBB0_15
; %bb.11:
	mov	x22, #0
	mov	x20, #0
Lloh17:
	adrp	x21, l_.str.1@PAGE
Lloh18:
	add	x21, x21, l_.str.1@PAGEOFF
	b	LBB0_13
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=1
	add	x20, x20, #1
	add	x22, x22, #16
	cmp	x20, w8, sxtw
	b.ge	LBB0_15
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x19, #16]
	add	x10, x9, x22
	ldr	x10, [x10, #8]
	cbz	x10, LBB0_12
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	x0, [x19, #24]
	ldr	w2, [x0], #4
	ldr	w4, [x9, x22]
	mov	x1, x21
	mov	x3, x20
	bl	_dev_err
	ldr	w8, [x19, #4]
	b	LBB0_12
LBB0_15:
	add	x0, x19, #8
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_schedule_work
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_VMXNET3_ECR_LINK,4,2           ; @VMXNET3_ECR_LINK
	.comm	_VMXNET3_ECR_TQERR,4,2          ; @VMXNET3_ECR_TQERR
	.comm	_VMXNET3_ECR_RQERR,4,2          ; @VMXNET3_ECR_RQERR
	.comm	_VMXNET3_REG_CMD,4,2            ; @VMXNET3_REG_CMD
	.comm	_VMXNET3_CMD_GET_QUEUE_STATUS,4,2 ; @VMXNET3_CMD_GET_QUEUE_STATUS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: tq[%d] error 0x%x\n"

l_.str.1:                               ; @.str.1
	.asciz	"%s: rq[%d] error 0x%x\n"

	.no_dead_strip	_vmxnet3_process_events
.subsections_via_symbols
