	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vorbis_synthesis_headerin      ## -- Begin function vorbis_synthesis_headerin
	.p2align	4, 0x90
_vorbis_synthesis_headerin:             ## @vorbis_synthesis_headerin
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rdx, %rdx
	je	LBB0_14
## %bb.1:
	movq	%rdx, %rbx
	movq	%rsi, %r15
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movl	4(%rdx), %edx
	movl	8(%rbx), %esi
	leaq	-44(%rbp), %r13
	movq	%r13, %rdi
	callq	_oggpack_readinit
	movq	%r13, %rdi
	movl	$8, %esi
	callq	_oggpack_read
	movl	%eax, %r12d
	leaq	-62(%rbp), %r14
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$6, %edx
	callq	_memset
	movq	%r13, %rdi
	movq	%r14, %rsi
	movl	$6, %edx
	callq	__v_readstring
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movl	$6, %edx
	callq	_memcmp
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	_OV_ENOTVORBIS@GOTPCREL(%rip), %rax
	jmp	LBB0_15
LBB0_3:
	cmpl	$5, %r12d
	je	LBB0_11
## %bb.4:
	cmpl	$3, %r12d
	je	LBB0_9
## %bb.5:
	cmpl	$1, %r12d
	jne	LBB0_14
## %bb.6:
	cmpl	$0, (%rbx)
	je	LBB0_14
## %bb.7:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	cmpl	$0, (%rdi)
	jne	LBB0_14
## %bb.8:
	leaq	-44(%rbp), %rsi
	callq	__vorbis_unpack_info
	jmp	LBB0_16
LBB0_11:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	cmpl	$0, (%rdi)
	je	LBB0_14
## %bb.12:
	cmpq	$0, (%r15)
	je	LBB0_14
## %bb.13:
	leaq	-44(%rbp), %rsi
	callq	__vorbis_unpack_books
	jmp	LBB0_16
LBB0_9:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	cmpl	$0, (%rax)
	je	LBB0_14
## %bb.10:
	leaq	-44(%rbp), %rsi
	movq	%r15, %rdi
	callq	__vorbis_unpack_comment
	jmp	LBB0_16
LBB0_14:
	movq	_OV_EBADHEADER@GOTPCREL(%rip), %rax
LBB0_15:
	movl	(%rax), %eax
LBB0_16:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"vorbis"

	.comm	_OV_ENOTVORBIS,4,2              ## @OV_ENOTVORBIS
	.comm	_OV_EBADHEADER,4,2              ## @OV_EBADHEADER
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vorbis_synthesis_headerin      ; -- Begin function vorbis_synthesis_headerin
	.p2align	2
_vorbis_synthesis_headerin:             ; @vorbis_synthesis_headerin
	.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
	cbz	x2, LBB0_14
; %bb.1:
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
	ldp	w2, w1, [x2, #4]
	add	x0, sp, #12
	bl	_oggpack_readinit
	add	x0, sp, #12
	mov	w1, #8
	bl	_oggpack_read
	mov	x22, x0
	add	x0, sp, #6
	mov	w1, #0
	mov	w2, #6
	bl	_memset
	add	x0, sp, #12
	add	x1, sp, #6
	mov	w2, #6
	bl	__v_readstring
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	add	x0, sp, #6
	mov	w2, #6
	bl	_memcmp
	cbz	x0, LBB0_3
; %bb.2:
Lloh2:
	adrp	x8, _OV_ENOTVORBIS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _OV_ENOTVORBIS@GOTPAGEOFF]
	b	LBB0_15
LBB0_3:
	cmp	w22, #5
	b.eq	LBB0_9
; %bb.4:
	cmp	w22, #3
	b.eq	LBB0_12
; %bb.5:
	cmp	w22, #1
	b.ne	LBB0_14
; %bb.6:
	ldr	w8, [x21]
	cbz	w8, LBB0_14
; %bb.7:
	ldr	w8, [x19]
	cbnz	w8, LBB0_14
; %bb.8:
	add	x1, sp, #12
	mov	x0, x19
	bl	__vorbis_unpack_info
	b	LBB0_16
LBB0_9:
	ldr	w8, [x19]
	cbz	w8, LBB0_14
; %bb.10:
	ldr	x8, [x20]
	cbz	x8, LBB0_14
; %bb.11:
	add	x1, sp, #12
	mov	x0, x19
	bl	__vorbis_unpack_books
	b	LBB0_16
LBB0_12:
	ldr	w8, [x19]
	cbz	w8, LBB0_14
; %bb.13:
	add	x1, sp, #12
	mov	x0, x20
	bl	__vorbis_unpack_comment
	b	LBB0_16
LBB0_14:
Lloh4:
	adrp	x8, _OV_EBADHEADER@GOTPAGE
Lloh5:
	ldr	x8, [x8, _OV_EBADHEADER@GOTPAGEOFF]
LBB0_15:
	ldr	w0, [x8]
LBB0_16:
	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 AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"vorbis"

	.comm	_OV_ENOTVORBIS,4,2              ; @OV_ENOTVORBIS
	.comm	_OV_EBADHEADER,4,2              ; @OV_EBADHEADER
.subsections_via_symbols
