	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function at86rf230_rx_read_frame_complete
_at86rf230_rx_read_frame_complete:      ## @at86rf230_rx_read_frame_complete
	.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
	movq	(%rdi), %r13
	movq	8(%rdi), %rbx
	movl	4(%r13), %r15d
	movl	%r15d, %edi
	callq	_ieee802154_is_valid_psdu_len
	testl	%eax, %eax
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	je	LBB0_2
## %bb.1:
	movq	_IEEE802154_MTU@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	jmp	LBB0_3
LBB0_2:
	movq	8(%rbx), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_dev_vdbg
	movq	_IEEE802154_MTU@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%edi, %r15d
LBB0_3:
	movslq	%r15d, %rax
	movl	8(%r13,%rax,4), %r12d
	callq	_dev_alloc_skb
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%rax, %rbx
	addq	$8, %r13
	movq	%rax, %rdi
	movq	%r13, %rsi
	movl	%r15d, %edx
	callq	_skb_put_data
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	movq	%rbx, %rsi
	movl	%r12d, %edx
	callq	_ieee802154_rx_irqsafe
	jmp	LBB0_6
LBB0_4:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_dev_vdbg
LBB0_6:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_kfree                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"corrupted frame received\n"

	.comm	_IEEE802154_MTU,4,2             ## @IEEE802154_MTU
L_.str.1:                               ## @.str.1
	.asciz	"failed to allocate sk_buff\n"

	.no_dead_strip	_at86rf230_rx_read_frame_complete
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function at86rf230_rx_read_frame_complete
_at86rf230_rx_read_frame_complete:      ; @at86rf230_rx_read_frame_complete
	.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
	ldp	x24, x23, [x0]
	ldr	w20, [x24, #4]
	mov	x0, x20
	bl	_ieee802154_is_valid_psdu_len
	cbz	w0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _IEEE802154_MTU@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IEEE802154_MTU@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	b	LBB0_3
LBB0_2:
	ldr	x0, [x23, #8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_vdbg
Lloh5:
	adrp	x8, _IEEE802154_MTU@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IEEE802154_MTU@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	mov	x20, x0
LBB0_3:
	add	w8, w20, #2
	ldr	w21, [x24, w8, sxtw #2]
	bl	_dev_alloc_skb
	cbz	x0, LBB0_5
; %bb.4:
	mov	x22, x0
	add	x1, x24, #8
	mov	x2, x20
	bl	_skb_put_data
	ldr	w0, [x23]
	mov	x1, x22
	mov	x2, x21
	bl	_ieee802154_rx_irqsafe
	b	LBB0_6
LBB0_5:
	ldr	x0, [x23, #8]
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_dev_vdbg
LBB0_6:
	mov	x0, x19
	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	_kfree
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"corrupted frame received\n"

	.comm	_IEEE802154_MTU,4,2             ; @IEEE802154_MTU
l_.str.1:                               ; @.str.1
	.asciz	"failed to allocate sk_buff\n"

	.no_dead_strip	_at86rf230_rx_read_frame_complete
.subsections_via_symbols
