	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function send_progress_thread
_send_progress_thread:                  ## @send_progress_thread
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	$0, -72(%rbp)
	movq	32(%rdi), %r13
	movq	8(%r13), %r14
	movq	(%r13), %rsi
	xorl	%edi, %edi
	movl	$4, %edx
	callq	_strlcpy
	cmpq	$0, 16(%rbx)
	jne	LBB0_3
## %bb.1:
	cmpq	$0, 24(%rbx)
	jne	LBB0_3
## %bb.2:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
LBB0_3:
	movl	$1, %edi
	callq	_sleep
	movq	(%rbx), %rax
	movq	%rax, -80(%rbp)
	movq	_ZFS_IOC_SEND_PROGRESS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-80(%rbp), %rdx
	movq	%r14, %rdi
	callq	_zfs_ioctl
	testq	%rax, %rax
	je	LBB0_4
LBB0_9:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_18
## %bb.10:
	movq	$-1, %rax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	leaq	-84(%rbp), %r15
	jmp	LBB0_5
LBB0_11:                                ##   in Loop: Header=BB0_5 Depth=1
	xorl	%edx, %edx
	divq	%r8
	movq	%rax, %rdx
LBB0_12:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	(%r13), %rsi
	leaq	L_.str.1(%rip), %rdi
                                        ## kill: def $edx killed $edx killed $rdx
	movq	%r9, %rcx
                                        ## kill: def $r8d killed $r8d killed $r8
	callq	_setproctitle
LBB0_17:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	$1, %edi
	callq	_sleep
	movq	(%rbx), %rax
	movq	%rax, -80(%rbp)
	movq	_ZFS_IOC_SEND_PROGRESS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	leaq	-80(%rbp), %rdx
	callq	_zfs_ioctl
	testq	%rax, %rax
	jne	LBB0_9
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	callq	_time
	movq	%r15, %rdi
	callq	_localtime
	movq	-80(%rbp), %r9
	cmpq	$0, 24(%rbx)
	je	LBB0_13
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	8(%rbx), %r8
	movl	$100, %edx
	cmpq	%r9, %r8
	jbe	LBB0_12
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	imulq	$100, %r9, %rax
	movq	%rax, %rcx
	orq	%r8, %rcx
	shrq	$32, %rcx
	jne	LBB0_11
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%r8d
	movl	%eax, %edx
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	%rax, %r12
	cmpq	$0, 16(%rbx)
	je	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r12), %edx
	movl	4(%r12), %ecx
	movl	8(%r12), %r8d
	movq	(%r13), %rax
	movq	%rax, (%rsp)
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_16
LBB0_15:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	%r9, %rdi
	leaq	-64(%rbp), %rsi
	movl	$16, %edx
	callq	_zfs_nicenum
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r12), %edx
	movl	4(%r12), %ecx
	movl	8(%r12), %r8d
	movq	(%r13), %rax
	movq	%rax, (%rsp)
	leaq	L_.str.3(%rip), %rsi
	leaq	-64(%rbp), %r9
LBB0_16:                                ##   in Loop: Header=BB0_5 Depth=1
	xorl	%eax, %eax
	callq	_fprintf
	jmp	LBB0_17
LBB0_18:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"TIME        SENT   SNAPSHOT\n"

	.comm	_ZFS_IOC_SEND_PROGRESS,4,2      ## @ZFS_IOC_SEND_PROGRESS
L_.str.1:                               ## @.str.1
	.asciz	"sending %s (%d%%: %llu/%llu)"

L_.str.2:                               ## @.str.2
	.asciz	"%02d:%02d:%02d\t%llu\t%s\n"

