	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function hb_stream_close
LCPI0_0:
	.quad	0x4059000000000000              ## double 100
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_hb_stream_close
	.p2align	4, 0x90
_hb_stream_close:                       ## @hb_stream_close
	.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	(%rdi), %rbx
	testq	%rbx, %rbx
	je	LBB0_6
## %bb.1:
	movq	%rdi, %r14
	movq	(%rbx), %rax
	movq	_ffmpeg@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.2:
	movq	%rbx, %rdi
	callq	_ffmpeg_close
	jmp	LBB0_5
LBB0_3:
	movq	8(%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_5
## %bb.4:
	movq	16(%rbx), %rdx
	cvtsi2sd	%rdx, %xmm0
	mulsd	LCPI0_0(%rip), %xmm0
	cvtsi2sd	%rsi, %xmm1
	divsd	%xmm1, %xmm0
	leaq	L_.str(%rip), %rdi
	callq	_hb_log
LBB0_5:
	movq	%rbx, %rdi
	callq	_hb_stream_delete
	movq	$0, (%r14)
LBB0_6:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ffmpeg,8,3                     ## @ffmpeg
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"stream: %d good frames, %d errors (%.0f%%)"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hb_stream_close                ; -- Begin function hb_stream_close
	.p2align	2
_hb_stream_close:                       ; @hb_stream_close
	.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	x20, [x0]
	cbz	x20, LBB0_6
; %bb.1:
	mov	x19, x0
	ldr	x8, [x20]
Lloh0:
	adrp	x9, _ffmpeg@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ffmpeg@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.2:
	mov	x0, x20
	bl	_ffmpeg_close
	b	LBB0_5
LBB0_3:
	ldr	x1, [x20, #8]
	cbz	x1, LBB0_5
; %bb.4:
	ldr	x2, [x20, #16]
	scvtf	d0, x2
	mov	x8, #4636737291354636288
	fmov	d1, x8
	fmul	d0, d0, d1
	scvtf	d1, x1
	fdiv	d0, d0, d1
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_hb_log
LBB0_5:
	mov	x0, x20
	bl	_hb_stream_delete
	str	xzr, [x19]
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_ffmpeg,8,3                     ; @ffmpeg
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"stream: %d good frames, %d errors (%.0f%%)"

.subsections_via_symbols
