	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function kboot_get_phys_load_segment
_kboot_get_phys_load_segment:           ## @kboot_get_phys_load_segment
	.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	$568, %rsp                      ## imm = 0x238
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	cmpq	$-1, _kboot_get_phys_load_segment.load_segment(%rip)
	je	LBB0_1
LBB0_46:
	movq	_kboot_get_phys_load_segment.load_segment(%rip), %rax
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_48
## %bb.47:
	addq	$568, %rsp                      ## imm = 0x238
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	$0, _kboot_get_phys_load_segment.load_segment(%rip)
	movq	_O_RDONLY@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	leaq	L_.str(%rip), %rdi
	xorl	%r12d, %r12d
	xorl	%edx, %edx
	callq	_host_open
	testl	%eax, %eax
	js	LBB0_6
## %bb.2:
	movl	%eax, %r15d
	xorl	%r12d, %r12d
	leaq	-64(%rbp), %rsi
	movl	$16, %edx
	movl	%eax, %edi
	xorl	%eax, %eax
	callq	_host_read
	cmpl	$16, %eax
	jne	LBB0_5
## %bb.3:
	leaq	-568(%rbp), %r13
	leaq	-64(%rbp), %r14
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	-64(%rbp), %rdi
	callq	_be64toh
	movq	%rax, %rbx
	movq	%rax, -8(%r13)
	movq	-56(%rbp), %rdi
	callq	_be64toh
	addq	%rbx, %rax
	decq	%rax
	movq	%rax, (%r13)
	movl	$16, %edx
	movl	%r15d, %edi
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_host_read
	addq	$16, %r13
	incl	%r12d
	cmpl	$16, %eax
	je	LBB0_4
LBB0_5:
	movl	%r15d, %edi
	callq	_host_close
	movq	_O_RDONLY@GOTPCREL(%rip), %r13
LBB0_6:
	movl	(%r13), %esi
	leaq	L_.str.1(%rip), %rdi
	xorl	%edx, %edx
	callq	_host_open
	testl	%eax, %eax
	js	LBB0_11
## %bb.7:
	movl	%eax, %r14d
	leaq	-592(%rbp), %rsi
	movl	$8, %edx
	movl	%eax, %edi
	xorl	%eax, %eax
	callq	_host_read
	movl	%r12d, %ebx
	cmpl	$8, %eax
	jne	LBB0_9
## %bb.8:
	movq	%rbx, %rax
	shlq	$4, %rax
	movq	$0, -576(%rbp,%rax)
	movq	-592(%rbp), %rdi
	callq	_be64toh
	jmp	LBB0_10
LBB0_9:
	leaq	-580(%rbp), %rdi
	leaq	-592(%rbp), %rsi
	movl	$4, %edx
	callq	_memcpy
	movq	%rbx, %rax
	shlq	$4, %rax
	movq	$0, -576(%rbp,%rax)
	movl	-580(%rbp), %edi
	callq	_be32toh
LBB0_10:
	decq	%rax
	shlq	$4, %rbx
	movq	%rax, -568(%rbp,%rbx)
	incl	%r12d
	movl	%r14d, %edi
	callq	_host_close
LBB0_11:
	movl	(%r13), %esi
	leaq	L_.str.2(%rip), %rdi
	xorl	%edx, %edx
	callq	_host_open
	movl	%eax, %ebx
	testl	%eax, %eax
	jns	LBB0_13
## %bb.12:
	movl	(%r13), %esi
	leaq	L_.str.3(%rip), %rdi
	xorl	%edx, %edx
	callq	_host_open
	movl	%eax, %ebx
	testl	%eax, %eax
	js	LBB0_18
LBB0_13:
	leaq	-64(%rbp), %rsi
	movl	$16, %edx
	movl	%ebx, %edi
	xorl	%eax, %eax
	callq	_host_read
	movq	-64(%rbp), %rdi
	callq	_be64toh
	movq	%rax, -64(%rbp)
	movq	-56(%rbp), %rdi
	callq	_be64toh
	movq	%rax, -56(%rbp)
	movq	-64(%rbp), %rcx
	testq	%rcx, %rcx
	je	LBB0_15
## %bb.14:
	movslq	%r12d, %r12
	movq	%r12, %rdx
	shlq	$4, %rdx
	movq	$0, -576(%rbp,%rdx)
	leaq	-1(%rcx), %rsi
	movq	%rsi, -568(%rbp,%rdx)
	incl	%r12d
