	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ieee802154_rcv
_ieee802154_rcv:                        ## @ieee802154_rcv
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	%rsi, %rdi
	callq	_netif_running
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	(%rbx), %rsi
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rdx
	callq	_pr_debug
	movq	%rbx, %rdi
	callq	_dev_net
	movq	_init_net@GOTPCREL(%rip), %rsi
	movl	%eax, %edi
	callq	_net_eq
	testl	%eax, %eax
	je	LBB0_5
## %bb.3:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_ieee802154_raw_deliver
	movq	(%rbx), %rax
	movq	_ARPHRD_IEEE802154@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.4:
	movq	(%r14), %rax
	movq	_PACKET_OTHERHOST@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
LBB0_5:
	movq	%r14, %rdi
	callq	_kfree_skb
	movq	_NET_RX_DROP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_6
LBB0_1:
	movq	_ENODEV@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_6:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_7:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_ieee802154_dgram_deliver       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ENODEV,4,2                     ## @ENODEV
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"got frame, type %d, dev %p\n"

	.comm	_init_net,4,2                   ## @init_net
	.comm	_ARPHRD_IEEE802154,8,3          ## @ARPHRD_IEEE802154
	.comm	_PACKET_OTHERHOST,8,3           ## @PACKET_OTHERHOST
	.comm	_NET_RX_DROP,4,2                ## @NET_RX_DROP
	.comm	_DUMP_PREFIX_NONE,4,2           ## @DUMP_PREFIX_NONE
	.no_dead_strip	_ieee802154_rcv
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ieee802154_rcv
_ieee802154_rcv:                        ; @ieee802154_rcv
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
	mov	x0, x1
	bl	_netif_running
	cbz	w0, LBB0_5
; %bb.1:
	ldr	x1, [x20]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x2, x20
	bl	_pr_debug
	mov	x0, x20
	bl	_dev_net
Lloh2:
	adrp	x1, _init_net@GOTPAGE
Lloh3:
	ldr	x1, [x1, _init_net@GOTPAGEOFF]
	bl	_net_eq
	cbz	w0, LBB0_4
; %bb.2:
	mov	x0, x20
	mov	x1, x19
	bl	_ieee802154_raw_deliver
	ldr	x8, [x20]
Lloh4:
	adrp	x9, _ARPHRD_IEEE802154@GOTPAGE
Lloh5:
	ldr	x9, [x9, _ARPHRD_IEEE802154@GOTPAGEOFF]
Lloh6:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.3:
	ldr	x8, [x19]
Lloh7:
	adrp	x9, _PACKET_OTHERHOST@GOTPAGE
Lloh8:
	ldr	x9, [x9, _PACKET_OTHERHOST@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
LBB0_4:
	mov	x0, x19
	bl	_kfree_skb
Lloh10:
	adrp	x8, _NET_RX_DROP@GOTPAGE
Lloh11:
	ldr	x8, [x8, _NET_RX_DROP@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	b	LBB0_6
LBB0_5:
Lloh13:
	adrp	x8, _ENODEV@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_7:
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ieee802154_dgram_deliver
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_ENODEV,4,2                     ; @ENODEV
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"got frame, type %d, dev %p\n"

	.comm	_init_net,4,2                   ; @init_net
	.comm	_ARPHRD_IEEE802154,8,3          ; @ARPHRD_IEEE802154
	.comm	_PACKET_OTHERHOST,8,3           ; @PACKET_OTHERHOST
	.comm	_NET_RX_DROP,4,2                ; @NET_RX_DROP
	.comm	_DUMP_PREFIX_NONE,4,2           ; @DUMP_PREFIX_NONE
	.no_dead_strip	_ieee802154_rcv
.subsections_via_symbols
