	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function of_fwnode_get_reference_args
_of_fwnode_get_reference_args:          ## @of_fwnode_get_reference_args
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r14
	movl	%r8d, %r15d
	movl	%ecx, %r12d
	movq	%rdx, %rbx
	movq	%rsi, %r13
	callq	_to_of_node
	leaq	-64(%rbp), %r8
	movl	%eax, %edi
	movq	%r13, %rsi
	testq	%rbx, %rbx
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdx
	movl	%r15d, %ecx
	callq	_of_parse_phandle_with_args
	jmp	LBB0_3
LBB0_2:
	movl	%r12d, %edx
	movl	%r15d, %ecx
	callq	_of_parse_phandle_with_fixed_args
LBB0_3:
	movl	%eax, %ebx
	testl	%eax, %eax
	js	LBB0_11
## %bb.4:
	xorl	%ebx, %ebx
	testq	%r14, %r14
	je	LBB0_11
## %bb.5:
	movl	-64(%rbp), %eax
	movl	%eax, (%r14)
	movl	-48(%rbp), %edi
	callq	_of_fwnode_handle
	movl	%eax, 16(%r14)
	movq	_NR_FWNODE_REFERENCE_ARGS@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_11
## %bb.6:
	movq	-56(%rbp), %rcx
	movq	8(%r14), %rdx
	xorl	%esi, %esi
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=1
	movl	%edi, (%rdx,%rsi,4)
	incq	%rsi
	movl	(%rax), %edi
	cmpq	%rdi, %rsi
	jae	LBB0_10
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movl	-64(%rbp), %ebx
	movl	$0, %edi
	cmpq	%rbx, %rsi
	jae	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movl	(%rcx,%rsi,4), %edi
	jmp	LBB0_9
LBB0_10:
	xorl	%ebx, %ebx
LBB0_11:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NR_FWNODE_REFERENCE_ARGS,4,2   ## @NR_FWNODE_REFERENCE_ARGS
	.no_dead_strip	_of_fwnode_get_reference_args
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function of_fwnode_get_reference_args
_of_fwnode_get_reference_args:          ; @of_fwnode_get_reference_args
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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, x5
	mov	x20, x4
	mov	x22, x3
	mov	x23, x2
	mov	x21, x1
	bl	_to_of_node
	add	x4, sp, #8
	mov	x1, x21
	cbz	x23, LBB0_2
; %bb.1:
	mov	x2, x23
	mov	x3, x20
	bl	_of_parse_phandle_with_args
	tbz	w0, #31, LBB0_3
	b	LBB0_11
LBB0_2:
	mov	x2, x22
	mov	x3, x20
	bl	_of_parse_phandle_with_fixed_args
	tbnz	w0, #31, LBB0_11
LBB0_3:
	cbz	x19, LBB0_10
; %bb.4:
	ldr	w8, [sp, #8]
	ldr	w0, [sp, #24]
	str	w8, [x19]
	bl	_of_fwnode_handle
	str	w0, [x19, #16]
Lloh0:
	adrp	x8, _NR_FWNODE_REFERENCE_ARGS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NR_FWNODE_REFERENCE_ARGS@GOTPAGEOFF]
	ldr	w9, [x8]
	cbz	w9, LBB0_10
; %bb.5:
	mov	x9, #0
	ldr	x10, [sp, #16]
	ldr	x11, [x19, #8]
	b	LBB0_8
LBB0_6:                                 ;   in Loop: Header=BB0_8 Depth=1
	ldr	w12, [x10, x9, lsl #2]
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	str	w12, [x11, x9, lsl #2]
	add	x9, x9, #1
	ldr	w12, [x8]
	cmp	x9, x12
	b.hs	LBB0_10
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w12, [sp, #8]
	cmp	x9, x12
	b.lo	LBB0_6
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	w12, #0
	b	LBB0_7
LBB0_10:
	mov	w0, #0
LBB0_11:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_NR_FWNODE_REFERENCE_ARGS,4,2   ; @NR_FWNODE_REFERENCE_ARGS
	.no_dead_strip	_of_fwnode_get_reference_args
.subsections_via_symbols
