	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_of_phandle_iterator_init       ## -- Begin function of_phandle_iterator_init
	.p2align	4, 0x90
_of_phandle_iterator_init:              ## @of_phandle_iterator_init
	.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	%r8d, %r14d
	movq	%rcx, %r12
	movq	%rdx, %r13
	movq	%rsi, %r15
	movq	%rdi, %rbx
	xorl	%esi, %esi
	movl	$48, %edx
	callq	_memset
	testq	%r12, %r12
	jne	LBB0_4
## %bb.1:
	testl	%r14d, %r14d
	jns	LBB0_4
## %bb.2:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	jmp	LBB0_3
LBB0_4:
	leaq	-44(%rbp), %rdx
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_of_get_property
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	movq	%r12, (%rbx)
	movl	%r14d, 8(%rbx)
	movq	%r15, 40(%rbx)
	movslq	-44(%rbp), %rcx
	andq	$-4, %rcx
	addq	%rax, %rcx
	movq	%rcx, 32(%rbx)
	movq	%rax, 24(%rbx)
	movq	%rax, 16(%rbx)
	xorl	%eax, %eax
	jmp	LBB0_7
LBB0_5:
	movq	_ENOENT@GOTPCREL(%rip), %rcx
LBB0_3:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_ENOENT,4,2                     ## @ENOENT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_of_phandle_iterator_init       ; -- Begin function of_phandle_iterator_init
	.p2align	2
_of_phandle_iterator_init:              ; @of_phandle_iterator_init
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x21, x4
	mov	x22, x3
	mov	x23, x2
	mov	x20, x1
	mov	x19, x0
	mov	w1, #0
	mov	w2, #48
	bl	_memset
	cbnz	x22, LBB0_3
; %bb.1:
	tbz	w21, #31, LBB0_3
; %bb.2:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_6
LBB0_3:
	add	x2, sp, #12
	mov	x0, x20
	mov	x1, x23
	bl	_of_get_property
	cbz	x0, LBB0_5
; %bb.4:
	mov	x8, x0
	mov	w0, #0
	str	x22, [x19]
	str	w21, [x19, #8]
	ldrsw	x9, [sp, #12]
	and	x9, x9, #0xfffffffffffffffc
	add	x9, x8, x9
	stp	x9, x20, [x19, #32]
	stp	x8, x8, [x19, #16]
	b	LBB0_7
LBB0_5:
Lloh2:
	adrp	x8, _ENOENT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
LBB0_6:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_7:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_ENOENT,4,2                     ; @ENOENT
.subsections_via_symbols
