	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function isp_pipeline_disable
_isp_pipeline_disable:                  ## @isp_pipeline_disable
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %r14
	movq	8(%r14), %r13
	leaq	32(%r13), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	leaq	96(%r13), %rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	leaq	80(%r13), %rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	leaq	64(%r13), %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	leaq	48(%r13), %rax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	leaq	16(%r13), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	leaq	12(%r13), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	leaq	24(%r13), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_1 Depth=1
	xorl	%ecx, %ecx
	movq	_ETIMEDOUT@GOTPCREL(%rip), %rax
	subl	(%rax), %ecx
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
LBB0_16:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	(%r15), %rax
	cmpq	(%r13), %rax
	jne	LBB0_17
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %rdi
	movq	_MEDIA_PAD_FL_SINK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rdi)
	je	LBB0_17
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	callq	_media_entity_remote_pad
	testq	%rax, %rax
	je	LBB0_17
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%rax, %rbx
	movq	8(%rax), %rdi
	callq	_is_media_entity_v4l2_subdev
	testl	%eax, %eax
	je	LBB0_17
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	8(%rbx), %r14
	movq	%r14, %rdi
	callq	_media_entity_to_v4l2_subdev
	movq	%rax, %r15
	cmpq	-64(%rbp), %rax                 ## 8-byte Folded Reload
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_video@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	_s_stream@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	xorl	%ecx, %ecx
	callq	_v4l2_subdev_call
	movl	(%rbx), %esi
	movl	(%r12), %edx
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	xorl	%ecx, %ecx
	callq	_v4l2_subdev_call
	movl	(%rbx), %esi
	movl	(%r12), %edx
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	xorl	%ecx, %ecx
	callq	_v4l2_subdev_call
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	_video@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_s_stream@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	xorl	%ecx, %ecx
	callq	_v4l2_subdev_call
	movl	%eax, %r12d
	movq	_isp_pipeline_wait_resizer@GOTPCREL(%rip), %rcx
	cmpq	-112(%rbp), %r15                ## 8-byte Folded Reload
	je	LBB0_11
## %bb.7:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_isp_pipeline_wait_ccdc@GOTPCREL(%rip), %rcx
	cmpq	-56(%rbp), %r15                 ## 8-byte Folded Reload
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_isp_pipeline_wait_preview@GOTPCREL(%rip), %rcx
LBB0_9:                                 ##   in Loop: Header=BB0_1 Depth=1
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_1 Depth=1
	movl	%r12d, %eax
	cmpq	-64(%rbp), %r15                 ## 8-byte Folded Reload
	jne	LBB0_12
LBB0_11:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	(%rcx), %esi
	movq	%r13, %rdi
	callq	_isp_pipeline_wait
	orl	%r12d, %eax
LBB0_12:                                ##   in Loop: Header=BB0_1 Depth=1
	testl	%eax, %eax
	je	LBB0_16
## %bb.13:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	(%r13), %rdi
	movl	12(%r15), %edx
	leaq	L_.str(%rip), %rsi
	callq	_dev_info
	movl	$1, 8(%r13)
	cmpq	-56(%rbp), %r15                 ## 8-byte Folded Reload
	jne	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	callq	_media_entity_enum_set
	jmp	LBB0_15
LBB0_17:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MEDIA_PAD_FL_SINK,4,2          ## @MEDIA_PAD_FL_SINK
	.comm	_video,4,2                      ## @video
	.comm	_s_stream,4,2                   ## @s_stream
	.comm	_isp_pipeline_wait_resizer,4,2  ## @isp_pipeline_wait_resizer
	.comm	_isp_pipeline_wait_preview,4,2  ## @isp_pipeline_wait_preview
	.comm	_isp_pipeline_wait_ccdc,4,2     ## @isp_pipeline_wait_ccdc
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unable to stop %s\n"

	.comm	_ETIMEDOUT,4,2                  ## @ETIMEDOUT
	.no_dead_strip	_isp_pipeline_disable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function isp_pipeline_disable
