	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtp_read
_rtp_read:                              ## @rtp_read
	.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	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, -104(%rbp)                ## 4-byte Spill
	movq	%rsi, -128(%rbp)                ## 8-byte Spill
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	8(%rdi), %rcx
	movl	24(%rcx), %eax
	movl	%eax, -96(%rbp)
	movq	_POLLIN@GOTPCREL(%rip), %rbx
	movl	(%rbx), %eax
	movl	%eax, -92(%rbp)
	movq	$0, -88(%rbp)
	movl	$0, -80(%rbp)
	movq	%rcx, -120(%rbp)                ## 8-byte Spill
	movl	20(%rcx), %ecx
	movl	%ecx, -76(%rbp)
	movl	%eax, -72(%rbp)
	movq	$0, -68(%rbp)
	movl	$0, -60(%rbp)
	movq	_AVIO_FLAG_NONBLOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%ecx, %ecx
	andl	(%rdi), %eax
	movl	$100, %r14d
	cmovnel	%ecx, %r14d
	addq	$4, %rdi
	movq	%rdi, -152(%rbp)                ## 8-byte Spill
	callq	_ff_check_interrupt
	testq	%rax, %rax
	je	LBB0_1
LBB0_20:
	movq	_AVERROR_EXIT@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
LBB0_21:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_23
## %bb.22:
	movl	%r15d, %eax
	addq	$120, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	-120(%rbp), %rcx                ## 8-byte Reload
	leaq	16(%rcx), %rax
	movq	%rax, -136(%rbp)                ## 8-byte Spill
	leaq	12(%rcx), %r13
	leaq	4(%rcx), %rax
	movq	%rax, -144(%rbp)                ## 8-byte Spill
	leaq	8(%rcx), %rax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	movl	%r14d, -100(%rbp)               ## 4-byte Spill
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	leaq	-96(%rbp), %rdi
	movl	$2, %esi
	movl	%r14d, %edx
	callq	_poll
	testl	%eax, %eax
	jle	LBB0_17
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rbx), %eax
	testl	%eax, -72(%rbp)
	je	LBB0_9
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-144(%rbp), %r9                 ## 8-byte Reload
	movl	$4, (%r9)
	movl	-68(%rbp), %edi
	movq	-128(%rbp), %rsi                ## 8-byte Reload
	movl	-104(%rbp), %edx                ## 4-byte Reload
	xorl	%ecx, %ecx
	movq	%r13, %r8
	callq	_recvfrom
	testl	%eax, %eax
	js	LBB0_5
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%eax, %r15d
	movq	%r13, %rdi
	movq	-112(%rbp), %rsi                ## 8-byte Reload
	callq	_ff_ip_check_source_lists
	testq	%rax, %rax
	jne	LBB0_9
	jmp	LBB0_21
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_2 Depth=1
	jns	LBB0_12
## %bb.18:                              ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	callq	_ff_neterrno
	movq	%rax, %rbx
	movq	_EINTR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_AVERROR
	cltq
	cmpq	%rax, %rbx
	movq	_POLLIN@GOTPCREL(%rip), %rbx
	je	LBB0_19
	jmp	LBB0_7
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	callq	_ff_neterrno
	movq	%rax, %rbx
	movq	_EAGAIN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_AVERROR
	cltq
	cmpq	%rax, %rbx
	movq	_POLLIN@GOTPCREL(%rip), %rbx
	je	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	callq	_ff_neterrno
	movq	%rax, %rbx
	movq	_EINTR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_AVERROR
	cltq
	cmpq	%rax, %rbx
	movq	_POLLIN@GOTPCREL(%rip), %rbx
	jne	LBB0_7
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rbx), %eax
	testl	%eax, -92(%rbp)
	je	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %r14
	movq	%r12, %r13
	movq	-120(%rbp), %r9                 ## 8-byte Reload
	movl	$4, (%r9)
	movl	-88(%rbp), %edi
	movq	-128(%rbp), %rsi                ## 8-byte Reload
	movl	-104(%rbp), %edx                ## 4-byte Reload
	xorl	%ecx, %ecx
	movq	-136(%rbp), %r12                ## 8-byte Reload
	movq	%r12, %r8
	callq	_recvfrom
	testl	%eax, %eax
	js	LBB0_15
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	%eax, %r15d
	movq	%r12, %rdi
	movq	-112(%rbp), %rsi                ## 8-byte Reload
	callq	_ff_ip_check_source_lists
	testq	%rax, %rax
	movq	%r13, %r12
	movq	%r14, %r13
	movl	-100(%rbp), %r14d               ## 4-byte Reload
	jne	LBB0_12
	jmp	LBB0_21
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	callq	_ff_neterrno
	movq	%rax, %rbx
	movq	_EAGAIN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_AVERROR
	cltq
	cmpq	%rax, %rbx
	movq	_POLLIN@GOTPCREL(%rip), %rbx
	movq	%r13, %r12
	movq	%r14, %r13
	movl	-100(%rbp), %r14d               ## 4-byte Reload
	je	LBB0_12
