	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hp100_init_rxpdl
_hp100_init_rxpdl:                      ## @hp100_init_rxpdl
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, %r15
	movq	%rdi, %r14
	testb	$15, %bl
	je	LBB0_2
## %bb.1:
	movl	(%r14), %esi
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rdx
	callq	_printk
LBB0_2:
	leaq	4(%rbx), %rsi
	movq	%rsi, (%r15)
	movq	%r14, %rdi
	callq	_virt_to_whatever
	movq	%rax, 16(%r15)
	movq	$0, 8(%r15)
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_virt_to_whatever
	movl	%eax, 8(%rbx)
	movl	$4, 12(%rbx)
	movq	_MAX_RX_FRAG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leal	(%rax,%rax), %edi
	addl	$2, %edi
	movl	$4, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_roundup                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"hp100: %s: Init rxpdl: Unaligned pdlptr 0x%lx.\n"

	.comm	_MAX_RX_FRAG,4,2                ## @MAX_RX_FRAG
	.no_dead_strip	_hp100_init_rxpdl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hp100_init_rxpdl
_hp100_init_rxpdl:                      ; @hp100_init_rxpdl
	.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
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
	tst	x2, #0xf
	b.eq	LBB0_2
; %bb.1:
	ldr	w1, [x20]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x2, x19
	bl	_printk
LBB0_2:
	add	x1, x19, #4
	str	x1, [x21]
	mov	x0, x20
	bl	_virt_to_whatever
	stp	xzr, x0, [x21, #8]
	mov	x0, x20
	mov	x1, x19
	bl	_virt_to_whatever
	mov	w8, #4
Lloh2:
	adrp	x9, _MAX_RX_FRAG@GOTPAGE
Lloh3:
	ldr	x9, [x9, _MAX_RX_FRAG@GOTPAGEOFF]
	stp	w0, w8, [x19, #8]
Lloh4:
	ldr	w8, [x9]
	lsl	w8, w8, #1
	add	w0, w8, #2
	mov	w1, #4
	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	_roundup
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"hp100: %s: Init rxpdl: Unaligned pdlptr 0x%lx.\n"

	.comm	_MAX_RX_FRAG,4,2                ; @MAX_RX_FRAG
	.no_dead_strip	_hp100_init_rxpdl
.subsections_via_symbols
