	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ehea_parse_eqe
_ehea_parse_eqe:                        ## @ehea_parse_eqe
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	%rdi, %r14
	movq	_NEQE_EVENT_CODE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_EHEA_BMASK_GET
	movl	%eax, %ebx
	movq	_NEQE_PORTNUM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%r15d, %esi
	callq	_EHEA_BMASK_GET
	movl	%eax, %r12d
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_ehea_get_port
	movq	%rax, %r14
	cmpl	$128, %ebx
	je	LBB0_30
## %bb.1:
	cmpl	$130, %ebx
	je	LBB0_29
## %bb.2:
	cmpl	$129, %ebx
	jne	LBB0_31
## %bb.3:
	testq	%r14, %r14
	je	LBB0_32
## %bb.4:
	movq	_NEQE_PORT_UP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%r15d, %esi
	callq	_EHEA_BMASK_GET
	movl	%eax, %ebx
	movq	8(%r14), %rdi
	callq	_netif_carrier_ok
	testl	%ebx, %ebx
	je	LBB0_12
## %bb.5:
	testl	%eax, %eax
	jne	LBB0_16
## %bb.6:
	movq	%r14, %rdi
	callq	_ehea_sense_port_attr
	testl	%eax, %eax
	je	LBB0_9
## %bb.7:
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_8
LBB0_30:
	movq	8(%r14), %rax
	movl	(%rax), %esi
	leaq	L_.str.11(%rip), %rdi
	xorl	%eax, %eax
	callq	_ehea_info
	movq	8(%r14), %rdi
	callq	_netif_carrier_off
	movq	8(%r14), %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_netif_tx_disable               ## TAILCALL
LBB0_29:
	leaq	L_.str.10(%rip), %rdi
LBB0_8:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ehea_error                     ## TAILCALL
LBB0_31:
	leaq	L_.str.12(%rip), %rdi
	movl	%ebx, %esi
	movl	%r15d, %edx
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ehea_error                     ## TAILCALL
LBB0_32:
	leaq	L_.str(%rip), %rdi
	movl	%r12d, %esi
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ehea_error                     ## TAILCALL
LBB0_12:
	testl	%eax, %eax
	je	LBB0_16
## %bb.13:
	movq	%r14, %rdi
	callq	_netif_msg_link
	testl	%eax, %eax
	je	LBB0_15
## %bb.14:
	movq	8(%r14), %rax
	movl	(%rax), %esi
	leaq	L_.str.5(%rip), %rdi
	xorl	%eax, %eax
	callq	_ehea_info
LBB0_15:
	movq	8(%r14), %rdi
	callq	_netif_carrier_off
	movq	8(%r14), %rdi
	callq	_netif_tx_disable
	jmp	LBB0_16
LBB0_9:
	movq	%r14, %rdi
	callq	_netif_msg_link
	testl	%eax, %eax
	je	LBB0_11
## %bb.10:
	movq	8(%r14), %rax
	movl	(%rax), %esi
	movl	20(%r14), %edx
	cmpl	$1, (%r14)
	leaq	L_.str.3(%rip), %rax
	leaq	L_.str.4(%rip), %rcx
	cmoveq	%rax, %rcx
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_ehea_info
LBB0_11:
	movq	8(%r14), %rdi
	callq	_netif_carrier_on
	movq	8(%r14), %rdi
	callq	_netif_wake_queue
LBB0_16:
	movq	_NEQE_EXTSWITCH_PORT_UP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%r15d, %esi
	callq	_EHEA_BMASK_GET
	testl	%eax, %eax
	je	LBB0_21
## %bb.17:
	movq	_EHEA_PHY_LINK_UP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r14)
	movq	%r14, %rdi
	callq	_netif_msg_link
	testl	%eax, %eax
	je	LBB0_19
## %bb.18:
	movq	8(%r14), %rax
	movl	(%rax), %esi
	leaq	L_.str.6(%rip), %rdi
	xorl	%eax, %eax
	callq	_ehea_info
LBB0_19:
	movq	_prop_carrier_state@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_25
