	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_of_get_address                 ## -- Begin function of_get_address
	.p2align	4, 0x90
_of_get_address:                        ## @of_get_address
	.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	%rcx, %r12
	movq	%rdx, %r15
	movl	%esi, %r13d
	movq	%rdi, %rbx
	callq	_of_get_parent
	testq	%rax, %rax
	je	LBB0_11
## %bb.1:
	movq	%rax, %r14
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdi
	callq	_of_match_bus
	movq	%rax, %r12
	leaq	-48(%rbp), %rsi
	leaq	-52(%rbp), %rdx
	movq	%rbx, %rdi
	callq	*16(%rax)
	movq	%r14, %rdi
	callq	_of_node_put
	movl	-48(%rbp), %edi
	callq	_OF_CHECK_ADDR_COUNT
	testl	%eax, %eax
	je	LBB0_11
## %bb.2:
	movl	8(%r12), %esi
	leaq	-44(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_of_get_property
	testq	%rax, %rax
	je	LBB0_11
## %bb.3:
	movl	-44(%rbp), %ecx
	shrl	$2, %ecx
	movl	%ecx, -44(%rbp)
	movslq	-48(%rbp), %r8
	movl	-52(%rbp), %esi
	leal	(%rsi,%r8), %edx
	cmpl	%edx, %ecx
	jb	LBB0_11
## %bb.4:
	movq	%rax, %rbx
	movslq	%edx, %r9
	incl	%r13d
	shlq	$2, %r9
	movl	%edx, %eax
	negl	%eax
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	decl	%r13d
	je	LBB0_6
## %bb.10:                              ##   in Loop: Header=BB0_5 Depth=1
	addq	%r9, %rbx
	leal	(%rax,%rcx), %edi
	subl	%edx, %ecx
	movl	%edi, -44(%rbp)
	cmpl	%edx, %ecx
	jae	LBB0_5
LBB0_11:
	xorl	%ebx, %ebx
LBB0_12:
	movq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	testq	%r15, %r15
	je	LBB0_8
## %bb.7:
	leaq	(%rbx,%r8,4), %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_of_read_number
	movl	%eax, (%r15)
LBB0_8:
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	testq	%r14, %r14
	je	LBB0_12
## %bb.9:
	movq	%rbx, %rdi
	callq	*(%r12)
	movl	%eax, (%r14)
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_of_get_address                 ; -- Begin function of_get_address
	.p2align	2
_of_get_address:                        ; @of_get_address
	.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	x19, x3
	mov	x20, x2
	mov	x22, x1
	mov	x23, x0
	bl	_of_get_parent
	cbz	x0, LBB0_7
; %bb.1:
	mov	x24, x0
	bl	_of_match_bus
	mov	x21, x0
	ldr	x8, [x0, #16]
	add	x1, sp, #8
	add	x2, sp, #4
	mov	x0, x23
	blr	x8
	mov	x0, x24
	bl	_of_node_put
	ldr	w0, [sp, #8]
	bl	_OF_CHECK_ADDR_COUNT
	cbz	w0, LBB0_7
; %bb.2:
	ldr	w1, [x21, #8]
	add	x2, sp, #12
	mov	x0, x23
	bl	_of_get_property
	cbz	x0, LBB0_7
; %bb.3:
	ldr	w8, [sp, #12]
	lsr	w9, w8, #2
	str	w9, [sp, #12]
	ldp	w1, w8, [sp, #4]
                                        ; kill: def $w8 killed $w8 def $x8
	sxtw	x8, w8
	add	w10, w1, w8
	cmp	w9, w10
	b.lo	LBB0_7
; %bb.4:
	sxtw	x11, w10
	mov	w12, w22
	mul	x11, x11, x12
	add	x23, x0, x11, lsl #2
	add	w11, w22, #1
	neg	w12, w10
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	subs	w11, w11, #1
	b.eq	LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	add	w13, w12, w9
	str	w13, [sp, #12]
	sub	w9, w9, w10
	cmp	w9, w10
	b.hs	LBB0_5
LBB0_7:
	mov	x23, #0
LBB0_8:
	mov	x0, x23
	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
LBB0_9:
	cbz	x20, LBB0_11
; %bb.10:
	add	x0, x23, x8, lsl #2
	bl	_of_read_number
	str	w0, [x20]
LBB0_11:
	cbz	x19, LBB0_8
; %bb.12:
	ldr	x8, [x21]
	mov	x0, x23
	blr	x8
	str	w0, [x19]
	b	LBB0_8
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
