	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sender
_sender:                                ## @sender
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %r12d
	movq	%rcx, %r13
	movl	%edi, %ebx
	testl	%r8d, %r8d
	jne	LBB0_1
## %bb.2:
	movq	_connector@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_connect@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	leaq	-48(%rbp), %rcx
	movq	%rsi, %rdi
	movq	%rdx, %rsi
	movl	%eax, %edx
	movl	%r9d, %r8d
	callq	_getsocket
	movl	%eax, %r15d
	movl	%ebx, %edi
	movl	$1, %esi
	callq	_synchronize
	cmpl	$-1, %eax
	je	LBB0_4
## %bb.5:
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	movq	$0, -72(%rbp)
	testq	%r13, %r13
	je	LBB0_17
## %bb.6:
	leaq	-72(%rbp), %r14
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_7 Depth=1
	movl	$100, %edi
	callq	_usleep
	movq	-72(%rbp), %rax
	incq	%rax
	movq	%rax, -72(%rbp)
	cmpq	%r13, %rax
	jae	LBB0_17
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	leaq	-56(%rbp), %rdi
	xorl	%esi, %esi
	callq	_gettimeofday
	cmpl	$-1, %eax
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	%r13, %rbx
	movq	_EXIT_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	movl	%r13d, %edi
	movq	%rbx, %r13
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edx
	callq	_ERRX
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=1
	movl	-52(%rbp), %eax
	imull	$1000, -56(%rbp), %ecx          ## imm = 0x3E8
	movl	%eax, -60(%rbp)
	movl	%ecx, -64(%rbp)
	movq	_debug@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_7 Depth=1
	leaq	L_.str.1(%rip), %rdi
	movq	%r14, %rsi
	callq	_show
LBB0_11:                                ##   in Loop: Header=BB0_7 Depth=1
	testl	%r12d, %r12d
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_7 Depth=1
	movl	%r15d, %edi
	movq	%r14, %rsi
	movl	$16, %edx
	xorl	%ecx, %ecx
	callq	_send
	cmpl	$-1, %eax
	jne	LBB0_16
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_7 Depth=1
	movl	-48(%rbp), %r9d
	movl	%r15d, %edi
	movq	%r14, %rsi
	movl	$16, %edx
	xorl	%ecx, %ecx
	movq	_ss@GOTPCREL(%rip), %r8
	callq	_sendto
	cmpl	$-1, %eax
	jne	LBB0_16
LBB0_15:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	_EXIT_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	movl	%ebx, %edi
	leaq	L_.str.2(%rip), %rsi
	movl	%eax, %edx
	callq	_ERRX
	jmp	LBB0_16
LBB0_17:
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movl	$1, %esi
	callq	_synchronize
	movl	%eax, %ecx
	xorl	%eax, %eax
	cmpl	$-1, %ecx
	sete	%al
	negl	%eax
	jmp	LBB0_18
LBB0_4:
	movl	$-1, %eax
LBB0_18:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_connect,4,2                    ## @connect
	.comm	_connector,4,2                  ## @connector
	.comm	_EXIT_FAILURE,4,2               ## @EXIT_FAILURE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"clock (%s)"

	.comm	_errno,4,2                      ## @errno
	.comm	_debug,8,3                      ## @debug
L_.str.1:                               ## @.str.1
	.asciz	"sending"

	.comm	_ss,4,2                         ## @ss
L_.str.2:                               ## @.str.2
	.asciz	"send (%s)"

	.comm	_CLOCK_MONOTONIC,4,2            ## @CLOCK_MONOTONIC
	.no_dead_strip	_sender
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sender
_sender:                                ; @sender
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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 w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x4
	mov	x21, x3
	mov	x8, x2
	mov	x20, x0
Lloh0:
	adrp	x9, _connect@GOTPAGE
Lloh1:
	ldr	x9, [x9, _connect@GOTPAGEOFF]
Lloh2:
	adrp	x10, _connector@GOTPAGE
