	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function port_afu_init
_port_afu_init:                         ## @port_afu_init
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	8(%rdi), %r13
	movq	(%rsi), %rbx
	leaq	(,%rbx,4), %r12
	addq	%r13, %r12
	callq	_dev_get_platdata
	movl	%eax, %r14d
	movq	_DFL_PORT_REGION_INDEX_AFU@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	%r12, %rdi
	callq	_resource_size
	movq	_DFL_PORT_REGION_MMAP@GOTPCREL(%rip), %rcx
	movq	_DFL_PORT_REGION_READ@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r8d
	orl	(%rcx), %r8d
	movl	(%r13,%rbx,4), %ecx
	movq	_DFL_PORT_REGION_WRITE@GOTPCREL(%rip), %rdx
	orl	(%rdx), %r8d
	movl	%r14d, %edi
	movl	%r15d, %esi
	movl	%eax, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_afu_mmio_region_add            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DFL_PORT_REGION_INDEX_AFU,4,2  ## @DFL_PORT_REGION_INDEX_AFU
	.comm	_DFL_PORT_REGION_MMAP,4,2       ## @DFL_PORT_REGION_MMAP
	.comm	_DFL_PORT_REGION_READ,4,2       ## @DFL_PORT_REGION_READ
	.comm	_DFL_PORT_REGION_WRITE,4,2      ## @DFL_PORT_REGION_WRITE
	.no_dead_strip	_port_afu_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function port_afu_init
_port_afu_init:                         ; @port_afu_init
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	ldr	x8, [x0, #8]
	ldr	x9, [x1]
	add	x19, x8, x9, lsl #2
	bl	_dev_get_platdata
	mov	x20, x0
Lloh0:
	adrp	x8, _DFL_PORT_REGION_INDEX_AFU@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DFL_PORT_REGION_INDEX_AFU@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x8]
	mov	x0, x19
	bl	_resource_size
	mov	x2, x0
	ldr	w3, [x19]
Lloh3:
	adrp	x8, _DFL_PORT_REGION_MMAP@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DFL_PORT_REGION_MMAP@GOTPAGEOFF]
Lloh5:
	adrp	x9, _DFL_PORT_REGION_READ@GOTPAGE
Lloh6:
	ldr	x9, [x9, _DFL_PORT_REGION_READ@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh9:
	adrp	x9, _DFL_PORT_REGION_WRITE@GOTPAGE
Lloh10:
	ldr	x9, [x9, _DFL_PORT_REGION_WRITE@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w4, w8, w9
	mov	x0, x20
	mov	x1, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_afu_mmio_region_add
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DFL_PORT_REGION_INDEX_AFU,4,2  ; @DFL_PORT_REGION_INDEX_AFU
	.comm	_DFL_PORT_REGION_MMAP,4,2       ; @DFL_PORT_REGION_MMAP
	.comm	_DFL_PORT_REGION_READ,4,2       ; @DFL_PORT_REGION_READ
	.comm	_DFL_PORT_REGION_WRITE,4,2      ; @DFL_PORT_REGION_WRITE
	.no_dead_strip	_port_afu_init
.subsections_via_symbols
