	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function write_time
_write_time:                            ## @write_time
	.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
	movl	%esi, %eax
	movq	%rdi, %r15
	movq	_AV_TIME_BASE@GOTPCREL(%rip), %rcx
	cltd
	idivl	(%rcx)
	movl	%edx, %r14d
	movslq	%eax, %rbx
	imulq	$-2004318071, %rbx, %rax        ## imm = 0x88888889
	shrq	$32, %rax
	addl	%ebx, %eax
	movl	%eax, %ecx
	shrl	$31, %ecx
	sarl	$5, %eax
	addl	%ecx, %eax
	imull	$60, %eax, %ecx
	movl	%ebx, %r12d
	subl	%ecx, %r12d
	movslq	%eax, %r13
	imulq	$-2004318071, %r13, %rax        ## imm = 0x88888889
	shrq	$32, %rax
	addl	%r13d, %eax
	movl	%eax, %ecx
	shrl	$31, %ecx
	sarl	$5, %eax
	addl	%ecx, %eax
	imull	$60, %eax, %eax
	subl	%eax, %r13d
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_avio_printf
	leal	-3600(%rbx), %eax
	cmpl	$-7200, %eax                    ## imm = 0xE3E0
	ja	LBB0_2
## %bb.1:
	imulq	$-1851608123, %rbx, %rax        ## imm = 0x91A2B3C5
	shrq	$32, %rax
	addl	%eax, %ebx
	movl	%ebx, %eax
	shrl	$31, %eax
	sarl	$11, %ebx
	addl	%eax, %ebx
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_avio_printf
	jmp	LBB0_3
LBB0_2:
	testl	%r13d, %r13d
	je	LBB0_4
LBB0_3:
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdi
	movl	%r13d, %edx
	xorl	%eax, %eax
	callq	_avio_printf
LBB0_4:
	movq	_AV_TIME_BASE@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	imulq	$1717986919, %rax, %rcx         ## imm = 0x66666667
	movq	%rcx, %rax
	shrq	$63, %rax
	sarq	$34, %rcx
	addl	%eax, %ecx
	movl	%r14d, %eax
	cltd
	idivl	%ecx
	leaq	L_.str.3(%rip), %rsi
	movq	%r15, %rdi
	movl	%r12d, %edx
	movl	%eax, %ecx
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_avio_printf                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_TIME_BASE,4,2               ## @AV_TIME_BASE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"PT"

L_.str.1:                               ## @.str.1
	.asciz	"%dH"

L_.str.2:                               ## @.str.2
	.asciz	"%dM"

L_.str.3:                               ## @.str.3
	.asciz	"%d.%dS"

	.no_dead_strip	_write_time
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function write_time
_write_time:                            ; @write_time
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x21, _AV_TIME_BASE@GOTPAGE
Lloh1:
	ldr	x21, [x21, _AV_TIME_BASE@GOTPAGEOFF]
	ldr	w22, [x21]
	sdiv	w23, w1, w22
	mov	w8, #34953
	movk	w8, #34952, lsl #16
	smull	x9, w23, w8
	lsr	x9, x9, #32
	add	w9, w9, w23
	asr	w10, w9, #5
	add	w24, w10, w9, lsr #31
	smull	x8, w24, w8
	lsr	x8, x8, #32
	add	w8, w8, w24
	asr	w9, w8, #5
	add	w8, w9, w8, lsr #31
	mov	w9, #60
	msub	w25, w8, w9, w24
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_avio_printf
	sub	w8, w23, #3600
	mov	w9, #-7200
	cmp	w8, w9
	b.hi	LBB0_2
; %bb.1:
	mov	w8, #46021
	movk	w8, #37282, lsl #16
	smull	x8, w23, w8
	lsr	x8, x8, #32
	add	w8, w8, w23
	asr	w9, w8, #11
	add	w8, w9, w8, lsr #31
	str	x8, [sp]
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_avio_printf
	b	LBB0_3
LBB0_2:
	cbz	w25, LBB0_4
LBB0_3:
	str	x25, [sp]
Lloh6:
	adrp	x1, l_.str.2@PAGE
Lloh7:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_avio_printf
LBB0_4:
	mov	w8, #60
	msub	w8, w24, w8, w23
	msub	w9, w23, w22, w20
	ldrsw	x10, [x21]
	mov	w11, #26215
	movk	w11, #26214, lsl #16
	mul	x10, x10, x11
	lsr	x11, x10, #63
	asr	x10, x10, #34
	add	w10, w10, w11
	sdiv	w9, w9, w10
	stp	x8, x9, [sp]
Lloh8:
	adrp	x1, l_.str.3@PAGE
Lloh9:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_avio_printf
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_TIME_BASE,4,2               ; @AV_TIME_BASE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"PT"

l_.str.1:                               ; @.str.1
	.asciz	"%dH"

l_.str.2:                               ; @.str.2
	.asciz	"%dM"

l_.str.3:                               ; @.str.3
	.asciz	"%d.%dS"

	.no_dead_strip	_write_time
.subsections_via_symbols
