	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_drconf_memory
_parse_drconf_memory:                   ## @parse_drconf_memory
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, -96(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r12
	movq	%rdi, -88(%rbp)                 ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	(%rsi), %r13d
	movl	(%rcx), %ebx
	leaq	L_.str(%rip), %rdi
	callq	_OF_finddevice
	movl	%eax, %r15d
	xorl	%eax, %eax
	cmpl	$-1, %r15d
	je	LBB0_15
## %bb.1:
	leaq	L_.str.1(%rip), %rsi
	leaq	-56(%rbp), %rdx
	movl	%r15d, %edi
	movl	$8, %ecx
	callq	_OF_getencprop
	cmpl	$-1, %eax
	je	LBB0_2
## %bb.3:
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	movl	-52(%rbp), %esi
	sarl	$20, %esi
	leaq	L_.str.2(%rip), %rdi
	callq	_printf
	leaq	L_.str.3(%rip), %rsi
	movl	%r15d, %edi
	callq	_OF_getproplen
	testl	%eax, %eax
	jle	LBB0_4
## %bb.5:
	movl	%eax, %r12d
	movq	%r14, -80(%rbp)                 ## 8-byte Spill
	movq	%rsp, -72(%rbp)                 ## 8-byte Spill
	andl	$-4, %r12d
	movq	%r12, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	leaq	L_.str.3(%rip), %rsi
	movl	%r15d, %edi
	movq	%r14, %rdx
	movl	%r12d, %ecx
	callq	_OF_getencprop
	cmpl	$-1, %eax
	je	LBB0_6
## %bb.7:
	movq	-72(%rbp), %r10                 ## 8-byte Reload
	movl	(%r14), %eax
	testl	%eax, %eax
	jle	LBB0_8
## %bb.9:
	movslq	-52(%rbp), %rcx
	addq	$24, %r14
	movl	$136, %r9d
	movq	-64(%rbp), %r8                  ## 8-byte Reload
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_10 Depth=1
	addq	$24, %r14
	decl	%eax
	je	LBB0_13
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r14), %esi
	andl	%r9d, %esi
	cmpl	$8, %esi
	jne	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	movslq	%r13d, %r13
	movq	%r13, %rsi
	shlq	$4, %rsi
	movq	%rcx, (%rdx,%rsi)
	movslq	%ebx, %rbx
	movq	%rbx, %rsi
	shlq	$4, %rsi
	movq	%rcx, (%rdi,%rsi)
	incl	%r13d
	incl	%ebx
	jmp	LBB0_12
LBB0_2:
	xorl	%eax, %eax
	jmp	LBB0_15
LBB0_4:
	movq	-64(%rbp), %r8                  ## 8-byte Reload
	jmp	LBB0_14
LBB0_6:
	movq	-72(%rbp), %rsp                 ## 8-byte Reload
	xorl	%eax, %eax
	jmp	LBB0_15
LBB0_8:
	movq	-64(%rbp), %r8                  ## 8-byte Reload
LBB0_13:
	movq	%r10, %rsp
	movq	-80(%rbp), %r14                 ## 8-byte Reload
LBB0_14:
	movl	%r13d, (%r8)
	movl	%ebx, (%r14)
	movl	$1, %eax
LBB0_15:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_17
## %bb.16:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_17:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"/ibm,dynamic-reconfiguration-memory"

L_.str.1:                               ## @.str.1
	.asciz	"ibm,lmb-size"

L_.str.2:                               ## @.str.2
	.asciz	"Logical Memory Block size: %d MB\n"

L_.str.3:                               ## @.str.3
	.asciz	"ibm,dynamic-memory"

	.no_dead_strip	_parse_drconf_memory
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_drconf_memory
_parse_drconf_memory:                   ; @parse_drconf_memory
	.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, #16
	mov	x19, x3
	mov	x21, x2
	mov	x20, x1
	mov	x22, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	ldr	w25, [x1]
	ldr	w26, [x3]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_OF_finddevice
	cmn	w0, #1
	b.eq	LBB0_12
; %bb.1:
	mov	x23, x0
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	sub	x2, x29, #96
	mov	w3, #8
	bl	_OF_getencprop
	cmn	w0, #1
	b.eq	LBB0_12
; %bb.2:
	ldur	w8, [x29, #-92]
	asr	w1, w8, #20
Lloh7:
	adrp	x0, l_.str.2@PAGE
Lloh8:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_printf
Lloh9:
	adrp	x1, l_.str.3@PAGE
Lloh10:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x23
	bl	_OF_getproplen
	cmp	w0, #1
	b.lt	LBB0_10
; %bb.3:
	mov	x27, sp
	and	w3, w0, #0xfffffffc
	mov	x9, x3
Lloh11:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh12:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x3, #15
	and	x9, x9, #0x1fffffff0
	sub	x24, x8, x9
	mov	sp, x24
Lloh13:
	adrp	x1, l_.str.3@PAGE
Lloh14:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x23
	mov	x2, x24
                                        ; kill: def $w3 killed $w3 killed $x3
	bl	_OF_getencprop
	cmn	w0, #1
	b.eq	LBB0_11
; %bb.4:
	ldr	w8, [x24]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.5:
	ldursw	x9, [x29, #-92]
	add	x10, x24, #24
	mov	w11, #136
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	x10, x10, #24
	subs	w8, w8, #1
	b.eq	LBB0_9
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w12, [x10]
	and	w12, w12, w11
	cmp	w12, #8
	b.ne	LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	sbfiz	x12, x25, #4, #32
	str	x9, [x22, x12]
	sbfiz	x12, x26, #4, #32
	str	x9, [x21, x12]
	add	w25, w25, #1
	add	w26, w26, #1
	b	LBB0_6
LBB0_9:
	mov	sp, x27
LBB0_10:
	str	w25, [x20]
	str	w26, [x19]
	mov	w0, #1
	b	LBB0_13
LBB0_11:
	mov	sp, x27
LBB0_12:
	mov	w0, #0
LBB0_13:
	ldur	x8, [x29, #-88]
Lloh15:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh16:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_15
; %bb.14:
	sub	sp, x29, #80
	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_15:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"/ibm,dynamic-reconfiguration-memory"

l_.str.1:                               ; @.str.1
	.asciz	"ibm,lmb-size"

l_.str.2:                               ; @.str.2
	.asciz	"Logical Memory Block size: %d MB\n"

l_.str.3:                               ; @.str.3
	.asciz	"ibm,dynamic-memory"

	.no_dead_strip	_parse_drconf_memory
.subsections_via_symbols
