	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sync_thread_backup
_sync_thread_backup:                    ## @sync_thread_backup
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movq	_ip_vs_backup_mcast_ifn@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ip_vs_backup_syncid@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rdi
	callq	_pr_info
	xorl	%eax, %eax
	callq	_kthread_should_stop
	testq	%rax, %rax
	je	LBB0_1
LBB0_10:
	movq	8(%r12), %rdi
	callq	_sock_release
	movq	(%r12), %rdi
	callq	_kfree
	movq	%r12, %rdi
	callq	_kfree
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	_sync_recv_mesg_maxlen@GOTPCREL(%rip), %r13
	leaq	L_.str.1(%rip), %r14
	jmp	LBB0_2
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	callq	_pr_err
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	callq	_kthread_should_stop
	testq	%rax, %rax
	jne	LBB0_10
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
	movq	8(%r12), %rax
	movq	(%rax), %rdi
	movq	8(%rdi), %rax
	movl	(%rax), %r15d
	callq	_skb_queue_empty
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	callq	_kthread_should_stop
	testq	%rax, %rax
	setne	%al
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	movb	$1, %al
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movzbl	%al, %esi
	movl	%r15d, %edi
	callq	_wait_event_interruptible
	.p2align	4, 0x90
LBB0_6:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	8(%r12), %rax
	movq	(%rax), %rdi
	callq	_skb_queue_empty
	testl	%eax, %eax
	jne	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=2
	movq	(%r12), %rsi
	movq	8(%r12), %rdi
	movl	(%r13), %edx
	callq	_ip_vs_receive
	testl	%eax, %eax
	jle	LBB0_8
## %bb.11:                              ##   in Loop: Header=BB0_6 Depth=2
	movl	%eax, %ebx
	xorl	%eax, %eax
	callq	_local_bh_disable
	movq	(%r12), %rdi
	movl	%ebx, %esi
	callq	_ip_vs_process_message
	xorl	%eax, %eax
	callq	_local_bh_enable
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"sync thread started: state = BACKUP, mcast_ifn = %s, syncid = %d\n"

	.comm	_ip_vs_backup_mcast_ifn,4,2     ## @ip_vs_backup_mcast_ifn
	.comm	_ip_vs_backup_syncid,4,2        ## @ip_vs_backup_syncid
	.comm	_sync_recv_mesg_maxlen,4,2      ## @sync_recv_mesg_maxlen
L_.str.1:                               ## @.str.1
	.asciz	"receiving message error\n"

	.no_dead_strip	_sync_thread_backup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sync_thread_backup
_sync_thread_backup:                    ; @sync_thread_backup
	.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	x19, x0
Lloh0:
	adrp	x8, _ip_vs_backup_mcast_ifn@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ip_vs_backup_mcast_ifn@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _ip_vs_backup_syncid@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ip_vs_backup_syncid@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_info
	bl	_kthread_should_stop
	cbz	x0, LBB0_2
LBB0_1:
	ldr	x0, [x19, #8]
	bl	_sock_release
	ldr	x0, [x19]
	bl	_kfree
	mov	x0, x19
	bl	_kfree
	mov	w0, #0
	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
LBB0_2:
Lloh8:
	adrp	x22, _sync_recv_mesg_maxlen@GOTPAGE
Lloh9:
	ldr	x22, [x22, _sync_recv_mesg_maxlen@GOTPAGEOFF]
Lloh10:
	adrp	x20, l_.str.1@PAGE
Lloh11:
	add	x20, x20, l_.str.1@PAGEOFF
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x20
	bl	_pr_err
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	bl	_kthread_should_stop
	cbnz	x0, LBB0_1
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
	ldr	x8, [x19, #8]
	ldr	x0, [x8]
	ldr	x8, [x0, #8]
	ldr	w21, [x8]
	bl	_skb_queue_empty
	cbz	w0, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	bl	_kthread_should_stop
	cmp	x0, #0
	cset	w1, ne
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	w1, #1
LBB0_8:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x21
	bl	_wait_event_interruptible
LBB0_9:                                 ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x19, #8]
	ldr	x0, [x8]
	bl	_skb_queue_empty
	cbnz	w0, LBB0_4
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=2
	ldp	x1, x0, [x19]
	ldr	w2, [x22]
	bl	_ip_vs_receive
	cmp	w0, #0
	b.le	LBB0_3
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=2
	mov	x21, x0
	bl	_local_bh_disable
	ldr	x0, [x19]
	mov	x1, x21
	bl	_ip_vs_process_message
	bl	_local_bh_enable
	b	LBB0_9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"sync thread started: state = BACKUP, mcast_ifn = %s, syncid = %d\n"

	.comm	_ip_vs_backup_mcast_ifn,4,2     ; @ip_vs_backup_mcast_ifn
	.comm	_ip_vs_backup_syncid,4,2        ; @ip_vs_backup_syncid
	.comm	_sync_recv_mesg_maxlen,4,2      ; @sync_recv_mesg_maxlen
l_.str.1:                               ; @.str.1
	.asciz	"receiving message error\n"

	.no_dead_strip	_sync_thread_backup
.subsections_via_symbols
