	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function socklist_recv_file
_socklist_recv_file:                    ## @socklist_recv_file
	.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	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAXLINE@GOTPCREL(%rip), %r13
	movl	(%r13), %ebx
	leal	1(%rbx), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	movl	(%r14), %edi
	decl	%ebx
	movq	%r15, %rsi
	movl	%ebx, %edx
	callq	_read
	xorl	%r12d, %r12d
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	%rbx, %rdi
	callq	_printsys
	xorl	%r12d, %r12d
LBB0_16:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	(%r14), %edi
	movslq	%r12d, %rdx
	leaq	(%r15,%rdx), %rsi
	notl	%edx
	addl	(%r13), %edx
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_read
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_10 Depth 2
	testl	%eax, %eax
	jle	LBB0_2
## %bb.17:                              ##   in Loop: Header=BB0_1 Depth=1
	addl	%r12d, %eax
	cltq
	movb	$0, (%r15,%rax)
	movq	%r15, %rdi
	movl	$10, %esi
	callq	_strchr
	movq	%rax, %r12
	movq	%r15, %rbx
	testq	%rax, %rax
	je	LBB0_12
	.p2align	4, 0x90
LBB0_10:                                ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movb	$0, (%r12)
	movq	%rbx, %rdi
	callq	_printsys
	movq	%r12, %rbx
	incq	%rbx
	movq	%rbx, %rdi
	movl	$10, %esi
	callq	_strchr
	movq	%rax, %r12
	testq	%rax, %rax
	jne	LBB0_10
LBB0_12:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	%rbx, %rdi
	callq	_strlen
	movl	%eax, %r12d
	movl	(%r13), %eax
	decl	%eax
	cmpl	%eax, %r12d
	jge	LBB0_13
## %bb.14:                              ##   in Loop: Header=BB0_1 Depth=1
	testl	%r12d, %r12d
	jle	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_1 Depth=1
	movl	%r12d, %edx
	incl	%edx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_memmove
	jmp	LBB0_16
LBB0_2:
	testl	%eax, %eax
	jns	LBB0_6
## %bb.3:
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_EINTR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_6
## %bb.4:
	movq	_EAGAIN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_6
## %bb.5:
	leaq	L_.str(%rip), %rdi
	callq	_logerror
	movl	(%r14), %edi
	callq	_close
	movl	$-1, (%r14)
LBB0_6:
	testl	%r12d, %r12d
	jle	LBB0_8
## %bb.7:
	movq	%r15, %rdi
	callq	_printsys
LBB0_8:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_9
## %bb.18:
	movl	%r12d, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAXLINE,4,2                    ## @MAXLINE
	.comm	_errno,8,3                      ## @errno
	.comm	_EINTR,8,3                      ## @EINTR
	.comm	_EAGAIN,8,3                     ## @EAGAIN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"klog"

	.no_dead_strip	_socklist_recv_file
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function socklist_recv_file
_socklist_recv_file:                    ; @socklist_recv_file
	.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
	sub	sp, sp, #16
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
Lloh3:
	adrp	x23, _MAXLINE@GOTPAGE
Lloh4:
	ldr	x23, [x23, _MAXLINE@GOTPAGEOFF]
	ldr	w12, [x23]
	add	w8, w12, #1
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x20, x9, x8
	mov	sp, x20
	ldr	w0, [x0]
	sub	w2, w12, #1
	mov	x1, x20
	bl	_read
	cmp	w0, #1
	b.lt	LBB0_9
; %bb.1:
	mov	w21, #0
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x22
	bl	_printsys
	mov	w21, #0
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x19]
	add	x1, x20, w21, sxtw
	ldr	w8, [x23]
	mvn	w9, w21
	add	w2, w8, w9
	bl	_read
	cmp	w0, #0
	b.le	LBB0_10
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
	add	w8, w0, w21
	strb	wzr, [x20, w8, sxtw]
	mov	x0, x20
	mov	w1, #10
	bl	_strchr
	mov	x21, x0
	mov	x22, x20
	cbz	x0, LBB0_6
LBB0_5:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	strb	wzr, [x21], #1
	mov	x0, x22
	bl	_printsys
	mov	x22, x21
	mov	x0, x21
	mov	w1, #10
	bl	_strchr
	mov	x21, x0
	cbnz	x0, LBB0_5
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x22
	bl	_strlen
	ldr	w8, [x23]
	sub	w8, w8, #1
	cmp	w0, w8
	b.ge	LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x21, x0
	cmp	w0, #1
	b.lt	LBB0_3
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	add	w2, w21, #1
	mov	x0, x20
	mov	x1, x22
	bl	_memmove
	b	LBB0_3
LBB0_9:
	mov	w21, #0
LBB0_10:
	tbz	w0, #31, LBB0_13
; %bb.11:
Lloh7:
	adrp	x8, _errno@GOTPAGE
Lloh8:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
Lloh10:
	adrp	x9, _EINTR@GOTPAGE
Lloh11:
	ldr	x9, [x9, _EINTR@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
Lloh13:
	adrp	x10, _EAGAIN@GOTPAGE
Lloh14:
	ldr	x10, [x10, _EAGAIN@GOTPAGEOFF]
Lloh15:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.eq	LBB0_13
; %bb.12:
Lloh16:
	adrp	x0, l_.str@PAGE
Lloh17:
	add	x0, x0, l_.str@PAGEOFF
	bl	_logerror
	ldr	w0, [x19]
	bl	_close
	mov	w8, #-1
	str	w8, [x19]
LBB0_13:
	cmp	w21, #1
	b.lt	LBB0_15
; %bb.14:
	mov	x0, x20
	bl	_printsys
LBB0_15:
	ldur	x8, [x29, #-56]
Lloh18:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh19:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_17
; %bb.16:
	mov	x0, x21
	sub	sp, x29, #48
	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_17:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_MAXLINE,4,2                    ; @MAXLINE
	.comm	_errno,8,3                      ; @errno
	.comm	_EINTR,8,3                      ; @EINTR
	.comm	_EAGAIN,8,3                     ; @EAGAIN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"klog"

	.no_dead_strip	_socklist_recv_file
.subsections_via_symbols
