	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function read_afu_mmio
_read_afu_mmio:                         ## @read_afu_mmio
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %r12
	movq	_OCXL_DVSEC_TEMPL_MMIO_GLOBAL@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdx
	leaq	-40(%rbp), %rcx
	callq	_read_afu_info
	testl	%eax, %eax
	jne	LBB0_7
## %bb.1:
	movq	-40(%rbp), %rdi
	xorl	%esi, %esi
	movl	$2, %edx
	callq	_EXTRACT_BITS
	movl	%eax, (%r14)
	movq	-40(%rbp), %rdi
	movl	$16, %esi
	movl	$31, %edx
	callq	_EXTRACT_BITS
	shll	$16, %eax
	movl	%eax, 4(%r14)
	movq	(%rbx), %rdx
	addq	$4, %rdx
	leaq	-40(%rbp), %rcx
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_read_afu_info
	testl	%eax, %eax
	jne	LBB0_7
## %bb.2:
	movq	_OCXL_DVSEC_TEMPL_MMIO_GLOBAL_SZ@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	leaq	-40(%rbp), %rcx
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_read_afu_info
	testl	%eax, %eax
	jne	LBB0_7
## %bb.3:
	movq	-40(%rbp), %rax
	movq	%rax, 24(%r14)
	movq	_OCXL_DVSEC_TEMPL_MMIO_PP@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdx
	leaq	-40(%rbp), %rcx
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_read_afu_info
	testl	%eax, %eax
	jne	LBB0_7
## %bb.4:
	movq	-40(%rbp), %rdi
	xorl	%esi, %esi
	movl	$2, %edx
	callq	_EXTRACT_BITS
	movl	%eax, 8(%r14)
	movq	-40(%rbp), %rdi
	movl	$16, %esi
	movl	$31, %edx
	callq	_EXTRACT_BITS
	shll	$16, %eax
	movl	%eax, 12(%r14)
	movq	(%rbx), %rdx
	addq	$4, %rdx
	leaq	-40(%rbp), %rcx
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_read_afu_info
	testl	%eax, %eax
	jne	LBB0_7
## %bb.5:
	movq	_OCXL_DVSEC_TEMPL_MMIO_PP_SZ@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	leaq	-40(%rbp), %rcx
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_read_afu_info
	testl	%eax, %eax
	jne	LBB0_7
## %bb.6:
	movq	-40(%rbp), %rax
	movq	%rax, 16(%r14)
	xorl	%eax, %eax
LBB0_7:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OCXL_DVSEC_TEMPL_MMIO_GLOBAL,8,3 ## @OCXL_DVSEC_TEMPL_MMIO_GLOBAL
	.comm	_OCXL_DVSEC_TEMPL_MMIO_GLOBAL_SZ,8,3 ## @OCXL_DVSEC_TEMPL_MMIO_GLOBAL_SZ
	.comm	_OCXL_DVSEC_TEMPL_MMIO_PP,8,3   ## @OCXL_DVSEC_TEMPL_MMIO_PP
	.comm	_OCXL_DVSEC_TEMPL_MMIO_PP_SZ,8,3 ## @OCXL_DVSEC_TEMPL_MMIO_PP_SZ
	.no_dead_strip	_read_afu_mmio
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function read_afu_mmio
_read_afu_mmio:                         ; @read_afu_mmio
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x22, _OCXL_DVSEC_TEMPL_MMIO_GLOBAL@GOTPAGE
Lloh1:
	ldr	x22, [x22, _OCXL_DVSEC_TEMPL_MMIO_GLOBAL@GOTPAGEOFF]
	ldr	x2, [x22]
	add	x3, sp, #8
	bl	_read_afu_info
	cbnz	w0, LBB0_7
; %bb.1:
	ldr	x0, [sp, #8]
	mov	w1, #0
	mov	w2, #2
	bl	_EXTRACT_BITS
	str	w0, [x19]
	ldr	x0, [sp, #8]
	mov	w1, #16
	mov	w2, #31
	bl	_EXTRACT_BITS
	lsl	w8, w0, #16
	str	w8, [x19, #4]
	ldr	x8, [x22]
	add	x2, x8, #4
	add	x3, sp, #8
	mov	x0, x21
	mov	x1, x20
	bl	_read_afu_info
	cbnz	w0, LBB0_7
; %bb.2:
Lloh2:
	adrp	x8, _OCXL_DVSEC_TEMPL_MMIO_GLOBAL_SZ@GOTPAGE
Lloh3:
	ldr	x8, [x8, _OCXL_DVSEC_TEMPL_MMIO_GLOBAL_SZ@GOTPAGEOFF]
Lloh4:
	ldr	x2, [x8]
	add	x3, sp, #8
	mov	x0, x21
	mov	x1, x20
	bl	_read_afu_info
	cbnz	w0, LBB0_7
; %bb.3:
	ldr	x8, [sp, #8]
	str	x8, [x19, #24]
Lloh5:
	adrp	x22, _OCXL_DVSEC_TEMPL_MMIO_PP@GOTPAGE
Lloh6:
	ldr	x22, [x22, _OCXL_DVSEC_TEMPL_MMIO_PP@GOTPAGEOFF]
	ldr	x2, [x22]
	add	x3, sp, #8
	mov	x0, x21
	mov	x1, x20
	bl	_read_afu_info
	cbnz	w0, LBB0_7
; %bb.4:
	ldr	x0, [sp, #8]
	mov	w1, #0
	mov	w2, #2
	bl	_EXTRACT_BITS
	str	w0, [x19, #8]
	ldr	x0, [sp, #8]
	mov	w1, #16
	mov	w2, #31
	bl	_EXTRACT_BITS
	lsl	w8, w0, #16
	str	w8, [x19, #12]
	ldr	x8, [x22]
	add	x2, x8, #4
	add	x3, sp, #8
	mov	x0, x21
	mov	x1, x20
	bl	_read_afu_info
	cbnz	w0, LBB0_7
; %bb.5:
Lloh7:
	adrp	x8, _OCXL_DVSEC_TEMPL_MMIO_PP_SZ@GOTPAGE
Lloh8:
	ldr	x8, [x8, _OCXL_DVSEC_TEMPL_MMIO_PP_SZ@GOTPAGEOFF]
Lloh9:
	ldr	x2, [x8]
	add	x3, sp, #8
	mov	x0, x21
	mov	x1, x20
	bl	_read_afu_info
	cbnz	w0, LBB0_7
; %bb.6:
	ldr	x8, [sp, #8]
	str	x8, [x19, #16]
LBB0_7:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_OCXL_DVSEC_TEMPL_MMIO_GLOBAL,8,3 ; @OCXL_DVSEC_TEMPL_MMIO_GLOBAL
	.comm	_OCXL_DVSEC_TEMPL_MMIO_GLOBAL_SZ,8,3 ; @OCXL_DVSEC_TEMPL_MMIO_GLOBAL_SZ
	.comm	_OCXL_DVSEC_TEMPL_MMIO_PP,8,3   ; @OCXL_DVSEC_TEMPL_MMIO_PP
	.comm	_OCXL_DVSEC_TEMPL_MMIO_PP_SZ,8,3 ; @OCXL_DVSEC_TEMPL_MMIO_PP_SZ
	.no_dead_strip	_read_afu_mmio
.subsections_via_symbols
