	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gpmc_cs_get_memconf
_gpmc_cs_get_memconf:                   ## @gpmc_cs_get_memconf
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	_GPMC_CS_CONFIG7@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_gpmc_cs_read_reg
	movl	%eax, %edx
	andl	$63, %edx
	movq	_GPMC_CHUNK_SHIFT@GOTPCREL(%rip), %rsi
	movb	(%rsi), %cl
	shll	%cl, %edx
	movl	%edx, (%rbx)
	shrl	$8, %eax
	andl	$15, %eax
	movq	_GPMC_SECTION_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	$1, %edx
	shll	%cl, %edx
	movb	(%rsi), %cl
	shll	%cl, %eax
	subl	%eax, %edx
	movl	%edx, (%r14)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GPMC_CS_CONFIG7,4,2            ## @GPMC_CS_CONFIG7
	.comm	_GPMC_CHUNK_SHIFT,4,2           ## @GPMC_CHUNK_SHIFT
	.comm	_GPMC_SECTION_SHIFT,4,2         ## @GPMC_SECTION_SHIFT
	.no_dead_strip	_gpmc_cs_get_memconf
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gpmc_cs_get_memconf
_gpmc_cs_get_memconf:                   ; @gpmc_cs_get_memconf
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x2
	mov	x20, x1
Lloh0:
	adrp	x8, _GPMC_CS_CONFIG7@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GPMC_CS_CONFIG7@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_gpmc_cs_read_reg
	and	w8, w0, #0x3f
Lloh3:
	adrp	x9, _GPMC_CHUNK_SHIFT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _GPMC_CHUNK_SHIFT@GOTPAGEOFF]
	ldr	w10, [x9]
	lsl	w8, w8, w10
	str	w8, [x20]
	ubfx	w8, w0, #8, #4
Lloh5:
	adrp	x10, _GPMC_SECTION_SHIFT@GOTPAGE
Lloh6:
	ldr	x10, [x10, _GPMC_SECTION_SHIFT@GOTPAGEOFF]
Lloh7:
	ldr	w10, [x10]
	mov	w11, #1
	lsl	w10, w11, w10
	ldr	w9, [x9]
	lsl	w8, w8, w9
	sub	w8, w10, w8
	str	w8, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_GPMC_CS_CONFIG7,4,2            ; @GPMC_CS_CONFIG7
	.comm	_GPMC_CHUNK_SHIFT,4,2           ; @GPMC_CHUNK_SHIFT
	.comm	_GPMC_SECTION_SHIFT,4,2         ; @GPMC_SECTION_SHIFT
	.no_dead_strip	_gpmc_cs_get_memconf
.subsections_via_symbols