## %bb.20:
	movq	8(%r14), %rdi
	callq	_netif_carrier_on
	jmp	LBB0_25
LBB0_21:
	movq	_EHEA_PHY_LINK_DOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r14)
	movq	%r14, %rdi
	callq	_netif_msg_link
	testl	%eax, %eax
	je	LBB0_23
## %bb.22:
	movq	8(%r14), %rax
	movl	(%rax), %esi
	leaq	L_.str.7(%rip), %rdi
	xorl	%eax, %eax
	callq	_ehea_info
LBB0_23:
	movq	_prop_carrier_state@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_25
## %bb.24:
	movq	8(%r14), %rdi
	callq	_netif_carrier_off
LBB0_25:
	movq	_NEQE_EXTSWITCH_PRIMARY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%r15d, %esi
	callq	_EHEA_BMASK_GET
	testl	%eax, %eax
	je	LBB0_28
## %bb.26:
	leaq	L_.str.8(%rip), %rdi
	jmp	LBB0_27
LBB0_28:
	leaq	L_.str.9(%rip), %rdi
LBB0_27:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ehea_info                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_NEQE_EVENT_CODE,4,2            ## @NEQE_EVENT_CODE
	.comm	_NEQE_PORTNUM,4,2               ## @NEQE_PORTNUM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unknown portnum %x"

	.comm	_NEQE_PORT_UP,4,2               ## @NEQE_PORT_UP
L_.str.1:                               ## @.str.1
	.asciz	"failed resensing port attributes"

L_.str.2:                               ## @.str.2
	.asciz	"%s: Logical port up: %dMbps %s Duplex"

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

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

L_.str.5:                               ## @.str.5
	.asciz	"%s: Logical port down"

	.comm	_NEQE_EXTSWITCH_PORT_UP,4,2     ## @NEQE_EXTSWITCH_PORT_UP
	.comm	_EHEA_PHY_LINK_UP,4,2           ## @EHEA_PHY_LINK_UP
L_.str.6:                               ## @.str.6
	.asciz	"%s: Physical port up"

	.comm	_prop_carrier_state,4,2         ## @prop_carrier_state
	.comm	_EHEA_PHY_LINK_DOWN,4,2         ## @EHEA_PHY_LINK_DOWN
L_.str.7:                               ## @.str.7
	.asciz	"%s: Physical port down"

	.comm	_NEQE_EXTSWITCH_PRIMARY,4,2     ## @NEQE_EXTSWITCH_PRIMARY
L_.str.8:                               ## @.str.8
	.asciz	"External switch port is primary port"

L_.str.9:                               ## @.str.9
	.asciz	"External switch port is backup port"

L_.str.10:                              ## @.str.10
	.asciz	"Adapter malfunction"

L_.str.11:                              ## @.str.11
	.asciz	"Port malfunction: Device: %s"

L_.str.12:                              ## @.str.12
	.asciz	"unknown event code %x, eqe=0x%llX"

	.no_dead_strip	_ehea_parse_eqe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ehea_parse_eqe
_ehea_parse_eqe:                        ; @ehea_parse_eqe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _NEQE_EVENT_CODE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NEQE_EVENT_CODE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_EHEA_BMASK_GET
	mov	x21, x0
Lloh3:
	adrp	x8, _NEQE_PORTNUM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NEQE_PORTNUM@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_EHEA_BMASK_GET
	mov	x22, x0
	mov	x0, x20
	mov	x1, x22
	bl	_ehea_get_port
	mov	x20, x0
	cmp	w21, #128
	b.eq	LBB0_8
; %bb.1:
	cmp	w21, #130
	b.eq	LBB0_9
; %bb.2:
	cmp	w21, #129
	b.ne	LBB0_11
; %bb.3:
	cbz	x20, LBB0_12
; %bb.4:
Lloh6:
	adrp	x8, _NEQE_PORT_UP@GOTPAGE
