	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hp100_build_rx_pdl
_hp100_build_rx_pdl:                    ## @hp100_build_rx_pdl
	.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	%rsi, %r14
	movq	%rdi, %rbx
	movq	_MAX_ETHER_SIZE@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	addl	$2, %edi
	movl	$4, %esi
	callq	_roundup
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_netdev_alloc_skb
	movq	%rax, 8(%rbx)
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rax, %rdi
	movl	$2, %esi
	callq	_skb_reserve
	movq	8(%rbx), %rdi
	movl	(%r15), %esi
	callq	_skb_put
	movq	8(%rbx), %rcx
	movq	%rax, (%rcx)
	movq	(%rbx), %rax
	movl	$131072, (%rax)                 ## imm = 0x20000
	movq	%r14, %rdi
	callq	_netdev_priv
	movq	8(%rbx), %rcx
	movq	(%rcx), %rsi
	movl	%eax, %edi
	callq	_pdl_map_data
	movq	(%rbx), %rcx
	movl	%eax, 12(%rcx)
	movl	(%r15), %eax
	movl	%eax, 16(%rcx)
	movl	$1, %eax
	jmp	LBB0_3
LBB0_2:
	movq	(%rbx), %rax
	movl	$65536, (%rax)                  ## imm = 0x10000
	xorl	%eax, %eax
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_ETHER_SIZE,4,2             ## @MAX_ETHER_SIZE
	.comm	_TRACE,4,2                      ## @TRACE
	.no_dead_strip	_hp100_build_rx_pdl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hp100_build_rx_pdl
_hp100_build_rx_pdl:                    ; @hp100_build_rx_pdl
	.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	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x21, _MAX_ETHER_SIZE@GOTPAGE
Lloh1:
	ldr	x21, [x21, _MAX_ETHER_SIZE@GOTPAGEOFF]
	ldr	w8, [x21]
	add	w0, w8, #2
	mov	w1, #4
	bl	_roundup
	mov	x1, x0
	mov	x0, x20
	bl	_netdev_alloc_skb
	str	x0, [x19, #8]
	cbz	x0, LBB0_2
; %bb.1:
	mov	w1, #2
	bl	_skb_reserve
	ldr	x0, [x19, #8]
	ldr	w1, [x21]
	bl	_skb_put
	ldp	x9, x8, [x19]
	str	x0, [x8]
	mov	w8, #131072
	str	w8, [x9]
	mov	x0, x20
	bl	_netdev_priv
	ldr	x8, [x19, #8]
	ldr	x1, [x8]
	bl	_pdl_map_data
	ldr	x8, [x19]
	ldr	w9, [x21]
	stp	w0, w9, [x8, #12]
	mov	w0, #1
	b	LBB0_3
LBB0_2:
	ldr	x8, [x19]
	mov	w9, #65536
	str	w9, [x8]
LBB0_3:
	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
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_ETHER_SIZE,4,2             ; @MAX_ETHER_SIZE
	.comm	_TRACE,4,2                      ; @TRACE
	.no_dead_strip	_hp100_build_rx_pdl
.subsections_via_symbols
