	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_sync_mesg_maxlen
_set_sync_mesg_maxlen:                  ## @set_sync_mesg_maxlen
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_IP_VS_STATE_MASTER@GOTPCREL(%rip), %rax
	cmpl	%edi, (%rax)
	jne	LBB0_7
## %bb.1:
	movq	_ip_vs_master_mcast_ifn@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_init_net@GOTPCREL(%rip), %rdi
	callq	___dev_get_by_name
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movslq	(%rax), %rax
	movq	_SYNC_MESG_HEADER_LEN@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %r14
	subq	%r14, %rax
	addq	$-28, %rax
	movq	_SIMPLE_CONN_SIZE@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rbx
	movq	%rax, %rcx
	orq	%rbx, %rcx
	shrq	$32, %rcx
	je	LBB0_4
## %bb.5:
	xorl	%edx, %edx
	divq	%rbx
	movq	%rax, %rdi
	jmp	LBB0_6
LBB0_7:
	movq	_IP_VS_STATE_BACKUP@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	cmpl	%edi, (%rax)
	jne	LBB0_10
## %bb.8:
	movq	_ip_vs_backup_mcast_ifn@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_init_net@GOTPCREL(%rip), %rdi
	callq	___dev_get_by_name
	testq	%rax, %rax
	je	LBB0_2
## %bb.9:
	movl	(%rax), %edx
	addl	$-8, %edx
	movq	_sync_recv_mesg_maxlen@GOTPCREL(%rip), %rax
	movl	%edx, (%rax)
	leaq	L_.str.1(%rip), %rsi
	movl	$7, %edi
	callq	_IP_VS_DBG
	jmp	LBB0_10
LBB0_2:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_10
LBB0_4:
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%ebx
	movl	%eax, %edi
LBB0_6:
	movq	_MAX_CONNS_PER_SYNCBUFF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_min
	imull	%eax, %ebx
	addl	%r14d, %ebx
	movq	_sync_send_mesg_maxlen@GOTPCREL(%rip), %rax
	movl	%ebx, (%rax)
	leaq	L_.str(%rip), %rsi
	movl	$7, %edi
	movl	%ebx, %edx
	callq	_IP_VS_DBG
	xorl	%ebx, %ebx
LBB0_10:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IP_VS_STATE_MASTER,4,2         ## @IP_VS_STATE_MASTER
	.comm	_init_net,4,2                   ## @init_net
	.comm	_ip_vs_master_mcast_ifn,4,2     ## @ip_vs_master_mcast_ifn
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_SYNC_MESG_HEADER_LEN,4,2       ## @SYNC_MESG_HEADER_LEN
	.comm	_SIMPLE_CONN_SIZE,4,2           ## @SIMPLE_CONN_SIZE
	.comm	_MAX_CONNS_PER_SYNCBUFF,4,2     ## @MAX_CONNS_PER_SYNCBUFF
	.comm	_sync_send_mesg_maxlen,4,2      ## @sync_send_mesg_maxlen
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"setting the maximum length of sync sending message %d.\n"

	.comm	_IP_VS_STATE_BACKUP,4,2         ## @IP_VS_STATE_BACKUP
	.comm	_ip_vs_backup_mcast_ifn,4,2     ## @ip_vs_backup_mcast_ifn
	.comm	_sync_recv_mesg_maxlen,4,2      ## @sync_recv_mesg_maxlen
L_.str.1:                               ## @.str.1
	.asciz	"setting the maximum length of sync receiving message %d.\n"

	.no_dead_strip	_set_sync_mesg_maxlen
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_sync_mesg_maxlen
_set_sync_mesg_maxlen:                  ; @set_sync_mesg_maxlen
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, _IP_VS_STATE_MASTER@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IP_VS_STATE_MASTER@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w0
	b.ne	LBB0_3
; %bb.1:
Lloh3:
	adrp	x8, _ip_vs_master_mcast_ifn@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ip_vs_master_mcast_ifn@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x0, _init_net@GOTPAGE
Lloh7:
	ldr	x0, [x0, _init_net@GOTPAGEOFF]
	bl	___dev_get_by_name
	cbz	x0, LBB0_8
; %bb.2:
	ldrsw	x8, [x0]