L_.str.3:                               ## @.str.3
	.asciz	"%02d:%02d:%02d   %5s   %s\n"

	.no_dead_strip	_send_progress_thread
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function send_progress_thread
_send_progress_thread:                  ; @send_progress_thread
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #192
	.cfi_def_cfa_offset 192
	stp	x28, x27, [sp, #96]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #112]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #128]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #144]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #160]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #176]            ; 16-byte Folded Spill
	add	x29, sp, #176
	.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, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #88]
	str	xzr, [sp, #64]
	ldr	x25, [x0, #32]
	ldp	x1, x20, [x25]
	mov	w0, #0
	mov	w2, #4
	bl	_strlcpy
	ldr	x8, [x19, #16]
	cbnz	x8, LBB0_3
; %bb.1:
	ldr	x8, [x19, #24]
	cbnz	x8, LBB0_3
; %bb.2:
Lloh3:
	adrp	x8, _stderr@GOTPAGE
Lloh4:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
LBB0_3:
	mov	w0, #1
	bl	_sleep
	ldr	x8, [x19]
	str	x8, [sp, #56]
Lloh8:
	adrp	x26, _ZFS_IOC_SEND_PROGRESS@GOTPAGE
Lloh9:
	ldr	x26, [x26, _ZFS_IOC_SEND_PROGRESS@GOTPAGEOFF]
	ldr	w1, [x26]
	add	x2, sp, #56
	mov	x0, x20
	bl	_zfs_ioctl
	cbz	x0, LBB0_6
LBB0_4:
	ldr	x8, [sp, #88]
Lloh10:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh11:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_17
; %bb.5:
	mov	x0, #-1
	ldp	x29, x30, [sp, #176]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #160]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #144]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #128]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #112]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #192
	ret
LBB0_6:
Lloh13:
	adrp	x27, _stderr@GOTPAGE
Lloh14:
	ldr	x27, [x27, _stderr@GOTPAGEOFF]
Lloh15:
	adrp	x21, l_.str.3@PAGE
Lloh16:
	add	x21, x21, l_.str.3@PAGEOFF
Lloh17:
	adrp	x22, l_.str.2@PAGE
Lloh18:
	add	x22, x22, l_.str.2@PAGEOFF
	mov	w28, #100
Lloh19:
	adrp	x23, l_.str.1@PAGE
Lloh20:
	add	x23, x23, l_.str.1@PAGEOFF
	b	LBB0_10
LBB0_7:                                 ;   in Loop: Header=BB0_10 Depth=1
	mul	x8, x3, x28
	udiv	x2, x8, x4
LBB0_8:                                 ;   in Loop: Header=BB0_10 Depth=1
	ldr	x1, [x25]
	mov	x0, x23
                                        ; kill: def $w2 killed $w2 killed $x2
                                        ; kill: def $w4 killed $w4 killed $x4
	bl	_setproctitle
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	mov	w0, #1
	bl	_sleep
	ldr	x8, [x19]
	str	x8, [sp, #56]
	ldr	w1, [x26]
	add	x2, sp, #56
	mov	x0, x20
	bl	_zfs_ioctl
	cbnz	x0, LBB0_4
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #52
	bl	_time
	add	x0, sp, #52
	bl	_localtime
	ldr	x3, [sp, #56]
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_13
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	x4, [x19, #8]
	cmp	x4, x3
	b.hi	LBB0_7
; %bb.12:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	w2, #100
	b	LBB0_8
LBB0_13:                                ;   in Loop: Header=BB0_10 Depth=1
	mov	x24, x0
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	w0, [x27]
	ldr	x8, [x25]
	ldp	w9, w10, [x24]
	ldr	w11, [x24, #8]
	stp	x3, x8, [sp, #24]
	stp	x10, x11, [sp, #8]
	str	x9, [sp]
	mov	x1, x22
	b	LBB0_16
LBB0_15:                                ;   in Loop: Header=BB0_10 Depth=1
	add	x1, sp, #72
	mov	x0, x3
	mov	w2, #16
	bl	_zfs_nicenum
	ldr	w0, [x27]
	ldr	x8, [x25]
	ldp	w9, w10, [x24]
	ldr	w11, [x24, #8]
	str	x8, [sp, #32]
	add	x8, sp, #72
	stp	x11, x8, [sp, #16]
	stp	x9, x10, [sp]
	mov	x1, x21
LBB0_16:                                ;   in Loop: Header=BB0_10 Depth=1
	bl	_fprintf
	b	LBB0_9
LBB0_17:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"TIME        SENT   SNAPSHOT\n"

	.comm	_ZFS_IOC_SEND_PROGRESS,4,2      ; @ZFS_IOC_SEND_PROGRESS
l_.str.1:                               ; @.str.1
	.asciz	"sending %s (%d%%: %llu/%llu)"

l_.str.2:                               ; @.str.2
	.asciz	"%02d:%02d:%02d\t%llu\t%s\n"

l_.str.3:                               ; @.str.3
	.asciz	"%02d:%02d:%02d   %5s   %s\n"

	.no_dead_strip	_send_progress_thread
.subsections_via_symbols