## %bb.16:                              ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	callq	_ff_neterrno
	movq	%rax, %rbx
	movq	_EINTR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_AVERROR
	cltq
	cmpq	%rax, %rbx
	movq	_POLLIN@GOTPCREL(%rip), %rbx
	jne	LBB0_7
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_AVIO_FLAG_NONBLOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r12)
	jne	LBB0_13
LBB0_19:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-152(%rbp), %rdi                ## 8-byte Reload
	callq	_ff_check_interrupt
	testq	%rax, %rax
	je	LBB0_2
	jmp	LBB0_20
LBB0_13:
	movq	_EAGAIN@GOTPCREL(%rip), %rax
	jmp	LBB0_14
LBB0_7:
	movq	_EIO@GOTPCREL(%rip), %rax
LBB0_14:
	movl	(%rax), %edi
	callq	_AVERROR
	movl	%eax, %r15d
	jmp	LBB0_21
LBB0_23:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_POLLIN,4,2                     ## @POLLIN
	.comm	_AVIO_FLAG_NONBLOCK,4,2         ## @AVIO_FLAG_NONBLOCK
	.comm	_AVERROR_EXIT,4,2               ## @AVERROR_EXIT
	.comm	_EAGAIN,4,2                     ## @EAGAIN
	.comm	_EINTR,4,2                      ## @EINTR
	.comm	_EIO,4,2                        ## @EIO
	.no_dead_strip	_rtp_read
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rtp_read
_rtp_read:                              ; @rtp_read
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x28, x27, [sp, #80]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	str	w2, [sp, #28]                   ; 4-byte Folded Spill
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #72]
	ldr	x22, [x0, #8]
Lloh3:
	adrp	x25, _POLLIN@GOTPAGE
Lloh4:
	ldr	x25, [x25, _POLLIN@GOTPAGEOFF]
	ldr	w8, [x25]
	ldp	w10, w9, [x22, #20]
	stp	w9, w8, [sp, #32]
	movi.2d	v0, #0000000000000000
	str	d0, [sp, #40]
	stp	wzr, w10, [sp, #48]
	str	w8, [sp, #56]
	stur	d0, [sp, #60]
	str	wzr, [sp, #68]
Lloh5:
	adrp	x9, _AVIO_FLAG_NONBLOCK@GOTPAGE
Lloh6:
	ldr	x9, [x9, _AVIO_FLAG_NONBLOCK@GOTPAGEOFF]
	ldr	w8, [x0]
Lloh7:
	ldr	w9, [x9]
	tst	w9, w8
	mov	w8, #100
	csel	w23, w8, wzr, eq
	add	x24, x0, #4
	mov	x0, x24
	bl	_ff_check_interrupt
	cbz	x0, LBB0_4
LBB0_1:
Lloh8:
	adrp	x8, _AVERROR_EXIT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _AVERROR_EXIT@GOTPAGEOFF]
Lloh10:
	ldr	w28, [x8]
LBB0_2:
	ldr	x8, [sp, #72]
Lloh11:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh12:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_23
; %bb.3:
	mov	x0, x28
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
LBB0_4:
	add	x9, x22, #16
	add	x19, x22, #12
	add	x27, x22, #4
	add	x8, x22, #8
	stp	x9, x8, [sp, #8]                ; 16-byte Folded Spill
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #32
	mov	w1, #2
	mov	x2, x23
	bl	_poll
	cmp	w0, #1
	b.lt	LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [sp, #56]
	ldr	w9, [x25]
	tst	w9, w8
	b.eq	LBB0_13
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	w8, #4
	str	w8, [x27]
	ldr	w0, [sp, #60]
	mov	x1, x20
	ldr	w2, [sp, #28]                   ; 4-byte Folded Reload
	mov	w3, #0
	mov	x4, x19
	mov	x5, x27
	bl	_recvfrom
	tbnz	w0, #31, LBB0_11
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x28, x0
	mov	x0, x19
	ldr	x1, [sp, #16]                   ; 8-byte Folded Reload
	bl	_ff_ip_check_source_lists
	cbnz	x0, LBB0_13
	b	LBB0_2
LBB0_9:                                 ;   in Loop: Header=BB0_5 Depth=1
	tbz	w0, #31, LBB0_18
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
	bl	_ff_neterrno
	mov	x28, x0
Lloh14:
	adrp	x8, _EINTR@GOTPAGE
Lloh15:
	ldr	x8, [x8, _EINTR@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	bl	_AVERROR
	cmp	x28, w0, sxtw
	b.eq	LBB0_19
	b	LBB0_21
LBB0_11:                                ;   in Loop: Header=BB0_5 Depth=1
	bl	_ff_neterrno
	mov	x28, x0
Lloh17:
	adrp	x8, _EAGAIN@GOTPAGE
Lloh18:
	ldr	x8, [x8, _EAGAIN@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	bl	_AVERROR
	cmp	x28, w0, sxtw
	b.eq	LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_5 Depth=1
	bl	_ff_neterrno
	mov	x28, x0
Lloh20:
	adrp	x8, _EINTR@GOTPAGE
Lloh21:
	ldr	x8, [x8, _EINTR@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
	bl	_AVERROR
	cmp	x28, w0, sxtw
	b.ne	LBB0_21
LBB0_13:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [sp, #36]
	ldr	w9, [x25]
	tst	w9, w8
	b.eq	LBB0_18
; %bb.14:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x26, x25
	mov	w8, #4
	str	w8, [x22]
	ldr	w0, [sp, #40]
	mov	x1, x20
	ldr	w2, [sp, #28]                   ; 4-byte Folded Reload
	mov	w3, #0
	ldr	x25, [sp, #8]                   ; 8-byte Folded Reload
	mov	x4, x25
	mov	x5, x22
	bl	_recvfrom
	tbnz	w0, #31, LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x28, x0
	mov	x0, x25
	ldr	x1, [sp, #16]                   ; 8-byte Folded Reload
	bl	_ff_ip_check_source_lists
	mov	x25, x26
	cbnz	x0, LBB0_18
	b	LBB0_2
LBB0_16:                                ;   in Loop: Header=BB0_5 Depth=1
	bl	_ff_neterrno
	mov	x28, x0
Lloh23:
	adrp	x8, _EAGAIN@GOTPAGE
Lloh24:
	ldr	x8, [x8, _EAGAIN@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
	bl	_AVERROR
	cmp	x28, w0, sxtw
	mov	x25, x26
	b.eq	LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_5 Depth=1
	bl	_ff_neterrno
	mov	x28, x0
Lloh26:
	adrp	x8, _EINTR@GOTPAGE
Lloh27:
	ldr	x8, [x8, _EINTR@GOTPAGEOFF]
Lloh28:
	ldr	w0, [x8]
	bl	_AVERROR
	cmp	x28, w0, sxtw
	b.ne	LBB0_21
LBB0_18:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x21]
Lloh29:
	adrp	x9, _AVIO_FLAG_NONBLOCK@GOTPAGE
Lloh30:
	ldr	x9, [x9, _AVIO_FLAG_NONBLOCK@GOTPAGEOFF]
Lloh31:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_20
LBB0_19:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x24
	bl	_ff_check_interrupt
	cbz	x0, LBB0_5
	b	LBB0_1
LBB0_20:
Lloh32:
	adrp	x8, _EAGAIN@GOTPAGE
Lloh33:
	ldr	x8, [x8, _EAGAIN@GOTPAGEOFF]
	b	LBB0_22
LBB0_21:
Lloh34:
	adrp	x8, _EIO@GOTPAGE
Lloh35:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
LBB0_22:
	ldr	w0, [x8]
	bl	_AVERROR
	mov	x28, x0
	b	LBB0_2
LBB0_23:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh34, Lloh35
	.cfi_endproc
                                        ; -- End function
	.comm	_POLLIN,4,2                     ; @POLLIN
	.comm	_AVIO_FLAG_NONBLOCK,4,2         ; @AVIO_FLAG_NONBLOCK
	.comm	_AVERROR_EXIT,4,2               ; @AVERROR_EXIT
	.comm	_EAGAIN,4,2                     ; @EAGAIN
	.comm	_EINTR,4,2                      ; @EINTR
	.comm	_EIO,4,2                        ; @EIO
	.no_dead_strip	_rtp_read
.subsections_via_symbols
