	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_encvorbisWork                  ## -- Begin function encvorbisWork
	.p2align	4, 0x90
_encvorbisWork:                         ## @encvorbisWork
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rdi, %rbx
	movq	(%rdi), %r12
	movq	(%rsi), %r15
	movq	$0, (%rsi)
	leaq	-36(%rbp), %rdi
	callq	_hb_buffer_list_clear
	movq	_HB_BUF_FLAG_EOF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r15)
	je	LBB0_2
## %bb.1:
	movq	_HB_WORK_DONE@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_2:
	movl	(%r12), %edi
	movq	%r15, %rsi
	callq	_hb_list_add
	movq	%rbx, %rdi
	callq	_Encode
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	leaq	-36(%rbp), %r15
	.p2align	4, 0x90
LBB0_4:                                 ## =>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_4
LBB0_5:
	leaq	-36(%rbp), %rdi
	callq	_hb_buffer_list_clear
	movq	%rax, %r15
	movq	_HB_WORK_OK@GOTPCREL(%rip), %rax
LBB0_6:
	movq	%r15, (%r14)
	movl	(%rax), %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	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	_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	_encvorbisWork                  ; -- Begin function encvorbisWork
	.p2align	2
_encvorbisWork:                         ; @encvorbisWork
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x2
	mov	x20, x0
	ldr	x22, [x0]
	ldr	x21, [x1]
	str	xzr, [x1]
	add	x0, sp, #12
	bl	_hb_buffer_list_clear
	ldr	w8, [x21]
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:
Lloh3:
	adrp	x8, _HB_WORK_DONE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HB_WORK_DONE@GOTPAGEOFF]
	b	LBB0_6
LBB0_2:
	ldr	w0, [x22]
	mov	x1, x21
	bl	_hb_list_add
	mov	x0, x20
	bl	_Encode
	cbz	x0, LBB0_5
; %bb.3:
	mov	x1, x0
LBB0_4:                                 ; =>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_4
LBB0_5:
	add	x0, sp, #12
	bl	_hb_buffer_list_clear
	mov	x21, x0
Lloh5:
	adrp	x8, _HB_WORK_OK@GOTPAGE
Lloh6:
	ldr	x8, [x8, _HB_WORK_OK@GOTPAGEOFF]
LBB0_6:
	str	x21, [x19]
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.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	_HB_WORK_OK,4,2                 ; @HB_WORK_OK
.subsections_via_symbols
