	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function handle_notify
_handle_notify:                         ## @handle_notify
	.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	$216, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	(%rdi), %r14
	movl	(%rsi), %esi
	movl	4(%r12), %edx
	leaq	-248(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_bytestream2_init
	leaq	-112(%rbp), %rsi
	leaq	-252(%rbp), %rcx
	movq	%rbx, %rdi
	movl	$64, %edx
	callq	_ff_amf_read_string
	testl	%eax, %eax
	je	LBB0_2
LBB0_1:
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_17
LBB0_2:
	movabsq	$7008834072639008367, %rax      ## imm = 0x61446174654D6E6F
	xorq	-112(%rbp), %rax
	movabsq	$27431033848820837, %rcx        ## imm = 0x61746144617465
	xorq	-109(%rbp), %rcx
	orq	%rax, %rcx
	jne	LBB0_14
## %bb.3:
	leaq	-248(%rbp), %rdi
	callq	_bytestream2_get_byte
	movq	_AMF_DATA_TYPE_MIXEDARRAY@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_14
## %bb.4:
	movl	$1, (%r14)
	leaq	-248(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$4, %esi
	callq	_bytestream2_skip
	movq	%rbx, %rdi
	callq	_bytestream2_get_bytes_left
	cmpl	$4, %eax
	jl	LBB0_13
## %bb.5:
	movabsq	$7237112456301275510, %rax      ## imm = 0x646F636F65646976
	movabsq	$28263373294825315, %rbx        ## imm = 0x64696365646F63
	leaq	-248(%rbp), %r15
	leaq	67111915(%rax), %r13
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	%r15, %rdi
	callq	_bytestream2_get_bytes_left
	cmpl	$3, %eax
	jle	LBB0_13
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	leaq	-240(%rbp), %rsi
	movl	$128, %edx
	leaq	-252(%rbp), %rcx
	callq	_ff_amf_get_string
	testq	%rax, %rax
	jne	LBB0_1
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	-248(%rbp), %edi
	movl	-244(%rbp), %esi
	callq	_ff_amf_tag_size
	movl	%eax, -252(%rbp)
	testl	%eax, %eax
	js	LBB0_1
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_bytestream2_skip
	movq	-240(%rbp), %rax
	movabsq	$7237112456301275510, %rcx      ## imm = 0x646F636F65646976
	xorq	%rcx, %rax
	movq	-235(%rbp), %rcx
	xorq	%rbx, %rcx
	orq	%rax, %rcx
	jne	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	$1, 4(%r14)
LBB0_10:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	-240(%rbp), %rax
	xorq	%r13, %rax
	movq	-235(%rbp), %rcx
	xorq	%rbx, %rcx
	orq	%rax, %rcx
	jne	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_6 Depth=1
	movl	$1, 8(%r14)
	jmp	LBB0_12
LBB0_13:
	leaq	-248(%rbp), %rdi
	callq	_bytestream2_get_be24
	movq	_AMF_END_OF_OBJECT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
LBB0_14:
	movabsq	$7022344665615921984, %rax      ## imm = 0x6174614474657340
	xorq	-112(%rbp), %rax
	movabsq	$28549237944246644, %rcx        ## imm = 0x656D6172466174
	xorq	-106(%rbp), %rcx
	xorl	%ebx, %ebx
	orq	%rax, %rcx
	jne	LBB0_16
## %bb.15:
	movl	-248(%rbp), %ebx
	subl	(%r12), %ebx
	leaq	-248(%rbp), %rdi
	leaq	-240(%rbp), %rsi
	leaq	-252(%rbp), %rcx
	movl	$128, %edx
	callq	_ff_amf_read_string
	testl	%eax, %eax
	js	LBB0_1
LBB0_16:
	movq	%r14, %rdi
	movq	%r12, %rsi
	movl	%ebx, %edx
	callq	_append_flv_data
LBB0_17:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_19
## %bb.18:
	addq	$216, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_19:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"onMetaData"

	.comm	_AMF_DATA_TYPE_MIXEDARRAY,8,3   ## @AMF_DATA_TYPE_MIXEDARRAY
L_.str.1:                               ## @.str.1
	.asciz	"videocodecid"

L_.str.2:                               ## @.str.2
	.asciz	"audiocodecid"

	.comm	_AMF_END_OF_OBJECT,8,3          ## @AMF_END_OF_OBJECT
L_.str.3:                               ## @.str.3
	.asciz	"@setDataFrame"

	.no_dead_strip	_handle_notify
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function handle_notify
_handle_notify:                         ; @handle_notify
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #304
	.cfi_def_cfa_offset 304
	stp	x26, x25, [sp, #224]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #240]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #256]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #272]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #288]            ; 16-byte Folded Spill
	add	x29, sp, #288
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
	ldr	x20, [x0]
	ldr	w1, [x1]
	ldr	w2, [x19, #4]
	add	x0, sp, #8
	bl	_bytestream2_init
	add	x0, sp, #8
	sub	x1, x29, #136
	add	x3, sp, #20
	mov	w2, #64
	bl	_ff_amf_read_string
	cbz	w0, LBB0_2
LBB0_1:
Lloh3:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	b	LBB0_19
LBB0_2:
	sub	x21, x29, #136
	ldur	x8, [x29, #-136]
	mov	x9, #28271
	movk	x9, #25933, lsl #16
	movk	x9, #24948, lsl #32
	movk	x9, #24900, lsl #48
	eor	x8, x8, x9
	ldur	x9, [x21, #3]
	mov	x10, #29797
	movk	x10, #17505, lsl #16
	movk	x10, #29793, lsl #32
	movk	x10, #97, lsl #48
	eor	x9, x9, x10
	orr	x8, x8, x9
	cbnz	x8, LBB0_14
; %bb.3:
	add	x0, sp, #8
	bl	_bytestream2_get_byte
Lloh6:
	adrp	x8, _AMF_DATA_TYPE_MIXEDARRAY@GOTPAGE
Lloh7:
	ldr	x8, [x8, _AMF_DATA_TYPE_MIXEDARRAY@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_14
; %bb.4:
	mov	w22, #1
	str	w22, [x20]
	add	x0, sp, #8
	mov	w1, #4
	bl	_bytestream2_skip
	add	x0, sp, #8
	bl	_bytestream2_get_bytes_left
	cmp	w0, #4
	b.lt	LBB0_13
; %bb.5:
	mov	x23, #28515
	movk	x23, #25956, lsl #16
	movk	x23, #26979, lsl #32
	movk	x23, #100, lsl #48
	mov	x24, #26998
	movk	x24, #25956, lsl #16
	movk	x24, #25455, lsl #32
	movk	x24, #25711, lsl #48
	mov	x25, #30049
	movk	x25, #26980, lsl #16
	movk	x25, #25455, lsl #32
	movk	x25, #25711, lsl #48
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	x0, sp, #8
	bl	_bytestream2_get_bytes_left
	cmp	w0, #3
	b.le	LBB0_13
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #8
	add	x1, sp, #24
	add	x3, sp, #20
	mov	w2, #128
	bl	_ff_amf_get_string
	cbnz	x0, LBB0_1
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldp	w0, w1, [sp, #8]
	bl	_ff_amf_tag_size
	str	w0, [sp, #20]
	tbnz	w0, #31, LBB0_1
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x1, x0
	add	x0, sp, #8
	bl	_bytestream2_skip
	ldr	x8, [sp, #24]
	eor	x8, x8, x24
	ldur	x9, [sp, #29]
	eor	x9, x9, x23
	orr	x8, x8, x9
	cbnz	x8, LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=1
	str	w22, [x20, #4]
LBB0_11:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [sp, #24]
	eor	x8, x8, x25
	ldur	x9, [sp, #29]
	eor	x9, x9, x23
	orr	x8, x8, x9
	cbnz	x8, LBB0_6
; %bb.12:                               ;   in Loop: Header=BB0_7 Depth=1
	str	w22, [x20, #8]
	b	LBB0_6
LBB0_13:
	add	x0, sp, #8
	bl	_bytestream2_get_be24
Lloh9:
	adrp	x8, _AMF_END_OF_OBJECT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _AMF_END_OF_OBJECT@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_1
LBB0_14:
	ldur	x8, [x29, #-136]
	mov	x9, #29504
	movk	x9, #29797, lsl #16
	movk	x9, #24900, lsl #32
	movk	x9, #24948, lsl #48
	eor	x8, x8, x9
	ldur	x9, [x21, #6]
	mov	x10, #24948
	movk	x10, #29254, lsl #16
	movk	x10, #28001, lsl #32
	movk	x10, #101, lsl #48
	eor	x9, x9, x10
	orr	x8, x8, x9
	cbz	x8, LBB0_16
; %bb.15:
	mov	w2, #0
	b	LBB0_18
LBB0_16:
	ldr	w21, [sp, #8]
	ldr	w22, [x19]
	add	x0, sp, #8
	add	x1, sp, #24
	add	x3, sp, #20
	mov	w2, #128
	bl	_ff_amf_read_string
	tbnz	w0, #31, LBB0_1
; %bb.17:
	sub	w2, w21, w22
LBB0_18:
	mov	x0, x20
	mov	x1, x19
	bl	_append_flv_data
LBB0_19:
	ldur	x8, [x29, #-72]
Lloh12:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh13:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_21
; %bb.20:
	ldp	x29, x30, [sp, #288]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #272]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #256]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #240]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #224]            ; 16-byte Folded Reload
	add	sp, sp, #304
	ret
LBB0_21:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"onMetaData"

	.comm	_AMF_DATA_TYPE_MIXEDARRAY,8,3   ; @AMF_DATA_TYPE_MIXEDARRAY
l_.str.1:                               ; @.str.1
	.asciz	"videocodecid"

l_.str.2:                               ; @.str.2
	.asciz	"audiocodecid"

	.comm	_AMF_END_OF_OBJECT,8,3          ; @AMF_END_OF_OBJECT
l_.str.3:                               ; @.str.3
	.asciz	"@setDataFrame"

	.no_dead_strip	_handle_notify
.subsections_via_symbols
