	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function event_session_error
_event_session_error:                   ## @event_session_error
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, %r14
	movq	(%rdi), %r15
	movl	(%rdx), %edx
	movl	4(%rbx), %ecx
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_dbg
	testq	%r14, %r14
	je	LBB0_3
## %bb.1:
	movl	(%rbx), %edx
	movl	%edx, %eax
	andl	$-4, %eax
	cmpl	$128, %eax
	jne	LBB0_4
## %bb.2:
	movq	_HFI_ERR_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r14)
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movl	4(%rbx), %r8d
	movl	8(%rbx), %ecx
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_err
	movl	(%rbx), %eax
	movl	%eax, 8(%r14)
	movq	(%r14), %rax
	movq	(%rax), %rax
	movq	_EVT_SESSION_ERROR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"session error: event id:%x, session id:%x\n"

	.comm	_HFI_ERR_NONE,4,2               ## @HFI_ERR_NONE
L_.str.1:                               ## @.str.1
	.asciz	"session error: event id:%x (%x), session id:%x\n"

	.comm	_EVT_SESSION_ERROR,4,2          ## @EVT_SESSION_ERROR
	.no_dead_strip	_event_session_error
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function event_session_error
_event_session_error:                   ; @event_session_error
	.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, x2
	mov	x19, x1
	ldr	x21, [x0]
	ldr	w2, [x2]
	ldr	w3, [x20, #4]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_dev_dbg
	cbz	x19, LBB0_3
; %bb.1:
	ldr	w2, [x20]
	and	w8, w2, #0xfffffffc
	cmp	w8, #128
	b.ne	LBB0_4
; %bb.2:
Lloh2:
	adrp	x8, _HFI_ERR_NONE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _HFI_ERR_NONE@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	str	w8, [x19, #8]
LBB0_3:
	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
LBB0_4:
	ldp	w4, w3, [x20, #4]
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	bl	_dev_err
	ldr	w8, [x20]
	str	w8, [x19, #8]
	ldr	x8, [x19]
	ldr	x3, [x8]
Lloh7:
	adrp	x8, _EVT_SESSION_ERROR@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EVT_SESSION_ERROR@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, #0
	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
	br	x3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"session error: event id:%x, session id:%x\n"

	.comm	_HFI_ERR_NONE,4,2               ; @HFI_ERR_NONE
l_.str.1:                               ; @.str.1
	.asciz	"session error: event id:%x (%x), session id:%x\n"

	.comm	_EVT_SESSION_ERROR,4,2          ; @EVT_SESSION_ERROR
	.no_dead_strip	_event_session_error
.subsections_via_symbols