Lloh8:
	adrp	x9, _SYNC_MESG_HEADER_LEN@GOTPAGE
Lloh9:
	ldr	x9, [x9, _SYNC_MESG_HEADER_LEN@GOTPAGEOFF]
Lloh10:
	ldrsw	x19, [x9]
	sub	x8, x8, x19
Lloh11:
	adrp	x9, _SIMPLE_CONN_SIZE@GOTPAGE
Lloh12:
	ldr	x9, [x9, _SIMPLE_CONN_SIZE@GOTPAGEOFF]
	sub	x8, x8, #28
Lloh13:
	ldrsw	x20, [x9]
Lloh14:
	adrp	x9, _MAX_CONNS_PER_SYNCBUFF@GOTPAGE
Lloh15:
	ldr	x9, [x9, _MAX_CONNS_PER_SYNCBUFF@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x9]
	udiv	x0, x8, x20
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_min
	madd	w2, w0, w20, w19
Lloh17:
	adrp	x8, _sync_send_mesg_maxlen@GOTPAGE
Lloh18:
	ldr	x8, [x8, _sync_send_mesg_maxlen@GOTPAGEOFF]
Lloh19:
	str	w2, [x8]
Lloh20:
	adrp	x1, l_.str@PAGE
Lloh21:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_6
LBB0_3:
Lloh22:
	adrp	x8, _IP_VS_STATE_BACKUP@GOTPAGE
Lloh23:
	ldr	x8, [x8, _IP_VS_STATE_BACKUP@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	cmp	w8, w0
	b.ne	LBB0_7
; %bb.4:
Lloh25:
	adrp	x8, _ip_vs_backup_mcast_ifn@GOTPAGE
Lloh26:
	ldr	x8, [x8, _ip_vs_backup_mcast_ifn@GOTPAGEOFF]
Lloh27:
	ldr	w1, [x8]
Lloh28:
	adrp	x0, _init_net@GOTPAGE
Lloh29:
	ldr	x0, [x0, _init_net@GOTPAGEOFF]
	bl	___dev_get_by_name
	cbz	x0, LBB0_8
; %bb.5:
	ldr	w8, [x0]
	sub	w2, w8, #8
Lloh30:
	adrp	x8, _sync_recv_mesg_maxlen@GOTPAGE
Lloh31:
	ldr	x8, [x8, _sync_recv_mesg_maxlen@GOTPAGEOFF]
Lloh32:
	str	w2, [x8]
Lloh33:
	adrp	x1, l_.str.1@PAGE
Lloh34:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_6:
	mov	w0, #7
	bl	_IP_VS_DBG
LBB0_7:
	mov	w0, #0
	b	LBB0_9
LBB0_8:
Lloh35:
	adrp	x8, _ENODEV@GOTPAGE
Lloh36:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh37:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_9:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotStr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGotStr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.cfi_endproc
                                        ; -- End function
	.comm	_IP_VS_STATE_MASTER,4,2         ; @IP_VS_STATE_MASTER
	.comm	_init_net,4,2                   ; @init_net
	.comm	_ip_vs_master_mcast_ifn,4,2     ; @ip_vs_master_mcast_ifn
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_SYNC_MESG_HEADER_LEN,4,2       ; @SYNC_MESG_HEADER_LEN
	.comm	_SIMPLE_CONN_SIZE,4,2           ; @SIMPLE_CONN_SIZE
	.comm	_MAX_CONNS_PER_SYNCBUFF,4,2     ; @MAX_CONNS_PER_SYNCBUFF
	.comm	_sync_send_mesg_maxlen,4,2      ; @sync_send_mesg_maxlen
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"setting the maximum length of sync sending message %d.\n"

	.comm	_IP_VS_STATE_BACKUP,4,2         ; @IP_VS_STATE_BACKUP
	.comm	_ip_vs_backup_mcast_ifn,4,2     ; @ip_vs_backup_mcast_ifn
	.comm	_sync_recv_mesg_maxlen,4,2      ; @sync_recv_mesg_maxlen
l_.str.1:                               ; @.str.1
	.asciz	"setting the maximum length of sync receiving message %d.\n"

	.no_dead_strip	_set_sync_mesg_maxlen
.subsections_via_symbols
