	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_rtmp_packet_dump            ## -- Begin function ff_rtmp_packet_dump
	.p2align	4, 0x90
_ff_rtmp_packet_dump:                   ## @ff_rtmp_packet_dump
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	_AV_LOG_DEBUG@GOTPCREL(%rip), %r12
	movl	(%r12), %r13d
	movq	(%rsi), %rdi
	callq	_rtmp_packet_type
	movq	(%r15), %r8
	movl	32(%r15), %r9d
	movl	28(%r15), %r10d
	movl	24(%r15), %r11d
	movl	8(%r15), %ebx
	subq	$8, %rsp
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rdi
	movl	%r13d, %esi
	movl	%eax, %ecx
	xorl	%eax, %eax
	pushq	%rbx
	pushq	%r11
	pushq	%r10
	callq	_av_log
	addq	$32, %rsp
	movq	(%r15), %rax
	movq	_RTMP_PT_INVOKE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_2
## %bb.1:
	movq	_RTMP_PT_NOTIFY@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_2
## %bb.6:
	movq	_RTMP_PT_WINDOW_ACK_SIZE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_9
## %bb.7:
	movl	(%r12), %ebx
	movq	16(%r15), %rdi
	callq	_AV_RB32
	leaq	L_.str.1(%rip), %rdx
	jmp	LBB0_8
LBB0_2:
	movq	16(%r15), %rbx
	movslq	8(%r15), %rax
	leaq	(%rbx,%rax,4), %r15
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%r15, %rbx
	jae	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	callq	_amf_tag_contents
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_ff_amf_tag_size
	movslq	%eax, %rcx
	leaq	(%rbx,%rcx,4), %rbx
	testl	%eax, %eax
	jns	LBB0_3
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movq	_RTMP_PT_SET_PEER_BW@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_11
## %bb.10:
	movl	(%r12), %ebx
	movq	16(%r15), %rdi
	callq	_AV_RB32
	leaq	L_.str.2(%rip), %rdx
LBB0_8:
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%eax, %ecx
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_av_log                         ## TAILCALL
LBB0_11:
	movq	_RTMP_PT_AUDIO@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_5
## %bb.12:
	movq	_RTMP_PT_VIDEO@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_5
## %bb.13:
	movq	_RTMP_PT_METADATA@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_5
## %bb.14:
	cmpl	$0, 8(%r15)
	jle	LBB0_17
## %bb.15:
	leaq	L_.str.3(%rip), %r13
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %esi
	movq	16(%r15), %rax
	movl	(%rax,%rbx,4), %ecx
	movq	%r14, %rdi
	movq	%r13, %rdx
	xorl	%eax, %eax
	callq	_av_log
	incq	%rbx
	movslq	8(%r15), %rax
	cmpq	%rax, %rbx
	jl	LBB0_16
LBB0_17:
	movl	(%r12), %esi
	leaq	L_.str.4(%rip), %rdx
	movq	%r14, %rdi
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_av_log                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_LOG_DEBUG,4,2               ## @AV_LOG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"RTMP packet type '%s'(%d) for channel %d, timestamp %d, extra field %d size %d\n"

	.comm	_RTMP_PT_INVOKE,8,3             ## @RTMP_PT_INVOKE
	.comm	_RTMP_PT_NOTIFY,8,3             ## @RTMP_PT_NOTIFY
	.comm	_RTMP_PT_WINDOW_ACK_SIZE,8,3    ## @RTMP_PT_WINDOW_ACK_SIZE
L_.str.1:                               ## @.str.1
	.asciz	"Window acknowledgement size = %d\n"

	.comm	_RTMP_PT_SET_PEER_BW,8,3        ## @RTMP_PT_SET_PEER_BW
L_.str.2:                               ## @.str.2
	.asciz	"Set Peer BW = %d\n"

	.comm	_RTMP_PT_AUDIO,8,3              ## @RTMP_PT_AUDIO
	.comm	_RTMP_PT_VIDEO,8,3              ## @RTMP_PT_VIDEO
	.comm	_RTMP_PT_METADATA,8,3           ## @RTMP_PT_METADATA
L_.str.3:                               ## @.str.3
	.asciz	" %02X"

L_.str.4:                               ## @.str.4
	.asciz	"\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_rtmp_packet_dump            ; -- Begin function ff_rtmp_packet_dump
	.p2align	2
