	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nicvf_handle_mbx_intr
_nicvf_handle_mbx_intr:                 ## @nicvf_handle_mbx_intr
	.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
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -64(%rbp)
	movq	$0, -48(%rbp)
	movq	_NIC_PF_VF_MAILBOX_SIZE@GOTPCREL(%rip), %r14
	cmpl	$0, (%r14)
	jle	LBB0_1
## %bb.3:
	movq	_NIC_VF_PF_MAILBOX_0_1@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movl	%r12d, %esi
	callq	_nicvf_reg_read
	movl	%eax, -64(%rbp,%rbx,4)
	addl	$4, %r12d
	incq	%rbx
	cmpl	(%r14), %ebx
	jl	LBB0_4
## %bb.5:
	movl	-64(%rbp), %r14d
	leaq	24(%r15), %rbx
	movq	24(%r15), %rdi
	leaq	L_.str(%rip), %rsi
	movl	%r14d, %edx
	callq	_netdev_dbg
	leal	-128(%r14), %eax
	cmpl	$9, %eax
	ja	LBB0_2
## %bb.6:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_16:
	movq	-64(%rbp), %rax
	movq	-56(%rbp), %rcx
	movq	56(%r15), %rdx
	movq	%rcx, (%rdx,%rax,8)
	jmp	LBB0_19
LBB0_1:
	leaq	24(%r15), %rbx
	movq	24(%r15), %rdi
	leaq	L_.str(%rip), %rsi
	xorl	%r14d, %r14d
	xorl	%edx, %edx
	callq	_netdev_dbg
LBB0_2:
	movq	(%rbx), %rdi
	leaq	L_.str.5(%rip), %rsi
	movl	%r14d, %edx
	callq	_netdev_err
	jmp	LBB0_20
LBB0_11:
	movl	$129, 80(%r15)
	jmp	LBB0_19
LBB0_7:
	movabsq	$8589934593, %rax               ## imm = 0x200000001
	movq	%rax, (%r15)
	movl	-60(%rbp), %eax
	andl	$127, %eax
	movl	%eax, 8(%r15)
	movl	-44(%rbp), %eax
	movl	%eax, 96(%r15)
	cmpl	$0, 92(%r15)
	jne	LBB0_9
## %bb.8:
	movq	(%rbx), %rax
	movl	(%rax), %edi
	movl	-48(%rbp), %esi
	callq	_ether_addr_copy
LBB0_9:
	movl	-52(%rbp), %eax
	movl	%eax, 88(%r15)
	movl	-56(%rbp), %eax
	movl	%eax, 84(%r15)
	movl	$0, 12(%r15)
	movq	$0, 68(%r15)
	jmp	LBB0_20
LBB0_17:
	movq	-56(%rbp), %rax
	movq	%rax, 48(%r15)
	jmp	LBB0_19
LBB0_18:
	movl	-56(%rbp), %eax
	movl	%eax, 40(%r15)
	movl	-60(%rbp), %eax
	movl	%eax, 36(%r15)
	movl	$132, 32(%r15)
	jmp	LBB0_19
LBB0_10:
	movl	$1, 16(%r15)
	jmp	LBB0_20
LBB0_12:
	leaq	-64(%rbp), %rsi
	movq	%r15, %rdi
	callq	_nicvf_read_bgx_stats
	jmp	LBB0_19
LBB0_13:
	movl	$1, (%r15)
	cmpl	$135, 12(%r15)
	je	LBB0_20
## %bb.14:
	movl	$135, 12(%r15)
	movl	-52(%rbp), %eax
	movl	%eax, 68(%r15)
	movl	-56(%rbp), %edx
	movl	%edx, 72(%r15)
	movl	-60(%rbp), %ecx
	movl	%ecx, 76(%r15)
	movq	24(%r15), %rdi
	movq	_DUPLEX_FULL@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.3(%rip), %rcx
	cmoveq	%rax, %rcx
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_netdev_info
	movq	24(%r15), %rdi
	callq	_netif_carrier_on
	movq	24(%r15), %rdi
	callq	_netif_tx_start_all_queues
	jmp	LBB0_20
LBB0_15:
	movl	$136, 64(%r15)
LBB0_19:
	movl	$1, (%r15)
