	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function slip_receive_buf
_slip_receive_buf:                      ## @slip_receive_buf
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	(%rdi), %r12
	testq	%r12, %r12
	je	LBB0_12
## %bb.1:
	movl	%ecx, %r13d
	movq	(%r12), %rax
	movq	_SLIP_MAGIC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_12
## %bb.2:
	movq	%rdx, %rbx
	movq	16(%r12), %rdi
	callq	_netif_running
	testl	%eax, %eax
	je	LBB0_12
## %bb.3:
	testl	%r13d, %r13d
	je	LBB0_12
## %bb.4:
	leaq	24(%r12), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	%r13d, %r13d
	xorl	%r15d, %r15d
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_5 Depth=1
	xorl	%r14d, %r14d
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movzbl	(%rax,%r15), %esi
	movq	%r12, %rdi
	callq	_slip_unesc
LBB0_11:                                ##   in Loop: Header=BB0_5 Depth=1
	incq	%r15
	movq	%r14, %rbx
	cmpl	%r15d, %r13d
	je	LBB0_12
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	testq	%rbx, %rbx
	je	LBB0_6
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	leaq	1(%rbx), %r14
	cmpb	$0, (%rbx)
	je	LBB0_7
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	_SLF_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_test_and_set_bit
	testl	%eax, %eax
	jne	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	16(%r12), %rax
	incl	(%rax)
	jmp	LBB0_11
LBB0_12:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SLIP_MAGIC,8,3                 ## @SLIP_MAGIC
	.comm	_SLF_ERROR,4,2                  ## @SLF_ERROR
	.comm	_SL_MODE_SLIP6,4,2              ## @SL_MODE_SLIP6
	.no_dead_strip	_slip_receive_buf
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function slip_receive_buf
_slip_receive_buf:                      ; @slip_receive_buf
	.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
	ldr	x21, [x0]
	cbz	x21, LBB0_3
; %bb.1:
	ldr	x8, [x21]
Lloh0:
	adrp	x9, _SLIP_MAGIC@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SLIP_MAGIC@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.2:
	mov	x19, x3
	mov	x22, x2
	mov	x20, x1
	ldr	x0, [x21, #16]
	bl	_netif_running
	cmp	w0, #0
	ccmp	w19, #0, #4, ne
	b.ne	LBB0_4
LBB0_3:
	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
	ret
LBB0_4:
	add	x23, x21, #24
Lloh3:
	adrp	x24, _SLF_ERROR@GOTPAGE
Lloh4:
	ldr	x24, [x24, _SLF_ERROR@GOTPAGEOFF]
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldrb	w1, [x20]
	mov	x0, x21
	bl	_slip_unesc
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	x20, x20, #1
	cbz	w19, LBB0_3
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	sub	w19, w19, #1
	cbz	x22, LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldrb	w8, [x22], #1
	cbz	w8, LBB0_5
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w0, [x24]
	mov	x1, x23
	bl	_test_and_set_bit
	cbnz	w0, LBB0_6
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [x21, #16]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_SLIP_MAGIC,8,3                 ; @SLIP_MAGIC
	.comm	_SLF_ERROR,4,2                  ; @SLF_ERROR
	.comm	_SL_MODE_SLIP6,4,2              ; @SL_MODE_SLIP6
	.no_dead_strip	_slip_receive_buf
.subsections_via_symbols
