	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sanitize_channel_layouts
_sanitize_channel_layouts:              ## @sanitize_channel_layouts
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	testq	%rsi, %rsi
	je	LBB0_10
## %bb.1:
	movq	%rsi, %rbx
	cmpq	$0, 8(%rsi)
	je	LBB0_6
## %bb.2:
	cmpl	$0, (%rbx)
	jne	LBB0_4
## %bb.3:
	cmpl	$0, 4(%rbx)
	je	LBB0_5
LBB0_4:
	movq	_AV_LOG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	callq	_av_log
LBB0_5:
	movq	$0, (%rbx)
	jmp	LBB0_10
LBB0_6:
	cmpl	$0, 4(%rbx)
	je	LBB0_9
## %bb.7:
	cmpl	$0, (%rbx)
	jne	LBB0_9
## %bb.8:
	movq	_AV_LOG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	callq	_av_log
LBB0_9:
	movl	$1, (%rbx)
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_LOG_WARNING,4,2             ## @AV_LOG_WARNING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"All layouts set on non-empty list\n"

L_.str.1:                               ## @.str.1
	.asciz	"All counts without all layouts\n"

	.no_dead_strip	_sanitize_channel_layouts
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sanitize_channel_layouts
_sanitize_channel_layouts:              ; @sanitize_channel_layouts
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	cbz	x1, LBB0_10
; %bb.1:
	mov	x19, x1
	ldr	x8, [x1, #8]
	cbz	x8, LBB0_6
; %bb.2:
	ldr	w8, [x19]
	cbnz	w8, LBB0_4
; %bb.3:
	ldr	w8, [x19, #4]
	cbz	w8, LBB0_5
LBB0_4:
Lloh0:
	adrp	x8, _AV_LOG_WARNING@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AV_LOG_WARNING@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	bl	_av_log
LBB0_5:
	str	xzr, [x19]
	b	LBB0_10
LBB0_6:
	ldr	w8, [x19, #4]
	cbz	w8, LBB0_9
; %bb.7:
	ldr	w8, [x19]
	cbnz	w8, LBB0_9
; %bb.8:
Lloh5:
	adrp	x8, _AV_LOG_WARNING@GOTPAGE
Lloh6:
	ldr	x8, [x8, _AV_LOG_WARNING@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
Lloh8:
	adrp	x2, l_.str.1@PAGE
Lloh9:
	add	x2, x2, l_.str.1@PAGEOFF
	bl	_av_log
LBB0_9:
	mov	w8, #1
	str	w8, [x19]
LBB0_10:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_LOG_WARNING,4,2             ; @AV_LOG_WARNING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"All layouts set on non-empty list\n"

l_.str.1:                               ; @.str.1
	.asciz	"All counts without all layouts\n"

	.no_dead_strip	_sanitize_channel_layouts
.subsections_via_symbols
