	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function icecast_write
_icecast_write:                         ## @icecast_write
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rsi, %r15
	movq	(%rdi), %rbx
	cmpl	$0, (%rbx)
	jne	LBB0_11
## %bb.1:
	movl	$1, (%rbx)
	cmpl	$8, %r14d
	jl	LBB0_11
## %bb.2:
	cmpl	$0, 8(%rbx)
	jne	LBB0_11
## %bb.3:
	movq	%rdi, %r12
	leaq	_icecast_write.oggs(%rip), %rsi
	movq	%r15, %rdi
	movl	$16, %edx
	callq	_memcmp
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	leaq	_icecast_write.opus(%rip), %rsi
	movq	%r15, %rdi
	movl	$32, %edx
	callq	_memcmp
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	leaq	_icecast_write.webm(%rip), %rsi
	movq	%r15, %rdi
	movl	$16, %edx
	callq	_memcmp
	movq	_AV_LOG_WARNING@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	testq	%rax, %rax
	je	LBB0_8
## %bb.9:
	leaq	L_.str.6(%rip), %rdx
	movq	%r12, %rdi
	callq	_av_log
	leaq	L_.str.7(%rip), %rdx
	jmp	LBB0_10
LBB0_4:
	movq	_AV_LOG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%r12, %rdi
	callq	_av_log
	leaq	L_.str.1(%rip), %rdx
	jmp	LBB0_10
LBB0_6:
	movq	_AV_LOG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.2(%rip), %rdx
	movq	%r12, %rdi
	callq	_av_log
	leaq	L_.str.3(%rip), %rdx
	jmp	LBB0_10
LBB0_8:
	leaq	L_.str.4(%rip), %rdx
	movq	%r12, %rdi
	callq	_av_log
	leaq	L_.str.5(%rip), %rdx
LBB0_10:
	movq	_AV_LOG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_av_log
LBB0_11:
	movl	4(%rbx), %edi
	movq	%r15, %rsi
	movl	%r14d, %edx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ffurl_write                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @icecast_write.oggs
_icecast_write.oggs:
	.long	79                              ## 0x4f
	.long	103                             ## 0x67
	.long	103                             ## 0x67
	.long	83                              ## 0x53

	.p2align	4                               ## @icecast_write.webm
_icecast_write.webm:
	.long	26                              ## 0x1a
	.long	69                              ## 0x45
	.long	223                             ## 0xdf
	.long	163                             ## 0xa3

	.p2align	4                               ## @icecast_write.opus
_icecast_write.opus:
	.long	79                              ## 0x4f
	.long	112                             ## 0x70
	.long	117                             ## 0x75
	.long	115                             ## 0x73
	.long	72                              ## 0x48
	.long	101                             ## 0x65
	.long	97                              ## 0x61
	.long	100                             ## 0x64

	.comm	_AV_LOG_WARNING,4,2             ## @AV_LOG_WARNING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Streaming Ogg but appropriate content type NOT set!\n"

L_.str.1:                               ## @.str.1
	.asciz	"Set it with -content_type application/ogg\n"

L_.str.2:                               ## @.str.2
	.asciz	"Streaming Opus but appropriate content type NOT set!\n"

L_.str.3:                               ## @.str.3
	.asciz	"Set it with -content_type audio/ogg\n"

L_.str.4:                               ## @.str.4
	.asciz	"Streaming WebM but appropriate content type NOT set!\n"

L_.str.5:                               ## @.str.5
	.asciz	"Set it with -content_type video/webm\n"

L_.str.6:                               ## @.str.6
	.asciz	"It seems you are streaming an unsupported format.\n"

L_.str.7:                               ## @.str.7
	.asciz	"It might work, but is not officially supported in Icecast!\n"

	.no_dead_strip	_icecast_write
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function icecast_write
_icecast_write:                         ; @icecast_write
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x2
	mov	x20, x1
	ldr	x22, [x0]
	ldr	w8, [x22]
	cbnz	w8, LBB0_11
; %bb.1:
	mov	w8, #1
	str	w8, [x22]
	cmp	w19, #8
	b.lt	LBB0_11
