	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __isp_video_get_format
___isp_video_get_format:                ## @__isp_video_get_format
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	leaq	-36(%rbp), %rsi
	callq	_isp_video_remote_subdev
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movl	-36(%rbp), %eax
	movl	%eax, -40(%rbp)
	movq	_V4L2_SUBDEV_FORMAT_ACTIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)
	leaq	4(%r15), %r12
	movq	%r12, %rdi
	callq	_mutex_lock
	movl	-36(%rbp), %esi
	movq	_get_fmt@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-48(%rbp), %r8
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	callq	_v4l2_subdev_call
	movl	%eax, %ebx
	movq	%r12, %rdi
	callq	_mutex_unlock
	testl	%ebx, %ebx
	jne	LBB0_4
## %bb.3:
	movl	(%r15), %eax
	movl	%eax, 4(%r14)
	leaq	-48(%rbp), %rsi
	movq	%r15, %rdi
	movq	%r14, %rdx
	callq	_isp_video_mbus_to_pix
	movl	%eax, %ebx
	jmp	LBB0_4
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_4:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_V4L2_SUBDEV_FORMAT_ACTIVE,4,2  ## @V4L2_SUBDEV_FORMAT_ACTIVE
	.comm	_get_fmt,4,2                    ## @get_fmt
	.no_dead_strip	___isp_video_get_format
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __isp_video_get_format
___isp_video_get_format:                ; @__isp_video_get_format
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x1
	mov	x20, x0
	add	x1, sp, #12
	bl	_isp_video_remote_subdev
	cbz	x0, LBB0_3
; %bb.1:
	mov	x21, x0
	ldr	w8, [sp, #12]
Lloh0:
	adrp	x9, _V4L2_SUBDEV_FORMAT_ACTIVE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _V4L2_SUBDEV_FORMAT_ACTIVE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	stp	w9, w8, [sp, #20]
	add	x22, x20, #4
	mov	x0, x22
	bl	_mutex_lock
	ldr	w1, [sp, #12]
Lloh3:
	adrp	x8, _get_fmt@GOTPAGE
Lloh4:
	ldr	x8, [x8, _get_fmt@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	add	x4, sp, #16
	mov	x0, x21
	mov	x3, #0
	bl	_v4l2_subdev_call
	mov	x21, x0
	mov	x0, x22
	bl	_mutex_unlock
	cbnz	w21, LBB0_4
; %bb.2:
	ldr	w8, [x20]
	str	w8, [x19, #4]
	add	x1, sp, #16
	mov	x0, x20
	mov	x2, x19
	bl	_isp_video_mbus_to_pix
	mov	x21, x0
	b	LBB0_4
LBB0_3:
Lloh6:
	adrp	x8, _EINVAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w21, w8
LBB0_4:
	mov	x0, x21
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_V4L2_SUBDEV_FORMAT_ACTIVE,4,2  ; @V4L2_SUBDEV_FORMAT_ACTIVE
	.comm	_get_fmt,4,2                    ; @get_fmt
	.no_dead_strip	___isp_video_get_format
.subsections_via_symbols
