	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _server_handle_exec_file_read
__server_handle_exec_file_read:         ## @_server_handle_exec_file_read
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -64(%rbp)
	movaps	%xmm0, -80(%rbp)
	movaps	%xmm0, -96(%rbp)
	movaps	%xmm0, -112(%rbp)
	callq	_send_ack
	movl	$-1, %r14d
	testq	%rax, %rax
	js	LBB0_12
## %bb.1:
	movq	%rbx, -120(%rbp)                ## 8-byte Spill
	movq	(%r15), %rbx
	leaq	L_.str(%rip), %rdi
	callq	_strlen
	cltq
	leaq	(%rbx,%rax), %r13
	cmpb	$58, (%rbx,%rax)
	je	LBB0_6
## %bb.2:
	movq	%r13, %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_strtol
	testl	%eax, %eax
	jle	LBB0_4
## %bb.3:
	cmpl	%eax, 8(%r15)
	jne	LBB0_4
LBB0_6:
	movq	%r13, %rdi
	movl	$58, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_4
## %bb.7:
	incq	%rax
	leaq	L_.str.2(%rip), %rdx
	leaq	-112(%rbp), %rdi
	movl	$63, %esi
	movq	%rax, %rcx
	callq	_snprintf
	movl	$512, %edi                      ## imm = 0x200
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_8
## %bb.9:
	movq	%rax, %r13
	leaq	-112(%rbp), %rdx
	movl	$512, %r8d                      ## imm = 0x200
	movq	%r15, %rdi
	movq	%r12, %rsi
	movq	%rax, %rcx
	callq	*-120(%rbp)                     ## 8-byte Folded Reload
	testq	%rax, %rax
	js	LBB0_10
## %bb.11:
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_send_msg
	movl	%eax, %r14d
	movq	%r13, %rdi
	callq	_free
	jmp	LBB0_12
LBB0_4:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_14
## %bb.5:
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_send_msg                       ## TAILCALL
LBB0_8:
	leaq	L_.str.3(%rip), %rsi
	movq	%r15, %rdi
	callq	_send_msg
	jmp	LBB0_12
LBB0_10:
	movq	%r13, %rdi
	callq	_free
	leaq	L_.str.3(%rip), %rsi
	movq	%r15, %rdi
	callq	_send_msg
	movl	%eax, %r14d
LBB0_12:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_14
## %bb.13:
	movl	%r14d, %eax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"qXfer:exec-file:read:"

L_.str.1:                               ## @.str.1
	.asciz	"E00"

L_.str.2:                               ## @.str.2
	.asciz	"if%s"

L_.str.3:                               ## @.str.3
	.asciz	"E01"

	.no_dead_strip	__server_handle_exec_file_read
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _server_handle_exec_file_read
__server_handle_exec_file_read:         ; @_server_handle_exec_file_read
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x21, x2
	mov	x20, x1
	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, #-40]
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [sp, #32]
	stp	q0, q0, [sp]
	bl	_send_ack
	tbnz	x0, #63, LBB0_8
; %bb.1:
	ldr	x22, [x19]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_strlen
	add	x22, x22, w0, sxtw
	ldrb	w8, [x22]
	cmp	w8, #58
	b.eq	LBB0_4
; %bb.2:
	mov	x0, x22
	mov	x1, #0
	mov	w2, #16
	bl	_strtol
	cmp	w0, #1
	b.lt	LBB0_9
; %bb.3:
	ldr	w8, [x19, #8]
	cmp	w8, w0
	b.ne	LBB0_9
LBB0_4:
	mov	x0, x22
	mov	w1, #58
	bl	_strchr
	cbz	x0, LBB0_9
; %bb.5:
	add	x3, x0, #1
Lloh5:
	adrp	x2, l_.str.2@PAGE
Lloh6:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, sp
	mov	w1, #63
	bl	_snprintf
	mov	w0, #512
	bl	_malloc
	cbz	x0, LBB0_11
; %bb.6:
	mov	x22, x0
	mov	x2, sp
	mov	x0, x19
	mov	x1, x21
	mov	x3, x22
	mov	w4, #512
	blr	x20
	tbnz	x0, #63, LBB0_12
; %bb.7:
	mov	x0, x19
	mov	x1, x22
	bl	_send_msg
	mov	x19, x0
	mov	x0, x22
	bl	_free
	b	LBB0_13
LBB0_8:
	mov	w19, #-1
	b	LBB0_13
LBB0_9:
	ldur	x8, [x29, #-40]
Lloh7:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh8:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_15
; %bb.10:
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #128
	b	_send_msg
LBB0_11:
Lloh12:
	adrp	x1, l_.str.3@PAGE
Lloh13:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_send_msg
	mov	w19, #-1
	b	LBB0_13
LBB0_12:
	mov	x0, x22
	bl	_free
Lloh14:
	adrp	x1, l_.str.3@PAGE
Lloh15:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_send_msg
	mov	x19, x0
LBB0_13:
	ldur	x8, [x29, #-40]
Lloh16:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh17:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_15
; %bb.14:
	mov	x0, x19
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_15:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"qXfer:exec-file:read:"

l_.str.1:                               ; @.str.1
	.asciz	"E00"

l_.str.2:                               ; @.str.2
	.asciz	"if%s"

l_.str.3:                               ; @.str.3
	.asciz	"E01"

	.no_dead_strip	__server_handle_exec_file_read
.subsections_via_symbols
