	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_ec
_parse_ec:                              ## @parse_ec
	.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
	movl	%esi, %r13d
	movq	%rdi, %r12
	movq	_NEQE_EVENT_CODE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_EHCA_BMASK_GET
	movl	%eax, %ebx
	movq	_NEQE_PORT_NUMBER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%r13d, %esi
	callq	_EHCA_BMASK_GET
	movl	%eax, %r14d
	leal	-48(%rbx), %eax
	cmpl	$4, %eax
	ja	LBB0_17
## %bb.1:
	movq	8(%r12), %rbx
	movslq	%r14d, %r15
	decq	%r15
	shlq	$4, %r15
	leaq	(%rbx,%r15), %rdx
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_2:
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	_NEQE_PORT_AVAILABILITY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%r13d, %esi
	callq	_EHCA_BMASK_GET
	testl	%eax, %eax
	je	LBB0_6
## %bb.3:
	movq	_ehca_nr_ports@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jns	LBB0_5
## %bb.4:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_replay_modify_qp
	testl	%eax, %eax
	je	LBB0_5
## %bb.18:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_17:
	movl	(%r12), %ecx
	leaq	L_.str.7(%rip), %rsi
	movq	%r12, %rdi
	movl	%ebx, %edx
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ehca_err                       ## TAILCALL
LBB0_7:
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	_NEQE_DISRUPTIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%r13d, %esi
	callq	_EHCA_BMASK_GET
	testl	%eax, %eax
	je	LBB0_9
## %bb.8:
	leaq	L_.str.2(%rip), %rsi
	movq	%r12, %rdi
	movl	%r14d, %edx
	xorl	%eax, %eax
	callq	_ehca_warn
	movq	_IB_PORT_DOWN@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%rbx,%r15)
	movq	_IB_EVENT_PORT_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.1(%rip), %rcx
	movq	%r12, %rdi
	movl	%r14d, %esi
	callq	_dispatch_port_event
LBB0_5:
	movq	_IB_PORT_ACTIVE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%rbx,%r15)
	movq	_IB_EVENT_PORT_ACTIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rcx
	movq	%r12, %rdi
	movl	%r14d, %esi
	callq	_dispatch_port_event
	movq	%r12, %rdi
	movl	%r14d, %esi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ehca_query_sma_attr            ## TAILCALL
LBB0_10:
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_11
LBB0_12:
	leaq	L_.str.4(%rip), %rsi
LBB0_11:
	movq	%r12, %rdi
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ehca_err                       ## TAILCALL
LBB0_13:
	movq	_NEQE_SPECIFIC_EVENT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%r13d, %esi
	callq	_EHCA_BMASK_GET
	cmpl	$128, %eax
	jne	LBB0_16
## %bb.14:
	movq	_IB_EVENT_CLIENT_REREGISTER@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.5(%rip), %rcx
	jmp	LBB0_15
LBB0_16:
	leaq	L_.str.6(%rip), %rsi
	movq	%r12, %rdi
	movl	%eax, %edx
	movl	%r14d, %ecx
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ehca_warn                      ## TAILCALL
LBB0_6:
	movq	_IB_PORT_DOWN@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%rbx,%r15)
	movq	_IB_EVENT_PORT_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.1(%rip), %rcx
LBB0_15:
	movq	%r12, %rdi
	movl	%r14d, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dispatch_port_event            ## TAILCALL
LBB0_9:
	movq	%r12, %rdi
	movl	%r14d, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_notify_port_conf_change        ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_7, LBB0_7-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
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_7
	.long	L0_0_set_10
	.long	L0_0_set_12
	.long	L0_0_set_13
	.end_data_region
                                        ## -- End function
	.comm	_NEQE_EVENT_CODE,4,2            ## @NEQE_EVENT_CODE
	.comm	_NEQE_PORT_NUMBER,4,2           ## @NEQE_PORT_NUMBER
	.comm	_NEQE_PORT_AVAILABILITY,4,2     ## @NEQE_PORT_AVAILABILITY
	.comm	_ehca_nr_ports,4,2              ## @ehca_nr_ports
	.comm	_IB_PORT_ACTIVE,8,3             ## @IB_PORT_ACTIVE
	.comm	_IB_EVENT_PORT_ACTIVE,4,2       ## @IB_EVENT_PORT_ACTIVE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"is active"

	.comm	_IB_PORT_DOWN,8,3               ## @IB_PORT_DOWN
	.comm	_IB_EVENT_PORT_ERR,4,2          ## @IB_EVENT_PORT_ERR
