	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function client_run
_client_run:                            ## @client_run
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%eax, %eax
	callq	_client_connect
	movl	%eax, %ebx
	testl	%eax, %eax
	js	LBB0_10
## %bb.1:
	movl	%ebx, %edi
	callq	_client_open
	movl	%eax, %r14d
	testl	%eax, %eax
	jne	LBB0_8
## %bb.2:
	movl	%ebx, %edi
	callq	_client_start_write
	movl	%eax, %r14d
	testl	%eax, %eax
	jne	LBB0_7
## %bb.3:
	leaq	L_.str(%rip), %rdi
	callq	_printf
	xorl	%edi, %edi
	callq	_fflush
	movq	_start@GOTPCREL(%rip), %rdi
	xorl	%esi, %esi
	callq	_gettimeofday
	movq	_file_addr@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_bytes@GOTPCREL(%rip), %r15
	movq	(%r15), %rdx
	movl	%ebx, %edi
	xorl	%ecx, %ecx
	callq	_rsend
	cmpq	(%r15), %rax
	jne	LBB0_5
## %bb.4:
	movq	_CMD_WRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-32(%rbp), %rsi
	movl	%ebx, %edi
	callq	_msg_get_resp
	movl	%eax, %r14d
	jmp	LBB0_6
LBB0_5:
	movq	%rax, %r14
LBB0_6:
	movq	_end@GOTPCREL(%rip), %rdi
	xorl	%esi, %esi
	callq	_gettimeofday
LBB0_7:
	movl	%ebx, %edi
	callq	_client_close
LBB0_8:
	movq	_SHUT_RDWR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_rshutdown
	movl	%ebx, %edi
	callq	_rclose
	movl	%r14d, %ebx
	testl	%r14d, %r14d
	jne	LBB0_10
## %bb.9:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_show_perf
LBB0_10:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"..."

	.comm	_start,4,2                      ## @start
	.comm	_file_addr,4,2                  ## @file_addr
	.comm	_bytes,8,3                      ## @bytes
	.comm	_CMD_WRITE,4,2                  ## @CMD_WRITE
	.comm	_end,4,2                        ## @end
	.comm	_SHUT_RDWR,4,2                  ## @SHUT_RDWR
	.no_dead_strip	_client_run
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function client_run
_client_run:                            ; @client_run
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	bl	_client_connect
	mov	x19, x0
	tbnz	w0, #31, LBB0_10
; %bb.1:
	mov	x0, x19
	bl	_client_open
	mov	x20, x0
	cbnz	w0, LBB0_8
; %bb.2:
	mov	x0, x19
	bl	_client_start_write
	mov	x20, x0
	cbnz	w0, LBB0_7
; %bb.3:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printf
	mov	x0, #0
	bl	_fflush
Lloh2:
	adrp	x0, _start@GOTPAGE
Lloh3:
	ldr	x0, [x0, _start@GOTPAGEOFF]
	mov	x1, #0
	bl	_gettimeofday
Lloh4:
	adrp	x8, _file_addr@GOTPAGE
Lloh5:
	ldr	x8, [x8, _file_addr@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
Lloh7:
	adrp	x21, _bytes@GOTPAGE
Lloh8:
	ldr	x21, [x21, _bytes@GOTPAGEOFF]
	ldr	x2, [x21]
	mov	x0, x19
	mov	w3, #0
	bl	_rsend
	ldr	x8, [x21]
	cmp	x0, x8
	b.ne	LBB0_5
; %bb.4:
Lloh9:
	adrp	x8, _CMD_WRITE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _CMD_WRITE@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	add	x1, sp, #8
	mov	x0, x19
	bl	_msg_get_resp
	mov	x20, x0
	b	LBB0_6
LBB0_5:
	mov	x20, x0
LBB0_6:
Lloh12:
	adrp	x0, _end@GOTPAGE
Lloh13:
	ldr	x0, [x0, _end@GOTPAGEOFF]
	mov	x1, #0
	bl	_gettimeofday
LBB0_7:
	mov	x0, x19
	bl	_client_close
LBB0_8:
Lloh14:
	adrp	x8, _SHUT_RDWR@GOTPAGE
Lloh15:
	ldr	x8, [x8, _SHUT_RDWR@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_rshutdown
	mov	x0, x19
	bl	_rclose
	mov	x19, x20
	cbnz	w20, LBB0_10
; %bb.9:
	bl	_show_perf
LBB0_10:
	mov	x0, x19
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"..."

	.comm	_start,4,2                      ; @start
	.comm	_file_addr,4,2                  ; @file_addr
	.comm	_bytes,8,3                      ; @bytes
	.comm	_CMD_WRITE,4,2                  ; @CMD_WRITE
	.comm	_end,4,2                        ; @end
	.comm	_SHUT_RDWR,4,2                  ; @SHUT_RDWR
	.no_dead_strip	_client_run
.subsections_via_symbols
