	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _server_handle_g
__server_handle_g:                      ## @_server_handle_g
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movq	%rsi, %r15
	movq	%rdi, %r14
	callq	_send_ack
	testq	%rax, %rax
	js	LBB0_3
## %bb.1:
	movl	$4096, %edi                     ## imm = 0x1000
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_2
## %bb.4:
	movq	%rax, %rbx
	movq	%rax, %rdi
	xorl	%esi, %esi
	movl	$4096, %edx                     ## imm = 0x1000
	callq	_memset
	leaq	L_.str.1(%rip), %rdx
	movq	%r14, %rdi
	movq	%r12, %rsi
	movq	%rbx, %rcx
	movl	$4096, %r8d                     ## imm = 0x1000
	callq	*%r15
	testl	%eax, %eax
	js	LBB0_5
## %bb.6:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_send_msg
	movl	%eax, %r14d
	movq	%rbx, %rdi
	callq	_free
	movl	%r14d, %eax
	jmp	LBB0_7
LBB0_5:
	movq	%rbx, %rdi
	callq	_free
LBB0_2:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_send_msg
LBB0_3:
	movl	$-1, %eax
LBB0_7:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"E01"

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

	.no_dead_strip	__server_handle_g
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _server_handle_g
__server_handle_g:                      ; @_server_handle_g
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x22, x2
	mov	x21, x1
	mov	x19, x0
	bl	_send_ack
	tbnz	x0, #63, LBB0_6
; %bb.1:
	mov	w0, #4096
	bl	_malloc
	cbz	x0, LBB0_5
; %bb.2:
	mov	x20, x0
	mov	w1, #0
	mov	w2, #4096
	bl	_memset
Lloh0:
	adrp	x2, l_.str.1@PAGE
Lloh1:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x1, x22
	mov	x3, x20
	mov	w4, #4096
	blr	x21
	tbnz	w0, #31, LBB0_4
; %bb.3:
	mov	x0, x19
	mov	x1, x20
	bl	_send_msg
	mov	x19, x0
	mov	x0, x20
	bl	_free
	mov	x0, x19
	b	LBB0_7
LBB0_4:
	mov	x0, x20
	bl	_free
LBB0_5:
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_send_msg
LBB0_6:
	mov	w0, #-1
LBB0_7:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"E01"

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

	.no_dead_strip	__server_handle_g
.subsections_via_symbols
