	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function update_node_desc
_update_node_desc:                      ## @update_node_desc
	.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	$216, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, -244(%rbp)                ## 4-byte Spill
	movq	%rsi, %r12
	movq	%rdi, %r14
	movq	%rsp, -256(%rbp)                ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_PATH_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r13
	movq	_sys_dir@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	_SYS_INFINIBAND@GOTPCREL(%rip), %rax
	movq	(%rax), %r8
	leaq	L_.str(%rip), %rdx
	movq	%r13, %rdi
	movl	%ebx, %esi
	movq	%r14, %r9
	callq	_snprintf
	movb	$0, -1(%rbx,%r13)
	leaq	L_.str.1(%rip), %rsi
	movq	%r13, %rdi
	callq	_fopen
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r15
	leaq	-176(%rbp), %rdi
	movl	$128, %esi
	movq	%rax, %rdx
	callq	_fgets
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:
	leaq	-176(%rbp), %rdi
	callq	_newline_to_null
	leaq	-240(%rbp), %rdi
	movl	$64, %esi
	movq	%r14, %rdx
	movq	%r12, %rcx
	callq	_build_node_desc
	cmpl	$0, -244(%rbp)                  ## 4-byte Folded Reload
	jne	LBB0_7
## %bb.5:
	leaq	-240(%rbp), %rdi
	leaq	-176(%rbp), %rsi
	movl	$64, %edx
	callq	_strncmp
	testq	%rax, %rax
	je	LBB0_6
LBB0_7:
	movq	_LOG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.5(%rip), %rsi
	xorl	%r12d, %r12d
	leaq	-176(%rbp), %rcx
	leaq	-240(%rbp), %rbx
	movq	%r14, %rdx
	movq	%rbx, %r8
	xorl	%eax, %eax
	callq	_syslog
	movq	%r15, %rdi
	callq	_rewind
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_fprintf
	jmp	LBB0_8
LBB0_1:
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	xorl	%r12d, %r12d
	movq	%r13, %rdx
	xorl	%eax, %eax
	callq	_syslog
	movq	_EIO@GOTPCREL(%rip), %rax
	subl	(%rax), %r12d
	jmp	LBB0_9
LBB0_3:
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	xorl	%r12d, %r12d
	movq	%r13, %rdx
	xorl	%eax, %eax
	callq	_syslog
	movq	_EIO@GOTPCREL(%rip), %rax
	subl	(%rax), %r12d
LBB0_8:
	movq	%r15, %rdi
	callq	_fclose
LBB0_9:
	movq	-256(%rbp), %rsp                ## 8-byte Reload
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_11
## %bb.10:
	movl	%r12d, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	_LOG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.4(%rip), %rsi
	xorl	%r12d, %r12d
	leaq	-240(%rbp), %rcx
	movq	%r14, %rdx
	xorl	%eax, %eax
	callq	_syslog
	jmp	LBB0_8
LBB0_11:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_PATH_MAX,4,2                   ## @PATH_MAX
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s/%s/%s/node_desc"

	.comm	_sys_dir,8,3                    ## @sys_dir
	.comm	_SYS_INFINIBAND,8,3             ## @SYS_INFINIBAND
L_.str.1:                               ## @.str.1
	.asciz	"r+"

	.comm	_LOG_ERR,4,2                    ## @LOG_ERR
L_.str.2:                               ## @.str.2
	.asciz	"Failed to open %s\n"

	.comm	_EIO,4,2                        ## @EIO
L_.str.3:                               ## @.str.3
	.asciz	"Failed to read %s\n"

	.comm	_LOG_INFO,4,2                   ## @LOG_INFO
L_.str.4:                               ## @.str.4
	.asciz	"%s: no change (%s)\n"

L_.str.5:                               ## @.str.5
	.asciz	"%s: change (%s) -> (%s)\n"

	.no_dead_strip	_update_node_desc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function update_node_desc
_update_node_desc:                      ; @update_node_desc
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	sub	sp, sp, #208
	mov	x21, x2
	mov	x22, x1
	mov	x19, x0
	mov	x24, sp
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
Lloh3:
	adrp	x8, _PATH_MAX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PATH_MAX@GOTPAGEOFF]
Lloh5:
	ldr	w20, [x8]
	mov	x9, x20
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x20, #15
	and	x9, x9, #0x1fffffff0
	sub	x23, x8, x9
	mov	sp, x23
Lloh8:
	adrp	x8, _sys_dir@GOTPAGE
Lloh9:
	ldr	x8, [x8, _sys_dir@GOTPAGEOFF]
