	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function decon_mode_valid
_decon_mode_valid:                      ## @decon_mode_valid
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rcx
	movq	8(%rdi), %rax
	xorl	%edx, %edx
	testq	%rcx, %rcx
	setne	%dl
	movq	16(%rax,%rdx,8), %rdx
	movq	%rdx, 8(%rax)
	testq	%rdx, %rdx
	je	LBB0_2
## %bb.1:
	movq	_MODE_OK@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_2:
	testq	%rcx, %rcx
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.1(%rip), %rdx
	cmoveq	%rax, %rdx
	leaq	L_.str(%rip), %rsi
	callq	_dev_info
	movq	_MODE_BAD@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MODE_OK,4,2                    ## @MODE_OK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Sink requires %s mode, but appropriate interrupt is not provided.\n"

L_.str.1:                               ## @.str.1
	.asciz	"command"

L_.str.2:                               ## @.str.2
	.asciz	"video"

	.comm	_MODE_BAD,4,2                   ## @MODE_BAD
	.no_dead_strip	_decon_mode_valid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function decon_mode_valid
_decon_mode_valid:                      ; @decon_mode_valid
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldp	x8, x9, [x0]
	mov	w10, #24
	mov	w11, #16
	cmp	x8, #0
	csel	x10, x11, x10, eq
	ldr	x10, [x9, x10]
	str	x10, [x9, #8]
	cbz	x10, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _MODE_OK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MODE_OK@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:
	ldr	w0, [x9]
Lloh2:
	adrp	x9, l_.str.1@PAGE
Lloh3:
	add	x9, x9, l_.str.1@PAGEOFF
Lloh4:
	adrp	x10, l_.str.2@PAGE
Lloh5:
	add	x10, x10, l_.str.2@PAGEOFF
	cmp	x8, #0
	csel	x2, x10, x9, eq
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_info
Lloh8:
	adrp	x8, _MODE_BAD@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MODE_BAD@GOTPAGEOFF]
LBB0_3:
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_MODE_OK,4,2                    ; @MODE_OK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Sink requires %s mode, but appropriate interrupt is not provided.\n"

l_.str.1:                               ; @.str.1
	.asciz	"command"

l_.str.2:                               ; @.str.2
	.asciz	"video"

	.comm	_MODE_BAD,4,2                   ; @MODE_BAD
	.no_dead_strip	_decon_mode_valid
.subsections_via_symbols
