	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_encCoreAudioWork               ## -- Begin function encCoreAudioWork
	.p2align	4, 0x90
_encCoreAudioWork:                      ## @encCoreAudioWork
	.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	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	(%rdi), %r13
	movq	(%rsi), %r12
	leaq	-44(%rbp), %rdi
	callq	_hb_buffer_list_clear
	movq	_HB_BUF_FLAG_EOF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r12)
	je	LBB0_2
## %bb.1:
	movl	$1, (%r13)
	leaq	-44(%rbp), %r15
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_Flush
	xorl	%eax, %eax
	callq	_hb_buffer_eof_init
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_hb_buffer_list_append
	movq	_HB_WORK_DONE@GOTPCREL(%rip), %r12
	jmp	LBB0_7
LBB0_2:
	movq	8(%r13), %rax
	movq	_AV_NOPTS_VALUE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.3:
	movq	8(%r12), %rax
	movq	%rax, 8(%r13)
LBB0_4:
	movl	16(%r13), %edi
	movq	%r12, %rsi
	callq	_hb_list_add
	movq	$0, (%r15)
	movq	%rbx, %rdi
	callq	_Encode
	movq	_HB_WORK_OK@GOTPCREL(%rip), %r12
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:
	leaq	-44(%rbp), %r15
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_hb_buffer_list_append
	movq	%rbx, %rdi
	callq	_Encode
	testq	%rax, %rax
	jne	LBB0_6
LBB0_7:
	leaq	-44(%rbp), %rdi
	callq	_hb_buffer_list_clear
	movq	%rax, (%r14)
	movl	(%r12), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HB_BUF_FLAG_EOF,4,2            ## @HB_BUF_FLAG_EOF
	.comm	_HB_WORK_DONE,4,2               ## @HB_WORK_DONE
	.comm	_AV_NOPTS_VALUE,8,3             ## @AV_NOPTS_VALUE
	.comm	_HB_WORK_OK,4,2                 ## @HB_WORK_OK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_encCoreAudioWork               ; -- Begin function encCoreAudioWork
	.p2align	2
_encCoreAudioWork:                      ; @encCoreAudioWork
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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, x2
	mov	x21, x1
	mov	x20, x0
	ldr	x23, [x0]
	ldr	x22, [x1]
	add	x0, sp, #12
	bl	_hb_buffer_list_clear
	ldr	w8, [x22]
Lloh0:
	adrp	x9, _HB_BUF_FLAG_EOF@GOTPAGE
Lloh1:
	ldr	x9, [x9, _HB_BUF_FLAG_EOF@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	mov	w8, #1
	str	w8, [x23]
	add	x1, sp, #12
	mov	x0, x20
	bl	_Flush
	bl	_hb_buffer_eof_init
	mov	x1, x0
	add	x0, sp, #12
	bl	_hb_buffer_list_append
Lloh3:
	adrp	x21, _HB_WORK_DONE@GOTPAGE
Lloh4:
	ldr	x21, [x21, _HB_WORK_DONE@GOTPAGEOFF]
	b	LBB0_8
LBB0_2:
	ldr	x8, [x23, #8]
Lloh5:
	adrp	x9, _AV_NOPTS_VALUE@GOTPAGE
Lloh6:
	ldr	x9, [x9, _AV_NOPTS_VALUE@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.3:
	ldr	x8, [x22, #8]
	str	x8, [x23, #8]
LBB0_4:
	ldr	w0, [x23, #16]
	mov	x1, x22
	bl	_hb_list_add
	str	xzr, [x21]
	mov	x0, x20
	bl	_Encode
	cbz	x0, LBB0_7
; %bb.5:
	mov	x1, x0
Lloh8:
	adrp	x21, _HB_WORK_OK@GOTPAGE
Lloh9:
	ldr	x21, [x21, _HB_WORK_OK@GOTPAGEOFF]
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #12
	bl	_hb_buffer_list_append
	mov	x0, x20
	bl	_Encode
	mov	x1, x0
	cbnz	x0, LBB0_6
	b	LBB0_8
LBB0_7:
Lloh10:
	adrp	x21, _HB_WORK_OK@GOTPAGE
Lloh11:
	ldr	x21, [x21, _HB_WORK_OK@GOTPAGEOFF]
LBB0_8:
	add	x0, sp, #12
	bl	_hb_buffer_list_clear
	str	x0, [x19]
	ldr	w0, [x21]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_HB_BUF_FLAG_EOF,4,2            ; @HB_BUF_FLAG_EOF
	.comm	_HB_WORK_DONE,4,2               ; @HB_WORK_DONE
	.comm	_AV_NOPTS_VALUE,8,3             ; @AV_NOPTS_VALUE
	.comm	_HB_WORK_OK,4,2                 ; @HB_WORK_OK
.subsections_via_symbols
