	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wsaud_probe
_wsaud_probe:                           ## @wsaud_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_AUD_HEADER_SIZE@GOTPCREL(%rip), %rax
	movq	_AUD_CHUNK_PREAMBLE_SIZE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	addq	(%rax), %rcx
	xorl	%r14d, %r14d
	cmpq	%rcx, (%rdi)
	jl	LBB0_7
## %bb.1:
	movq	%rdi, %rbx
	movq	8(%rdi), %rdi
	callq	_AV_RL16
	addl	$-48001, %eax                   ## imm = 0xFFFF447F
	cmpl	$-40001, %eax                   ## imm = 0xFFFF63BF
	jb	LBB0_7
## %bb.2:
	movq	8(%rbx), %rdi
	testb	$-4, 40(%rdi)
	je	LBB0_3
LBB0_7:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_3:
	movl	44(%rdi), %eax
	cmpl	$99, %eax
	je	LBB0_5
## %bb.4:
	cmpl	$1, %eax
	jne	LBB0_7
LBB0_5:
	addq	$64, %rdi
	callq	_AV_RL32
	movq	_AUD_CHUNK_SIGNATURE@GOTPCREL(%rip), %rcx
	xorl	%r14d, %r14d
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.6:
	movq	_AVPROBE_SCORE_EXTENSION@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_AUD_HEADER_SIZE,8,3            ## @AUD_HEADER_SIZE
	.comm	_AUD_CHUNK_PREAMBLE_SIZE,8,3    ## @AUD_CHUNK_PREAMBLE_SIZE
	.comm	_AUD_CHUNK_SIGNATURE,8,3        ## @AUD_CHUNK_SIGNATURE
	.comm	_AVPROBE_SCORE_EXTENSION,4,2    ## @AVPROBE_SCORE_EXTENSION
	.no_dead_strip	_wsaud_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wsaud_probe
_wsaud_probe:                           ; @wsaud_probe
	.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
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _AUD_HEADER_SIZE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _AUD_HEADER_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _AUD_CHUNK_PREAMBLE_SIZE@GOTPAGE
Lloh4:
	ldr	x10, [x10, _AUD_CHUNK_PREAMBLE_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	add	x9, x10, x9
	cmp	x8, x9
	b.lt	LBB0_3
; %bb.1:
	mov	x19, x0
	ldr	x0, [x0, #8]
	bl	_AV_RL16
	mov	w8, #-48001
	mov	w9, #-40001
	add	w8, w0, w8
	cmp	w8, w9
	b.lo	LBB0_3
; %bb.2:
	ldr	x8, [x19, #8]
	ldrb	w9, [x8, #40]
	tst	w9, #0xfc
	b.eq	LBB0_5
LBB0_3:
	mov	w0, #0
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_5:
	ldr	w9, [x8, #44]
	cmp	w9, #99
	ccmp	w9, #1, #4, ne
	b.ne	LBB0_3
; %bb.6:
	add	x0, x8, #64
	bl	_AV_RL32
Lloh6:
	adrp	x8, _AUD_CHUNK_SIGNATURE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _AUD_CHUNK_SIGNATURE@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
Lloh9:
	adrp	x9, _AVPROBE_SCORE_EXTENSION@GOTPAGE
Lloh10:
	ldr	x9, [x9, _AVPROBE_SCORE_EXTENSION@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	cmp	x0, x8
	csel	w0, w9, wzr, eq
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_AUD_HEADER_SIZE,8,3            ; @AUD_HEADER_SIZE
	.comm	_AUD_CHUNK_PREAMBLE_SIZE,8,3    ; @AUD_CHUNK_PREAMBLE_SIZE
	.comm	_AUD_CHUNK_SIGNATURE,8,3        ; @AUD_CHUNK_SIGNATURE
	.comm	_AVPROBE_SCORE_EXTENSION,4,2    ; @AVPROBE_SCORE_EXTENSION
	.no_dead_strip	_wsaud_probe
.subsections_via_symbols
