	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ks0127_s_stream
_ks0127_s_stream:                       ## @ks0127_s_stream
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	%rdi, %r14
	movq	_debug@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rcx
	movl	$1, %edi
	movq	%r14, %rdx
	movl	%r15d, %r8d
	callq	_v4l2_dbg
	xorl	%ebx, %ebx
	testl	%r15d, %r15d
	sete	%bl
	movq	_KS_OFMTA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$48, %ecx
	cmovel	%r15d, %ecx
	shll	$7, %ebx
	movq	%r14, %rdi
	movl	$207, %edx
	callq	_ks0127_and_or
	movq	_KS_CDEM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$127, %edx
	movl	%ebx, %ecx
	callq	_ks0127_and_or
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_debug,4,2                      ## @debug
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"s_stream(%d)\n"

	.comm	_KS_OFMTA,4,2                   ## @KS_OFMTA
	.comm	_KS_CDEM,4,2                    ## @KS_CDEM
	.no_dead_strip	_ks0127_s_stream
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ks0127_s_stream
_ks0127_s_stream:                       ; @ks0127_s_stream
	.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
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _debug@GOTPAGE
Lloh1:
	ldr	x8, [x8, _debug@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x3, l_.str@PAGE
Lloh4:
	add	x3, x3, l_.str@PAGEOFF
	mov	w0, #1
	mov	x2, x20
	mov	x4, x19
	bl	_v4l2_dbg
	mov	w8, #48
	cmp	w19, #0
	csel	w3, wzr, w8, eq
	cset	w8, eq
Lloh5:
	adrp	x9, _KS_OFMTA@GOTPAGE
Lloh6:
	ldr	x9, [x9, _KS_OFMTA@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x9]
	lsl	w19, w8, #7
	mov	x0, x20
	mov	w2, #207
	bl	_ks0127_and_or
Lloh8:
	adrp	x8, _KS_CDEM@GOTPAGE
Lloh9:
	ldr	x8, [x8, _KS_CDEM@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #127
	mov	x3, x19
	bl	_ks0127_and_or
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_debug,4,2                      ; @debug
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"s_stream(%d)\n"

	.comm	_KS_OFMTA,4,2                   ; @KS_OFMTA
	.comm	_KS_CDEM,4,2                    ; @KS_CDEM
	.no_dead_strip	_ks0127_s_stream
.subsections_via_symbols
