	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function irnet_data_indication
_irnet_data_indication:                 ## @irnet_data_indication
	.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	%rdx, %r15
	movq	%rdi, %r14
	movq	_IRDA_TCB_TRACE@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdx
	movq	%r15, %rcx
	callq	_DENTER
	xorl	%edi, %edi
	testq	%r15, %r15
	setne	%dil
	movq	_IRDA_CB_ERROR@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	leaq	L_.str.1(%rip), %rcx
	xorl	%ebx, %ebx
	xorl	%esi, %esi
	callq	_DASSERT
	cmpl	$0, 4(%r14)
	je	LBB0_1
## %bb.2:
	movq	(%r15), %rcx
	movb	(%rcx), %al
	movq	_PPP_ALLSTATIONS@GOTPCREL(%rip), %rdx
	cmpb	(%rdx), %al
	jne	LBB0_6
## %bb.3:
	movb	1(%rcx), %cl
	movq	_PPP_UI@GOTPCREL(%rip), %rdx
	cmpb	(%rdx), %cl
	jne	LBB0_6
## %bb.4:
	cmpl	$3, 8(%r15)
	jl	LBB0_10
## %bb.5:
	movq	%r15, %rdi
	movl	$2, %esi
	callq	_skb_pull
	movb	(%rax), %al
LBB0_6:
	testb	$1, %al
	jne	LBB0_7
## %bb.8:
	cmpl	$2, 8(%r15)
	jge	LBB0_9
LBB0_10:
	movl	(%r13), %edi
	leaq	L_.str.4(%rip), %rsi
	callq	_DERROR
	movq	%r15, %rdi
	callq	_kfree_skb
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_ppp_input_error
	jmp	LBB0_11
LBB0_1:
	movl	(%r13), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_DERROR
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	jmp	LBB0_11
LBB0_7:
	movq	%r15, %rdi
	movl	$1, %esi
	callq	_skb_push
	movq	$0, (%rax)
LBB0_9:
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_ppp_input
	movl	(%r12), %edi
	leaq	L_.str.3(%rip), %rsi
	callq	_DEXIT
	xorl	%ebx, %ebx
LBB0_11:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IRDA_TCB_TRACE,4,2             ## @IRDA_TCB_TRACE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"(self/ap=0x%p, skb=0x%p)\n"

	.comm	_IRDA_CB_ERROR,4,2              ## @IRDA_CB_ERROR
L_.str.1:                               ## @.str.1
	.asciz	"skb is NULL !!!\n"

L_.str.2:                               ## @.str.2
	.asciz	"PPP not ready, dropping packet...\n"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_PPP_ALLSTATIONS,1,0            ## @PPP_ALLSTATIONS
	.comm	_PPP_UI,1,0                     ## @PPP_UI
L_.str.3:                               ## @.str.3
	.asciz	"\n"

L_.str.4:                               ## @.str.4
	.asciz	"Packet too small, dropping...\n"

	.no_dead_strip	_irnet_data_indication
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function irnet_data_indication
_irnet_data_indication:                 ; @irnet_data_indication
	.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, x2
	mov	x19, x0
Lloh0:
	adrp	x21, _IRDA_TCB_TRACE@GOTPAGE
Lloh1:
	ldr	x21, [x21, _IRDA_TCB_TRACE@GOTPAGEOFF]
	ldr	w0, [x21]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x19
	mov	x3, x20
	bl	_DENTER
	cmp	x20, #0
	cset	w0, ne
Lloh4:
	adrp	x22, _IRDA_CB_ERROR@GOTPAGE
Lloh5:
	ldr	x22, [x22, _IRDA_CB_ERROR@GOTPAGEOFF]
	ldr	w2, [x22]
Lloh6:
	adrp	x3, l_.str.1@PAGE
Lloh7:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	w1, #0
	bl	_DASSERT
	ldr	w8, [x19, #4]
	cbz	w8, LBB0_8
; %bb.1:
	ldr	x9, [x20]
	ldrb	w8, [x9]
Lloh8:
	adrp	x10, _PPP_ALLSTATIONS@GOTPAGE
Lloh9:
	ldr	x10, [x10, _PPP_ALLSTATIONS@GOTPAGEOFF]
	ldrb	w10, [x10]
	cmp	w8, w10
	b.ne	LBB0_5
; %bb.2:
	ldrb	w9, [x9, #1]
Lloh10:
	adrp	x10, _PPP_UI@GOTPAGE
Lloh11:
	ldr	x10, [x10, _PPP_UI@GOTPAGEOFF]
	ldrb	w10, [x10]
	cmp	w9, w10
	b.ne	LBB0_5
; %bb.3:
	ldr	w8, [x20, #8]
	cmp	w8, #3
	b.lt	LBB0_7
; %bb.4:
	mov	x0, x20
	mov	w1, #2
	bl	_skb_pull
	ldrb	w8, [x0]
LBB0_5:
	tbnz	w8, #0, LBB0_9
; %bb.6:
	ldr	w8, [x20, #8]
	cmp	w8, #2
	b.ge	LBB0_10
LBB0_7:
	ldr	w0, [x22]
Lloh12:
	adrp	x1, l_.str.4@PAGE
Lloh13:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_DERROR
	mov	x0, x20
	bl	_kfree_skb
	mov	x0, x19
	mov	w1, #0
	bl	_ppp_input_error
	b	LBB0_11
LBB0_8:
	ldr	w0, [x22]
Lloh14:
	adrp	x1, l_.str.2@PAGE
Lloh15:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_DERROR
Lloh16:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_12
LBB0_9:
	mov	x0, x20
	mov	w1, #1
	bl	_skb_push
	str	xzr, [x0]
LBB0_10:
	mov	x0, x19
	mov	x1, x20
	bl	_ppp_input
	ldr	w0, [x21]
Lloh19:
	adrp	x1, l_.str.3@PAGE
Lloh20:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_DEXIT
LBB0_11:
	mov	w0, #0
LBB0_12:
	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 AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_IRDA_TCB_TRACE,4,2             ; @IRDA_TCB_TRACE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"(self/ap=0x%p, skb=0x%p)\n"

	.comm	_IRDA_CB_ERROR,4,2              ; @IRDA_CB_ERROR
l_.str.1:                               ; @.str.1
	.asciz	"skb is NULL !!!\n"

l_.str.2:                               ; @.str.2
	.asciz	"PPP not ready, dropping packet...\n"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_PPP_ALLSTATIONS,1,0            ; @PPP_ALLSTATIONS
	.comm	_PPP_UI,1,0                     ; @PPP_UI
l_.str.3:                               ; @.str.3
	.asciz	"\n"

l_.str.4:                               ; @.str.4
	.asciz	"Packet too small, dropping...\n"

	.no_dead_strip	_irnet_data_indication
.subsections_via_symbols
