	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_v4l2_fwnode_endpoint_alloc_parse ## -- Begin function v4l2_fwnode_endpoint_alloc_parse
	.p2align	4, 0x90
_v4l2_fwnode_endpoint_alloc_parse:      ## @v4l2_fwnode_endpoint_alloc_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	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %r14
	callq	___v4l2_fwnode_endpoint_parse
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_fwnode_property_count_u64
	testl	%eax, %eax
	jle	LBB0_9
## %bb.3:
	movl	%eax, %r15d
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r15d, %edi
	movl	$4, %esi
	callq	_kmalloc_array
	movq	%rax, 8(%r12)
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movl	%r15d, (%r12)
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movq	%rax, %rdx
	movl	%r15d, %ecx
	callq	_fwnode_property_read_u64_array
	testl	%eax, %eax
	js	LBB0_11
## %bb.6:
	cmpl	$0, (%r12)
	je	LBB0_9
## %bb.7:
	xorl	%ebx, %ebx
	leaq	L_.str.1(%rip), %r14
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r12), %rax
	movl	(%rax,%rbx,4), %edx
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_pr_info
	incq	%rbx
	movl	(%r12), %eax
	cmpq	%rax, %rbx
	jb	LBB0_8
LBB0_9:
	leaq	L_.str.2(%rip), %rdi
	callq	_pr_debug
	xorl	%r15d, %r15d
	jmp	LBB0_10
LBB0_1:
	movl	%eax, %r15d
	jmp	LBB0_10
LBB0_4:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
	jmp	LBB0_10
LBB0_11:
	movl	%eax, %r15d
	movq	%r12, %rdi
	callq	_v4l2_fwnode_endpoint_free
LBB0_10:
	movl	%r15d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"link-frequencies"

	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
L_.str.1:                               ## @.str.1
	.asciz	"link-frequencies %u value %llu\n"

L_.str.2:                               ## @.str.2
	.asciz	"===== end V4L2 endpoint properties\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_v4l2_fwnode_endpoint_alloc_parse ; -- Begin function v4l2_fwnode_endpoint_alloc_parse
	.p2align	2
_v4l2_fwnode_endpoint_alloc_parse:      ; @v4l2_fwnode_endpoint_alloc_parse
	.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	x19, x1
	mov	x20, x0
	bl	___v4l2_fwnode_endpoint_parse
	tbnz	w0, #31, LBB0_8
; %bb.1:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_fwnode_property_count_u64
	cmp	w0, #1
	b.lt	LBB0_7
; %bb.2:
	mov	x21, x0
Lloh2:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	mov	w1, #4
	bl	_kmalloc_array
	str	x0, [x19, #8]
	cbz	x0, LBB0_9
; %bb.3:
	mov	x2, x0
	str	w21, [x19]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	mov	x3, x21
	bl	_fwnode_property_read_u64_array
	tbnz	w0, #31, LBB0_10
; %bb.4:
	ldr	w8, [x19]
	cbz	w8, LBB0_7
; %bb.5:
	mov	x20, #0
Lloh7:
	adrp	x21, l_.str.1@PAGE
Lloh8:
	add	x21, x21, l_.str.1@PAGEOFF
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	ldr	w2, [x8, x20, lsl #2]
	mov	x0, x21
	mov	x1, x20
	bl	_pr_info
	add	x20, x20, #1
	ldr	w8, [x19]
	cmp	x20, x8
	b.lo	LBB0_6
LBB0_7:
Lloh9:
	adrp	x0, l_.str.2@PAGE
Lloh10:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_pr_debug
	mov	w21, #0
	b	LBB0_11
LBB0_8:
	mov	x21, x0
	b	LBB0_11
LBB0_9:
Lloh11:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_11
LBB0_10:
	mov	x21, x0
	mov	x0, x19
	bl	_v4l2_fwnode_endpoint_free
LBB0_11:
	mov	x0, x21
	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
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"link-frequencies"

	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
l_.str.1:                               ; @.str.1
	.asciz	"link-frequencies %u value %llu\n"

l_.str.2:                               ; @.str.2
	.asciz	"===== end V4L2 endpoint properties\n"

.subsections_via_symbols
