	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function is_unaffiliated_event
_is_unaffiliated_event:                 ## @is_unaffiliated_event
	.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	%rsi, %r14
	movq	%rdi, %rbx
	movq	_event_cap@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_MLX5_CAP_GEN
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movq	_user_unaffiliated_events@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_MLX5_CAP_DEV_EVENT
	movq	%rax, %rbx
	movq	_MAX_SUPP_EVENT_NUM@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	cmpq	%r14, (%rax)
	setb	%dil
	callq	_WARN_ON
	movq	%r14, %rax
	shrq	$6, %rax
	cltq
	movl	(%rbx,%rax,4), %edi
	callq	_be64_to_cpu
	xorl	%ecx, %ecx
	btq	%r14, %rax
	setb	%cl
	movl	%ecx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_2:
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_is_legacy_unaffiliated_event_num ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_event_cap,4,2                  ## @event_cap
	.comm	_user_unaffiliated_events,4,2   ## @user_unaffiliated_events
	.comm	_MAX_SUPP_EVENT_NUM,8,3         ## @MAX_SUPP_EVENT_NUM
	.no_dead_strip	_is_unaffiliated_event
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function is_unaffiliated_event
_is_unaffiliated_event:                 ; @is_unaffiliated_event
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _event_cap@GOTPAGE
Lloh1:
	ldr	x8, [x8, _event_cap@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_MLX5_CAP_GEN
	cbz	w0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _user_unaffiliated_events@GOTPAGE
Lloh4:
	ldr	x8, [x8, _user_unaffiliated_events@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_MLX5_CAP_DEV_EVENT
	mov	x20, x0
Lloh6:
	adrp	x8, _MAX_SUPP_EVENT_NUM@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MAX_SUPP_EVENT_NUM@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x8, x19
	cset	w0, lo
	bl	_WARN_ON
	lsr	x8, x19, #6
	ldr	w0, [x20, w8, sxtw #2]
	bl	_be64_to_cpu
	lsr	x8, x0, x19
	and	w0, w8, #0x1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_is_legacy_unaffiliated_event_num
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_event_cap,4,2                  ; @event_cap
	.comm	_user_unaffiliated_events,4,2   ; @user_unaffiliated_events
	.comm	_MAX_SUPP_EVENT_NUM,8,3         ; @MAX_SUPP_EVENT_NUM
	.no_dead_strip	_is_unaffiliated_event
.subsections_via_symbols
