	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ldisc_receive
_ldisc_receive:                         ## @ldisc_receive
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r14d
	movq	%rsi, %r15
	movq	(%rdi), %r12
	cmpl	$0, 12(%r12)
	jne	LBB0_2
## %bb.1:
	cmpl	$0, 8(%r12)
	je	LBB0_8
LBB0_2:
	xorl	%edi, %edi
	cmpq	$0, (%r12)
	sete	%dil
	callq	_BUG_ON
	movq	(%r12), %rdi
	leal	1(%r14), %esi
	callq	_netdev_alloc_skb
	testq	%rax, %rax
	je	LBB0_7
## %bb.3:
	movq	%rax, %rbx
	movq	%rax, %rdi
	movq	%r15, %rsi
	movl	%r14d, %edx
	callq	_skb_put_data
	movq	_ETH_P_CAIF@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	movl	%eax, (%rbx)
	movq	%rbx, %rdi
	callq	_skb_reset_mac_header
	movq	%r12, %rdi
	movq	%r15, %rsi
	movl	%r14d, %edx
	callq	_debugfs_rx
	movq	%rbx, %rdi
	callq	_netif_rx_ni
	movq	(%r12), %rcx
	testl	%eax, %eax
	je	LBB0_4
## %bb.5:
	addq	$4, %rcx
	movl	$1, %r14d
	jmp	LBB0_6
LBB0_7:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	incl	8(%rcx)
LBB0_6:
	addl	%r14d, (%rcx)
	movq	%r12, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_update_tty_status              ## TAILCALL
LBB0_8:
	movq	(%r12), %rdi
	addq	$12, %rdi
	leaq	L_.str(%rip), %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dev_info                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Bytes received before initial transmission -bytes discarded.\n"

	.comm	_ETH_P_CAIF,4,2                 ## @ETH_P_CAIF
	.no_dead_strip	_ldisc_receive
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ldisc_receive
_ldisc_receive:                         ; @ldisc_receive
	.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, x3
	mov	x21, x1
	ldr	x19, [x0]
	ldr	w8, [x19, #12]
	cbnz	w8, LBB0_2
; %bb.1:
	ldr	w8, [x19, #8]
	cbz	w8, LBB0_8
LBB0_2:
	ldr	x8, [x19]
	cmp	x8, #0
	cset	w0, eq
	bl	_BUG_ON
	ldr	x0, [x19]
	add	w1, w20, #1
	bl	_netdev_alloc_skb
	cbz	x0, LBB0_5
; %bb.3:
	mov	x22, x0
	mov	x1, x21
	mov	x2, x20
	bl	_skb_put_data
Lloh0:
	adrp	x8, _ETH_P_CAIF@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ETH_P_CAIF@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_htons
	str	w0, [x22]
	mov	x0, x22
	bl	_skb_reset_mac_header
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	bl	_debugfs_rx
	mov	x0, x22
	bl	_netif_rx_ni
	ldr	x8, [x19]
	cbz	w0, LBB0_6
; %bb.4:
	add	x8, x8, #4
	mov	w20, #1
	b	LBB0_7
LBB0_5:
	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
LBB0_6:
	ldr	w9, [x8, #8]
	add	w9, w9, #1
	str	w9, [x8, #8]
LBB0_7:
	ldr	w9, [x8]
	add	w9, w9, w20
	str	w9, [x8]
	mov	x0, x19
	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	_update_tty_status
LBB0_8:
	ldr	x8, [x19]
	add	x0, x8, #12
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	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	_dev_info
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Bytes received before initial transmission -bytes discarded.\n"

	.comm	_ETH_P_CAIF,4,2                 ; @ETH_P_CAIF
	.no_dead_strip	_ldisc_receive
.subsections_via_symbols