_ff_rtmp_packet_dump:                   ; @ff_rtmp_packet_dump
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x22, _AV_LOG_DEBUG@GOTPAGE
Lloh1:
	ldr	x22, [x22, _AV_LOG_DEBUG@GOTPAGEOFF]
	ldr	w21, [x22]
	ldr	x0, [x1]
	bl	_rtmp_packet_type
                                        ; kill: def $w0 killed $w0 def $x0
	ldr	x8, [x20]
	ldp	w10, w9, [x20, #28]
	ldr	w11, [x20, #24]
	ldr	w12, [x20, #8]
	stp	x11, x12, [sp, #32]
	stp	x9, x10, [sp, #16]
	stp	x0, x8, [sp]
Lloh2:
	adrp	x2, l_.str@PAGE
Lloh3:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	mov	x1, x21
	bl	_av_log
	ldr	x8, [x20]
Lloh4:
	adrp	x9, _RTMP_PT_INVOKE@GOTPAGE
Lloh5:
	ldr	x9, [x9, _RTMP_PT_INVOKE@GOTPAGEOFF]
Lloh6:
	ldr	x9, [x9]
Lloh7:
	adrp	x10, _RTMP_PT_NOTIFY@GOTPAGE
Lloh8:
	ldr	x10, [x10, _RTMP_PT_NOTIFY@GOTPAGEOFF]
Lloh9:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_4
; %bb.1:
	ldr	x21, [x20, #16]
	ldrsw	x8, [x20, #8]
	add	x20, x21, x8, lsl #2
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	cmp	x21, x20
	b.hs	LBB0_9
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	bl	_amf_tag_contents
	mov	x0, x21
	mov	x1, x20
	bl	_ff_amf_tag_size
	add	x21, x21, w0, sxtw #2
	tbz	w0, #31, LBB0_2
	b	LBB0_9
LBB0_4:
Lloh10:
	adrp	x9, _RTMP_PT_WINDOW_ACK_SIZE@GOTPAGE
Lloh11:
	ldr	x9, [x9, _RTMP_PT_WINDOW_ACK_SIZE@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.5:
	ldr	w21, [x22]
	ldr	x0, [x20, #16]
	bl	_AV_RB32
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh13:
	adrp	x2, l_.str.1@PAGE
Lloh14:
	add	x2, x2, l_.str.1@PAGEOFF
	b	LBB0_8
LBB0_6:
Lloh15:
	adrp	x9, _RTMP_PT_SET_PEER_BW@GOTPAGE
Lloh16:
	ldr	x9, [x9, _RTMP_PT_SET_PEER_BW@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_10
; %bb.7:
	ldr	w21, [x22]
	ldr	x0, [x20, #16]
	bl	_AV_RB32
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh18:
	adrp	x2, l_.str.2@PAGE
Lloh19:
	add	x2, x2, l_.str.2@PAGEOFF
LBB0_8:
	mov	x0, x19
	mov	x1, x21
	bl	_av_log
LBB0_9:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_10:
Lloh20:
	adrp	x9, _RTMP_PT_AUDIO@GOTPAGE
Lloh21:
	ldr	x9, [x9, _RTMP_PT_AUDIO@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_9
; %bb.11:
Lloh23:
	adrp	x9, _RTMP_PT_VIDEO@GOTPAGE
Lloh24:
	ldr	x9, [x9, _RTMP_PT_VIDEO@GOTPAGEOFF]
Lloh25:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_9
; %bb.12:
Lloh26:
	adrp	x9, _RTMP_PT_METADATA@GOTPAGE
Lloh27:
	ldr	x9, [x9, _RTMP_PT_METADATA@GOTPAGEOFF]
Lloh28:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_9
; %bb.13:
	ldr	w8, [x20, #8]
	cmp	w8, #1
	b.lt	LBB0_16
; %bb.14:
	mov	x23, #0
Lloh29:
	adrp	x21, l_.str.3@PAGE
Lloh30:
	add	x21, x21, l_.str.3@PAGEOFF
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x22]
	ldr	x8, [x20, #16]
	ldr	w8, [x8, x23, lsl #2]
	str	x8, [sp]
	mov	x0, x19
	mov	x2, x21
	bl	_av_log
	add	x23, x23, #1
	ldrsw	x8, [x20, #8]
	cmp	x23, x8
	b.lt	LBB0_15
LBB0_16:
	ldr	w1, [x22]
Lloh31:
	adrp	x2, l_.str.4@PAGE
Lloh32:
	add	x2, x2, l_.str.4@PAGEOFF
	mov	x0, x19
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_av_log
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_LOG_DEBUG,4,2               ; @AV_LOG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"RTMP packet type '%s'(%d) for channel %d, timestamp %d, extra field %d size %d\n"

	.comm	_RTMP_PT_INVOKE,8,3             ; @RTMP_PT_INVOKE
	.comm	_RTMP_PT_NOTIFY,8,3             ; @RTMP_PT_NOTIFY
	.comm	_RTMP_PT_WINDOW_ACK_SIZE,8,3    ; @RTMP_PT_WINDOW_ACK_SIZE
l_.str.1:                               ; @.str.1
	.asciz	"Window acknowledgement size = %d\n"

	.comm	_RTMP_PT_SET_PEER_BW,8,3        ; @RTMP_PT_SET_PEER_BW
l_.str.2:                               ; @.str.2
	.asciz	"Set Peer BW = %d\n"

	.comm	_RTMP_PT_AUDIO,8,3              ; @RTMP_PT_AUDIO
	.comm	_RTMP_PT_VIDEO,8,3              ; @RTMP_PT_VIDEO
	.comm	_RTMP_PT_METADATA,8,3           ; @RTMP_PT_METADATA
l_.str.3:                               ; @.str.3
	.asciz	" %02X"

l_.str.4:                               ; @.str.4
	.asciz	"\n"

.subsections_via_symbols