; %bb.2:
	ldr	w8, [x22, #8]
	cbnz	w8, LBB0_11
; %bb.3:
	mov	x21, x0
Lloh0:
	adrp	x1, _icecast_write.oggs@PAGE
Lloh1:
	add	x1, x1, _icecast_write.oggs@PAGEOFF
	mov	x0, x20
	mov	w2, #16
	bl	_memcmp
Lloh2:
	adrp	x23, _AV_LOG_WARNING@GOTPAGE
Lloh3:
	ldr	x23, [x23, _AV_LOG_WARNING@GOTPAGEOFF]
	cbz	x0, LBB0_7
; %bb.4:
Lloh4:
	adrp	x1, _icecast_write.opus@PAGE
Lloh5:
	add	x1, x1, _icecast_write.opus@PAGEOFF
	mov	x0, x20
	mov	w2, #32
	bl	_memcmp
	cbz	x0, LBB0_8
; %bb.5:
Lloh6:
	adrp	x1, _icecast_write.webm@PAGE
Lloh7:
	add	x1, x1, _icecast_write.webm@PAGEOFF
	mov	x0, x20
	mov	w2, #16
	bl	_memcmp
	ldr	w1, [x23]
	cbz	x0, LBB0_9
; %bb.6:
Lloh8:
	adrp	x2, l_.str.6@PAGE
Lloh9:
	add	x2, x2, l_.str.6@PAGEOFF
	mov	x0, x21
	bl	_av_log
Lloh10:
	adrp	x2, l_.str.7@PAGE
Lloh11:
	add	x2, x2, l_.str.7@PAGEOFF
	b	LBB0_10
LBB0_7:
	ldr	w1, [x23]
Lloh12:
	adrp	x2, l_.str@PAGE
Lloh13:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x21
	bl	_av_log
Lloh14:
	adrp	x2, l_.str.1@PAGE
Lloh15:
	add	x2, x2, l_.str.1@PAGEOFF
	b	LBB0_10
LBB0_8:
	ldr	w1, [x23]
Lloh16:
	adrp	x2, l_.str.2@PAGE
Lloh17:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x21
	bl	_av_log
Lloh18:
	adrp	x2, l_.str.3@PAGE
Lloh19:
	add	x2, x2, l_.str.3@PAGEOFF
	b	LBB0_10
LBB0_9:
Lloh20:
	adrp	x2, l_.str.4@PAGE
Lloh21:
	add	x2, x2, l_.str.4@PAGEOFF
	mov	x0, x21
	bl	_av_log
Lloh22:
	adrp	x2, l_.str.5@PAGE
Lloh23:
	add	x2, x2, l_.str.5@PAGEOFF
LBB0_10:
	ldr	w1, [x23]
	mov	x0, x21
	bl	_av_log
LBB0_11:
	ldr	w0, [x22, #4]
	mov	x1, x20
	mov	x2, x19
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_ffurl_write
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @icecast_write.oggs
_icecast_write.oggs:
	.long	79                              ; 0x4f
	.long	103                             ; 0x67
	.long	103                             ; 0x67
	.long	83                              ; 0x53

	.p2align	2                               ; @icecast_write.webm
_icecast_write.webm:
	.long	26                              ; 0x1a
	.long	69                              ; 0x45
	.long	223                             ; 0xdf
	.long	163                             ; 0xa3

	.p2align	2                               ; @icecast_write.opus
_icecast_write.opus:
	.long	79                              ; 0x4f
	.long	112                             ; 0x70
	.long	117                             ; 0x75
	.long	115                             ; 0x73
	.long	72                              ; 0x48
	.long	101                             ; 0x65
	.long	97                              ; 0x61
	.long	100                             ; 0x64

	.comm	_AV_LOG_WARNING,4,2             ; @AV_LOG_WARNING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Streaming Ogg but appropriate content type NOT set!\n"

l_.str.1:                               ; @.str.1
	.asciz	"Set it with -content_type application/ogg\n"

l_.str.2:                               ; @.str.2
	.asciz	"Streaming Opus but appropriate content type NOT set!\n"

l_.str.3:                               ; @.str.3
	.asciz	"Set it with -content_type audio/ogg\n"

l_.str.4:                               ; @.str.4
	.asciz	"Streaming WebM but appropriate content type NOT set!\n"

l_.str.5:                               ; @.str.5
	.asciz	"Set it with -content_type video/webm\n"

l_.str.6:                               ; @.str.6
	.asciz	"It seems you are streaming an unsupported format.\n"

l_.str.7:                               ; @.str.7
	.asciz	"It might work, but is not officially supported in Icecast!\n"

	.no_dead_strip	_icecast_write
.subsections_via_symbols
