	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vimc_deb_s_stream
_vimc_deb_s_stream:                     ## @vimc_deb_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, %ebx
	callq	_v4l2_get_subdevdata
	movq	%rax, %r15
	movq	8(%rax), %rdi
	xorl	%r14d, %r14d
	testl	%ebx, %ebx
	je	LBB0_4
## %bb.1:
	testq	%rdi, %rdi
	jne	LBB0_6
## %bb.2:
	movl	32(%r15), %edi
	callq	_vimc_pix_map_by_code
	movl	20(%r15), %ebx
	movl	24(%r15), %edi
	imull	16(%r15), %ebx
	imull	(%rax), %ebx
	callq	_vimc_pix_map_by_code
	movl	(%rax), %eax
	movl	%eax, (%r15)
	movl	24(%r15), %edi
	callq	_vimc_deb_pix_map_by_code
	movl	%eax, 28(%r15)
	movl	%ebx, %edi
	callq	_vmalloc
	movq	%rax, 8(%r15)
	testq	%rax, %rax
	jne	LBB0_6
## %bb.3:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
	jmp	LBB0_6
LBB0_4:
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.5:
	callq	_vfree
	movq	$0, 8(%r15)
LBB0_6:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_vimc_deb_s_stream
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vimc_deb_s_stream
_vimc_deb_s_stream:                     ; @vimc_deb_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	x20, x1
	bl	_v4l2_get_subdevdata
	mov	x19, x0
	ldr	x0, [x0, #8]
	cbz	w20, LBB0_4
; %bb.1:
	cbnz	x0, LBB0_3
; %bb.2:
	ldr	w0, [x19, #32]
	bl	_vimc_pix_map_by_code
	ldp	w8, w9, [x19, #16]
	mul	w8, w9, w8
	ldr	w9, [x0]
	mul	w20, w8, w9
	ldr	w0, [x19, #24]
	bl	_vimc_pix_map_by_code
	ldr	w8, [x0]
	str	w8, [x19]
	ldr	w0, [x19, #24]
	bl	_vimc_deb_pix_map_by_code
	str	w0, [x19, #28]
	mov	x0, x20
	bl	_vmalloc
	str	x0, [x19, #8]
	cbz	x0, LBB0_6
LBB0_3:
	mov	w0, #0
	b	LBB0_7
LBB0_4:
	cbz	x0, LBB0_7
; %bb.5:
	bl	_vfree
	mov	w0, #0
	str	xzr, [x19, #8]
	b	LBB0_7
LBB0_6:
Lloh0:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_vimc_deb_s_stream
.subsections_via_symbols
