	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function smiapp_create_subdev
_smiapp_create_subdev:                  ## @smiapp_create_subdev
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r12d
	movq	%rdx, %r13
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	(%rdi), %rdi
	addq	$16, %rdi
	callq	_v4l2_get_subdevdata
	testq	%rbx, %rbx
	je	LBB0_6
## %bb.1:
	movq	%rax, %r14
	cmpq	%rbx, (%r15)
	je	LBB0_3
## %bb.2:
	leaq	16(%rbx), %rdi
	movq	_smiapp_ops@GOTPCREL(%rip), %rsi
	callq	_v4l2_subdev_init
LBB0_3:
	movq	_V4L2_SUBDEV_FL_HAS_DEVNODE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leaq	16(%rbx), %rcx
	orl	%eax, 48(%rbx)
	movq	%r15, 88(%rbx)
	movw	%r12w, (%rbx)
	decl	%r12d
	movw	%r12w, 2(%rbx)
	movq	%rcx, %r12
	movl	16(%r15), %edx
	movq	%rcx, %rdi
	movq	%r14, %rsi
	movq	%r13, %rcx
	callq	_v4l2_i2c_subdev_set_name
	leaq	80(%rbx), %rsi
	movq	%rbx, %rdi
	callq	_smiapp_get_native_size
	movq	72(%rbx), %rax
	movq	80(%rbx), %rcx
	movq	%rcx, 64(%rbx)
	movzwl	2(%rbx), %edx
	movq	%rcx, (%rax,%rdx,8)
	movq	_MEDIA_PAD_FL_SOURCE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	56(%rbx), %rcx
	movzwl	2(%rbx), %edx
	movl	%eax, (%rcx,%rdx,4)
	cmpq	%rbx, 8(%r15)
	je	LBB0_5
## %bb.4:
	movq	72(%rbx), %rax
	movq	8(%rbx), %rcx
	movq	64(%rbx), %rdx
	movq	%rdx, (%rax,%rcx,8)
	movq	_MEDIA_PAD_FL_SINK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	8(%rbx), %rcx
	movq	56(%rbx), %rdx
	movl	%eax, (%rdx,%rcx,4)
LBB0_5:
	movq	_smiapp_entity_ops@GOTPCREL(%rip), %rax
	movq	%rax, 40(%rbx)
	cmpq	%rbx, (%r15)
	je	LBB0_6
## %bb.7:
	movq	_smiapp_internal_ops@GOTPCREL(%rip), %rax
	movq	%rax, 32(%rbx)
	movq	_THIS_MODULE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	movq	%r14, 16(%rbx)
	movq	%r12, %rdi
	movq	%r14, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_v4l2_set_subdevdata            ## TAILCALL
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_smiapp_ops,4,2                 ## @smiapp_ops
	.comm	_V4L2_SUBDEV_FL_HAS_DEVNODE,4,2 ## @V4L2_SUBDEV_FL_HAS_DEVNODE
	.comm	_MEDIA_PAD_FL_SOURCE,4,2        ## @MEDIA_PAD_FL_SOURCE
	.comm	_MEDIA_PAD_FL_SINK,4,2          ## @MEDIA_PAD_FL_SINK
	.comm	_smiapp_entity_ops,4,2          ## @smiapp_entity_ops
	.comm	_smiapp_internal_ops,4,2        ## @smiapp_internal_ops
	.comm	_THIS_MODULE,4,2                ## @THIS_MODULE
	.no_dead_strip	_smiapp_create_subdev
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function smiapp_create_subdev
_smiapp_create_subdev:                  ; @smiapp_create_subdev
	.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	x24, x3
	mov	x23, x2
	mov	x19, x1
	mov	x21, x0
	ldr	x8, [x0]
	add	x0, x8, #16
	bl	_v4l2_get_subdevdata
	cbz	x19, LBB0_7
; %bb.1:
	mov	x20, x0
	ldr	x8, [x21]
	cmp	x8, x19
	b.eq	LBB0_3
