	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function decode_evnt
_decode_evnt:                           ## @decode_evnt
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r8d
	movq	_EVNT_TS_LEN_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	%r8d, %ebx
	sarl	%cl, %ebx
	movq	%rdi, %r14
	movq	_EVNT_TS_LEN_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %ebx
	movq	_MULT_EVNT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	xorl	%edi, %edi
	testl	%r8d, %ecx
	setne	%dil
	leal	(,%rbx,4), %eax
	leal	(%rax,%rdi,4), %r12d
	addl	$4, %r12d
	cmpl	%edx, %r12d
	jg	LBB0_19
## %bb.1:
	testl	%r8d, %ecx
	je	LBB0_2
## %bb.3:
	movl	(%rsi), %r15d
	addq	$4, %rsi
	cmpl	$3, %ebx
	jbe	LBB0_5
	jmp	LBB0_10
LBB0_2:
	xorl	%r15d, %r15d
	cmpl	$3, %ebx
	ja	LBB0_10
LBB0_5:
	movl	%ebx, %eax
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_6:
	movl	12(%rsi), %eax
	movl	%eax, 20(%r14)
LBB0_7:
	movl	8(%rsi), %eax
	movl	%eax, 16(%r14)
LBB0_8:
	movl	4(%rsi), %eax
	movl	%eax, 12(%r14)
LBB0_9:
	movl	(%rsi), %eax
	movl	%eax, 8(%r14)
LBB0_10:
	testl	%r15d, %r15d
	jne	LBB0_12
## %bb.11:
	movq	_EVNT_NUM_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	sarl	%cl, %r8d
	movq	_EVNT_NUM_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %r8d
	movq	_EXT_EVENT@GOTPCREL(%rip), %rax
	subl	(%rax), %r8d
	movl	%r8d, %edi
	callq	_exts_chan_to_edata
	movl	%eax, %r15d
LBB0_12:
	movq	_PTP_CLOCK_EXTTS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)
	leaq	8(%r14), %rdi
	callq	_phy2txts
	addl	$-35, %eax
	movl	%eax, -56(%rbp)
	movq	_N_EXT_TS@GOTPCREL(%rip), %r13
	cmpl	$0, (%r13)
	jle	LBB0_13
## %bb.14:
	movl	%r12d, -44(%rbp)                ## 4-byte Spill
	xorl	%ebx, %ebx
	leaq	-56(%rbp), %r12
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_15 Depth=1
	incl	%ebx
	cmpl	(%r13), %ebx
	jge	LBB0_18
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_exts_chan_to_edata
	testl	%r15d, %eax
	je	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_15 Depth=1
	movl	%ebx, -52(%rbp)
	movq	(%r14), %rax
	movl	(%rax), %edi
	movq	%r12, %rsi
	callq	_ptp_clock_event
	jmp	LBB0_17
LBB0_18:
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	jmp	LBB0_19
LBB0_13:
	movl	%r12d, %edx
LBB0_19:
	movl	%edx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
LJTI0_0:
	.long	L0_0_set_9
	.long	L0_0_set_8
	.long	L0_0_set_7
	.long	L0_0_set_6
	.end_data_region
                                        ## -- End function
	.comm	_EVNT_TS_LEN_SHIFT,4,2          ## @EVNT_TS_LEN_SHIFT
	.comm	_EVNT_TS_LEN_MASK,4,2           ## @EVNT_TS_LEN_MASK
	.comm	_MULT_EVNT,4,2                  ## @MULT_EVNT
	.comm	_EVNT_NUM_SHIFT,4,2             ## @EVNT_NUM_SHIFT
	.comm	_EVNT_NUM_MASK,4,2              ## @EVNT_NUM_MASK
	.comm	_EXT_EVENT,4,2                  ## @EXT_EVENT
	.comm	_PTP_CLOCK_EXTTS,4,2            ## @PTP_CLOCK_EXTTS
	.comm	_N_EXT_TS,4,2                   ## @N_EXT_TS
	.no_dead_strip	_decode_evnt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function decode_evnt
_decode_evnt:                           ; @decode_evnt
	.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
Lloh0:
	adrp	x8, _EVNT_TS_LEN_SHIFT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EVNT_TS_LEN_SHIFT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _EVNT_TS_LEN_MASK@GOTPAGE
Lloh4:
	ldr	x9, [x9, _EVNT_TS_LEN_MASK@GOTPAGEOFF]
	asr	w8, w3, w8
