	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check_fs_addr_change
_check_fs_addr_change:                  ## @check_fs_addr_change
	.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
	movq	%rdi, %r14
	movl	16(%rdi), %edi
	callq	_gethostbyname
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	%rax, %rbx
	movq	(%rax), %rax
	movq	_AF_INET@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.2:
	movq	16(%rbx), %rdi
	movl	16(%r14), %esi
	callq	_STREQ
	testl	%eax, %eax
	je	LBB0_5
## %bb.3:
	movl	8(%r14), %edi
	movl	8(%rbx), %esi
	movl	$4, %edx
	callq	_memcmp
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	8(%r14), %rax
	movl	(%rax), %edi
	callq	_inet_ntoa
	movq	%rax, %rdi
	callq	_xstrdup
	movq	%rax, %r15
	leaq	-32(%rbp), %rdi
	movl	8(%rbx), %esi
                                        ## kill: def $edi killed $edi killed $rdi
	movl	$4, %edx
	callq	_memmove
	movl	-32(%rbp), %edi
	callq	_inet_ntoa
	movq	_XLOG_WARNING@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movl	16(%r14), %edx
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rcx
	movq	%rax, %r8
	callq	_plog
	movq	%r15, %rdi
	callq	_XFREE
	movl	8(%r14), %edi
	movl	8(%rbx), %esi
	movl	$4, %edx
	callq	_memmove
	movq	_FSF_DOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	(%r14), %eax
	movl	%eax, (%r14)
	movq	_FSF_VALID@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_FSF_WANT@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, (%r14)
	movq	%r14, %rdi
	callq	_map_flush_srvr
	movq	%r14, %rdi
	callq	_flush_srvr_nfs_cache
	movq	_FSF_FORCE_UNMOUNT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r14)
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AF_INET,8,3                    ## @AF_INET
	.comm	_XLOG_WARNING,4,2               ## @XLOG_WARNING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"EZK: down fileserver %s changed ip: %s -> %s"

	.comm	_FSF_DOWN,4,2                   ## @FSF_DOWN
	.comm	_FSF_VALID,4,2                  ## @FSF_VALID
	.comm	_FSF_WANT,4,2                   ## @FSF_WANT
	.comm	_FSF_FORCE_UNMOUNT,4,2          ## @FSF_FORCE_UNMOUNT
	.no_dead_strip	_check_fs_addr_change
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check_fs_addr_change
_check_fs_addr_change:                  ; @check_fs_addr_change
	.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
	mov	x19, x0
	ldr	w0, [x0, #16]
	bl	_gethostbyname
	cbz	x0, LBB0_5
; %bb.1:
	mov	x20, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _AF_INET@GOTPAGE
Lloh1:
	ldr	x9, [x9, _AF_INET@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.2:
	ldr	x0, [x20, #16]
	ldr	w1, [x19, #16]
	bl	_STREQ
	cbz	w0, LBB0_5
; %bb.3:
	ldr	w0, [x19, #8]
	ldr	w1, [x20, #8]
	mov	w2, #4
	bl	_memcmp
	cbz	x0, LBB0_5
; %bb.4:
	ldr	x8, [x19, #8]
	ldr	w0, [x8]
	bl	_inet_ntoa
	bl	_xstrdup
	mov	x21, x0
	ldr	w1, [x20, #8]
	add	x0, sp, #8
	mov	w2, #4
	bl	_memmove
	ldr	w0, [sp, #8]
	bl	_inet_ntoa
	mov	x4, x0
Lloh3:
	adrp	x8, _XLOG_WARNING@GOTPAGE
Lloh4:
	ldr	x8, [x8, _XLOG_WARNING@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ldr	w2, [x19, #16]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x3, x21
	bl	_plog
	mov	x0, x21
	bl	_XFREE
	ldr	w0, [x19, #8]
	ldr	w1, [x20, #8]
	mov	w2, #4
	bl	_memmove
Lloh8:
	adrp	x8, _FSF_DOWN@GOTPAGE
Lloh9:
	ldr	x8, [x8, _FSF_DOWN@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	ldr	w9, [x19]
	bic	w8, w9, w8
	str	w8, [x19]
Lloh11:
	adrp	x9, _FSF_VALID@GOTPAGE
Lloh12:
	ldr	x9, [x9, _FSF_VALID@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
Lloh14:
	adrp	x10, _FSF_WANT@GOTPAGE
Lloh15:
	ldr	x10, [x10, _FSF_WANT@GOTPAGEOFF]
Lloh16:
	ldr	w10, [x10]
	orr	w8, w9, w8
	orr	w8, w8, w10
	str	w8, [x19]
	mov	x0, x19
	bl	_map_flush_srvr
	mov	x0, x19
	bl	_flush_srvr_nfs_cache
Lloh17:
	adrp	x8, _FSF_FORCE_UNMOUNT@GOTPAGE
Lloh18:
	ldr	x8, [x8, _FSF_FORCE_UNMOUNT@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
LBB0_5:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_AF_INET,8,3                    ; @AF_INET
	.comm	_XLOG_WARNING,4,2               ; @XLOG_WARNING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"EZK: down fileserver %s changed ip: %s -> %s"

	.comm	_FSF_DOWN,4,2                   ; @FSF_DOWN
	.comm	_FSF_VALID,4,2                  ; @FSF_VALID
	.comm	_FSF_WANT,4,2                   ; @FSF_WANT
	.comm	_FSF_FORCE_UNMOUNT,4,2          ; @FSF_FORCE_UNMOUNT
	.no_dead_strip	_check_fs_addr_change
.subsections_via_symbols