L_.str.1:                               ## @.str.1
	.asciz	"is inactive"

	.comm	_NEQE_DISRUPTIVE,4,2            ## @NEQE_DISRUPTIVE
L_.str.2:                               ## @.str.2
	.asciz	"disruptive port %d configuration change"

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

L_.str.4:                               ## @.str.4
	.asciz	"Traced stopped."

	.comm	_NEQE_SPECIFIC_EVENT,4,2        ## @NEQE_SPECIFIC_EVENT
	.comm	_IB_EVENT_CLIENT_REREGISTER,4,2 ## @IB_EVENT_CLIENT_REREGISTER
L_.str.5:                               ## @.str.5
	.asciz	"client reregister req."

L_.str.6:                               ## @.str.6
	.asciz	"Unknown util async event %x on port %x"

L_.str.7:                               ## @.str.7
	.asciz	"Unknown event code: %x on %s."

	.no_dead_strip	_parse_ec
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_ec
_parse_ec:                              ; @parse_ec
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x22, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _NEQE_EVENT_CODE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NEQE_EVENT_CODE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_EHCA_BMASK_GET
	mov	x21, x0
Lloh3:
	adrp	x8, _NEQE_PORT_NUMBER@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NEQE_PORT_NUMBER@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	mov	x1, x22
	bl	_EHCA_BMASK_GET
	sub	w8, w21, #48
	cmp	w8, #4
	b.hi	LBB0_6
