	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function msnwc_tcp_probe
_msnwc_tcp_probe:                       ## @msnwc_tcp_probe
	.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
	movq	_HEADER_SIZE@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rcx
	xorl	%eax, %eax
	cmpq	(%rdi), %rcx
	jg	LBB0_15
## %bb.1:
	xorl	%r12d, %r12d
	xorl	%r15d, %r15d
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	addq	$24, -48(%rbp)
	leaq	-48(%rbp), %rdi
	callq	_bytestream_get_le32
	movq	%rax, %r13
	movl	$77, %edi
	movl	$76, %esi
	movl	$50, %edx
	movl	$48, %ecx
	callq	_MKTAG
	cmpq	%rax, %r13
	je	LBB0_8
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%r15
	addq	$4, %r12
	movq	%r14, %rbx
	movq	(%r14), %rax
	addq	%r15, %rax
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	cmpq	(%rdi), %rax
	jg	LBB0_14
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rdi), %rax
	addq	%r12, %rax
	movq	%rax, -48(%rbp)
	leaq	-48(%rbp), %rdi
	callq	_bytestream_get_le16
	movq	%rbx, %r14
	cmpq	(%rbx), %rax
	jne	LBB0_13
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	-48(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_bytestream_get_le16
	movq	%rax, %r13
	movq	%rbx, %rdi
	callq	_bytestream_get_le16
	cmpl	$320, %r13d                     ## imm = 0x140
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$240, %eax
	je	LBB0_7
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$160, %r13d
	jne	LBB0_13
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$120, %eax
	je	LBB0_7
	jmp	LBB0_13
LBB0_14:
	xorl	%eax, %eax
LBB0_15:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movq	_AVPROBE_SCORE_MAX@GOTPCREL(%rip), %rax
	testl	%r15d, %r15d
	je	LBB0_12
## %bb.9:
	movl	(%rax), %ecx
	cmpl	$13, %r15d
	ja	LBB0_11
## %bb.10:
	movl	%ecx, %eax
	shrl	$31, %eax
	addl	%ecx, %eax
	sarl	%eax
	jmp	LBB0_15
LBB0_12:
	movl	(%rax), %eax
	jmp	LBB0_15
LBB0_11:
	movslq	%ecx, %rax
	imulq	$1431655766, %rax, %rax         ## imm = 0x55555556
	movq	%rax, %rcx
	shrq	$63, %rcx
	shrq	$32, %rax
	addl	%ecx, %eax
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.comm	_HEADER_SIZE,8,3                ## @HEADER_SIZE
	.comm	_AVPROBE_SCORE_MAX,4,2          ## @AVPROBE_SCORE_MAX
	.no_dead_strip	_msnwc_tcp_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function msnwc_tcp_probe
_msnwc_tcp_probe:                       ; @msnwc_tcp_probe
	.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	x21, _HEADER_SIZE@GOTPAGE
Lloh1:
	ldr	x21, [x21, _HEADER_SIZE@GOTPAGEOFF]
	ldr	x8, [x21]
	ldr	x9, [x0]
	cmp	x8, x9
	b.le	LBB0_3
LBB0_1:
	mov	w0, #0
LBB0_2:
	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
LBB0_3:
	mov	x19, x0
	mov	x23, #0
	mov	x22, #0
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [sp, #8]
	add	x8, x8, #24
	str	x8, [sp, #8]
	add	x0, sp, #8
	bl	_bytestream_get_le32
	mov	x20, x0
	mov	w0, #77
	mov	w1, #76
	mov	w2, #50
	mov	w3, #48
	bl	_MKTAG
	cmp	x20, x0
	b.eq	LBB0_11
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x22, x22, #1
	ldr	x8, [x21]
	ldr	x9, [x19]
	add	x23, x23, #4
	add	x8, x8, x22
	cmp	x8, x9
	b.gt	LBB0_1
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	add	x8, x8, x23
	str	x8, [sp, #8]
	add	x0, sp, #8
	bl	_bytestream_get_le16
	ldr	x8, [x21]
	cmp	x0, x8
	b.ne	LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x0, sp, #8
	bl	_bytestream_get_le16
	mov	x20, x0
	add	x0, sp, #8
	bl	_bytestream_get_le16
	cmp	w20, #320
	b.ne	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	cmp	w0, #240
	b.eq	LBB0_4
LBB0_9:                                 ;   in Loop: Header=BB0_6 Depth=1
	cmp	w20, #160
	b.ne	LBB0_5
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
	cmp	w0, #120
	b.eq	LBB0_4
	b	LBB0_5
LBB0_11:
Lloh2:
	adrp	x8, _AVPROBE_SCORE_MAX@GOTPAGE
Lloh3:
	ldr	x8, [x8, _AVPROBE_SCORE_MAX@GOTPAGEOFF]
	cbz	w22, LBB0_14
; %bb.12:
	ldr	w8, [x8]
	cmp	w22, #13
	b.hi	LBB0_15
; %bb.13:
	cmp	w8, #0
	cinc	w8, w8, lt
	asr	w0, w8, #1
	b	LBB0_2
LBB0_14:
	ldr	w0, [x8]
	b	LBB0_2
LBB0_15:
	mov	w9, #21846
	movk	w9, #21845, lsl #16
	smull	x8, w8, w9
	lsr	x9, x8, #63
	lsr	x8, x8, #32
	add	w0, w8, w9
	b	LBB0_2
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_HEADER_SIZE,8,3                ; @HEADER_SIZE
	.comm	_AVPROBE_SCORE_MAX,4,2          ; @AVPROBE_SCORE_MAX
	.no_dead_strip	_msnwc_tcp_probe
.subsections_via_symbols
