	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function of_translate_one
_of_translate_one:                      ## @of_translate_one
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %r15d
                                        ## kill: def $r8d killed $r8d def $r8
	movq	%r8, -56(%rbp)                  ## 8-byte Spill
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	%rdx, %rbx
	movq	%rsi, -80(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r13
	movq	24(%rbp), %rsi
	movq	_OF_BAD_ADDR@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	leaq	-44(%rbp), %rdx
	callq	_of_get_property
	testq	%rax, %rax
	je	LBB0_1
## %bb.4:
	cmpl	$0, -44(%rbp)
	je	LBB0_5
## %bb.6:
	movq	%rax, %r14
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_pr_debug
	movl	-44(%rbp), %eax
	shrl	$2, %eax
	movl	%eax, -44(%rbp)
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	leal	(%r15,%rcx), %ebx
	movl	16(%rbp), %ecx
	addl	%ecx, %ebx
	cmpl	%ebx, %eax
	jae	LBB0_8
## %bb.7:
	movq	_OF_BAD_ADDR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jmp	LBB0_11
LBB0_1:
	movq	%r13, %rdi
	callq	_of_empty_ranges_quirk
	testl	%eax, %eax
	je	LBB0_2
LBB0_5:
	movq	%rbx, %r15
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_of_read_number
	movq	%rax, %r12
	movl	16(%rbp), %r14d
	leal	(,%r14,4), %edx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_memset
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_pr_debug
	jmp	LBB0_14
LBB0_8:
	movslq	%ebx, %r13
	shlq	$2, %r13
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	movl	%r15d, %ecx
	movl	16(%rbp), %r8d
                                        ## kill: def $r8d killed $r8d killed $r8
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	callq	*(%rax)
	movq	%rax, %r12
	movq	_OF_BAD_ADDR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%rax, %r12
	jne	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	movl	-44(%rbp), %ecx
	subl	%ebx, %ecx
	movl	%ecx, -44(%rbp)
	addq	%r13, %r14
	cmpl	%ebx, %ecx
	jae	LBB0_9
LBB0_11:
	cmpq	%rax, %r12
	jne	LBB0_13
## %bb.12:
	leaq	L_.str.3(%rip), %rdi
	jmp	LBB0_3
LBB0_13:
	movslq	-56(%rbp), %rax                 ## 4-byte Folded Reload
	leaq	(%r14,%rax,4), %rsi
	movl	16(%rbp), %r14d
	leal	(,%r14,4), %edx
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_memcpy
	movq	-72(%rbp), %r15                 ## 8-byte Reload
LBB0_14:
	leaq	L_.str.4(%rip), %rdi
	movq	%rbx, %rsi
	movl	%r14d, %edx
	callq	_of_dump_addr
	leaq	L_.str.5(%rip), %rdi
	movq	%r12, %rsi
	xorl	%eax, %eax
	callq	_pr_debug
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movl	%r14d, %edx
	callq	*8(%r15)
	jmp	LBB0_15
LBB0_2:
	leaq	L_.str(%rip), %rdi
LBB0_3:
	xorl	%eax, %eax
	callq	_pr_debug
	movl	$1, %eax
LBB0_15:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OF_BAD_ADDR,8,3                ## @OF_BAD_ADDR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"no ranges; cannot translate\n"

L_.str.1:                               ## @.str.1
	.asciz	"empty ranges; 1:1 translation\n"

L_.str.2:                               ## @.str.2
	.asciz	"walking ranges...\n"

L_.str.3:                               ## @.str.3
	.asciz	"not found !\n"

L_.str.4:                               ## @.str.4
	.asciz	"parent translation for:"

L_.str.5:                               ## @.str.5
	.asciz	"with offset: %llx\n"

	.no_dead_strip	_of_translate_one
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function of_translate_one
_of_translate_one:                      ; @of_translate_one
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x6
	mov	x25, x5
	mov	x23, x4
	mov	x20, x3
	mov	x21, x2
	mov	x26, x1
	mov	x27, x0
Lloh0:
	adrp	x28, _OF_BAD_ADDR@GOTPAGE
Lloh1:
	ldr	x28, [x28, _OF_BAD_ADDR@GOTPAGEOFF]
	ldr	x22, [x28]
	add	x2, sp, #28
	mov	x1, x7
	bl	_of_get_property
	cbz	x0, LBB0_4
; %bb.1:
	ldr	w8, [sp, #28]
	cbz	w8, LBB0_5
; %bb.2:
	mov	x24, x0
Lloh2:
	adrp	x0, l_.str.2@PAGE
Lloh3:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_pr_debug
	ldr	w8, [sp, #28]
	lsr	w8, w8, #2
	str	w8, [sp, #28]
	add	w9, w25, w23
	add	w27, w9, w19
	cmp	w8, w27
	str	x21, [sp, #16]                  ; 8-byte Folded Spill
	b.hs	LBB0_6
; %bb.3:
	ldr	x8, [x28]
	b	LBB0_9
LBB0_4:
	mov	x0, x27
	bl	_of_empty_ranges_quirk
	cbz	w0, LBB0_13
LBB0_5:
	mov	x0, x20
	mov	x1, x23
	bl	_of_read_number
	mov	x22, x0
	lsl	w2, w19, #2
	mov	x0, x20
	mov	w1, #0
	bl	_memset
Lloh4:
	adrp	x0, l_.str.1@PAGE
Lloh5:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_pr_debug
	b	LBB0_12
LBB0_6:
	sbfiz	x21, x27, #2, #32
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x26]
	mov	x0, x20
	mov	x1, x24
	mov	x2, x23
	mov	x3, x25
	mov	x4, x19
	blr	x8
	mov	x22, x0
	ldr	x8, [x28]
	cmp	x0, x8
	b.ne	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w9, [sp, #28]
	sub	w9, w9, w27
	cmp	w9, w27
	str	w9, [sp, #28]
	add	x24, x24, x21
	b.hs	LBB0_7
LBB0_9:
	cmp	x22, x8
	b.ne	LBB0_11
; %bb.10:
Lloh6:
	adrp	x0, l_.str.3@PAGE
Lloh7:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_14
LBB0_11:
	lsl	w2, w19, #2
	add	x1, x24, w23, sxtw #2
	mov	x0, x20
	bl	_memcpy
	ldr	x21, [sp, #16]                  ; 8-byte Folded Reload
LBB0_12:
Lloh8:
	adrp	x0, l_.str.4@PAGE
Lloh9:
	add	x0, x0, l_.str.4@PAGEOFF
	mov	x1, x20
	mov	x2, x19
	bl	_of_dump_addr
	str	x22, [sp]
Lloh10:
	adrp	x0, l_.str.5@PAGE
Lloh11:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_pr_debug
	ldr	x8, [x21, #8]
	mov	x0, x20
	mov	x1, x22
	mov	x2, x19
	blr	x8
	b	LBB0_15
LBB0_13:
Lloh12:
	adrp	x0, l_.str@PAGE
Lloh13:
	add	x0, x0, l_.str@PAGEOFF
LBB0_14:
	bl	_pr_debug
	mov	w0, #1
LBB0_15:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_OF_BAD_ADDR,8,3                ; @OF_BAD_ADDR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"no ranges; cannot translate\n"

l_.str.1:                               ; @.str.1
	.asciz	"empty ranges; 1:1 translation\n"

l_.str.2:                               ; @.str.2
	.asciz	"walking ranges...\n"

l_.str.3:                               ; @.str.3
	.asciz	"not found !\n"

l_.str.4:                               ; @.str.4
	.asciz	"parent translation for:"

l_.str.5:                               ; @.str.5
	.asciz	"with offset: %llx\n"

	.no_dead_strip	_of_translate_one
.subsections_via_symbols
