	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_slipif_init                    ## -- Begin function slipif_init
	.p2align	4, 0x90
_slipif_init:                           ## @slipif_init
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	_SLIP_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movslq	16(%rbx), %rsi
	callq	_LWIP_DEBUGF
	movq	(%rbx), %rax
	movb	$115, (%rax)
	movq	(%rbx), %rax
	movb	$108, 1(%rax)
	movq	_slipif_output@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%rbx)
	movl	$1500, 8(%rbx)                  ## imm = 0x5DC
	movq	_NETIF_FLAG_POINTTOPOINT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	movq	16(%rbx), %rdi
	callq	_sio_open
	movl	%eax, 12(%rbx)
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	_slipif_loop@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SLIPIF_THREAD_PRIO@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rsi
	callq	_sys_thread_new
	movq	_ERR_OK@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_ERR_IF@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SLIP_DEBUG,4,2                 ## @SLIP_DEBUG
	.comm	_slipif_output,4,2              ## @slipif_output
	.comm	_NETIF_FLAG_POINTTOPOINT,4,2    ## @NETIF_FLAG_POINTTOPOINT
	.comm	_ERR_IF,4,2                     ## @ERR_IF
	.comm	_slipif_loop,4,2                ## @slipif_loop
	.comm	_SLIPIF_THREAD_PRIO,4,2         ## @SLIPIF_THREAD_PRIO
	.comm	_ERR_OK,4,2                     ## @ERR_OK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_slipif_init                    ; -- Begin function slipif_init
	.p2align	2
_slipif_init:                           ; @slipif_init
	.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	x19, x0
Lloh0:
	adrp	x8, _SLIP_DEBUG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SLIP_DEBUG@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldrsw	x1, [x19, #16]
	bl	_LWIP_DEBUGF
	ldr	x8, [x19]
	mov	w9, #115
	strb	w9, [x8]
	ldr	x8, [x19]
	mov	w9, #108
	strb	w9, [x8, #1]
Lloh3:
	adrp	x8, _slipif_output@GOTPAGE
Lloh4:
	ldr	x8, [x8, _slipif_output@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	mov	w9, #1500
	str	w9, [x19, #8]
Lloh6:
	adrp	x9, _NETIF_FLAG_POINTTOPOINT@GOTPAGE
Lloh7:
	ldr	x9, [x9, _NETIF_FLAG_POINTTOPOINT@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #24]
	ldr	x0, [x19, #16]
	bl	_sio_open
	str	w0, [x19, #12]
	cbz	w0, LBB0_2
; %bb.1:
Lloh9:
	adrp	x8, _slipif_loop@GOTPAGE
Lloh10:
	ldr	x8, [x8, _slipif_loop@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
Lloh12:
	adrp	x8, _SLIPIF_THREAD_PRIO@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SLIPIF_THREAD_PRIO@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
	mov	x1, x19
	bl	_sys_thread_new
Lloh15:
	adrp	x8, _ERR_OK@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ERR_OK@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:
Lloh17:
	adrp	x8, _ERR_IF@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ERR_IF@GOTPAGEOFF]
LBB0_3:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_SLIP_DEBUG,4,2                 ; @SLIP_DEBUG
	.comm	_slipif_output,4,2              ; @slipif_output
	.comm	_NETIF_FLAG_POINTTOPOINT,4,2    ; @NETIF_FLAG_POINTTOPOINT
	.comm	_ERR_IF,4,2                     ; @ERR_IF
	.comm	_slipif_loop,4,2                ; @slipif_loop
	.comm	_SLIPIF_THREAD_PRIO,4,2         ; @SLIPIF_THREAD_PRIO
	.comm	_ERR_OK,4,2                     ; @ERR_OK
.subsections_via_symbols
