	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hp100_init_pdls
_hp100_init_pdls:                       ## @hp100_init_pdls
	.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	%rdi, %r14
	callq	_netdev_priv
	movq	64(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.1:
	movq	%rax, %r13
	movq	_MAX_RINGSIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%esi, %esi
	callq	_memset
	movq	32(%r13), %rax
	movq	64(%r13), %r15
	movq	$0, 56(%r13)
	movq	%rax, 40(%r13)
	movq	%rax, 48(%r13)
	movq	_MAX_RX_PDL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	testl	%ebx, %ebx
	movq	%r13, -48(%rbp)                 ## 8-byte Spill
	jle	LBB0_4
## %bb.2:
	leal	-1(%rbx), %ecx
	leaq	(%rax,%rcx,8), %r12
	movq	%rax, (%rax,%rcx,8)
	movq	%r14, %rdi
	movq	%r12, %rsi
	movq	%r15, %rdx
	callq	_hp100_init_rxpdl
	cltq
	leaq	(%r15,%rax,4), %r15
	cmpl	$1, %ebx
	je	LBB0_4
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	32(%r13), %rax
	leal	-2(%rbx), %ecx
	leaq	(%rax,%rcx,8), %r13
	movq	%r12, (%rax,%rcx,8)
	movq	%r14, %rdi
	movq	%r13, %rsi
	movq	%r15, %rdx
	callq	_hp100_init_rxpdl
	cltq
	leaq	(%r15,%rax,4), %r15
	decq	%rbx
	movq	%r13, %r12
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	cmpq	$1, %rbx
	jg	LBB0_3
LBB0_4:
	movq	$0, 24(%r13)
	movq	(%r13), %rax
	movq	%rax, 8(%r13)
	movq	%rax, 16(%r13)
	movq	_MAX_TX_PDL@GOTPCREL(%rip), %rcx
	movq	%r14, %rbx
	movl	(%rcx), %r14d
	testl	%r14d, %r14d
	jle	LBB0_7
## %bb.5:
	leal	-1(%r14), %ecx
	leaq	(%rax,%rcx,8), %r12
	movq	%rax, (%rax,%rcx,8)
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	%r15, %rdx
	callq	_hp100_init_txpdl
	cmpl	$1, %r14d
	je	LBB0_7
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	cltq
	leaq	(%r15,%rax,4), %r15
	movq	(%r13), %rax
	leal	-2(%r14), %ecx
	leaq	(%rax,%rcx,8), %r13
	movq	%r12, (%rax,%rcx,8)
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movq	%r15, %rdx
	callq	_hp100_init_txpdl
	decq	%r14
	movq	%r13, %r12
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	cmpq	$1, %r14
	jg	LBB0_6
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movl	4(%r14), %esi
	leaq	L_.str(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_printk                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"hp100: %s: Warning: lp->page_vaddr_algn not initialised!\n"

	.comm	_MAX_RINGSIZE,4,2               ## @MAX_RINGSIZE
	.comm	_MAX_RX_PDL,4,2                 ## @MAX_RX_PDL
	.comm	_MAX_TX_PDL,4,2                 ## @MAX_TX_PDL
	.comm	_TRACE,4,2                      ## @TRACE
	.no_dead_strip	_hp100_init_pdls
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hp100_init_pdls
_hp100_init_pdls:                       ; @hp100_init_pdls
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
	bl	_netdev_priv
	mov	x20, x0
	ldr	x0, [x0, #64]
	cbz	x0, LBB0_8
; %bb.1:
Lloh0:
	adrp	x8, _MAX_RINGSIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MAX_RINGSIZE@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	w1, #0
	bl	_memset
	ldr	x21, [x20, #64]
	ldr	x8, [x20, #32]
	str	x8, [x20, #40]
	stp	x8, xzr, [x20, #48]
Lloh3:
	adrp	x9, _MAX_RX_PDL@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MAX_RX_PDL@GOTPAGEOFF]
Lloh5:
	ldr	w24, [x9]
	cmp	w24, #1
	b.lt	LBB0_4
; %bb.2:
	subs	w9, w24, #1
	add	x22, x8, w9, uxtw #3
	str	x8, [x22]
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	bl	_hp100_init_rxpdl
	add	x21, x21, w0, sxtw #2
	cmp	w24, #1
	b.eq	LBB0_4
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #32]
	sub	w9, w24, #2
	add	x23, x8, w9, uxtw #3
	str	x22, [x23]
	mov	x0, x19
	mov	x1, x23
	mov	x2, x21
	bl	_hp100_init_rxpdl
	add	x21, x21, w0, sxtw #2
	sub	x24, x24, #1
	mov	x22, x23
	cmp	x24, #1
	b.gt	LBB0_3
LBB0_4:
	ldr	x8, [x20]
	str	x8, [x20, #8]
	stp	x8, xzr, [x20, #16]
Lloh6:
	adrp	x9, _MAX_TX_PDL@GOTPAGE
Lloh7:
	ldr	x9, [x9, _MAX_TX_PDL@GOTPAGEOFF]
Lloh8:
	ldr	w24, [x9]
	cmp	w24, #1
	b.lt	LBB0_7
; %bb.5:
	subs	w9, w24, #1
	add	x22, x8, w9, uxtw #3
	str	x8, [x22]
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	bl	_hp100_init_txpdl
	cmp	w24, #1
	b.eq	LBB0_7
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	add	x21, x21, w0, sxtw #2
	ldr	x8, [x20]
	sub	w9, w24, #2
	add	x23, x8, w9, uxtw #3
	str	x22, [x23]
	mov	x0, x19
	mov	x1, x23
	mov	x2, x21
	bl	_hp100_init_txpdl
	sub	x24, x24, #1
	mov	x22, x23
	cmp	x24, #1
	b.gt	LBB0_6
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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_8:
	ldr	w1, [x19, #4]
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_printk
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"hp100: %s: Warning: lp->page_vaddr_algn not initialised!\n"

	.comm	_MAX_RINGSIZE,4,2               ; @MAX_RINGSIZE
	.comm	_MAX_RX_PDL,4,2                 ; @MAX_RX_PDL
	.comm	_MAX_TX_PDL,4,2                 ; @MAX_TX_PDL
	.comm	_TRACE,4,2                      ; @TRACE
	.no_dead_strip	_hp100_init_pdls
.subsections_via_symbols