Lloh5:
	ldr	w9, [x9]
	and	w8, w8, w9
Lloh6:
	adrp	x9, _MULT_EVNT@GOTPAGE
Lloh7:
	ldr	x9, [x9, _MULT_EVNT@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	ands	w9, w9, w3
	mov	w10, #8
	mov	w11, #4
	csel	w10, w11, w10, eq
	add	w22, w10, w8, lsl #2
	cmp	w22, w2
	b.gt	LBB0_17
; %bb.1:
	mov	x19, x0
	cbz	w9, LBB0_3
; %bb.2:
	ldr	w20, [x1], #4
	cmp	w8, #3
	b.ls	LBB0_4
	b	LBB0_9
LBB0_3:
	mov	w20, #0
	cmp	w8, #3
	b.hi	LBB0_9
LBB0_4:
Lloh9:
	adrp	x9, lJTI0_0@PAGE
Lloh10:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_5
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_5:
	ldr	w8, [x1, #12]
	str	w8, [x19, #20]
LBB0_6:
	ldr	w8, [x1, #8]
	str	w8, [x19, #16]
LBB0_7:
	ldr	w8, [x1, #4]
	str	w8, [x19, #12]
LBB0_8:
	ldr	w8, [x1]
	str	w8, [x19, #8]
LBB0_9:
	cbnz	w20, LBB0_11
; %bb.10:
Lloh11:
	adrp	x8, _EVNT_NUM_SHIFT@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EVNT_NUM_SHIFT@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	asr	w8, w3, w8
Lloh14:
	adrp	x9, _EVNT_NUM_MASK@GOTPAGE
Lloh15:
	ldr	x9, [x9, _EVNT_NUM_MASK@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	and	w8, w8, w9
Lloh17:
	adrp	x9, _EXT_EVENT@GOTPAGE
Lloh18:
	ldr	x9, [x9, _EXT_EVENT@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	sub	w0, w8, w9
	bl	_exts_chan_to_edata
	mov	x20, x0
LBB0_11:
Lloh20:
	adrp	x8, _PTP_CLOCK_EXTTS@GOTPAGE
Lloh21:
	ldr	x8, [x8, _PTP_CLOCK_EXTTS@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	str	w8, [sp, #8]
	add	x0, x19, #8
	bl	_phy2txts
	sub	w8, w0, #35
	str	w8, [sp]
Lloh23:
	adrp	x23, _N_EXT_TS@GOTPAGE
Lloh24:
	ldr	x23, [x23, _N_EXT_TS@GOTPAGEOFF]
	ldr	w8, [x23]
	cmp	w8, #1
	b.lt	LBB0_16
; %bb.12:
	mov	w21, #0
	b	LBB0_14
LBB0_13:                                ;   in Loop: Header=BB0_14 Depth=1
	add	w21, w21, #1
	ldr	w8, [x23]
	cmp	w21, w8
	b.ge	LBB0_16
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_exts_chan_to_edata
	tst	w0, w20
	b.eq	LBB0_13
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=1
	str	w21, [sp, #4]
	ldr	x8, [x19]
	ldr	w0, [x8]
	mov	x1, sp
	bl	_ptp_clock_event
	b	LBB0_13
LBB0_16:
	mov	x2, x22
LBB0_17:
	mov	x0, x2
	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
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_8-LBB0_5)>>2
	.byte	(LBB0_7-LBB0_5)>>2
	.byte	(LBB0_6-LBB0_5)>>2
	.byte	(LBB0_5-LBB0_5)>>2
                                        ; -- End function
	.comm	_EVNT_TS_LEN_SHIFT,4,2          ; @EVNT_TS_LEN_SHIFT
	.comm	_EVNT_TS_LEN_MASK,4,2           ; @EVNT_TS_LEN_MASK
	.comm	_MULT_EVNT,4,2                  ; @MULT_EVNT
	.comm	_EVNT_NUM_SHIFT,4,2             ; @EVNT_NUM_SHIFT
	.comm	_EVNT_NUM_MASK,4,2              ; @EVNT_NUM_MASK
	.comm	_EXT_EVENT,4,2                  ; @EXT_EVENT
	.comm	_PTP_CLOCK_EXTTS,4,2            ; @PTP_CLOCK_EXTTS
	.comm	_N_EXT_TS,4,2                   ; @N_EXT_TS
	.no_dead_strip	_decode_evnt
.subsections_via_symbols
