	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function audio_open
_audio_open:                            ## @audio_open
	.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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r13
	movl	%ecx, %r14d
	movl	%edx, %r12d
	movl	%esi, %ebx
	movq	%rdi, -104(%rbp)                ## 8-byte Spill
	leaq	_audio_open.next_sample_rates(%rip), %rdi
	callq	_FF_ARRAY_ELEMS
	movl	%eax, %r15d
	leaq	L_.str(%rip), %rdi
	callq	_SDL_getenv
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rax, %rdi
	callq	_atoi
	movl	%eax, %r12d
	movl	%eax, %edi
	callq	_av_get_default_channel_layout
	movl	%eax, %ebx
LBB0_2:
	testl	%ebx, %ebx
	je	LBB0_4
## %bb.3:
	movl	%ebx, %edi
	callq	_av_get_channel_layout_nb_channels
	cmpl	%eax, %r12d
	je	LBB0_5
LBB0_4:
	movl	%r12d, %edi
	callq	_av_get_default_channel_layout
	movq	_AV_CH_LAYOUT_STEREO_DOWNMIX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	notl	%ebx
	andl	%eax, %ebx
LBB0_5:
	movl	%ebx, %edi
	callq	_av_get_channel_layout_nb_channels
	movl	%eax, -88(%rbp)
	movl	%r14d, -84(%rbp)
	testl	%r14d, %r14d
	jle	LBB0_15
## %bb.6:
	testl	%eax, %eax
	jle	LBB0_15
## %bb.7:
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%r13, -96(%rbp)                 ## 8-byte Spill
	movslq	%r15d, %rcx
	leal	-1(%rcx), %eax
	leaq	_audio_open.next_sample_rates(%rip), %rdx
	leaq	(%rdx,%rcx,4), %rcx
	addq	$-4, %rcx
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movl	%eax, %r15d
	subl	$1, %eax
	jb	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	leaq	-4(%rcx), %rdx
	cmpl	%r14d, (%rcx)
	movq	%rdx, %rcx
	jge	LBB0_8
LBB0_10:
	movq	_AUDIO_S16SYS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -76(%rbp)
	movq	$0, -56(%rbp)
	movq	_SDL_AUDIO_MIN_BUFFER_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	_SDL_AUDIO_MAX_CALLBACKS_PER_SEC@GOTPCREL(%rip), %rcx
	movl	%r14d, %eax
	cltd
	idivl	(%rcx)
	movl	%eax, %edi
	callq	_av_log2
	movl	$2, %esi
	movl	%eax, %ecx
	shll	%cl, %esi
	movl	%r13d, %edi
	callq	_FFMAX
	movl	%eax, -60(%rbp)
	movq	_sdl_audio_callback@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -64(%rbp)
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movq	%rax, -72(%rbp)
	movq	_SDL_AUDIO_ALLOW_FREQUENCY_CHANGE@GOTPCREL(%rip), %r12
	movq	_SDL_AUDIO_ALLOW_CHANNELS_CHANGE@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	orl	(%r12), %r8d
	leaq	-88(%rbp), %rdx
	leaq	-144(%rbp), %rcx
	xorl	%edi, %edi
	xorl	%esi, %esi
	callq	_SDL_OpenAudioDevice
	movq	_audio_dev@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	testl	%eax, %eax
	movq	_AUDIO_S16SYS@GOTPCREL(%rip), %rax
	jne	LBB0_18
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_12 Depth=1
	callq	_av_get_default_channel_layout
	movl	%eax, %ebx
	movq	_SDL_AUDIO_ALLOW_CHANNELS_CHANGE@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	orl	(%r12), %r8d
	xorl	%edi, %edi
	xorl	%esi, %esi
	leaq	-88(%rbp), %rdx
	leaq	-144(%rbp), %rcx
	callq	_SDL_OpenAudioDevice
	movq	_audio_dev@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	testl	%eax, %eax
	jne	LBB0_17
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movq	_AV_LOG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	-88(%rbp), %r14d
	movl	-84(%rbp), %r13d
	xorl	%eax, %eax
	callq	_SDL_GetError
	xorl	%edi, %edi
	movl	%ebx, %esi
	leaq	L_.str.2(%rip), %rdx
	movl	%r14d, %ecx
	movl	%r13d, %r8d
	movl	%eax, %r9d
	xorl	%eax, %eax
	callq	_av_log
	movl	-88(%rbp), %esi
	movl	$7, %edi
	callq	_FFMIN
	leaq	_audio_open.next_nb_channels(%rip), %rcx
	movl	(%rcx,%rax,4), %edi
	movl	%edi, -88(%rbp)
	cmpq	$1, %rax
	ja	LBB0_11
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=1
	movslq	%r15d, %rax
	leaq	_audio_open.next_sample_rates(%rip), %rcx
	movl	(%rcx,%rax,4), %eax
	movl	%eax, -84(%rbp)
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movl	%edi, -88(%rbp)
	subl	$1, %r15d
	jae	LBB0_11
