	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function find_sof
_find_sof:                              ## @find_sof
	.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, %rax
	movq	(%rdi), %rcx
	movq	_BRIDGE_103@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rcx
	movl	$18, %ecx
	movl	$12, %r11d
	cmovel	%ecx, %r11d
	testl	%edx, %edx
	jle	LBB0_17
## %bb.1:
	movl	%edx, %edx
	movl	8(%rdi), %ebx
	addq	$4, %rax
	leaq	LJTI0_0(%rip), %r14
	movl	$4, %r8d
	movl	$5, %r9d
	movl	$6, %r10d
	jmp	LBB0_2
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	-4(%rax), %ebx
	xorl	%ecx, %ecx
	cmpl	$255, %ebx
	sete	%cl
	cmpl	$196, %ebx
	cmovel	%r9d, %ecx
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	%ecx, 8(%rdi)
	movl	%ecx, %ebx
LBB0_16:                                ##   in Loop: Header=BB0_2 Depth=1
	addq	$4, %rax
	decq	%rdx
	je	LBB0_17
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$5, %ebx
	ja	LBB0_12
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%ebx, %ecx
	movslq	(%r14,%rcx,4), %rcx
	addq	%r14, %rcx
	jmpq	*%rcx
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	xorl	%ebx, %ebx
	movl	$1, %ecx
	cmpl	$255, -4(%rax)
	je	LBB0_15
	jmp	LBB0_16
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	xorl	%ecx, %ecx
	cmpl	$255, -4(%rax)
	sete	%cl
	addl	%ecx, %ecx
	jmp	LBB0_15
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	-4(%rax), %ecx
	testl	%ecx, %ecx
	je	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	$2, %ebx
	cmpl	$255, %ecx
	je	LBB0_16
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%ecx, %ecx
	jmp	LBB0_15
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	-4(%rax), %ebx
	xorl	%ecx, %ecx
	cmpl	$255, %ebx
	sete	%cl
	cmpl	$196, %ebx
	cmovel	%r8d, %ecx
	jmp	LBB0_15
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	-4(%rax), %ecx
	movq	16(%rdi), %rsi
	movslq	%ebx, %rbx
	movl	%ecx, -24(%rsi,%rbx,4)
	movl	8(%rdi), %ebx
	incl	%ebx
	movl	%ebx, 8(%rdi)
	cmpl	%r11d, %ebx
	jne	LBB0_16
	jmp	LBB0_13
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	-4(%rax), %ebx
	xorl	%ecx, %ecx
	cmpl	$255, %ebx
	sete	%cl
	cmpl	$150, %ebx
	cmovel	%r10d, %ecx
	jmp	LBB0_15
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	$3, %ecx
	jmp	LBB0_15
LBB0_17:
	xorl	%eax, %eax
LBB0_18:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_13:
	movl	$0, 8(%rdi)
	jmp	LBB0_18
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
LJTI0_0:
	.long	L0_0_set_14
	.long	L0_0_set_4
	.long	L0_0_set_5
	.long	L0_0_set_9
	.long	L0_0_set_10
	.long	L0_0_set_11
	.end_data_region
                                        ## -- End function
	.comm	_BRIDGE_103,8,3                 ## @BRIDGE_103
	.no_dead_strip	_find_sof
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function find_sof
_find_sof:                              ; @find_sof
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _BRIDGE_103@GOTPAGE
Lloh1:
	ldr	x9, [x9, _BRIDGE_103@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	mov	w8, #12
	mov	w9, #18
	csel	w9, w9, w8, eq
	cmp	w2, #1
	b.lt	LBB0_19
; %bb.1:
	mov	w10, w2
	ldr	w15, [x0, #8]
	add	x8, x1, #4
	mov	w11, #4
	mov	w12, #5
	mov	w13, #6
Lloh3:
	adrp	x14, lJTI0_0@PAGE
Lloh4:
	add	x14, x14, lJTI0_0@PAGEOFF
	b	LBB0_5
LBB0_2:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldur	w15, [x8, #-4]
	cmp	w15, #255
	cset	w16, eq
	cmp	w15, #196
	csel	w15, w12, w16, eq
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	str	w15, [x0, #8]
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x8, x8, #4
	subs	x10, x10, #1
	b.eq	LBB0_19
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w15, #5
	b.hi	LBB0_14
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	w15, w15
	adr	x16, LBB0_2
	ldrb	w17, [x14, x15]
	add	x16, x16, x17, lsl #2
	br	x16
LBB0_7:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldur	w15, [x8, #-4]
	cmp	w15, #255
	b.ne	LBB0_16
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	w15, #1
	b	LBB0_3
LBB0_9:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldur	w15, [x8, #-4]
	cmp	w15, #255
	cset	w15, eq
	lsl	w15, w15, #1
	b	LBB0_3
LBB0_10:                                ;   in Loop: Header=BB0_5 Depth=1
	ldur	w15, [x8, #-4]
	cbz	w15, LBB0_17
; %bb.11:                               ;   in Loop: Header=BB0_5 Depth=1
	cmp	w15, #255
	b.ne	LBB0_18
; %bb.12:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	w15, #2
	b	LBB0_4
LBB0_13:                                ;   in Loop: Header=BB0_5 Depth=1
	ldur	w15, [x8, #-4]
	cmp	w15, #255
	cset	w16, eq
	cmp	w15, #196
	csel	w15, w11, w16, eq
	b	LBB0_3
LBB0_14:                                ;   in Loop: Header=BB0_5 Depth=1
	ldur	w16, [x8, #-4]
	ldr	x17, [x0, #16]
	sub	w15, w15, #6
	str	w16, [x17, w15, sxtw #2]
	ldr	w15, [x0, #8]
	add	w15, w15, #1
	str	w15, [x0, #8]
	cmp	w15, w9
	b.ne	LBB0_4
	b	LBB0_20
LBB0_15:                                ;   in Loop: Header=BB0_5 Depth=1
	ldur	w15, [x8, #-4]
	cmp	w15, #255
	cset	w16, eq
	cmp	w15, #150
	csel	w15, w13, w16, eq
	b	LBB0_3
LBB0_16:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	w15, #0
	b	LBB0_4
LBB0_17:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	w15, #3
	b	LBB0_3
LBB0_18:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	w15, #0
	b	LBB0_3
LBB0_19:
	mov	x0, #0
	ret
LBB0_20:
	str	wzr, [x0, #8]
	mov	x0, x8
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_15-LBB0_2)>>2
                                        ; -- End function
	.comm	_BRIDGE_103,8,3                 ; @BRIDGE_103
	.no_dead_strip	_find_sof
.subsections_via_symbols
