	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vmxnet3_request_irqs
_vmxnet3_request_irqs:                  ## @vmxnet3_request_irqs
	.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	$1, 16(%rdi)
	movq	24(%rdi), %r8
	movq	96(%rdi), %rax
	movl	(%rax), %edi
	movq	_vmxnet3_intr@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_IRQF_SHARED@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	(%r8), %rcx
	callq	_request_irq
	movl	%eax, %r14d
	movl	$1, 68(%rbx)
	testl	%eax, %eax
	je	LBB0_1
## %bb.22:
	movq	24(%rbx), %rdi
	movq	48(%rbx), %rdx
	leaq	L_.str(%rip), %rsi
	movl	%r14d, %ecx
	callq	_netdev_err
	jmp	LBB0_21
LBB0_1:
	movl	16(%rbx), %r10d
	testl	%r10d, %r10d
	jle	LBB0_6
## %bb.2:
	movq	32(%rbx), %r8
	leal	(%r10,%r10), %r9d
	cmpl	$1, %r10d
	jne	LBB0_12
## %bb.3:
	xorl	%esi, %esi
	jmp	LBB0_4
LBB0_12:
	movl	%r10d, %r11d
	andl	$-2, %r11d
	leaq	48(%r8), %rcx
	xorl	%esi, %esi
	movl	%r10d, %eax
	movl	%r9d, %edx
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movl	%esi, -40(%rcx)
	movl	%eax, -36(%rcx)
	movl	%edx, -32(%rcx)
	leal	1(%rsi), %edi
	movl	%edi, -8(%rcx)
	leal	1(%rax), %edi
	movl	%edi, -4(%rcx)
	leal	1(%rdx), %edi
	movl	%edi, (%rcx)
	addq	$2, %rsi
	addq	$64, %rcx
	addl	$2, %edx
	addl	$2, %eax
	cmpq	%r11, %rsi
	jne	LBB0_13
LBB0_4:
	testb	$1, %r10b
	je	LBB0_6
## %bb.5:
	movq	%rsi, %rax
	shlq	$5, %rax
	movl	%esi, 8(%r8,%rax)
	addl	%esi, %r10d
	movl	%r10d, 12(%r8,%rax)
	addl	%esi, %r9d
	movl	%r9d, 16(%r8,%rax)
LBB0_6:
	movq	80(%rbx), %rax
	xorl	%ecx, %ecx
	movq	_UPT1_IML_ADAPTIVE@GOTPCREL(%rip), %rdx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rdx), %esi
	movl	%esi, (%rax,%rcx,4)
	incq	%rcx
	movslq	68(%rbx), %r8
	cmpq	%r8, %rcx
	jl	LBB0_7
## %bb.8:
	movq	48(%rbx), %rdx
	movq	_VMXNET3_IT_MSIX@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdx
	je	LBB0_20
## %bb.9:
	movl	$0, 64(%rbx)
	movl	(%rbx), %esi
	testl	%esi, %esi
	jle	LBB0_19
## %bb.10:
	movq	40(%rbx), %r9
	leaq	-1(%rsi), %rcx
	movl	%esi, %eax
	andl	$3, %eax
	cmpq	$3, %rcx
	jae	LBB0_14
## %bb.11:
	xorl	%edi, %edi
	jmp	LBB0_16
LBB0_14:
	andl	$-4, %esi
	leaq	116(%r9), %rcx
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movl	$0, -96(%rcx)
	movl	$0, -64(%rcx)
	movl	$0, -32(%rcx)
	movl	$0, (%rcx)
	addq	$4, %rdi
	subq	$-128, %rcx
	cmpq	%rdi, %rsi
	jne	LBB0_15
LBB0_16:
	testq	%rax, %rax
	je	LBB0_19
## %bb.17:
	shlq	$5, %rdi
	leaq	(%r9,%rdi), %rcx
	addq	$20, %rcx
	shlq	$5, %rax
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	movl	$0, (%rcx,%rsi)
	addq	$32, %rsi
	cmpq	%rsi, %rax
	jne	LBB0_18