; %bb.2:
	add	x0, x19, #16
Lloh0:
	adrp	x1, _smiapp_ops@GOTPAGE
Lloh1:
	ldr	x1, [x1, _smiapp_ops@GOTPAGEOFF]
	bl	_v4l2_subdev_init
LBB0_3:
Lloh2:
	adrp	x8, _V4L2_SUBDEV_FL_HAS_DEVNODE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _V4L2_SUBDEV_FL_HAS_DEVNODE@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	add	x22, x19, #16
	ldr	w9, [x19, #48]
	orr	w8, w9, w8
	str	w8, [x19, #48]
	str	x21, [x19, #88]
	strh	w24, [x19]
	sub	w8, w24, #1
	strh	w8, [x19, #2]
	ldr	w2, [x21, #16]
	mov	x0, x22
	mov	x1, x20
	mov	x3, x23
	bl	_v4l2_i2c_subdev_set_name
	add	x1, x19, #80
	mov	x0, x19
	bl	_smiapp_get_native_size
	ldr	d0, [x19, #80]
	str	d0, [x19, #64]
	ldrh	w8, [x19, #2]
	ldp	x10, x9, [x19, #64]
	str	x10, [x9, x8, lsl #3]
Lloh5:
	adrp	x8, _MEDIA_PAD_FL_SOURCE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MEDIA_PAD_FL_SOURCE@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	ldr	x9, [x19, #56]
	ldrh	w10, [x19, #2]
	str	w8, [x9, x10, lsl #2]
	ldr	x8, [x21, #8]
	cmp	x8, x19
	b.eq	LBB0_5
; %bb.4:
	ldr	x8, [x19, #8]
	ldp	x10, x9, [x19, #64]
	str	x10, [x9, x8, lsl #3]
Lloh8:
	adrp	x8, _MEDIA_PAD_FL_SINK@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MEDIA_PAD_FL_SINK@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	ldr	x9, [x19, #56]
	ldr	x10, [x19, #8]
	str	w8, [x9, x10, lsl #2]
LBB0_5:
Lloh11:
	adrp	x8, _smiapp_entity_ops@GOTPAGE
Lloh12:
	ldr	x8, [x8, _smiapp_entity_ops@GOTPAGEOFF]
	str	x8, [x19, #40]
	ldr	x8, [x21]
	cmp	x8, x19
	b.eq	LBB0_7
; %bb.6:
Lloh13:
	adrp	x8, _smiapp_internal_ops@GOTPAGE
Lloh14:
	ldr	x8, [x8, _smiapp_internal_ops@GOTPAGEOFF]
Lloh15:
	adrp	x9, _THIS_MODULE@GOTPAGE
Lloh16:
	ldr	x9, [x9, _THIS_MODULE@GOTPAGEOFF]
	str	x8, [x19, #32]
Lloh17:
	ldr	w8, [x9]
	str	w8, [x19, #24]
	str	x20, [x19, #16]
	mov	x0, x22
	mov	x1, x20
	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
	b	_v4l2_set_subdevdata
LBB0_7:
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_smiapp_ops,4,2                 ; @smiapp_ops
	.comm	_V4L2_SUBDEV_FL_HAS_DEVNODE,4,2 ; @V4L2_SUBDEV_FL_HAS_DEVNODE
	.comm	_MEDIA_PAD_FL_SOURCE,4,2        ; @MEDIA_PAD_FL_SOURCE
	.comm	_MEDIA_PAD_FL_SINK,4,2          ; @MEDIA_PAD_FL_SINK
	.comm	_smiapp_entity_ops,4,2          ; @smiapp_entity_ops
	.comm	_smiapp_internal_ops,4,2        ; @smiapp_internal_ops
	.comm	_THIS_MODULE,4,2                ; @THIS_MODULE
	.no_dead_strip	_smiapp_create_subdev
.subsections_via_symbols
