	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function send_request
_send_request:                          ## @send_request
	.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	$1032, %rsp                     ## imm = 0x408
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	callq	_unix_stream_connect
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movl	%eax, %r14d
	movl	(%rbx), %edx
	movl	4(%rbx), %esi
	movl	%eax, %edi
	callq	_write_in_full
	testq	%rax, %rax
	jns	LBB0_4
## %bb.3:
	leaq	L_.str(%rip), %rdi
	callq	_die_errno
LBB0_4:
	movq	_SHUT_WR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edi
	callq	_shutdown
	leaq	-1072(%rbp), %rsi
	movl	%r14d, %edi
	movl	$1024, %edx                     ## imm = 0x400
	callq	_read_in_full
	testl	%eax, %eax
	je	LBB0_5
## %bb.6:
	movl	%eax, %ebx
	xorl	%r13d, %r13d
	movq	_ECONNRESET@GOTPCREL(%rip), %r15
	leaq	-1072(%rbp), %r12
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_7 Depth=1
	movl	$1, %r13d
	movl	$1, %edi
	movq	%r12, %rsi
	movl	%ebx, %edx
	callq	_write_or_die
	movl	%r14d, %edi
	movq	%r12, %rsi
	movl	$1024, %edx                     ## imm = 0x400
	callq	_read_in_full
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_11
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	testl	%ebx, %ebx
	jns	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	(%r15), %rax
	je	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	leaq	L_.str.1(%rip), %rdi
	callq	_die_errno
	jmp	LBB0_10
LBB0_1:
	movl	$-1, %r13d
	jmp	LBB0_12
LBB0_5:
	xorl	%r13d, %r13d
LBB0_11:
	movl	%r14d, %edi
	callq	_close
LBB0_12:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_14
## %bb.13:
	movl	%r13d, %eax
	addq	$1032, %rsp                     ## imm = 0x408
	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	"unable to write to cache daemon"

	.comm	_SHUT_WR,4,2                    ## @SHUT_WR
	.comm	_errno,8,3                      ## @errno
	.comm	_ECONNRESET,8,3                 ## @ECONNRESET
L_.str.1:                               ## @.str.1
	.asciz	"read error from cache daemon"

	.no_dead_strip	_send_request
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function send_request
_send_request:                          ; @send_request
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [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 w27, -72
	.cfi_offset w28, -80
	sub	sp, sp, #1040
	mov	x20, x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
	bl	_unix_stream_connect
	tbnz	w0, #31, LBB0_9
; %bb.1:
	mov	x19, x0
	ldp	w2, w1, [x20]
	bl	_write_in_full
	tbz	x0, #63, LBB0_3
; %bb.2:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_die_errno
LBB0_3:
Lloh5:
	adrp	x8, _SHUT_WR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SHUT_WR@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_shutdown
	add	x1, sp, #8
	mov	x0, x19
	mov	w2, #1024
	bl	_read_in_full
	cbz	w0, LBB0_10
; %bb.4:
	mov	x22, x0
	mov	w20, #0
Lloh8:
	adrp	x23, _errno@GOTPAGE
Lloh9:
	ldr	x23, [x23, _errno@GOTPAGEOFF]
Lloh10:
	adrp	x24, _ECONNRESET@GOTPAGE
Lloh11:
	ldr	x24, [x24, _ECONNRESET@GOTPAGEOFF]
Lloh12:
	adrp	x21, l_.str.1@PAGE
Lloh13:
	add	x21, x21, l_.str.1@PAGEOFF
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	w20, #1
	add	x1, sp, #8
	mov	w0, #1
	mov	x2, x22
	bl	_write_or_die
	add	x1, sp, #8
	mov	x0, x19
	mov	w2, #1024
	bl	_read_in_full
	mov	x22, x0
	cbz	w0, LBB0_11
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	tbz	w22, #31, LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x23]
	ldr	x9, [x24]
	cmp	x8, x9
	b.eq	LBB0_11
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x21
	bl	_die_errno
	b	LBB0_5
LBB0_9:
	mov	w20, #-1
	b	LBB0_12
LBB0_10:
	mov	w20, #0
LBB0_11:
	mov	x0, x19
	bl	_close
LBB0_12:
	ldur	x8, [x29, #-72]
Lloh14:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh15:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_14
; %bb.13:
	mov	x0, x20
	add	sp, sp, #1040
	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	x28, x27, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_14:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unable to write to cache daemon"

	.comm	_SHUT_WR,4,2                    ; @SHUT_WR
	.comm	_errno,8,3                      ; @errno
	.comm	_ECONNRESET,8,3                 ; @ECONNRESET
l_.str.1:                               ; @.str.1
	.asciz	"read error from cache daemon"

	.no_dead_strip	_send_request
.subsections_via_symbols