Lloh7:
	ldr	x8, [x8, _NEQE_PORT_UP@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_EHEA_BMASK_GET
	mov	x21, x0
	ldr	x0, [x20, #8]
	bl	_netif_carrier_ok
	cbz	w21, LBB0_14
; %bb.5:
	cbnz	w0, LBB0_21
; %bb.6:
	mov	x0, x20
	bl	_ehea_sense_port_attr
	cbz	w0, LBB0_18
; %bb.7:
Lloh9:
	adrp	x0, l_.str.1@PAGE
Lloh10:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_10
LBB0_8:
	ldr	x8, [x20, #8]
	ldr	w8, [x8]
	str	x8, [sp]
Lloh11:
	adrp	x0, l_.str.11@PAGE
Lloh12:
	add	x0, x0, l_.str.11@PAGEOFF
	bl	_ehea_info
	ldr	x0, [x20, #8]
	bl	_netif_carrier_off
	ldr	x0, [x20, #8]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_netif_tx_disable
LBB0_9:
Lloh13:
	adrp	x0, l_.str.10@PAGE
Lloh14:
	add	x0, x0, l_.str.10@PAGEOFF
LBB0_10:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_ehea_error
LBB0_11:
	stp	x21, x19, [sp]
Lloh15:
	adrp	x0, l_.str.12@PAGE
Lloh16:
	add	x0, x0, l_.str.12@PAGEOFF
	b	LBB0_13
LBB0_12:
	str	x22, [sp]
Lloh17:
	adrp	x0, l_.str@PAGE
Lloh18:
	add	x0, x0, l_.str@PAGEOFF
LBB0_13:
	bl	_ehea_error
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_14:
	cbz	w0, LBB0_21
; %bb.15:
	mov	x0, x20
	bl	_netif_msg_link
	cbz	w0, LBB0_17
; %bb.16:
	ldr	x8, [x20, #8]
	ldr	w8, [x8]
	str	x8, [sp]
Lloh19:
	adrp	x0, l_.str.5@PAGE
Lloh20:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_ehea_info
LBB0_17:
	ldr	x0, [x20, #8]
	bl	_netif_carrier_off
	ldr	x0, [x20, #8]
	bl	_netif_tx_disable
	b	LBB0_21
LBB0_18:
	mov	x0, x20
	bl	_netif_msg_link
	cbz	w0, LBB0_20
; %bb.19:
	ldr	x8, [x20, #8]
	ldr	w9, [x20]
Lloh21:
	adrp	x10, l_.str.4@PAGE
Lloh22:
	add	x10, x10, l_.str.4@PAGEOFF
Lloh23:
	adrp	x11, l_.str.3@PAGE
Lloh24:
	add	x11, x11, l_.str.3@PAGEOFF
	cmp	w9, #1
	csel	x9, x11, x10, eq
	ldr	w8, [x8]
	ldr	w10, [x20, #20]
	stp	x10, x9, [sp, #8]
	str	x8, [sp]
Lloh25:
	adrp	x0, l_.str.2@PAGE
Lloh26:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_ehea_info
LBB0_20:
	ldr	x0, [x20, #8]
	bl	_netif_carrier_on
	ldr	x0, [x20, #8]
	bl	_netif_wake_queue
LBB0_21:
Lloh27:
	adrp	x8, _NEQE_EXTSWITCH_PORT_UP@GOTPAGE
Lloh28:
	ldr	x8, [x8, _NEQE_EXTSWITCH_PORT_UP@GOTPAGEOFF]
Lloh29:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_EHEA_BMASK_GET
	cbz	w0, LBB0_26
; %bb.22:
Lloh30:
	adrp	x8, _EHEA_PHY_LINK_UP@GOTPAGE
Lloh31:
	ldr	x8, [x8, _EHEA_PHY_LINK_UP@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
	str	w8, [x20, #16]
	mov	x0, x20
	bl	_netif_msg_link
	cbz	w0, LBB0_24
; %bb.23:
	ldr	x8, [x20, #8]
	ldr	w8, [x8]
	str	x8, [sp]
Lloh33:
	adrp	x0, l_.str.6@PAGE
Lloh34:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_ehea_info
LBB0_24:
Lloh35:
	adrp	x8, _prop_carrier_state@GOTPAGE
Lloh36:
	ldr	x8, [x8, _prop_carrier_state@GOTPAGEOFF]
Lloh37:
	ldr	w8, [x8]
	cbz	w8, LBB0_30
; %bb.25:
	ldr	x0, [x20, #8]
	bl	_netif_carrier_on
	b	LBB0_30
LBB0_26:
Lloh38:
	adrp	x8, _EHEA_PHY_LINK_DOWN@GOTPAGE
Lloh39:
	ldr	x8, [x8, _EHEA_PHY_LINK_DOWN@GOTPAGEOFF]
Lloh40:
	ldr	w8, [x8]
	str	w8, [x20, #16]
	mov	x0, x20
	bl	_netif_msg_link
	cbz	w0, LBB0_28
; %bb.27:
	ldr	x8, [x20, #8]
	ldr	w8, [x8]
	str	x8, [sp]
Lloh41:
	adrp	x0, l_.str.7@PAGE
Lloh42:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_ehea_info
LBB0_28:
Lloh43:
	adrp	x8, _prop_carrier_state@GOTPAGE
Lloh44:
	ldr	x8, [x8, _prop_carrier_state@GOTPAGEOFF]
Lloh45:
	ldr	w8, [x8]
	cbz	w8, LBB0_30
; %bb.29:
	ldr	x0, [x20, #8]
	bl	_netif_carrier_off
LBB0_30:
Lloh46:
	adrp	x8, _NEQE_EXTSWITCH_PRIMARY@GOTPAGE
Lloh47:
	ldr	x8, [x8, _NEQE_EXTSWITCH_PRIMARY@GOTPAGEOFF]
Lloh48:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_EHEA_BMASK_GET
	cbz	w0, LBB0_32
; %bb.31:
Lloh49:
	adrp	x0, l_.str.8@PAGE
Lloh50:
	add	x0, x0, l_.str.8@PAGEOFF
	b	LBB0_33
LBB0_32:
Lloh51:
	adrp	x0, l_.str.9@PAGE
Lloh52:
	add	x0, x0, l_.str.9@PAGEOFF
LBB0_33:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_ehea_info
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpAdd	Lloh49, Lloh50
	.loh AdrpAdd	Lloh51, Lloh52
	.cfi_endproc
                                        ; -- End function
	.comm	_NEQE_EVENT_CODE,4,2            ; @NEQE_EVENT_CODE
	.comm	_NEQE_PORTNUM,4,2               ; @NEQE_PORTNUM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unknown portnum %x"

	.comm	_NEQE_PORT_UP,4,2               ; @NEQE_PORT_UP
l_.str.1:                               ; @.str.1
	.asciz	"failed resensing port attributes"

l_.str.2:                               ; @.str.2
	.asciz	"%s: Logical port up: %dMbps %s Duplex"

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

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

l_.str.5:                               ; @.str.5
	.asciz	"%s: Logical port down"

	.comm	_NEQE_EXTSWITCH_PORT_UP,4,2     ; @NEQE_EXTSWITCH_PORT_UP
	.comm	_EHEA_PHY_LINK_UP,4,2           ; @EHEA_PHY_LINK_UP
l_.str.6:                               ; @.str.6
	.asciz	"%s: Physical port up"

	.comm	_prop_carrier_state,4,2         ; @prop_carrier_state
	.comm	_EHEA_PHY_LINK_DOWN,4,2         ; @EHEA_PHY_LINK_DOWN
l_.str.7:                               ; @.str.7
	.asciz	"%s: Physical port down"

	.comm	_NEQE_EXTSWITCH_PRIMARY,4,2     ; @NEQE_EXTSWITCH_PRIMARY
l_.str.8:                               ; @.str.8
	.asciz	"External switch port is primary port"

l_.str.9:                               ; @.str.9
	.asciz	"External switch port is backup port"

l_.str.10:                              ; @.str.10
	.asciz	"Adapter malfunction"

l_.str.11:                              ; @.str.11
	.asciz	"Port malfunction: Device: %s"

l_.str.12:                              ; @.str.12
	.asciz	"unknown event code %x, eqe=0x%llX"

	.no_dead_strip	_ehea_parse_eqe
.subsections_via_symbols
