	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mkiss_receive_buf
_mkiss_receive_buf:                     ## @mkiss_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
	movl	%ecx, %r14d
	movq	%rdx, %rbx
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r15
	callq	_mkiss_get
	testq	%rax, %rax
	je	LBB0_13
## %bb.1:
	movq	%rax, %r13
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	movq	8(%rax), %rax
	movq	(%rax), %rax
	addq	$73, %rax
	cmpq	%rax, (%r13)
	je	LBB0_3
## %bb.2:
	movq	%r13, %rdi
	callq	_ax_changedmtu
LBB0_3:
	testl	%r14d, %r14d
	je	LBB0_12
## %bb.4:
	movq	%r13, %rax
	addq	$16, %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	%r14d, %r14d
	xorl	%r12d, %r12d
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_5 Depth=1
	xorl	%r15d, %r15d
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movzbl	(%rax,%r12), %esi
	movq	%r13, %rdi
	callq	_kiss_unesc
LBB0_11:                                ##   in Loop: Header=BB0_5 Depth=1
	incq	%r12
	movq	%r15, %rbx
	cmpl	%r12d, %r14d
	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), %r15
	cmpb	$0, (%rbx)
	je	LBB0_7
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	_AXF_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-56(%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	8(%r13), %rax
	incl	8(%rax)
	jmp	LBB0_11
LBB0_12:
	movq	%r13, %rdi
	callq	_mkiss_put
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_tty_unthrottle                 ## TAILCALL
LBB0_13:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AXF_ERROR,4,2                  ## @AXF_ERROR
	.no_dead_strip	_mkiss_receive_buf
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mkiss_receive_buf
_mkiss_receive_buf:                     ; @mkiss_receive_buf
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x3
	mov	x22, x2
	mov	x21, x1
	mov	x19, x0
	bl	_mkiss_get
	cbz	x0, LBB0_12
; %bb.1:
	mov	x23, x0
	ldp	x8, x9, [x0]
	ldr	x9, [x9]
	add	x9, x9, #73
	cmp	x8, x9
	b.eq	LBB0_3
; %bb.2:
	mov	x0, x23
	bl	_ax_changedmtu
LBB0_3:
	cbz	w20, LBB0_11
; %bb.4:
	add	x24, x23, #16
Lloh0:
	adrp	x25, _AXF_ERROR@GOTPAGE
Lloh1:
	ldr	x25, [x25, _AXF_ERROR@GOTPAGEOFF]
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldrb	w1, [x21]
	mov	x0, x23
	bl	_kiss_unesc
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	x21, x21, #1
	cbz	w20, LBB0_11
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	sub	w20, w20, #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, [x25]
	mov	x1, x24
	bl	_test_and_set_bit
	cbnz	w0, LBB0_6
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [x23, #8]
	ldr	w9, [x8, #8]
	add	w9, w9, #1
	str	w9, [x8, #8]
	b	LBB0_6
LBB0_11:
	mov	x0, x23
	bl	_mkiss_put
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_tty_unthrottle
LBB0_12:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_AXF_ERROR,4,2                  ; @AXF_ERROR
	.no_dead_strip	_mkiss_receive_buf
.subsections_via_symbols