LBB0_15:
	cmpq	$-1, %rax
	je	LBB0_17
## %bb.16:
	addq	%rax, %rcx
	movslq	%r12d, %r12
	movq	%r12, %rax
	shlq	$4, %rax
	movq	%rcx, -576(%rbp,%rax)
	movq	$-1, -568(%rbp,%rax)
	incl	%r12d
LBB0_17:
	movl	%ebx, %edi
	callq	_host_close
LBB0_18:
	leal	-1(%r12), %r15d
	cmpl	$1, %r12d
	jle	LBB0_19
## %bb.34:
	leaq	-560(%rbp), %r8
	movq	%r15, %rcx
	movl	%r12d, %edx
	jmp	LBB0_35
	.p2align	4, 0x90
LBB0_22:                                ##   in Loop: Header=BB0_35 Depth=1
	decq	%rcx
	cmpl	$2, %esi
	jle	LBB0_23
LBB0_35:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_36 Depth 2
	movl	%edx, %esi
	leal	-1(%rsi), %edx
	movq	%r8, %rdi
	xorl	%ebx, %ebx
	jmp	LBB0_36
	.p2align	4, 0x90
LBB0_38:                                ##   in Loop: Header=BB0_36 Depth=2
	addq	$16, %rdi
	cmpq	%rbx, %rcx
	je	LBB0_22
LBB0_36:                                ##   Parent Loop BB0_35 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	-16(%rdi), %rax
	incq	%rbx
	cmpq	(%rdi), %rax
	jbe	LBB0_38
## %bb.37:                              ##   in Loop: Header=BB0_36 Depth=2
	movups	-16(%rdi), %xmm0
	movaps	%xmm0, -608(%rbp)
	movaps	(%rdi), %xmm0
	movaps	%xmm0, -16(%rdi)
	movaps	-608(%rbp), %xmm0
	movups	%xmm0, (%rdi)
	jmp	LBB0_38
LBB0_23:
	xorl	%ebx, %ebx
	jmp	LBB0_24
	.p2align	4, 0x90
LBB0_32:                                ##   in Loop: Header=BB0_24 Depth=1
	movl	%r15d, %r12d
	movl	%ebx, %r14d
LBB0_33:                                ##   in Loop: Header=BB0_24 Depth=1
	leal	-1(%r12), %r15d
	movl	%r14d, %ebx
	cmpl	%r15d, %r14d
	jge	LBB0_19
LBB0_24:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_31 Depth 2
	leal	1(%rbx), %r14d
	movslq	%ebx, %r13
	movq	%r13, %rax
	shlq	$4, %rax
	movq	-560(%rbp,%rax), %rcx
	cmpq	-576(%rbp,%rax), %rcx
	jb	LBB0_33
## %bb.25:                              ##   in Loop: Header=BB0_24 Depth=1
	decq	%rcx
	movq	-568(%rbp,%rax), %rdi
	cmpq	%rdi, %rcx
	ja	LBB0_33
## %bb.26:                              ##   in Loop: Header=BB0_24 Depth=1
	leaq	(%rax,%rbp), %r12
	addq	$-568, %r12                     ## imm = 0xFDC8
	leal	(%rbx,%rbx), %eax
	cltq
	shlq	$4, %rax
	movl	-568(%rbp,%rax), %esi
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_MAX
	cltq
	movq	%rax, (%r12)
	cmpl	%r15d, %r14d
	jge	LBB0_32
## %bb.27:                              ##   in Loop: Header=BB0_24 Depth=1
	leaq	1(%r13), %rax
	movl	%ebx, %edx
	notl	%edx
	addl	%r15d, %edx
	leal	-2(%r15), %ecx
	testb	$1, %dl
	je	LBB0_29
## %bb.28:                              ##   in Loop: Header=BB0_24 Depth=1
	shlq	$4, %rax
	addq	$2, %r13
	movq	%r13, %rdx
	shlq	$4, %rdx
	movaps	-576(%rbp,%rdx), %xmm0
	movaps	%xmm0, -576(%rbp,%rax)
	movq	%r13, %rax
LBB0_29:                                ##   in Loop: Header=BB0_24 Depth=1
	cmpl	%ebx, %ecx
	je	LBB0_32