LBB0_19:
	movq	32(%rbx), %rax
	movl	$0, 20(%rax)
LBB0_20:
	movq	24(%rbx), %rdi
	movl	72(%rbx), %ecx
	leaq	L_.str.1(%rip), %rsi
                                        ## kill: def $r8d killed $r8d killed $r8
	callq	_netdev_info
LBB0_21:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_vmxnet3_intr,4,2               ## @vmxnet3_intr
	.comm	_IRQF_SHARED,4,2                ## @IRQF_SHARED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to request irq (intr type:%d), error %d\n"

	.comm	_UPT1_IML_ADAPTIVE,4,2          ## @UPT1_IML_ADAPTIVE
	.comm	_VMXNET3_IT_MSIX,8,3            ## @VMXNET3_IT_MSIX
L_.str.1:                               ## @.str.1
	.asciz	"intr type %u, mode %u, %u vectors allocated\n"

	.comm	_VMXNET3_INTR_BUDDYSHARE,8,3    ## @VMXNET3_INTR_BUDDYSHARE
	.comm	_VMXNET3_INTR_TXSHARE,8,3       ## @VMXNET3_INTR_TXSHARE
	.comm	_VMXNET3_IT_MSI,8,3             ## @VMXNET3_IT_MSI
	.comm	_vmxnet3_msix_event,4,2         ## @vmxnet3_msix_event
	.comm	_vmxnet3_msix_rx,4,2            ## @vmxnet3_msix_rx
	.comm	_vmxnet3_msix_tx,4,2            ## @vmxnet3_msix_tx
	.no_dead_strip	_vmxnet3_request_irqs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vmxnet3_request_irqs