## %bb.14:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.3(%rip), %rdx
	jmp	LBB0_16
LBB0_15:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
LBB0_16:
	xorl	%edi, %edi
	xorl	%eax, %eax
	callq	_av_log
	jmp	LBB0_23
LBB0_17:
	movq	_AUDIO_S16SYS@GOTPCREL(%rip), %rax
LBB0_18:
	movl	-132(%rbp), %ecx
	cmpl	(%rax), %ecx
	jne	LBB0_21
## %bb.19:
	movl	-144(%rbp), %esi
	cmpl	-88(%rbp), %esi
	jne	LBB0_25
## %bb.20:
	movq	-96(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_27
LBB0_21:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.4(%rip), %rdx
LBB0_22:
	xorl	%edi, %edi
	xorl	%eax, %eax
	callq	_av_log
LBB0_23:
	movl	$-1, %eax
LBB0_24:
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_25:
	movl	%esi, %edi
	callq	_av_get_default_channel_layout
	testl	%eax, %eax
	movq	-96(%rbp), %r14                 ## 8-byte Reload
	je	LBB0_31
## %bb.26:
	movl	%eax, %ebx
	movl	-144(%rbp), %esi
LBB0_27:
	movq	_AV_SAMPLE_FMT_S16@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%ecx, 24(%r14)
	movl	-140(%rbp), %eax
	movl	%eax, (%r14)
	movl	%ebx, 28(%r14)
	movl	%esi, 4(%r14)
	xorl	%edi, %edi
	movl	$1, %edx
	movl	$1, %r8d
	callq	_av_samples_get_buffer_size
	movq	%rax, 8(%r14)
	movl	(%r14), %edx
	movl	4(%r14), %esi
	movl	24(%r14), %ecx
	xorl	%edi, %edi
	movl	$1, %r8d
	callq	_av_samples_get_buffer_size
	movq	%rax, 16(%r14)
	testq	%rax, %rax
	jle	LBB0_30
## %bb.28:
	cmpq	$0, 8(%r14)
	jle	LBB0_30
## %bb.29:
	movl	-136(%rbp), %eax
	jmp	LBB0_24
LBB0_30:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.6(%rip), %rdx
	jmp	LBB0_16
LBB0_31:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	-144(%rbp), %ecx
	leaq	L_.str.5(%rip), %rdx
	jmp	LBB0_22
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @audio_open.next_nb_channels
_audio_open.next_nb_channels:
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	1                               ## 0x1
	.long	6                               ## 0x6
	.long	2                               ## 0x2
	.long	6                               ## 0x6
	.long	4                               ## 0x4
	.long	6                               ## 0x6

	.p2align	4                               ## @audio_open.next_sample_rates
_audio_open.next_sample_rates:
	.long	0                               ## 0x0
	.long	44100                           ## 0xac44
	.long	48000                           ## 0xbb80
	.long	96000                           ## 0x17700
	.long	192000                          ## 0x2ee00

	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"SDL_AUDIO_CHANNELS"

	.comm	_AV_CH_LAYOUT_STEREO_DOWNMIX,4,2 ## @AV_CH_LAYOUT_STEREO_DOWNMIX
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
L_.str.1:                               ## @.str.1
	.asciz	"Invalid sample rate or channel count!\n"

	.comm	_AUDIO_S16SYS,4,2               ## @AUDIO_S16SYS
	.comm	_SDL_AUDIO_MIN_BUFFER_SIZE,4,2  ## @SDL_AUDIO_MIN_BUFFER_SIZE
	.comm	_SDL_AUDIO_MAX_CALLBACKS_PER_SEC,4,2 ## @SDL_AUDIO_MAX_CALLBACKS_PER_SEC
	.comm	_sdl_audio_callback,4,2         ## @sdl_audio_callback
	.comm	_SDL_AUDIO_ALLOW_FREQUENCY_CHANGE,4,2 ## @SDL_AUDIO_ALLOW_FREQUENCY_CHANGE
	.comm	_SDL_AUDIO_ALLOW_CHANNELS_CHANGE,4,2 ## @SDL_AUDIO_ALLOW_CHANNELS_CHANGE
	.comm	_audio_dev,4,2                  ## @audio_dev
	.comm	_AV_LOG_WARNING,4,2             ## @AV_LOG_WARNING
L_.str.2:                               ## @.str.2
	.asciz	"SDL_OpenAudio (%d channels, %d Hz): %s\n"

L_.str.3:                               ## @.str.3
	.asciz	"No more combinations to try, audio open failed\n"

L_.str.4:                               ## @.str.4
	.asciz	"SDL advised audio format %d is not supported!\n"

L_.str.5:                               ## @.str.5
	.asciz	"SDL advised channel count %d is not supported!\n"

	.comm	_AV_SAMPLE_FMT_S16,4,2          ## @AV_SAMPLE_FMT_S16
L_.str.6:                               ## @.str.6
	.asciz	"av_samples_get_buffer_size failed\n"

	.no_dead_strip	_audio_open
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function audio_open
_audio_open:                            ; @audio_open
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #208
	.cfi_def_cfa_offset 208
	stp	x28, x27, [sp, #112]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #128]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #144]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #160]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #176]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #192]            ; 16-byte Folded Spill
	add	x29, sp, #192
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x4
	mov	x24, x3
	mov	x22, x2
	mov	x21, x1
	mov	x23, x0
Lloh0:
	adrp	x0, _audio_open.next_sample_rates@PAGE
Lloh1:
	add	x0, x0, _audio_open.next_sample_rates@PAGEOFF
	bl	_FF_ARRAY_ELEMS
	mov	x25, x0
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	bl	_SDL_getenv
	cbz	x0, LBB0_2
; %bb.1:
	bl	_atoi
	mov	x22, x0
	bl	_av_get_default_channel_layout
	mov	x21, x0
LBB0_2:
	cbz	w21, LBB0_4
; %bb.3:
	mov	x0, x21
	bl	_av_get_channel_layout_nb_channels
	cmp	w22, w0
	b.eq	LBB0_5
LBB0_4:
	mov	x0, x22
	bl	_av_get_default_channel_layout
Lloh4:
	adrp	x8, _AV_CH_LAYOUT_STEREO_DOWNMIX@GOTPAGE
Lloh5:
	ldr	x8, [x8, _AV_CH_LAYOUT_STEREO_DOWNMIX@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	bic	w21, w0, w8
LBB0_5:
	mov	x0, x21
	bl	_av_get_channel_layout_nb_channels
	stp	w0, w24, [sp, #72]
	cmp	w24, #1
	b.lt	LBB0_17
; %bb.6:
	mov	x22, x0
	cmp	w0, #1
	b.lt	LBB0_17
; %bb.7:
	sub	w9, w25, #1
Lloh7:
	adrp	x8, _audio_open.next_sample_rates@PAGE
Lloh8:
	add	x8, x8, _audio_open.next_sample_rates@PAGEOFF
	add	x8, x8, w25, sxtw #2
	sub	x8, x8, #4
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	mov	x26, x9
	cbz	w9, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	w10, [x8], #-4
	sub	w9, w26, #1
	cmp	w10, w24
	b.ge	LBB0_8
LBB0_10:
Lloh9:
	adrp	x20, _AUDIO_S16SYS@GOTPAGE
Lloh10:
	ldr	x20, [x20, _AUDIO_S16SYS@GOTPAGEOFF]
	ldr	w8, [x20]
	str	w8, [sp, #84]
Lloh11:
	adrp	x8, _SDL_AUDIO_MIN_BUFFER_SIZE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _SDL_AUDIO_MIN_BUFFER_SIZE@GOTPAGEOFF]
	str	xzr, [sp, #104]
Lloh13:
	ldr	w25, [x8]
Lloh14:
	adrp	x8, _SDL_AUDIO_MAX_CALLBACKS_PER_SEC@GOTPAGE
Lloh15:
	ldr	x8, [x8, _SDL_AUDIO_MAX_CALLBACKS_PER_SEC@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	sdiv	w0, w24, w8
	bl	_av_log2
	mov	w8, #2
	lsl	w1, w8, w0
	mov	x0, x25
	bl	_FFMAX
Lloh17:
	adrp	x8, _sdl_audio_callback@GOTPAGE
Lloh18:
	ldr	x8, [x8, _sdl_audio_callback@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	stp	w8, w0, [sp, #96]
Lloh20:
	adrp	x24, _SDL_AUDIO_ALLOW_FREQUENCY_CHANGE@GOTPAGE
Lloh21:
	ldr	x24, [x24, _SDL_AUDIO_ALLOW_FREQUENCY_CHANGE@GOTPAGEOFF]
	str	x23, [sp, #88]
	ldr	w8, [x24]
Lloh22:
	adrp	x27, _SDL_AUDIO_ALLOW_CHANNELS_CHANGE@GOTPAGE
Lloh23:
	ldr	x27, [x27, _SDL_AUDIO_ALLOW_CHANNELS_CHANGE@GOTPAGEOFF]
	ldr	w9, [x27]
	orr	w4, w9, w8
	add	x2, sp, #72
	add	x3, sp, #32
	mov	x0, #0
	mov	w1, #0
	bl	_SDL_OpenAudioDevice
Lloh24:
	adrp	x28, _audio_dev@GOTPAGE
Lloh25:
	ldr	x28, [x28, _audio_dev@GOTPAGEOFF]
	str	w0, [x28]
	cbnz	w0, LBB0_19
; %bb.11:
	str	x19, [sp, #24]                  ; 8-byte Folded Spill
Lloh26:
	adrp	x23, l_.str.2@PAGE
Lloh27:
	add	x23, x23, l_.str.2@PAGEOFF
Lloh28:
	adrp	x19, _audio_open.next_nb_channels@PAGE
Lloh29:
	add	x19, x19, _audio_open.next_nb_channels@PAGEOFF
	b	LBB0_14
LBB0_12:                                ;   in Loop: Header=BB0_14 Depth=1
	sub	w26, w26, #1
	mov	x0, x22
LBB0_13:                                ;   in Loop: Header=BB0_14 Depth=1
	mov	x24, x25
	bl	_av_get_default_channel_layout
	mov	x21, x0
	ldr	w8, [x25]
	ldr	w9, [x27]
	orr	w4, w9, w8
	add	x2, sp, #72
	add	x3, sp, #32
	mov	x0, #0
	mov	w1, #0
	bl	_SDL_OpenAudioDevice
	str	w0, [x28]
	cbnz	w0, LBB0_18
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	mov	x25, x24
Lloh30:
	adrp	x8, _AV_LOG_WARNING@GOTPAGE
Lloh31:
	ldr	x8, [x8, _AV_LOG_WARNING@GOTPAGEOFF]
Lloh32:
	ldr	w21, [x8]
	ldp	w20, w24, [sp, #72]
	bl	_SDL_GetError
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x24, x0, [sp, #8]
	str	x20, [sp]
	mov	x0, #0
	mov	x1, x21
	mov	x2, x23
	bl	_av_log
	ldr	w1, [sp, #72]
	mov	w0, #7
	bl	_FFMIN
	mov	x8, x0
	ldr	w0, [x19, x0, lsl #2]
	str	w0, [sp, #72]
	cmp	x8, #1
	b.hi	LBB0_13
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=1
Lloh33:
	adrp	x8, _audio_open.next_sample_rates@PAGE
Lloh34:
	add	x8, x8, _audio_open.next_sample_rates@PAGEOFF
	ldr	w8, [x8, w26, sxtw #2]
	stp	w22, w8, [sp, #72]
	cbnz	w26, LBB0_12
; %bb.16:
Lloh35:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh36:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh37:
	ldr	w1, [x8]
Lloh38:
	adrp	x2, l_.str.3@PAGE
Lloh39:
	add	x2, x2, l_.str.3@PAGEOFF
	b	LBB0_29
LBB0_17:
Lloh40:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh41:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh42:
	ldr	w1, [x8]
Lloh43:
	adrp	x2, l_.str.1@PAGE
Lloh44:
	add	x2, x2, l_.str.1@PAGEOFF
	b	LBB0_29
LBB0_18:
	ldr	x19, [sp, #24]                  ; 8-byte Folded Reload
Lloh45:
	adrp	x20, _AUDIO_S16SYS@GOTPAGE
Lloh46:
	ldr	x20, [x20, _AUDIO_S16SYS@GOTPAGEOFF]
LBB0_19:
	ldr	w8, [sp, #44]
	ldr	w9, [x20]
	cmp	w8, w9
	b.ne	LBB0_26
; %bb.20:
	ldr	w1, [sp, #32]
	ldr	w8, [sp, #72]
	cmp	w1, w8
	b.eq	LBB0_23
; %bb.21:
	mov	x0, x1
	bl	_av_get_default_channel_layout
	cbz	w0, LBB0_28
; %bb.22:
	mov	x21, x0
	ldr	w1, [sp, #32]
LBB0_23:
Lloh47:
	adrp	x8, _AV_SAMPLE_FMT_S16@GOTPAGE
Lloh48:
	ldr	x8, [x8, _AV_SAMPLE_FMT_S16@GOTPAGEOFF]
Lloh49:
	ldr	w3, [x8]
	ldr	w8, [sp, #36]
	stp	w3, w21, [x19, #24]
	stp	w8, w1, [x19]
	mov	x0, #0
	mov	w2, #1
	mov	w4, #1
	bl	_av_samples_get_buffer_size
	str	x0, [x19, #8]
	ldp	w2, w1, [x19]
	ldr	w3, [x19, #24]
	mov	x0, #0
	mov	w4, #1
	bl	_av_samples_get_buffer_size
	str	x0, [x19, #16]
	cmp	x0, #1
	b.lt	LBB0_27
; %bb.24:
	ldr	x8, [x19, #8]
	cmp	x8, #0
	b.le	LBB0_27
; %bb.25:
	ldr	w0, [sp, #40]
	b	LBB0_30
LBB0_26:
Lloh50:
	adrp	x9, _AV_LOG_ERROR@GOTPAGE
Lloh51:
	ldr	x9, [x9, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh52:
	ldr	w1, [x9]
	str	x8, [sp]
Lloh53:
	adrp	x2, l_.str.4@PAGE
Lloh54:
	add	x2, x2, l_.str.4@PAGEOFF
	b	LBB0_29
LBB0_27:
Lloh55:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh56:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh57:
	ldr	w1, [x8]
Lloh58:
	adrp	x2, l_.str.6@PAGE
Lloh59:
	add	x2, x2, l_.str.6@PAGEOFF
	b	LBB0_29
LBB0_28:
Lloh60:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh61:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh62:
	ldr	w1, [x8]
	ldr	w8, [sp, #32]
	str	x8, [sp]
Lloh63:
	adrp	x2, l_.str.5@PAGE
Lloh64:
	add	x2, x2, l_.str.5@PAGEOFF
LBB0_29:
	mov	x0, #0
	bl	_av_log
	mov	w0, #-1
LBB0_30:
	ldp	x29, x30, [sp, #192]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #176]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #160]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #144]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #128]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #112]            ; 16-byte Folded Reload
	add	sp, sp, #208
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGot	Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpAdd	Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpAdd	Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpAdd	Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @audio_open.next_nb_channels
_audio_open.next_nb_channels:
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	1                               ; 0x1
	.long	6                               ; 0x6
	.long	2                               ; 0x2
	.long	6                               ; 0x6
	.long	4                               ; 0x4
	.long	6                               ; 0x6

	.p2align	2                               ; @audio_open.next_sample_rates
_audio_open.next_sample_rates:
	.long	0                               ; 0x0
	.long	44100                           ; 0xac44
	.long	48000                           ; 0xbb80
	.long	96000                           ; 0x17700
	.long	192000                          ; 0x2ee00

	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SDL_AUDIO_CHANNELS"

	.comm	_AV_CH_LAYOUT_STEREO_DOWNMIX,4,2 ; @AV_CH_LAYOUT_STEREO_DOWNMIX
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
l_.str.1:                               ; @.str.1
	.asciz	"Invalid sample rate or channel count!\n"

	.comm	_AUDIO_S16SYS,4,2               ; @AUDIO_S16SYS
	.comm	_SDL_AUDIO_MIN_BUFFER_SIZE,4,2  ; @SDL_AUDIO_MIN_BUFFER_SIZE
	.comm	_SDL_AUDIO_MAX_CALLBACKS_PER_SEC,4,2 ; @SDL_AUDIO_MAX_CALLBACKS_PER_SEC
	.comm	_sdl_audio_callback,4,2         ; @sdl_audio_callback
	.comm	_SDL_AUDIO_ALLOW_FREQUENCY_CHANGE,4,2 ; @SDL_AUDIO_ALLOW_FREQUENCY_CHANGE
	.comm	_SDL_AUDIO_ALLOW_CHANNELS_CHANGE,4,2 ; @SDL_AUDIO_ALLOW_CHANNELS_CHANGE
	.comm	_audio_dev,4,2                  ; @audio_dev
	.comm	_AV_LOG_WARNING,4,2             ; @AV_LOG_WARNING
l_.str.2:                               ; @.str.2
	.asciz	"SDL_OpenAudio (%d channels, %d Hz): %s\n"

l_.str.3:                               ; @.str.3
	.asciz	"No more combinations to try, audio open failed\n"

l_.str.4:                               ; @.str.4
	.asciz	"SDL advised audio format %d is not supported!\n"

l_.str.5:                               ; @.str.5
	.asciz	"SDL advised channel count %d is not supported!\n"

	.comm	_AV_SAMPLE_FMT_S16,4,2          ; @AV_SAMPLE_FMT_S16
l_.str.6:                               ; @.str.6
	.asciz	"av_samples_get_buffer_size failed\n"

	.no_dead_strip	_audio_open
.subsections_via_symbols