LBB0_20:
	movq	_NICVF_INTR_MBOX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_nicvf_clear_intr
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_22
## %bb.21:
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_22:
	callq	___stack_chk_fail
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_19, LBB0_19-LJTI0_0
LJTI0_0:
	.long	L0_0_set_16
	.long	L0_0_set_11
	.long	L0_0_set_7
	.long	L0_0_set_17
	.long	L0_0_set_18
	.long	L0_0_set_10
	.long	L0_0_set_12
	.long	L0_0_set_13
	.long	L0_0_set_15
	.long	L0_0_set_19
	.end_data_region
                                        ## -- End function
	.comm	_NIC_VF_PF_MAILBOX_0_1,4,2      ## @NIC_VF_PF_MAILBOX_0_1
	.comm	_NIC_PF_VF_MAILBOX_SIZE,4,2     ## @NIC_PF_VF_MAILBOX_SIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Mbox message: msg: 0x%x\n"

L_.str.1:                               ## @.str.1
	.asciz	"Link is Up %d Mbps %s duplex\n"

	.comm	_DUPLEX_FULL,4,2                ## @DUPLEX_FULL
L_.str.2:                               ## @.str.2
	.asciz	"Full"

L_.str.3:                               ## @.str.3
	.asciz	"Half"

L_.str.5:                               ## @.str.5
	.asciz	"Invalid message from PF, msg 0x%x\n"

	.comm	_NICVF_INTR_MBOX,4,2            ## @NICVF_INTR_MBOX
	.no_dead_strip	_nicvf_handle_mbx_intr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function nicvf_handle_mbx_intr