; %bb.1:
	mov	x20, x0
	ldr	x23, [x19, #8]
	sxtw	x9, w20
	sub	x24, x9, #1
	add	x21, x23, x24, lsl #4
Lloh6:
	adrp	x9, lJTI0_0@PAGE
Lloh7:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
Lloh8:
	adrp	x8, _NEQE_PORT_AVAILABILITY@GOTPAGE
Lloh9:
	ldr	x8, [x8, _NEQE_PORT_AVAILABILITY@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	mov	x1, x22
	bl	_EHCA_BMASK_GET
	cbz	w0, LBB0_17
; %bb.3:
Lloh11:
	adrp	x8, _ehca_nr_ports@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ehca_nr_ports@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	tbz	w8, #31, LBB0_5
; %bb.4:
	mov	x0, x21
	bl	_replay_modify_qp
	cbnz	w0, LBB0_16
LBB0_5:
Lloh14:
	adrp	x8, _IB_PORT_ACTIVE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _IB_PORT_ACTIVE@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	add	x9, x23, x24, lsl #4
	str	x8, [x9, #8]
	b	LBB0_9
LBB0_6:
	ldr	w8, [x19]
	stp	x21, x8, [sp]
Lloh17:
	adrp	x1, l_.str.7@PAGE
Lloh18:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x19
	bl	_ehca_err
	b	LBB0_16
LBB0_7:
Lloh19:
	adrp	x8, _NEQE_DISRUPTIVE@GOTPAGE
Lloh20:
	ldr	x8, [x8, _NEQE_DISRUPTIVE@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
	mov	x1, x22
	bl	_EHCA_BMASK_GET
	cbz	w0, LBB0_19
; %bb.8:
Lloh22:
	adrp	x1, l_.str.2@PAGE
Lloh23:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	x2, x20
	bl	_ehca_warn
Lloh24:
	adrp	x8, _IB_PORT_DOWN@GOTPAGE
Lloh25:
	ldr	x8, [x8, _IB_PORT_DOWN@GOTPAGEOFF]
Lloh26:
	ldr	x8, [x8]
	add	x22, x23, x24, lsl #4
	str	x8, [x22, #8]
Lloh27:
	adrp	x8, _IB_EVENT_PORT_ERR@GOTPAGE
Lloh28:
	ldr	x8, [x8, _IB_EVENT_PORT_ERR@GOTPAGEOFF]
Lloh29:
	ldr	w2, [x8]
Lloh30:
	adrp	x3, l_.str.1@PAGE
Lloh31:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x1, x20
	bl	_dispatch_port_event
Lloh32:
	adrp	x8, _IB_PORT_ACTIVE@GOTPAGE
Lloh33:
	ldr	x8, [x8, _IB_PORT_ACTIVE@GOTPAGEOFF]
Lloh34:
	ldr	x8, [x8]
	str	x8, [x22, #8]
LBB0_9:
Lloh35:
	adrp	x8, _IB_EVENT_PORT_ACTIVE@GOTPAGE
Lloh36:
	ldr	x8, [x8, _IB_EVENT_PORT_ACTIVE@GOTPAGEOFF]
Lloh37:
	ldr	w2, [x8]
Lloh38:
	adrp	x3, l_.str@PAGE
Lloh39:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x19
	mov	x1, x20
	bl	_dispatch_port_event
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_ehca_query_sma_attr
LBB0_10:
Lloh40:
	adrp	x1, l_.str.3@PAGE
Lloh41:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_12
LBB0_11:
Lloh42:
	adrp	x1, l_.str.4@PAGE
Lloh43:
	add	x1, x1, l_.str.4@PAGEOFF
LBB0_12:
	mov	x0, x19
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_ehca_err
LBB0_13:
Lloh44:
	adrp	x8, _NEQE_SPECIFIC_EVENT@GOTPAGE
Lloh45:
	ldr	x8, [x8, _NEQE_SPECIFIC_EVENT@GOTPAGEOFF]
Lloh46:
	ldr	w0, [x8]
	mov	x1, x22
	bl	_EHCA_BMASK_GET
	cmp	w0, #128
	b.ne	LBB0_15
; %bb.14:
Lloh47:
	adrp	x8, _IB_EVENT_CLIENT_REREGISTER@GOTPAGE
Lloh48:
	ldr	x8, [x8, _IB_EVENT_CLIENT_REREGISTER@GOTPAGEOFF]
Lloh49:
	ldr	w2, [x8]
Lloh50:
	adrp	x3, l_.str.5@PAGE
Lloh51:
	add	x3, x3, l_.str.5@PAGEOFF
	b	LBB0_18
LBB0_15:
	mov	x2, x0
                                        ; kill: def $w20 killed $w20 killed $x20 def $x20
	str	x20, [sp]
Lloh52:
	adrp	x1, l_.str.6@PAGE
Lloh53:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x19
	bl	_ehca_warn
LBB0_16:
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_17:
Lloh54:
	adrp	x8, _IB_PORT_DOWN@GOTPAGE
Lloh55:
	ldr	x8, [x8, _IB_PORT_DOWN@GOTPAGEOFF]
Lloh56:
	ldr	x8, [x8]
	add	x9, x23, x24, lsl #4
	str	x8, [x9, #8]
Lloh57:
	adrp	x8, _IB_EVENT_PORT_ERR@GOTPAGE
Lloh58:
	ldr	x8, [x8, _IB_EVENT_PORT_ERR@GOTPAGEOFF]
Lloh59:
	ldr	w2, [x8]
Lloh60:
	adrp	x3, l_.str.1@PAGE
Lloh61:
	add	x3, x3, l_.str.1@PAGEOFF
LBB0_18:
	mov	x0, x19
	mov	x1, x20
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_dispatch_port_event
LBB0_19:
	mov	x0, x19
	mov	x1, x20
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_notify_port_conf_change
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpAdd	Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
	.byte	(LBB0_11-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
                                        ; -- End function
	.comm	_NEQE_EVENT_CODE,4,2            ; @NEQE_EVENT_CODE
	.comm	_NEQE_PORT_NUMBER,4,2           ; @NEQE_PORT_NUMBER
	.comm	_NEQE_PORT_AVAILABILITY,4,2     ; @NEQE_PORT_AVAILABILITY
	.comm	_ehca_nr_ports,4,2              ; @ehca_nr_ports
	.comm	_IB_PORT_ACTIVE,8,3             ; @IB_PORT_ACTIVE
	.comm	_IB_EVENT_PORT_ACTIVE,4,2       ; @IB_EVENT_PORT_ACTIVE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"is active"

	.comm	_IB_PORT_DOWN,8,3               ; @IB_PORT_DOWN
	.comm	_IB_EVENT_PORT_ERR,4,2          ; @IB_EVENT_PORT_ERR
l_.str.1:                               ; @.str.1
	.asciz	"is inactive"

	.comm	_NEQE_DISRUPTIVE,4,2            ; @NEQE_DISRUPTIVE
l_.str.2:                               ; @.str.2
	.asciz	"disruptive port %d configuration change"

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

l_.str.4:                               ; @.str.4
	.asciz	"Traced stopped."

	.comm	_NEQE_SPECIFIC_EVENT,4,2        ; @NEQE_SPECIFIC_EVENT
	.comm	_IB_EVENT_CLIENT_REREGISTER,4,2 ; @IB_EVENT_CLIENT_REREGISTER
l_.str.5:                               ; @.str.5
	.asciz	"client reregister req."

l_.str.6:                               ; @.str.6
	.asciz	"Unknown util async event %x on port %x"

l_.str.7:                               ; @.str.7
	.asciz	"Unknown event code: %x on %s."

	.no_dead_strip	_parse_ec
.subsections_via_symbols