_isp_pipeline_disable:                  ; @isp_pipeline_disable
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	w23, #0
	ldr	x27, [x0]
	ldr	x19, [x27, #8]
	add	x25, x19, #32
	add	x9, x19, #96
	add	x8, x19, #80
	stp	x8, x9, [sp, #32]               ; 16-byte Folded Spill
	add	x9, x19, #64
	add	x26, x19, #48
	add	x20, x19, #16
	add	x8, x19, #12
	stp	x8, x9, [sp, #16]               ; 16-byte Folded Spill
Lloh0:
	adrp	x22, _video@GOTPAGE
Lloh1:
	ldr	x22, [x22, _video@GOTPAGEOFF]
Lloh2:
	adrp	x21, _s_stream@GOTPAGE
Lloh3:
	ldr	x21, [x21, _s_stream@GOTPAGEOFF]
	add	x8, x19, #24
	str	x8, [sp, #8]                    ; 8-byte Folded Spill
	b	LBB0_3
LBB0_1:                                 ;   in Loop: Header=BB0_3 Depth=1
Lloh4:
	adrp	x8, _ETIMEDOUT@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ETIMEDOUT@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	neg	w23, w8
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x28]
	ldr	x9, [x19]
	cmp	x8, x9
	b.ne	LBB0_15
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x27]
	ldr	w8, [x0]
Lloh7:
	adrp	x9, _MEDIA_PAD_FL_SINK@GOTPAGE
Lloh8:
	ldr	x9, [x9, _MEDIA_PAD_FL_SINK@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_15
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	bl	_media_entity_remote_pad
	cbz	x0, LBB0_15
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x24, x0
	ldr	x0, [x0, #8]
	bl	_is_media_entity_v4l2_subdev
	cbz	w0, LBB0_15
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x27, [x24, #8]
	mov	x0, x27
	bl	_media_entity_to_v4l2_subdev
	mov	x28, x0
	cmp	x0, x25
	b.ne	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w1, [x22]
	ldr	w2, [x21]
	ldr	x0, [sp, #40]                   ; 8-byte Folded Reload
	mov	w3, #0
	bl	_v4l2_subdev_call
	ldr	w1, [x22]
	ldr	w2, [x21]
	ldr	x0, [sp, #32]                   ; 8-byte Folded Reload
	mov	w3, #0
	bl	_v4l2_subdev_call
	ldr	w1, [x22]
	ldr	w2, [x21]
	ldr	x0, [sp, #24]                   ; 8-byte Folded Reload
	mov	w3, #0
	bl	_v4l2_subdev_call
LBB0_8:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w1, [x22]
	ldr	w2, [x21]
	mov	x0, x28
	mov	w3, #0
	bl	_v4l2_subdev_call
	mov	x24, x0
	cmp	x28, x26
	b.eq	LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	x28, x20
Lloh10:
	adrp	x8, _isp_pipeline_wait_ccdc@GOTPAGE
Lloh11:
	ldr	x8, [x8, _isp_pipeline_wait_ccdc@GOTPAGEOFF]
Lloh12:
	adrp	x9, _isp_pipeline_wait_preview@GOTPAGE
Lloh13:
	ldr	x9, [x9, _isp_pipeline_wait_preview@GOTPAGEOFF]
	csel	x8, x9, x8, eq
	ccmp	x28, x25, #4, ne
	b.eq	LBB0_12
; %bb.10:                               ;   in Loop: Header=BB0_3 Depth=1
	cbnz	w24, LBB0_13
	b	LBB0_2
LBB0_11:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh14:
	adrp	x8, _isp_pipeline_wait_resizer@GOTPAGE
Lloh15:
	ldr	x8, [x8, _isp_pipeline_wait_resizer@GOTPAGEOFF]
LBB0_12:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w1, [x8]
	mov	x0, x19
	bl	_isp_pipeline_wait
	orr	w24, w0, w24
	cbz	w24, LBB0_2
LBB0_13:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [x19]
	ldr	w2, [x28, #12]
Lloh16:
	adrp	x1, l_.str@PAGE
Lloh17:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_info
	mov	w8, #1
	str	w8, [x19, #8]
	cmp	x28, x20
	b.ne	LBB0_1
; %bb.14:                               ;   in Loop: Header=BB0_3 Depth=1
	ldp	x1, x0, [sp, #8]                ; 16-byte Folded Reload
	bl	_media_entity_enum_set
	b	LBB0_1
LBB0_15:
	mov	x0, x23
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_MEDIA_PAD_FL_SINK,4,2          ; @MEDIA_PAD_FL_SINK
	.comm	_video,4,2                      ; @video
	.comm	_s_stream,4,2                   ; @s_stream
	.comm	_isp_pipeline_wait_resizer,4,2  ; @isp_pipeline_wait_resizer
	.comm	_isp_pipeline_wait_preview,4,2  ; @isp_pipeline_wait_preview
	.comm	_isp_pipeline_wait_ccdc,4,2     ; @isp_pipeline_wait_ccdc
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unable to stop %s\n"

	.comm	_ETIMEDOUT,4,2                  ; @ETIMEDOUT
	.no_dead_strip	_isp_pipeline_disable
.subsections_via_symbols
