	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function be_async_dbg_evt_process
_be_async_dbg_evt_process:              ## @be_async_dbg_evt_process
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	_ASYNC_TRAILER_EVENT_TYPE_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	sarl	%cl, %esi
	movq	_ASYNC_TRAILER_EVENT_TYPE_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %esi
	cmpl	$128, %esi
	jne	LBB0_4
## %bb.1:
	cmpl	$0, 4(%rdx)
	je	LBB0_3
## %bb.2:
	movl	(%rdx), %edi
	callq	_le16_to_cpu
	movl	%eax, 12(%rbx)
LBB0_3:
	movq	_BE_FLAGS_QNQ_ASYNC_EVT_RCVD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 8(%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_4:
	movq	(%rbx), %rdi
	leaq	L_.str(%rip), %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_dev_warn                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ASYNC_TRAILER_EVENT_TYPE_SHIFT,4,2 ## @ASYNC_TRAILER_EVENT_TYPE_SHIFT
	.comm	_ASYNC_TRAILER_EVENT_TYPE_MASK,4,2 ## @ASYNC_TRAILER_EVENT_TYPE_MASK
	.comm	_BE_FLAGS_QNQ_ASYNC_EVT_RCVD,4,2 ## @BE_FLAGS_QNQ_ASYNC_EVT_RCVD
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unknown debug event\n"

	.no_dead_strip	_be_async_dbg_evt_process
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function be_async_dbg_evt_process
_be_async_dbg_evt_process:              ; @be_async_dbg_evt_process
	.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, x0
Lloh0:
	adrp	x8, _ASYNC_TRAILER_EVENT_TYPE_SHIFT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ASYNC_TRAILER_EVENT_TYPE_SHIFT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	asr	w8, w1, w8
Lloh3:
	adrp	x9, _ASYNC_TRAILER_EVENT_TYPE_MASK@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ASYNC_TRAILER_EVENT_TYPE_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	and	w8, w8, w9
	cmp	w8, #128
	b.ne	LBB0_4
; %bb.1:
	ldr	w8, [x2, #4]
	cbz	w8, LBB0_3
; %bb.2:
	ldr	w0, [x2]
	bl	_le16_to_cpu
	str	w0, [x19, #12]
LBB0_3:
Lloh6:
	adrp	x8, _BE_FLAGS_QNQ_ASYNC_EVT_RCVD@GOTPAGE
Lloh7:
	ldr	x8, [x8, _BE_FLAGS_QNQ_ASYNC_EVT_RCVD@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	ldr	w9, [x19, #8]
	orr	w8, w9, w8
	str	w8, [x19, #8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_4:
	ldr	x0, [x19]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_dev_warn
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_ASYNC_TRAILER_EVENT_TYPE_SHIFT,4,2 ; @ASYNC_TRAILER_EVENT_TYPE_SHIFT
	.comm	_ASYNC_TRAILER_EVENT_TYPE_MASK,4,2 ; @ASYNC_TRAILER_EVENT_TYPE_MASK
	.comm	_BE_FLAGS_QNQ_ASYNC_EVT_RCVD,4,2 ; @BE_FLAGS_QNQ_ASYNC_EVT_RCVD
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unknown debug event\n"

	.no_dead_strip	_be_async_dbg_evt_process
.subsections_via_symbols
