	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function s5c73m3_oif_registered
_s5c73m3_oif_registered:                ## @s5c73m3_oif_registered
	.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
	callq	_oif_sd_to_s5c73m3
	movq	%rax, %r14
	movl	(%rbx), %edi
	movq	%rax, %r15
	addq	$8, %r15
	movq	%r15, %rsi
	callq	_v4l2_device_register_subdev
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movl	%eax, %r12d
	movl	(%rbx), %edi
	movl	4(%r14), %edx
	leaq	L_.str(%rip), %rsi
	callq	_v4l2_err
	movl	%r12d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	_S5C73M3_ISP_PAD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_OIF_ISP_PAD@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_MEDIA_LNK_FL_IMMUTABLE@GOTPCREL(%rip), %r12
	movq	_MEDIA_LNK_FL_ENABLED@GOTPCREL(%rip), %rbx
	movl	(%rbx), %r8d
	orl	(%r12), %r8d
	movq	%r15, %rdi
	movq	%r14, %rdx
	callq	_media_create_pad_link
	movq	_S5C73M3_JPEG_PAD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_OIF_JPEG_PAD@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	(%rbx), %r8d
	orl	(%r12), %r8d
	movq	%r15, %rdi
	movq	%r14, %rdx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_media_create_pad_link          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to register %s\n"

	.comm	_S5C73M3_ISP_PAD,4,2            ## @S5C73M3_ISP_PAD
	.comm	_OIF_ISP_PAD,4,2                ## @OIF_ISP_PAD
	.comm	_MEDIA_LNK_FL_IMMUTABLE,4,2     ## @MEDIA_LNK_FL_IMMUTABLE
	.comm	_MEDIA_LNK_FL_ENABLED,4,2       ## @MEDIA_LNK_FL_ENABLED
	.comm	_S5C73M3_JPEG_PAD,4,2           ## @S5C73M3_JPEG_PAD
	.comm	_OIF_JPEG_PAD,4,2               ## @OIF_JPEG_PAD
	.no_dead_strip	_s5c73m3_oif_registered
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function s5c73m3_oif_registered
_s5c73m3_oif_registered:                ; @s5c73m3_oif_registered
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x21, x0
	bl	_oif_sd_to_s5c73m3
	mov	x19, x0
	ldr	w0, [x21]
	add	x20, x19, #8
	mov	x1, x20
	bl	_v4l2_device_register_subdev
	cbz	w0, LBB0_2
; %bb.1:
	mov	x22, x0
	ldr	w0, [x21]
	ldr	w2, [x19, #4]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_v4l2_err
	mov	x0, x22
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_2:
Lloh2:
	adrp	x8, _S5C73M3_ISP_PAD@GOTPAGE
Lloh3:
	ldr	x8, [x8, _S5C73M3_ISP_PAD@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	adrp	x8, _OIF_ISP_PAD@GOTPAGE
Lloh6:
	ldr	x8, [x8, _OIF_ISP_PAD@GOTPAGEOFF]
Lloh7:
	adrp	x21, _MEDIA_LNK_FL_IMMUTABLE@GOTPAGE
Lloh8:
	ldr	x21, [x21, _MEDIA_LNK_FL_IMMUTABLE@GOTPAGEOFF]
Lloh9:
	ldr	w3, [x8]
	ldr	w8, [x21]
Lloh10:
	adrp	x22, _MEDIA_LNK_FL_ENABLED@GOTPAGE
Lloh11:
	ldr	x22, [x22, _MEDIA_LNK_FL_ENABLED@GOTPAGEOFF]
	ldr	w9, [x22]
	orr	w4, w9, w8
	mov	x0, x20
	mov	x2, x19
	bl	_media_create_pad_link
Lloh12:
	adrp	x8, _S5C73M3_JPEG_PAD@GOTPAGE
Lloh13:
	ldr	x8, [x8, _S5C73M3_JPEG_PAD@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
Lloh15:
	adrp	x8, _OIF_JPEG_PAD@GOTPAGE
Lloh16:
	ldr	x8, [x8, _OIF_JPEG_PAD@GOTPAGEOFF]
Lloh17:
	ldr	w3, [x8]
	ldr	w8, [x21]
	ldr	w9, [x22]
	orr	w4, w9, w8
	mov	x0, x20
	mov	x2, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_media_create_pad_link
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh9
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to register %s\n"

	.comm	_S5C73M3_ISP_PAD,4,2            ; @S5C73M3_ISP_PAD
	.comm	_OIF_ISP_PAD,4,2                ; @OIF_ISP_PAD
	.comm	_MEDIA_LNK_FL_IMMUTABLE,4,2     ; @MEDIA_LNK_FL_IMMUTABLE
	.comm	_MEDIA_LNK_FL_ENABLED,4,2       ; @MEDIA_LNK_FL_ENABLED
	.comm	_S5C73M3_JPEG_PAD,4,2           ; @S5C73M3_JPEG_PAD
	.comm	_OIF_JPEG_PAD,4,2               ; @OIF_JPEG_PAD
	.no_dead_strip	_s5c73m3_oif_registered
.subsections_via_symbols