## %bb.30:                              ##   in Loop: Header=BB0_24 Depth=1
	movq	%rax, %rcx
	shlq	$4, %rcx
	leaq	-544(%rbp), %rdx
	addq	%rdx, %rcx
	.p2align	4, 0x90
LBB0_31:                                ##   Parent Loop BB0_24 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movaps	-16(%rcx), %xmm0
	movaps	(%rcx), %xmm1
	movaps	%xmm0, -32(%rcx)
	movaps	%xmm1, -16(%rcx)
	addl	$2, %eax
	addq	$32, %rcx
	cmpl	%eax, %r15d
	jne	LBB0_31
	jmp	LBB0_32
LBB0_19:
	testl	%r12d, %r12d
	jle	LBB0_46
## %bb.20:
	movq	-576(%rbp), %rax
	testl	%r15d, %r15d
	jle	LBB0_21
## %bb.39:
	movl	%r15d, %edx
	shlq	$4, %rdx
	xorl	%esi, %esi
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_40:                                ## =>This Inner Loop Header: Depth=1
	cmpq	%rax, %rcx
	jb	LBB0_43
## %bb.41:                              ##   in Loop: Header=BB0_40 Depth=1
	movq	-568(%rbp,%rsi), %rdi
	cmpq	%rdi, %rcx
	ja	LBB0_43
## %bb.42:                              ##   in Loop: Header=BB0_40 Depth=1
	incq	%rdi
	movq	-560(%rbp,%rsi), %rax
	addq	$16, %rsi
	movq	%rdi, %rcx
	cmpq	%rsi, %rdx
	jne	LBB0_40
	jmp	LBB0_43
LBB0_21:
	xorl	%ecx, %ecx
LBB0_43:
	cmpq	%rax, %rcx
	je	LBB0_46
## %bb.44:
	addq	$67108863, %rcx                 ## imm = 0x3FFFFFF
	andq	$-67108864, %rcx                ## imm = 0xFC000000
	incq	%rax
	andq	$-67108864, %rax                ## imm = 0xFC000000
	decq	%rax
	cmpq	%rax, %rcx
	jae	LBB0_46
## %bb.45:
	movq	%rcx, _kboot_get_phys_load_segment.load_segment(%rip)
	jmp	LBB0_46
LBB0_48:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__DATA,__data
	.p2align	3                               ## @kboot_get_phys_load_segment.load_segment
_kboot_get_phys_load_segment.load_segment:
	.quad	-1                              ## 0xffffffffffffffff

	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"/proc/device-tree/reserved-ranges"

	.comm	_O_RDONLY,4,2                   ## @O_RDONLY
L_.str.1:                               ## @.str.1
	.asciz	"/proc/device-tree/chosen/linux,kernel-end"

L_.str.2:                               ## @.str.2
	.asciz	"/proc/device-tree/memory@0/reg"

L_.str.3:                               ## @.str.3
	.asciz	"/proc/device-tree/memory/reg"

	.no_dead_strip	_kboot_get_phys_load_segment
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function kboot_get_phys_load_segment
_kboot_get_phys_load_segment:           ; @kboot_get_phys_load_segment
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #592
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	adrp	x21, _kboot_get_phys_load_segment.load_segment@PAGE
	ldr	x8, [x21, _kboot_get_phys_load_segment.load_segment@PAGEOFF]
	cmn	x8, #1
	b.eq	LBB0_3
