	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sane_layout
_sane_layout:                           ## @sane_layout
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_AV_CH_LAYOUT_SURROUND@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	testl	%edi, (%rax)
	je	LBB0_10
## %bb.1:
	movl	%edi, %ebx
	movq	_AV_CH_FRONT_LEFT@GOTPCREL(%rip), %rax
	movq	_AV_CH_FRONT_RIGHT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	orl	(%rax), %edi
	andl	%ebx, %edi
	callq	_even
	testl	%eax, %eax
	je	LBB0_10
## %bb.2:
	movq	_AV_CH_SIDE_LEFT@GOTPCREL(%rip), %rax
	movq	_AV_CH_SIDE_RIGHT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	orl	(%rax), %edi
	andl	%ebx, %edi
	callq	_even
	testl	%eax, %eax
	je	LBB0_10
## %bb.3:
	movq	_AV_CH_BACK_LEFT@GOTPCREL(%rip), %rax
	movq	_AV_CH_BACK_RIGHT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	orl	(%rax), %edi
	andl	%ebx, %edi
	callq	_even
	testl	%eax, %eax
	je	LBB0_10
## %bb.4:
	movq	_AV_CH_FRONT_LEFT_OF_CENTER@GOTPCREL(%rip), %rax
	movq	_AV_CH_FRONT_RIGHT_OF_CENTER@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	orl	(%rax), %edi
	andl	%ebx, %edi
	callq	_even
	testl	%eax, %eax
	je	LBB0_10
## %bb.5:
	movq	_AV_CH_TOP_FRONT_LEFT@GOTPCREL(%rip), %rax
	movq	_AV_CH_TOP_FRONT_RIGHT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	orl	(%rax), %edi
	andl	%ebx, %edi
	callq	_even
	testl	%eax, %eax
	je	LBB0_10
## %bb.6:
	movq	_AV_CH_TOP_BACK_LEFT@GOTPCREL(%rip), %rax
	movq	_AV_CH_TOP_BACK_RIGHT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	orl	(%rax), %edi
	andl	%ebx, %edi
	callq	_even
	testl	%eax, %eax
	je	LBB0_10
## %bb.7:
	movq	_AV_CH_STEREO_LEFT@GOTPCREL(%rip), %rax
	movq	_AV_CH_STEREO_RIGHT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	orl	(%rax), %edi
	andl	%ebx, %edi
	callq	_even
	testl	%eax, %eax
	je	LBB0_10
## %bb.8:
	movq	_AV_CH_WIDE_LEFT@GOTPCREL(%rip), %rax
	movq	_AV_CH_WIDE_RIGHT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	orl	(%rax), %edi
	andl	%ebx, %edi
	callq	_even
	testl	%eax, %eax
	je	LBB0_10
## %bb.9:
	movq	_AV_CH_SURROUND_DIRECT_LEFT@GOTPCREL(%rip), %rax
	movq	_AV_CH_SURROUND_DIRECT_RIGHT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	orl	(%rax), %edi
	andl	%ebx, %edi
	callq	_even
	xorl	%r14d, %r14d
	testl	%eax, %eax
	setne	%r14b
LBB0_10:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_CH_LAYOUT_SURROUND,4,2      ## @AV_CH_LAYOUT_SURROUND
	.comm	_AV_CH_FRONT_LEFT,4,2           ## @AV_CH_FRONT_LEFT
	.comm	_AV_CH_FRONT_RIGHT,4,2          ## @AV_CH_FRONT_RIGHT
	.comm	_AV_CH_SIDE_LEFT,4,2            ## @AV_CH_SIDE_LEFT
	.comm	_AV_CH_SIDE_RIGHT,4,2           ## @AV_CH_SIDE_RIGHT
	.comm	_AV_CH_BACK_LEFT,4,2            ## @AV_CH_BACK_LEFT
	.comm	_AV_CH_BACK_RIGHT,4,2           ## @AV_CH_BACK_RIGHT
	.comm	_AV_CH_FRONT_LEFT_OF_CENTER,4,2 ## @AV_CH_FRONT_LEFT_OF_CENTER
	.comm	_AV_CH_FRONT_RIGHT_OF_CENTER,4,2 ## @AV_CH_FRONT_RIGHT_OF_CENTER
	.comm	_AV_CH_TOP_FRONT_LEFT,4,2       ## @AV_CH_TOP_FRONT_LEFT
	.comm	_AV_CH_TOP_FRONT_RIGHT,4,2      ## @AV_CH_TOP_FRONT_RIGHT
	.comm	_AV_CH_TOP_BACK_LEFT,4,2        ## @AV_CH_TOP_BACK_LEFT
	.comm	_AV_CH_TOP_BACK_RIGHT,4,2       ## @AV_CH_TOP_BACK_RIGHT
	.comm	_AV_CH_STEREO_LEFT,4,2          ## @AV_CH_STEREO_LEFT
	.comm	_AV_CH_STEREO_RIGHT,4,2         ## @AV_CH_STEREO_RIGHT
	.comm	_AV_CH_WIDE_LEFT,4,2            ## @AV_CH_WIDE_LEFT
	.comm	_AV_CH_WIDE_RIGHT,4,2           ## @AV_CH_WIDE_RIGHT
	.comm	_AV_CH_SURROUND_DIRECT_LEFT,4,2 ## @AV_CH_SURROUND_DIRECT_LEFT
	.comm	_AV_CH_SURROUND_DIRECT_RIGHT,4,2 ## @AV_CH_SURROUND_DIRECT_RIGHT
	.no_dead_strip	_sane_layout
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sane_layout
_sane_layout:                           ; @sane_layout
	.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
