	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function change_path
_change_path:                           ## @change_path
	.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
	callq	_OPENSSL_strdup
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r15
	xorl	%eax, %eax
	movq	_DIRSEP@GOTPCREL(%rip), %r14
	movq	%r15, %rdi
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rax, %rbx
	movl	(%r14), %esi
	callq	_strpbrk
	leaq	1(%rax), %rdi
	testq	%rax, %rax
	jne	LBB0_3
## %bb.4:
	testq	%rbx, %rbx
	je	LBB0_5
## %bb.6:
	movq	_DIRSEP_PRESERVE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movb	$0, (%rbx,%rax)
	leaq	L_.str(%rip), %rdi
	movq	%r15, %rsi
	callq	_TEST_note
	movq	%r15, %rdi
	callq	_chdir
	movl	%eax, %r14d
	movq	%r15, %rdi
	callq	_OPENSSL_free
	movl	%r14d, %eax
	jmp	LBB0_7
LBB0_1:
	movl	$-1, %eax
	jmp	LBB0_7
LBB0_5:
	xorl	%eax, %eax
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DIRSEP,4,2                     ## @DIRSEP
	.comm	_DIRSEP_PRESERVE,8,3            ## @DIRSEP_PRESERVE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"changing path to %s"

	.no_dead_strip	_change_path
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function change_path
_change_path:                           ; @change_path
	.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
	bl	_OPENSSL_strdup
	cbz	x0, LBB0_5
; %bb.1:
	mov	x19, x0
	mov	x0, #0
Lloh0:
	adrp	x21, _DIRSEP@GOTPAGE
Lloh1:
	ldr	x21, [x21, _DIRSEP@GOTPAGEOFF]
	mov	x8, x19
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x20, x0
	ldr	w1, [x21]
	mov	x0, x8
	bl	_strpbrk
	add	x8, x0, #1
	cbnz	x0, LBB0_2
; %bb.3:
	cbz	x20, LBB0_6
; %bb.4:
Lloh2:
	adrp	x8, _DIRSEP_PRESERVE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _DIRSEP_PRESERVE@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	strb	wzr, [x20, x8]
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_TEST_note
	mov	x0, x19
	bl	_chdir
	mov	x20, x0
	mov	x0, x19
	bl	_OPENSSL_free
	mov	x0, x20
	b	LBB0_7
LBB0_5:
	mov	w0, #-1
	b	LBB0_7
LBB0_6:
	mov	w0, #0
LBB0_7:
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_DIRSEP,4,2                     ; @DIRSEP
	.comm	_DIRSEP_PRESERVE,8,3            ; @DIRSEP_PRESERVE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"changing path to %s"

	.no_dead_strip	_change_path
.subsections_via_symbols
