	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function resizer_init_entities
_resizer_init_entities:                 ## @resizer_init_entities
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	120(%rdi), %r15
	leaq	8(%rdi), %r14
	movq	_RESIZER_INPUT_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 112(%rdi)
	movq	_resizer_v4l2_ops@GOTPCREL(%rip), %rsi
	callq	_v4l2_subdev_init
	movq	_resizer_v4l2_internal_ops@GOTPCREL(%rip), %rax
	movq	%rax, 24(%rbx)
	movl	20(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	movl	$4, %edx
	callq	_strscpy
	movl	$65536, (%rbx)                  ## imm = 0x10000
	movq	%rbx, %rdi
	movq	%rbx, %rsi
	callq	_v4l2_set_subdevdata
	movq	_V4L2_SUBDEV_FL_HAS_DEVNODE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 16(%rbx)
	movq	_MEDIA_PAD_FL_SINK@GOTPCREL(%rip), %rax
	movq	_MEDIA_PAD_FL_MUST_CONNECT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_RESZ_PAD_SINK@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	%ecx, (%r15,%rax,4)
	movq	_MEDIA_PAD_FL_SOURCE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_RESZ_PAD_SOURCE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%eax, (%r15,%rcx,4)
	movq	_resizer_media_ops@GOTPCREL(%rip), %rax
	movq	%rax, 8(%rbx)
	movq	_RESZ_PADS_NUM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movq	%r15, %rdx
	callq	_media_entity_pads_init
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_resizer_init_formats
	movq	_V4L2_BUF_TYPE_VIDEO_OUTPUT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leaq	32(%rbx), %r15
	movl	%eax, 64(%rbx)
	movq	_resizer_video_ops@GOTPCREL(%rip), %r12
	movq	%r12, 56(%rbx)
	movq	%rbx, %rdi
	callq	_to_isp_device
	movq	%rax, 48(%rbx)
	movl	$16777216, %edi                 ## imm = 0x1000000
	callq	_PAGE_ALIGN
                                        ## kill: def $eax killed $eax def $rax
	addl	%eax, %eax
	leal	(%rax,%rax,2), %eax
	movl	%eax, 32(%rbx)
	movl	$32, 36(%rbx)
	movq	_V4L2_BUF_TYPE_VIDEO_CAPTURE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 104(%rbx)
	movq	%r12, 96(%rbx)
	movq	%rbx, %rdi
	callq	_to_isp_device
	movq	%rax, 88(%rbx)
	movl	$16777216, %edi                 ## imm = 0x1000000
	callq	_PAGE_ALIGN
                                        ## kill: def $eax killed $eax def $rax
	addl	%eax, %eax
	leal	(%rax,%rax,2), %eax
	movl	%eax, 72(%rbx)
	movl	$32, 76(%rbx)
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	callq	_omap3isp_video_init
	testl	%eax, %eax
	js	LBB0_3
## %bb.4:
	leaq	72(%rbx), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_omap3isp_video_init
	testl	%eax, %eax
	js	LBB0_6
## %bb.5:
	movq	_MEDIA_ENT_FL_DEFAULT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 80(%rbx)
	xorl	%r12d, %r12d
	jmp	LBB0_8
LBB0_1:
	movl	%eax, %r12d
	jmp	LBB0_8
LBB0_3:
	movl	%eax, %r12d
	jmp	LBB0_7
LBB0_6:
	movl	%eax, %r12d
	movq	%r15, %rdi
	callq	_omap3isp_video_cleanup
LBB0_7:
	movq	%r14, %rdi
	callq	_media_entity_cleanup
LBB0_8:
	movl	%r12d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RESIZER_INPUT_NONE,4,2         ## @RESIZER_INPUT_NONE
	.comm	_resizer_v4l2_ops,4,2           ## @resizer_v4l2_ops
	.comm	_resizer_v4l2_internal_ops,4,2  ## @resizer_v4l2_internal_ops
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"OMAP3 ISP resizer"

	.comm	_V4L2_SUBDEV_FL_HAS_DEVNODE,4,2 ## @V4L2_SUBDEV_FL_HAS_DEVNODE
	.comm	_MEDIA_PAD_FL_SINK,4,2          ## @MEDIA_PAD_FL_SINK
	.comm	_MEDIA_PAD_FL_MUST_CONNECT,4,2  ## @MEDIA_PAD_FL_MUST_CONNECT
	.comm	_RESZ_PAD_SINK,8,3              ## @RESZ_PAD_SINK
	.comm	_MEDIA_PAD_FL_SOURCE,4,2        ## @MEDIA_PAD_FL_SOURCE
	.comm	_RESZ_PAD_SOURCE,8,3            ## @RESZ_PAD_SOURCE
	.comm	_resizer_media_ops,4,2          ## @resizer_media_ops
	.comm	_RESZ_PADS_NUM,4,2              ## @RESZ_PADS_NUM
	.comm	_V4L2_BUF_TYPE_VIDEO_OUTPUT,4,2 ## @V4L2_BUF_TYPE_VIDEO_OUTPUT
	.comm	_resizer_video_ops,4,2          ## @resizer_video_ops
	.comm	_V4L2_BUF_TYPE_VIDEO_CAPTURE,4,2 ## @V4L2_BUF_TYPE_VIDEO_CAPTURE
L_.str.1:                               ## @.str.1
	.asciz	"resizer"

	.comm	_MEDIA_ENT_FL_DEFAULT,4,2       ## @MEDIA_ENT_FL_DEFAULT
	.no_dead_strip	_resizer_init_entities
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function resizer_init_entities
_resizer_init_entities:                 ; @resizer_init_entities
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
	ldr	x21, [x0, #120]
Lloh0:
	adrp	x8, _RESIZER_INPUT_NONE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RESIZER_INPUT_NONE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x0, #112]
Lloh3:
	adrp	x1, _resizer_v4l2_ops@GOTPAGE
Lloh4:
	ldr	x1, [x1, _resizer_v4l2_ops@GOTPAGEOFF]
	bl	_v4l2_subdev_init
Lloh5:
	adrp	x8, _resizer_v4l2_internal_ops@GOTPAGE
Lloh6:
	ldr	x8, [x8, _resizer_v4l2_internal_ops@GOTPAGEOFF]
	str	x8, [x19, #24]
	ldr	w0, [x19, #20]
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	mov	w2, #4
	bl	_strscpy
	mov	w8, #65536
	str	w8, [x19]
	mov	x0, x19
	mov	x1, x19
	bl	_v4l2_set_subdevdata
Lloh9:
	adrp	x8, _V4L2_SUBDEV_FL_HAS_DEVNODE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _V4L2_SUBDEV_FL_HAS_DEVNODE@GOTPAGEOFF]
Lloh11:
	adrp	x9, _MEDIA_PAD_FL_SINK@GOTPAGE
Lloh12:
	ldr	x9, [x9, _MEDIA_PAD_FL_SINK@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
Lloh14:
	adrp	x10, _MEDIA_PAD_FL_MUST_CONNECT@GOTPAGE
Lloh15:
	ldr	x10, [x10, _MEDIA_PAD_FL_MUST_CONNECT@GOTPAGEOFF]
Lloh16:
	ldr	w10, [x10]
	orr	w9, w10, w9
Lloh17:
	adrp	x10, _RESZ_PAD_SINK@GOTPAGE
Lloh18:
	ldr	x10, [x10, _RESZ_PAD_SINK@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
Lloh20:
	ldr	x10, [x10]
	str	w9, [x21, x10, lsl #2]
Lloh21:
	adrp	x9, _resizer_media_ops@GOTPAGE
Lloh22:
	ldr	x9, [x9, _resizer_media_ops@GOTPAGEOFF]
	mov	x20, x19
	str	x9, [x20, #8]!
	ldr	w9, [x20, #8]
	orr	w8, w9, w8
	str	w8, [x20, #8]
Lloh23:
	adrp	x8, _MEDIA_PAD_FL_SOURCE@GOTPAGE
Lloh24:
	ldr	x8, [x8, _MEDIA_PAD_FL_SOURCE@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
Lloh26:
	adrp	x9, _RESZ_PAD_SOURCE@GOTPAGE
Lloh27:
	ldr	x9, [x9, _RESZ_PAD_SOURCE@GOTPAGEOFF]
Lloh28:
	ldr	x9, [x9]
	str	w8, [x21, x9, lsl #2]
Lloh29:
	adrp	x8, _RESZ_PADS_NUM@GOTPAGE
Lloh30:
	ldr	x8, [x8, _RESZ_PADS_NUM@GOTPAGEOFF]
Lloh31:
	ldr	w1, [x8]
	mov	x0, x20
	mov	x2, x21
	bl	_media_entity_pads_init
	tbnz	w0, #31, LBB0_4
; %bb.1:
	mov	x0, x19
	mov	x1, #0
	bl	_resizer_init_formats
Lloh32:
	adrp	x8, _V4L2_BUF_TYPE_VIDEO_OUTPUT@GOTPAGE
Lloh33:
	ldr	x8, [x8, _V4L2_BUF_TYPE_VIDEO_OUTPUT@GOTPAGEOFF]
Lloh34:
	ldr	w8, [x8]
	str	w8, [x19, #64]
Lloh35:
	adrp	x22, _resizer_video_ops@GOTPAGE
Lloh36:
	ldr	x22, [x22, _resizer_video_ops@GOTPAGEOFF]
	str	x22, [x19, #56]
	mov	x0, x19
	bl	_to_isp_device
	str	x0, [x19, #48]
	mov	w0, #16777216
	bl	_PAGE_ALIGN
	add	w8, w0, w0, lsl #1
	lsl	w8, w8, #1
	mov	x21, x19
	str	w8, [x21, #32]!
	mov	w24, #32
	str	w24, [x19, #36]
Lloh37:
	adrp	x8, _V4L2_BUF_TYPE_VIDEO_CAPTURE@GOTPAGE
Lloh38:
	ldr	x8, [x8, _V4L2_BUF_TYPE_VIDEO_CAPTURE@GOTPAGEOFF]
Lloh39:
	ldr	w8, [x8]
	str	w8, [x19, #104]
	str	x22, [x19, #96]
	mov	x0, x19
	bl	_to_isp_device
	str	x0, [x19, #88]
	mov	w0, #16777216
	bl	_PAGE_ALIGN
	add	w8, w0, w0, lsl #1
	lsl	w8, w8, #1
	mov	x23, x19
	stp	w8, w24, [x23, #72]!
Lloh40:
	adrp	x1, l_.str.1@PAGE
Lloh41:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	bl	_omap3isp_video_init
	tbnz	w0, #31, LBB0_5
; %bb.2:
Lloh42:
	adrp	x1, l_.str.1@PAGE
Lloh43:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x23
	bl	_omap3isp_video_init
	tbnz	w0, #31, LBB0_6
; %bb.3:
	mov	w22, #0
Lloh44:
	adrp	x8, _MEDIA_ENT_FL_DEFAULT@GOTPAGE
Lloh45:
	ldr	x8, [x8, _MEDIA_ENT_FL_DEFAULT@GOTPAGEOFF]
Lloh46:
	ldr	w8, [x8]
	ldr	w9, [x19, #80]
	orr	w8, w9, w8
	str	w8, [x19, #80]
	b	LBB0_8
LBB0_4:
	mov	x22, x0
	b	LBB0_8
LBB0_5:
	mov	x22, x0
	b	LBB0_7
LBB0_6:
	mov	x22, x0
	mov	x0, x21
	bl	_omap3isp_video_cleanup
LBB0_7:
	mov	x0, x20
	bl	_media_entity_cleanup
LBB0_8:
	mov	x0, x22
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh20
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh19
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.cfi_endproc
                                        ; -- End function
	.comm	_RESIZER_INPUT_NONE,4,2         ; @RESIZER_INPUT_NONE
	.comm	_resizer_v4l2_ops,4,2           ; @resizer_v4l2_ops
	.comm	_resizer_v4l2_internal_ops,4,2  ; @resizer_v4l2_internal_ops
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"OMAP3 ISP resizer"

	.comm	_V4L2_SUBDEV_FL_HAS_DEVNODE,4,2 ; @V4L2_SUBDEV_FL_HAS_DEVNODE
	.comm	_MEDIA_PAD_FL_SINK,4,2          ; @MEDIA_PAD_FL_SINK
	.comm	_MEDIA_PAD_FL_MUST_CONNECT,4,2  ; @MEDIA_PAD_FL_MUST_CONNECT
	.comm	_RESZ_PAD_SINK,8,3              ; @RESZ_PAD_SINK
	.comm	_MEDIA_PAD_FL_SOURCE,4,2        ; @MEDIA_PAD_FL_SOURCE
	.comm	_RESZ_PAD_SOURCE,8,3            ; @RESZ_PAD_SOURCE
	.comm	_resizer_media_ops,4,2          ; @resizer_media_ops
	.comm	_RESZ_PADS_NUM,4,2              ; @RESZ_PADS_NUM
	.comm	_V4L2_BUF_TYPE_VIDEO_OUTPUT,4,2 ; @V4L2_BUF_TYPE_VIDEO_OUTPUT
	.comm	_resizer_video_ops,4,2          ; @resizer_video_ops
	.comm	_V4L2_BUF_TYPE_VIDEO_CAPTURE,4,2 ; @V4L2_BUF_TYPE_VIDEO_CAPTURE
l_.str.1:                               ; @.str.1
	.asciz	"resizer"

	.comm	_MEDIA_ENT_FL_DEFAULT,4,2       ; @MEDIA_ENT_FL_DEFAULT
	.no_dead_strip	_resizer_init_entities
.subsections_via_symbols