Lloh0:
	adrp	x8, _AV_CH_LAYOUT_SURROUND@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AV_CH_LAYOUT_SURROUND@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_10
; %bb.1:
	mov	x19, x0
Lloh3:
	adrp	x8, _AV_CH_FRONT_LEFT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AV_CH_FRONT_LEFT@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _AV_CH_FRONT_RIGHT@GOTPAGE
Lloh7:
	ldr	x9, [x9, _AV_CH_FRONT_RIGHT@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w9, w8
	and	w0, w8, w0
	bl	_even
	cbz	w0, LBB0_11
; %bb.2:
Lloh9:
	adrp	x8, _AV_CH_SIDE_LEFT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _AV_CH_SIDE_LEFT@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
Lloh12:
	adrp	x9, _AV_CH_SIDE_RIGHT@GOTPAGE
Lloh13:
	ldr	x9, [x9, _AV_CH_SIDE_RIGHT@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	orr	w8, w9, w8
	and	w0, w8, w19
	bl	_even
	cbz	w0, LBB0_11
; %bb.3:
Lloh15:
	adrp	x8, _AV_CH_BACK_LEFT@GOTPAGE
Lloh16:
	ldr	x8, [x8, _AV_CH_BACK_LEFT@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
Lloh18:
	adrp	x9, _AV_CH_BACK_RIGHT@GOTPAGE
Lloh19:
	ldr	x9, [x9, _AV_CH_BACK_RIGHT@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	orr	w8, w9, w8
	and	w0, w8, w19
	bl	_even
	cbz	w0, LBB0_11
; %bb.4:
Lloh21:
	adrp	x8, _AV_CH_FRONT_LEFT_OF_CENTER@GOTPAGE
Lloh22:
	ldr	x8, [x8, _AV_CH_FRONT_LEFT_OF_CENTER@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
Lloh24:
	adrp	x9, _AV_CH_FRONT_RIGHT_OF_CENTER@GOTPAGE
Lloh25:
	ldr	x9, [x9, _AV_CH_FRONT_RIGHT_OF_CENTER@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	orr	w8, w9, w8
	and	w0, w8, w19
	bl	_even
	cbz	w0, LBB0_11
; %bb.5:
Lloh27:
	adrp	x8, _AV_CH_TOP_FRONT_LEFT@GOTPAGE
Lloh28:
	ldr	x8, [x8, _AV_CH_TOP_FRONT_LEFT@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
Lloh30:
	adrp	x9, _AV_CH_TOP_FRONT_RIGHT@GOTPAGE
Lloh31:
	ldr	x9, [x9, _AV_CH_TOP_FRONT_RIGHT@GOTPAGEOFF]
Lloh32:
	ldr	w9, [x9]
	orr	w8, w9, w8
	and	w0, w8, w19
	bl	_even
	cbz	w0, LBB0_11
; %bb.6:
Lloh33:
	adrp	x8, _AV_CH_TOP_BACK_LEFT@GOTPAGE
Lloh34:
	ldr	x8, [x8, _AV_CH_TOP_BACK_LEFT@GOTPAGEOFF]
Lloh35:
	ldr	w8, [x8]
Lloh36:
	adrp	x9, _AV_CH_TOP_BACK_RIGHT@GOTPAGE
Lloh37:
	ldr	x9, [x9, _AV_CH_TOP_BACK_RIGHT@GOTPAGEOFF]
Lloh38:
	ldr	w9, [x9]
	orr	w8, w9, w8
	and	w0, w8, w19
	bl	_even
	cbz	w0, LBB0_11
; %bb.7:
Lloh39:
	adrp	x8, _AV_CH_STEREO_LEFT@GOTPAGE
Lloh40:
	ldr	x8, [x8, _AV_CH_STEREO_LEFT@GOTPAGEOFF]
Lloh41:
	ldr	w8, [x8]
Lloh42:
	adrp	x9, _AV_CH_STEREO_RIGHT@GOTPAGE
Lloh43:
	ldr	x9, [x9, _AV_CH_STEREO_RIGHT@GOTPAGEOFF]
Lloh44:
	ldr	w9, [x9]
	orr	w8, w9, w8
	and	w0, w8, w19
	bl	_even
	cbz	w0, LBB0_11
; %bb.8:
Lloh45:
	adrp	x8, _AV_CH_WIDE_LEFT@GOTPAGE
Lloh46:
	ldr	x8, [x8, _AV_CH_WIDE_LEFT@GOTPAGEOFF]
Lloh47:
	ldr	w8, [x8]
Lloh48:
	adrp	x9, _AV_CH_WIDE_RIGHT@GOTPAGE
Lloh49:
	ldr	x9, [x9, _AV_CH_WIDE_RIGHT@GOTPAGEOFF]
Lloh50:
	ldr	w9, [x9]
	orr	w8, w9, w8
	and	w0, w8, w19
	bl	_even
	cbz	w0, LBB0_11
; %bb.9:
Lloh51:
	adrp	x8, _AV_CH_SURROUND_DIRECT_LEFT@GOTPAGE
Lloh52:
	ldr	x8, [x8, _AV_CH_SURROUND_DIRECT_LEFT@GOTPAGEOFF]
Lloh53:
	ldr	w8, [x8]
Lloh54:
	adrp	x9, _AV_CH_SURROUND_DIRECT_RIGHT@GOTPAGE
Lloh55:
	ldr	x9, [x9, _AV_CH_SURROUND_DIRECT_RIGHT@GOTPAGEOFF]
Lloh56:
	ldr	w9, [x9]
	orr	w8, w9, w8
	and	w0, w8, w19
	bl	_even
	cmp	w0, #0
	cset	w0, ne
	b	LBB0_11
LBB0_10:
	mov	w0, #0
LBB0_11:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_CH_LAYOUT_SURROUND,4,2      ; @AV_CH_LAYOUT_SURROUND
	.comm	_AV_CH_FRONT_LEFT,4,2           ; @AV_CH_FRONT_LEFT
	.comm	_AV_CH_FRONT_RIGHT,4,2          ; @AV_CH_FRONT_RIGHT
	.comm	_AV_CH_SIDE_LEFT,4,2            ; @AV_CH_SIDE_LEFT
	.comm	_AV_CH_SIDE_RIGHT,4,2           ; @AV_CH_SIDE_RIGHT
	.comm	_AV_CH_BACK_LEFT,4,2            ; @AV_CH_BACK_LEFT
	.comm	_AV_CH_BACK_RIGHT,4,2           ; @AV_CH_BACK_RIGHT
	.comm	_AV_CH_FRONT_LEFT_OF_CENTER,4,2 ; @AV_CH_FRONT_LEFT_OF_CENTER
	.comm	_AV_CH_FRONT_RIGHT_OF_CENTER,4,2 ; @AV_CH_FRONT_RIGHT_OF_CENTER
	.comm	_AV_CH_TOP_FRONT_LEFT,4,2       ; @AV_CH_TOP_FRONT_LEFT
	.comm	_AV_CH_TOP_FRONT_RIGHT,4,2      ; @AV_CH_TOP_FRONT_RIGHT
	.comm	_AV_CH_TOP_BACK_LEFT,4,2        ; @AV_CH_TOP_BACK_LEFT
	.comm	_AV_CH_TOP_BACK_RIGHT,4,2       ; @AV_CH_TOP_BACK_RIGHT
	.comm	_AV_CH_STEREO_LEFT,4,2          ; @AV_CH_STEREO_LEFT
	.comm	_AV_CH_STEREO_RIGHT,4,2         ; @AV_CH_STEREO_RIGHT
	.comm	_AV_CH_WIDE_LEFT,4,2            ; @AV_CH_WIDE_LEFT
	.comm	_AV_CH_WIDE_RIGHT,4,2           ; @AV_CH_WIDE_RIGHT
	.comm	_AV_CH_SURROUND_DIRECT_LEFT,4,2 ; @AV_CH_SURROUND_DIRECT_LEFT
	.comm	_AV_CH_SURROUND_DIRECT_RIGHT,4,2 ; @AV_CH_SURROUND_DIRECT_RIGHT
	.no_dead_strip	_sane_layout
.subsections_via_symbols