LBB0_1:
	ldr	x0, [x21, _kboot_get_phys_load_segment.load_segment@PAGEOFF]
	ldur	x8, [x29, #-88]
Lloh3:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh4:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_47
; %bb.2:
	add	sp, sp, #592
	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
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_3:
	str	xzr, [x21, _kboot_get_phys_load_segment.load_segment@PAGEOFF]
Lloh6:
	adrp	x23, _O_RDONLY@GOTPAGE
Lloh7:
	ldr	x23, [x23, _O_RDONLY@GOTPAGEOFF]
	ldr	w1, [x23]
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	mov	w2, #0
	bl	_host_open
	tbnz	w0, #31, LBB0_7
; %bb.4:
	mov	x19, x0
	mov	w8, #16
	sub	x24, x29, #104
	stp	x24, x8, [sp]
	bl	_host_read
	cmp	w0, #16
	b.ne	LBB0_8
; %bb.5:
	mov	w22, #0
	add	x8, sp, #56
	add	x25, x8, #8
	mov	w26, #16
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldur	x0, [x29, #-104]
	bl	_be64toh
	mov	x20, x0
	stur	x0, [x25, #-8]
	ldur	x0, [x29, #-96]
	bl	_be64toh
	add	x8, x0, x20
	sub	x8, x8, #1
	str	x8, [x25], #16
	stp	x24, x26, [sp]
	mov	x0, x19
	bl	_host_read
	add	w22, w22, #1
	cmp	w0, #16
	b.eq	LBB0_6
	b	LBB0_9
LBB0_7:
	mov	w22, #0
	b	LBB0_10
LBB0_8:
	mov	w22, #0
LBB0_9:
	mov	x0, x19
	bl	_host_close
LBB0_10:
	ldr	w1, [x23]
Lloh10:
	adrp	x0, l_.str.1@PAGE
Lloh11:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	w2, #0
	bl	_host_open
	tbnz	w0, #31, LBB0_15
; %bb.11:
	mov	x19, x0
	mov	w8, #8
	add	x9, sp, #48
	stp	x9, x8, [sp]
	bl	_host_read
	mov	w20, w22
	cmp	w0, #8
	b.ne	LBB0_13
; %bb.12:
	lsl	x8, x20, #4
	add	x9, sp, #56
	str	xzr, [x9, x8]
	ldr	x0, [sp, #48]
	bl	_be64toh
	b	LBB0_14
LBB0_13:
	add	x0, sp, #44
	add	x1, sp, #48
	mov	w2, #4
	bl	_memcpy
	lsl	x8, x20, #4
	add	x9, sp, #56
	str	xzr, [x9, x8]
	ldr	w0, [sp, #44]
	bl	_be32toh
LBB0_14:
	sub	x8, x0, #1
	add	x9, sp, #56
	add	x9, x9, x20, lsl #4
	str	x8, [x9, #8]
	add	w22, w22, #1
	mov	x0, x19
	bl	_host_close
LBB0_15:
	ldr	w1, [x23]
Lloh12:
	adrp	x0, l_.str.2@PAGE
Lloh13:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	w2, #0
	bl	_host_open
	mov	x19, x0
	tbz	w0, #31, LBB0_17
; %bb.16:
	ldr	w1, [x23]
Lloh14:
	adrp	x0, l_.str.3@PAGE
Lloh15:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	w2, #0
	bl	_host_open
	mov	x19, x0
	tbnz	w0, #31, LBB0_22
LBB0_17:
	mov	w8, #16
	sub	x9, x29, #104
	stp	x9, x8, [sp]
	mov	x0, x19
	bl	_host_read
	ldur	x0, [x29, #-104]
	bl	_be64toh
	stur	x0, [x29, #-104]
	ldur	x0, [x29, #-96]
	bl	_be64toh
	stur	x0, [x29, #-96]
	ldur	x8, [x29, #-104]
	cbz	x8, LBB0_19
; %bb.18:
	add	x9, sp, #56
	add	x9, x9, w22, sxtw #4
	sub	x10, x8, #1
	stp	xzr, x10, [x9]
	add	w22, w22, #1
LBB0_19:
	cmn	x0, #1
	b.eq	LBB0_21
; %bb.20:
	add	x8, x8, x0
	add	x9, sp, #56
	add	x9, x9, w22, sxtw #4
	mov	x10, #-1
	stp	x8, x10, [x9]
	add	w22, w22, #1
LBB0_21:
	mov	x0, x19
	bl	_host_close
LBB0_22:
	subs	w19, w22, #1
	b.le	LBB0_37
; %bb.23:
	add	x8, sp, #56
	add	x8, x8, #16
	mov	x9, x19
	mov	x10, x22
	b	LBB0_25
LBB0_24:                                ;   in Loop: Header=BB0_25 Depth=1
	sub	x9, x9, #1
	cmp	w11, #2
	b.le	LBB0_29
LBB0_25:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_27 Depth 2
	mov	x12, #0
	mov	x11, x10
	sub	w10, w10, #1
	mov	x13, x8
	b	LBB0_27
LBB0_26:                                ;   in Loop: Header=BB0_27 Depth=2
	add	x12, x12, #1
	add	x13, x13, #16
	cmp	x9, x12
	b.eq	LBB0_24
LBB0_27:                                ;   Parent Loop BB0_25 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldur	x14, [x13, #-16]
	ldr	x15, [x13]
	cmp	x14, x15
	b.ls	LBB0_26
; %bb.28:                               ;   in Loop: Header=BB0_27 Depth=2
	ldp	q0, q1, [x13, #-16]
	stp	q1, q0, [x13, #-16]
	b	LBB0_26
LBB0_29:
	mov	w24, #0
	add	x20, sp, #56
	add	x23, x20, #32
	b	LBB0_32
LBB0_30:                                ;   in Loop: Header=BB0_32 Depth=1
	mov	x22, x19
	mov	x25, x24
LBB0_31:                                ;   in Loop: Header=BB0_32 Depth=1
	sub	w19, w22, #1
	mov	x24, x25
	cmp	w25, w19
	b.ge	LBB0_37
LBB0_32:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_36 Depth 2
	sxtw	x26, w24
	add	x25, x26, #1
	lsl	x8, x25, #4
	ldr	x8, [x20, x8]
	sbfiz	x9, x24, #4, #32
	ldr	x9, [x20, x9]
	cmp	x8, x9
	b.lo	LBB0_31
; %bb.33:                               ;   in Loop: Header=BB0_32 Depth=1
	sub	x8, x8, #1
	add	x27, x20, x26, lsl #4
	ldr	x0, [x27, #8]!
	cmp	x8, x0
	b.hi	LBB0_31
; %bb.34:                               ;   in Loop: Header=BB0_32 Depth=1
	add	x8, x20, x26, lsl #5
	ldr	w1, [x8, #8]
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_MAX
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x8, w0
	str	x8, [x27]
	cmp	w25, w19
	b.ge	LBB0_30
; %bb.35:                               ;   in Loop: Header=BB0_32 Depth=1
	add	x8, x23, x26, lsl #4
	sub	w9, w19, #1
LBB0_36:                                ;   Parent Loop BB0_32 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	q0, [x8]
	stur	q0, [x8, #-16]
	add	x8, x8, #16
	sub	w9, w9, #1
	cmp	w24, w9
	b.ne	LBB0_36
	b	LBB0_30
LBB0_37:
	cmp	w22, #1
	b.lt	LBB0_1
; %bb.38:
	ldr	x8, [sp, #56]
	cmp	w19, #1
	b.lt	LBB0_43
; %bb.39:
	mov	x9, #0
	mov	w10, w19
	add	x11, sp, #56
	add	x11, x11, #16
LBB0_40:                                ; =>This Inner Loop Header: Depth=1
	cmp	x9, x8
	b.lo	LBB0_44
; %bb.41:                               ;   in Loop: Header=BB0_40 Depth=1
	ldur	x12, [x11, #-8]
	cmp	x9, x12
	b.hi	LBB0_44
; %bb.42:                               ;   in Loop: Header=BB0_40 Depth=1
	add	x9, x12, #1
	ldr	x8, [x11], #16
	subs	x10, x10, #1
	b.ne	LBB0_40
	b	LBB0_44
LBB0_43:
	mov	x9, #0
LBB0_44:
	cmp	x9, x8
	b.eq	LBB0_1
; %bb.45:
	mov	w10, #67108863
	add	x9, x9, x10
	and	x9, x9, #0xfffffffffc000000
	add	x8, x8, #1
	and	x8, x8, #0xfffffffffc000000
	sub	x8, x8, #1
	cmp	x9, x8
	b.hs	LBB0_1
; %bb.46:
	str	x9, [x21, _kboot_get_phys_load_segment.load_segment@PAGEOFF]
	b	LBB0_1
LBB0_47:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.section	__DATA,__data
	.p2align	3                               ; @kboot_get_phys_load_segment.load_segment
_kboot_get_phys_load_segment.load_segment:
	.quad	-1                              ; 0xffffffffffffffff

	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"/proc/device-tree/reserved-ranges"

	.comm	_O_RDONLY,4,2                   ; @O_RDONLY
l_.str.1:                               ; @.str.1
	.asciz	"/proc/device-tree/chosen/linux,kernel-end"

l_.str.2:                               ; @.str.2
	.asciz	"/proc/device-tree/memory@0/reg"

l_.str.3:                               ; @.str.3
	.asciz	"/proc/device-tree/memory/reg"

	.no_dead_strip	_kboot_get_phys_load_segment
.subsections_via_symbols
