	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sun6i_csi_fwnode_parse
_sun6i_csi_fwnode_parse:                ## @sun6i_csi_fwnode_parse
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	callq	_dev_get_drvdata
	cmpq	$0, 16(%r14)
	jne	LBB0_2
## %bb.1:
	cmpq	$0, 8(%r14)
	je	LBB0_3
LBB0_2:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_dev_warn
LBB0_6:
	movq	_ENOTCONN@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_7:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_3:
	movl	(%r14), %ecx
	andl	$-2, %ecx
	cmpl	$128, %ecx
	jne	LBB0_5
## %bb.4:
	movq	16(%r14), %rcx
	movq	%rcx, 16(%rax)
	movups	(%r14), %xmm0
	movups	%xmm0, (%rax)
	xorl	%eax, %eax
	jmp	LBB0_7
LBB0_5:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_dev_err
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Only support a single port with one endpoint\n"

	.comm	_ENOTCONN,4,2                   ## @ENOTCONN
L_.str.1:                               ## @.str.1
	.asciz	"Unsupported media bus type\n"

	.no_dead_strip	_sun6i_csi_fwnode_parse
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sun6i_csi_fwnode_parse
_sun6i_csi_fwnode_parse:                ; @sun6i_csi_fwnode_parse
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
	bl	_dev_get_drvdata
	ldr	x8, [x20, #16]
	cbnz	x8, LBB0_2
; %bb.1:
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_5
LBB0_2:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_warn
LBB0_3:
Lloh2:
	adrp	x8, _ENOTCONN@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ENOTCONN@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w8, w8
LBB0_4:
	mov	x0, x8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_5:
	ldr	w8, [x20]
	and	w8, w8, #0xfffffffe
	cmp	w8, #128
	b.ne	LBB0_7
; %bb.6:
	mov	w8, #0
	ldr	q0, [x20]
	ldr	x9, [x20, #16]
	str	x9, [x0, #16]
	str	q0, [x0]
	b	LBB0_4
LBB0_7:
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	b	LBB0_3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Only support a single port with one endpoint\n"

	.comm	_ENOTCONN,4,2                   ; @ENOTCONN
l_.str.1:                               ; @.str.1
	.asciz	"Unsupported media bus type\n"

	.no_dead_strip	_sun6i_csi_fwnode_parse
.subsections_via_symbols