_vmxnet3_request_irqs:                  ; @vmxnet3_request_irqs
	.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	x20, x0
	mov	w21, #1
	str	w21, [x0, #16]
	ldr	x8, [x0, #96]
	ldr	w0, [x8]
Lloh0:
	adrp	x8, _vmxnet3_intr@GOTPAGE
Lloh1:
	ldr	x8, [x8, _vmxnet3_intr@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _IRQF_SHARED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IRQF_SHARED@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	ldr	x4, [x20, #24]
	ldr	x3, [x4]
	bl	_request_irq
	mov	x19, x0
	str	w21, [x20, #68]
	cbz	w0, LBB0_2
; %bb.1:
	ldr	x0, [x20, #24]
	ldr	x2, [x20, #48]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x3, x19
	bl	_netdev_err
	b	LBB0_23
LBB0_2:
	ldr	w8, [x20, #16]
	cmp	w8, #1
	b.lt	LBB0_10
; %bb.3:
	ldr	x11, [x20, #32]
	lsl	w9, w8, #1
	cmp	w8, #4
	b.hs	LBB0_5
; %bb.4:
	mov	x10, #0
	b	LBB0_8
LBB0_5:
	mov	x12, #0
	and	x10, x8, #0xfffffffc
	add	x13, x11, #72
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	add	w14, w12, #1
	add	w15, w8, w12
	add	w16, w15, #1
	stp	w14, w16, [x13, #-32]
	add	w14, w12, #2
	add	w16, w12, #3
	add	w17, w15, #2
	stp	w12, w15, [x13, #-64]
	add	w15, w15, #3
	stp	w14, w17, [x13]
	stp	w16, w15, [x13, #32]
	add	w14, w9, w12
	add	w15, w14, #1
	add	w16, w14, #2
	add	w17, w14, #3
	stur	w14, [x13, #-56]
	stur	w15, [x13, #-24]
	add	x12, x12, #4
	str	w16, [x13, #8]
	str	w17, [x13, #40]
	add	x13, x13, #128
	cmp	x10, x12
	b.ne	LBB0_6
; %bb.7:
	cmp	x10, x8
	b.eq	LBB0_10
LBB0_8:
	add	x11, x11, x10, lsl #5
	add	x11, x11, #16
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	add	w12, w8, w10
	stp	w10, w12, [x11, #-8]
	add	w12, w9, w10
	str	w12, [x11], #32
	add	x10, x10, #1
	cmp	x8, x10
	b.ne	LBB0_9
LBB0_10:
	mov	x8, #0
	ldr	x9, [x20, #80]
Lloh8:
	adrp	x10, _UPT1_IML_ADAPTIVE@GOTPAGE
Lloh9:
	ldr	x10, [x10, _UPT1_IML_ADAPTIVE@GOTPAGEOFF]
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x10]
	str	w11, [x9, x8, lsl #2]
	add	x8, x8, #1
	ldrsw	x4, [x20, #68]
	cmp	x8, x4
	b.lt	LBB0_11
; %bb.12:
	ldr	x2, [x20, #48]
Lloh10:
	adrp	x8, _VMXNET3_IT_MSIX@GOTPAGE
Lloh11:
	ldr	x8, [x8, _VMXNET3_IT_MSIX@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	cmp	x2, x8
	b.eq	LBB0_22
; %bb.13:
	str	wzr, [x20, #64]
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_21
; %bb.14:
	ldr	x9, [x20, #40]
	cmp	w8, #4
	b.hs	LBB0_16
; %bb.15:
	mov	x10, #0
	b	LBB0_19
LBB0_16:
	and	x10, x8, #0xfffffffc
	add	x11, x9, #84
	mov	x12, x10
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	stur	wzr, [x11, #-64]
	stur	wzr, [x11, #-32]
	str	wzr, [x11]
	str	wzr, [x11, #32]
	add	x11, x11, #128
	subs	x12, x12, #4
	b.ne	LBB0_17
; %bb.18:
	cmp	x10, x8
	b.eq	LBB0_21
LBB0_19:
	add	x9, x9, x10, lsl #5
	add	x9, x9, #20
	sub	x8, x8, x10
LBB0_20:                                ; =>This Inner Loop Header: Depth=1
	str	wzr, [x9], #32
	subs	x8, x8, #1
	b.ne	LBB0_20
LBB0_21:
	ldr	x8, [x20, #32]
	str	wzr, [x8, #20]
LBB0_22:
	ldr	x0, [x20, #24]
	ldr	w3, [x20, #72]
Lloh13:
	adrp	x1, l_.str.1@PAGE
Lloh14:
	add	x1, x1, l_.str.1@PAGEOFF
                                        ; kill: def $w4 killed $w4 killed $x4
	bl	_netdev_info
LBB0_23:
	mov	x0, x19
	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 AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_vmxnet3_intr,4,2               ; @vmxnet3_intr
	.comm	_IRQF_SHARED,4,2                ; @IRQF_SHARED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to request irq (intr type:%d), error %d\n"

	.comm	_UPT1_IML_ADAPTIVE,4,2          ; @UPT1_IML_ADAPTIVE
	.comm	_VMXNET3_IT_MSIX,8,3            ; @VMXNET3_IT_MSIX
l_.str.1:                               ; @.str.1
	.asciz	"intr type %u, mode %u, %u vectors allocated\n"

	.comm	_VMXNET3_INTR_BUDDYSHARE,8,3    ; @VMXNET3_INTR_BUDDYSHARE
	.comm	_VMXNET3_INTR_TXSHARE,8,3       ; @VMXNET3_INTR_TXSHARE
	.comm	_VMXNET3_IT_MSI,8,3             ; @VMXNET3_IT_MSI
	.comm	_vmxnet3_msix_event,4,2         ; @vmxnet3_msix_event
	.comm	_vmxnet3_msix_rx,4,2            ; @vmxnet3_msix_rx
	.comm	_vmxnet3_msix_tx,4,2            ; @vmxnet3_msix_tx
	.no_dead_strip	_vmxnet3_request_irqs
.subsections_via_symbols