Lloh10:
	ldr	x3, [x8]
Lloh11:
	adrp	x8, _SYS_INFINIBAND@GOTPAGE
Lloh12:
	ldr	x8, [x8, _SYS_INFINIBAND@GOTPAGEOFF]
Lloh13:
	ldr	x4, [x8]
Lloh14:
	adrp	x2, l_.str@PAGE
Lloh15:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x23
	mov	x1, x20
	mov	x5, x19
	bl	_snprintf
	add	x8, x20, x23
	sturb	wzr, [x8, #-1]
Lloh16:
	adrp	x1, l_.str.1@PAGE
Lloh17:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x23
	bl	_fopen
	cbz	x0, LBB0_6
; %bb.1:
	mov	x20, x0
	sub	x0, x29, #200
	mov	w1, #128
	mov	x2, x20
	bl	_fgets
	cbz	w0, LBB0_7
; %bb.2:
	sub	x23, x29, #200
	sub	x0, x29, #200
	bl	_newline_to_null
	sub	x25, x29, #264
	sub	x0, x29, #264
	mov	w1, #64
	mov	x2, x19
	mov	x3, x22
	bl	_build_node_desc
	cbnz	w21, LBB0_4
; %bb.3:
	sub	x21, x29, #264
	sub	x0, x29, #264
	sub	x1, x29, #200
	mov	w2, #64
	bl	_strncmp
	cbz	x0, LBB0_11
LBB0_4:
Lloh18:
	adrp	x8, _LOG_INFO@GOTPAGE
Lloh19:
	ldr	x8, [x8, _LOG_INFO@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	stp	x23, x25, [sp, #-16]!
Lloh21:
	adrp	x1, l_.str.5@PAGE
Lloh22:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x2, x19
	bl	_syslog
	add	sp, sp, #16
	mov	x0, x20
	bl	_rewind
	sub	x1, x29, #264
	mov	x0, x20
	bl	_fprintf
LBB0_5:
	mov	w19, #0
	b	LBB0_8
LBB0_6:
Lloh23:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh24:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
Lloh26:
	adrp	x1, l_.str.2@PAGE
Lloh27:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x2, x23
	bl	_syslog
Lloh28:
	adrp	x8, _EIO@GOTPAGE
Lloh29:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh30:
	ldr	w8, [x8]
	neg	w19, w8
	b	LBB0_9
LBB0_7:
Lloh31:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh32:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh33:
	ldr	w0, [x8]
Lloh34:
	adrp	x1, l_.str.3@PAGE
Lloh35:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x2, x23
	bl	_syslog
Lloh36:
	adrp	x8, _EIO@GOTPAGE
Lloh37:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh38:
	ldr	w8, [x8]
	neg	w19, w8
LBB0_8:
	mov	x0, x20
	bl	_fclose
LBB0_9:
	mov	sp, x24
	ldur	x8, [x29, #-72]
Lloh39:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh40:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh41:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_12
; %bb.10:
	mov	x0, x19
	sub	sp, x29, #64
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_11:
Lloh42:
	adrp	x8, _LOG_INFO@GOTPAGE
Lloh43:
	ldr	x8, [x8, _LOG_INFO@GOTPAGEOFF]
Lloh44:
	ldr	w0, [x8]
	str	x21, [sp, #-16]!
Lloh45:
	adrp	x1, l_.str.4@PAGE
Lloh46:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x2, x19
	bl	_syslog
	add	sp, sp, #16
	b	LBB0_5
LBB0_12:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.cfi_endproc
                                        ; -- End function
	.comm	_PATH_MAX,4,2                   ; @PATH_MAX
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s/%s/%s/node_desc"

	.comm	_sys_dir,8,3                    ; @sys_dir
	.comm	_SYS_INFINIBAND,8,3             ; @SYS_INFINIBAND
l_.str.1:                               ; @.str.1
	.asciz	"r+"

	.comm	_LOG_ERR,4,2                    ; @LOG_ERR
l_.str.2:                               ; @.str.2
	.asciz	"Failed to open %s\n"

	.comm	_EIO,4,2                        ; @EIO
l_.str.3:                               ; @.str.3
	.asciz	"Failed to read %s\n"

	.comm	_LOG_INFO,4,2                   ; @LOG_INFO
l_.str.4:                               ; @.str.4
	.asciz	"%s: no change (%s)\n"

l_.str.5:                               ; @.str.5
	.asciz	"%s: change (%s) -> (%s)\n"

	.no_dead_strip	_update_node_desc
.subsections_via_symbols