Lloh3:
	ldr	x10, [x10, _connector@GOTPAGEOFF]
	cmp	w4, #0
	csel	x9, x10, x9, eq
	ldr	w2, [x9]
	add	x3, sp, #28
	mov	x0, x1
	mov	x1, x8
	mov	x4, x5
	bl	_getsocket
	mov	x22, x0
	mov	x0, x20
	mov	w1, #1
	bl	_synchronize
	cmn	w0, #1
	b.eq	LBB0_13
; %bb.1:
	str	w20, [sp, #12]                  ; 4-byte Folded Spill
	str	xzr, [sp, #32]
	cbz	x21, LBB0_12
; %bb.2:
Lloh4:
	adrp	x28, _EXIT_FAILURE@GOTPAGE
Lloh5:
	ldr	x28, [x28, _EXIT_FAILURE@GOTPAGEOFF]
Lloh6:
	adrp	x20, _errno@GOTPAGE
Lloh7:
	ldr	x20, [x20, _errno@GOTPAGEOFF]
	mov	w23, #1000
Lloh8:
	adrp	x24, _debug@GOTPAGE
Lloh9:
	ldr	x24, [x24, _debug@GOTPAGEOFF]
Lloh10:
	adrp	x25, l_.str.2@PAGE
Lloh11:
	add	x25, x25, l_.str.2@PAGEOFF
Lloh12:
	adrp	x26, l_.str.1@PAGE
Lloh13:
	add	x26, x26, l_.str.1@PAGEOFF
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	w0, #100
	bl	_usleep
	ldr	x8, [sp, #32]
	add	x8, x8, #1
	str	x8, [sp, #32]
	cmp	x8, x21
	b.hs	LBB0_12
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #16
	mov	x1, #0
	bl	_gettimeofday
	cmn	w0, #1
	b.ne	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w27, [x28]
	ldr	w0, [x20]
	bl	_strerror
	mov	x2, x0
	mov	x0, x27
Lloh14:
	adrp	x1, l_.str@PAGE
Lloh15:
	add	x1, x1, l_.str@PAGEOFF
	bl	_ERRX
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldp	w9, w8, [sp, #16]
	mul	w9, w9, w23
	stp	w9, w8, [sp, #40]
	ldr	x8, [x24]
	cbz	x8, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x1, sp, #32
	mov	x0, x26
	bl	_show
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	cbz	w19, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x1, sp, #32
	mov	x0, x22
	mov	w2, #16
	mov	w3, #0
	bl	_send
	cmn	w0, #1
	b.ne	LBB0_3
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w5, [sp, #28]
	add	x1, sp, #32
	mov	x0, x22
	mov	w2, #16
	mov	w3, #0
Lloh16:
	adrp	x4, _ss@GOTPAGE
Lloh17:
	ldr	x4, [x4, _ss@GOTPAGEOFF]
	bl	_sendto
	cmn	w0, #1
	b.ne	LBB0_3
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w27, [x28]
	ldr	w0, [x20]
	bl	_strerror
	mov	x2, x0
	mov	x0, x27
	mov	x1, x25
	bl	_ERRX
	b	LBB0_3
LBB0_12:
	ldr	w0, [sp, #12]                   ; 4-byte Folded Reload
	mov	w1, #1
	bl	_synchronize
	cmn	w0, #1
	csetm	w0, eq
LBB0_13:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_connect,4,2                    ; @connect
	.comm	_connector,4,2                  ; @connector
	.comm	_EXIT_FAILURE,4,2               ; @EXIT_FAILURE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"clock (%s)"

	.comm	_errno,4,2                      ; @errno
	.comm	_debug,8,3                      ; @debug
l_.str.1:                               ; @.str.1
	.asciz	"sending"

	.comm	_ss,4,2                         ; @ss
l_.str.2:                               ; @.str.2
	.asciz	"send (%s)"

	.comm	_CLOCK_MONOTONIC,4,2            ; @CLOCK_MONOTONIC
	.no_dead_strip	_sender
.subsections_via_symbols