lCPI0_0:
	.long	1                               ; 0x1
	.long	2                               ; 0x2
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_nicvf_handle_mbx_intr:                 ; @nicvf_handle_mbx_intr
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	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
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #40]
	stp	xzr, xzr, [sp, #16]
	str	xzr, [sp, #32]
Lloh3:
	adrp	x21, _NIC_PF_VF_MAILBOX_SIZE@GOTPAGE
Lloh4:
	ldr	x21, [x21, _NIC_PF_VF_MAILBOX_SIZE@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w8, #0
	b.le	LBB0_6
; %bb.1:
	mov	x22, #0
Lloh5:
	adrp	x8, _NIC_VF_PF_MAILBOX_0_1@GOTPAGE
Lloh6:
	ldr	x8, [x8, _NIC_VF_PF_MAILBOX_0_1@GOTPAGEOFF]
Lloh7:
	ldr	w20, [x8]
	add	x23, sp, #16
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x20
	bl	_nicvf_reg_read
	str	w0, [x23, x22, lsl #2]
	add	w20, w20, #4
	ldr	w8, [x21]
	add	x22, x22, #1
	cmp	w22, w8
	b.lt	LBB0_2
; %bb.3:
	ldr	w20, [sp, #16]
	mov	x21, x19
	ldr	x0, [x21, #24]!
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x20
	bl	_netdev_dbg
	sub	w8, w20, #128
	cmp	w8, #9
	b.hi	LBB0_7
; %bb.4:
Lloh10:
	adrp	x9, lJTI0_0@PAGE
Lloh11:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_5
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_5:
	ldr	x8, [x19, #56]
	ldp	x10, x9, [sp, #16]
	str	x9, [x8, x10, lsl #3]
	b	LBB0_19
LBB0_6:
	mov	x21, x19
	ldr	x0, [x21, #24]!
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	mov	w2, #0
	bl	_netdev_dbg
	mov	w20, #0
LBB0_7:
	ldr	x0, [x21]
Lloh14:
	adrp	x1, l_.str.5@PAGE
Lloh15:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x2, x20
	bl	_netdev_err
	b	LBB0_20
LBB0_8:
	mov	w8, #129
	str	w8, [x19, #80]
	b	LBB0_19
LBB0_9:
Lloh16:
	adrp	x8, lCPI0_0@PAGE
Lloh17:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [x19]
	ldr	w8, [sp, #20]
	ldr	w9, [sp, #36]
	and	w8, w8, #0x7f
	str	w8, [x19, #8]
	str	w9, [x19, #96]
	ldr	w8, [x19, #92]
	cbnz	w8, LBB0_11
; %bb.10:
	ldr	x8, [x21]
	ldr	w0, [x8]
	ldr	w1, [sp, #32]
	bl	_ether_addr_copy
LBB0_11:
	ldr	d0, [sp, #24]
	stur	d0, [x19, #84]
	str	wzr, [x19, #12]
	stp	wzr, wzr, [x19, #68]
	b	LBB0_20
LBB0_12:
	ldr	x8, [sp, #24]
	str	x8, [x19, #48]
	b	LBB0_19
LBB0_13:
	ldur	d0, [sp, #20]
	stur	d0, [x19, #36]
	mov	w8, #132
	str	w8, [x19, #32]
	b	LBB0_19
LBB0_14:
	mov	w8, #1
	str	w8, [x19, #16]
	b	LBB0_20
LBB0_15:
	add	x1, sp, #16
	mov	x0, x19
	bl	_nicvf_read_bgx_stats
	b	LBB0_19
LBB0_16:
	mov	w8, #1
	str	w8, [x19]
	ldr	w8, [x19, #12]
	cmp	w8, #135
	b.eq	LBB0_20
; %bb.17:
	mov	w8, #135
	str	w8, [x19, #12]
	ldp	w9, w8, [sp, #24]
	ldr	w10, [sp, #20]
	stp	w8, w9, [x19, #68]
	str	w10, [x19, #76]
	ldr	x0, [x19, #24]
Lloh18:
	adrp	x10, _DUPLEX_FULL@GOTPAGE
Lloh19:
	ldr	x10, [x10, _DUPLEX_FULL@GOTPAGEOFF]
Lloh20:
	ldr	w10, [x10]
Lloh21:
	adrp	x11, l_.str.3@PAGE
Lloh22:
	add	x11, x11, l_.str.3@PAGEOFF
Lloh23:
	adrp	x12, l_.str.2@PAGE
Lloh24:
	add	x12, x12, l_.str.2@PAGEOFF
	cmp	w8, w10
	csel	x8, x12, x11, eq
	stp	x9, x8, [sp]
Lloh25:
	adrp	x1, l_.str.1@PAGE
Lloh26:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_netdev_info
	ldr	x0, [x19, #24]
	bl	_netif_carrier_on
	ldr	x0, [x19, #24]
	bl	_netif_tx_start_all_queues
	b	LBB0_20
LBB0_18:
	mov	w8, #136
	str	w8, [x19, #64]
LBB0_19:
	mov	w8, #1
	str	w8, [x19]
LBB0_20:
Lloh27:
	adrp	x8, _NICVF_INTR_MBOX@GOTPAGE
Lloh28:
	ldr	x8, [x8, _NICVF_INTR_MBOX@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_nicvf_clear_intr
	ldr	x8, [sp, #40]
Lloh30:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh31:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh32:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_22
; %bb.21:
	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
	add	sp, sp, #112
	ret
LBB0_22:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdr	Lloh16, Lloh17
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_5-LBB0_5)>>2
	.byte	(LBB0_8-LBB0_5)>>2
	.byte	(LBB0_9-LBB0_5)>>2
	.byte	(LBB0_12-LBB0_5)>>2
	.byte	(LBB0_13-LBB0_5)>>2
	.byte	(LBB0_14-LBB0_5)>>2
	.byte	(LBB0_15-LBB0_5)>>2
	.byte	(LBB0_16-LBB0_5)>>2
	.byte	(LBB0_18-LBB0_5)>>2
	.byte	(LBB0_19-LBB0_5)>>2
                                        ; -- End function
	.comm	_NIC_VF_PF_MAILBOX_0_1,4,2      ; @NIC_VF_PF_MAILBOX_0_1
	.comm	_NIC_PF_VF_MAILBOX_SIZE,4,2     ; @NIC_PF_VF_MAILBOX_SIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Mbox message: msg: 0x%x\n"

l_.str.1:                               ; @.str.1
	.asciz	"Link is Up %d Mbps %s duplex\n"

	.comm	_DUPLEX_FULL,4,2                ; @DUPLEX_FULL
l_.str.2:                               ; @.str.2
	.asciz	"Full"

l_.str.3:                               ; @.str.3
	.asciz	"Half"

l_.str.5:                               ; @.str.5
	.asciz	"Invalid message from PF, msg 0x%x\n"

	.comm	_NICVF_INTR_MBOX,4,2            ; @NICVF_INTR_MBOX
	.no_dead_strip	_nicvf_handle_mbx_intr
.subsections_via_symbols
