	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_network_sleep_interruptible ## -- Begin function ff_network_sleep_interruptible
	.p2align	4, 0x90
_ff_network_sleep_interruptible:        ## @ff_network_sleep_interruptible
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	xorl	%eax, %eax
	callq	_av_gettime_relative
	movq	%rax, %r15
	movq	%rbx, %rdi
	callq	_ff_check_interrupt
	testq	%rax, %rax
	jne	LBB0_4
## %bb.1:
	movq	_POLLING_TIME@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%eax, %eax
	callq	_av_gettime_relative
	movq	%r15, %rdi
	subq	%rax, %rdi
	addq	%r14, %rdi
	testq	%rdi, %rdi
	jle	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	imull	$1000, (%r12), %esi             ## imm = 0x3E8
	callq	_FFMIN
	movl	%eax, %edi
	callq	_av_usleep
	movq	%rbx, %rdi
	callq	_ff_check_interrupt
	testq	%rax, %rax
	je	LBB0_2
LBB0_4:
	movq	_AVERROR_EXIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	_ETIMEDOUT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_AVERROR_EXIT,4,2               ## @AVERROR_EXIT
	.comm	_ETIMEDOUT,4,2                  ## @ETIMEDOUT
	.comm	_POLLING_TIME,4,2               ## @POLLING_TIME
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_network_sleep_interruptible ; -- Begin function ff_network_sleep_interruptible
	.p2align	2
_ff_network_sleep_interruptible:        ; @ff_network_sleep_interruptible
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x19, x1
	mov	x20, x0
	bl	_av_gettime_relative
	mov	x21, x0
	mov	x0, x19
	bl	_ff_check_interrupt
	cbnz	x0, LBB0_4
; %bb.1:
Lloh0:
	adrp	x22, _POLLING_TIME@GOTPAGE
Lloh1:
	ldr	x22, [x22, _POLLING_TIME@GOTPAGEOFF]
	mov	w23, #1000
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	bl	_av_gettime_relative
	sub	x8, x21, x0
	add	x0, x8, x20
	cmp	x0, #0
	b.le	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x22]
	mul	w1, w8, w23
	bl	_FFMIN
	bl	_av_usleep
	mov	x0, x19
	bl	_ff_check_interrupt
	cbz	x0, LBB0_2
LBB0_4:
Lloh2:
	adrp	x8, _AVERROR_EXIT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _AVERROR_EXIT@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_5:
Lloh5:
	adrp	x8, _ETIMEDOUT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ETIMEDOUT@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_AVERROR
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_AVERROR_EXIT,4,2               ; @AVERROR_EXIT
	.comm	_ETIMEDOUT,4,2                  ; @ETIMEDOUT
	.comm	_POLLING_TIME,4,2               ; @POLLING_TIME
.subsections_via_symbols
