	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function php_password_salt_to64
_php_password_salt_to64:                ## @php_password_salt_to64
	.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	_FAILURE@GOTPCREL(%rip), %r12
	testl	$-2147483648, %esi              ## imm = 0x80000000
	jne	LBB0_10
## %bb.1:
	movq	%rcx, %r14
	movq	%rdx, %r15
	callq	_php_base64_encode
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_ZSTR_LEN
	cmpq	%r15, %rax
	jae	LBB0_2
## %bb.11:
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_zend_string_release_ex
	jmp	LBB0_10
LBB0_2:
	testq	%r15, %r15
	je	LBB0_9
## %bb.3:
	xorl	%ebx, %ebx
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	movb	%cl, (%r14,%rbx)
	incq	%rbx
	cmpq	%rbx, %r15
	je	LBB0_9
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	callq	_ZSTR_VAL
	movb	$46, %cl
	cmpb	$43, (%rax,%rbx)
	je	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%r13, %rdi
	callq	_ZSTR_VAL
	cmpb	$61, (%rax,%rbx)
	je	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%r13, %rdi
	callq	_ZSTR_VAL
	movzbl	(%rax,%rbx), %ecx
	jmp	LBB0_8
LBB0_9:
	movq	%r13, %rdi
	callq	_zend_string_free
	movq	_SUCCESS@GOTPCREL(%rip), %r12
	jmp	LBB0_10
LBB0_6:
	movq	%r13, %rdi
	callq	_zend_string_free
LBB0_10:
	movl	(%r12), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FAILURE,4,2                    ## @FAILURE
	.comm	_SUCCESS,4,2                    ## @SUCCESS
	.no_dead_strip	_php_password_salt_to64
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function php_password_salt_to64
_php_password_salt_to64:                ; @php_password_salt_to64
	.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
	tbnz	w1, #31, LBB0_3
; %bb.1:
	mov	x19, x3
	mov	x20, x2
	bl	_php_base64_encode
	mov	x21, x0
	bl	_ZSTR_LEN
	cmp	x0, x20
	b.hs	LBB0_5
; %bb.2:
	mov	x0, x21
	mov	w1, #0
	bl	_zend_string_release_ex
LBB0_3:
Lloh0:
	adrp	x8, _FAILURE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FAILURE@GOTPAGEOFF]
LBB0_4:
	ldr	w0, [x8]
	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_5:
	cbz	x20, LBB0_12
; %bb.6:
	mov	x22, #0
	b	LBB0_9
LBB0_7:                                 ;   in Loop: Header=BB0_9 Depth=1
	mov	w8, #46
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	strb	w8, [x19, x22]
	add	x22, x22, #1
	cmp	x20, x22
	b.eq	LBB0_12
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_ZSTR_VAL
	ldrb	w8, [x0, x22]
	cmp	w8, #43
	b.eq	LBB0_7
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x21
	bl	_ZSTR_VAL
	ldrb	w8, [x0, x22]
	cmp	w8, #61
	b.eq	LBB0_13
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x21
	bl	_ZSTR_VAL
	ldrb	w8, [x0, x22]
	b	LBB0_8
LBB0_12:
	mov	x0, x21
	bl	_zend_string_free
Lloh2:
	adrp	x8, _SUCCESS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SUCCESS@GOTPAGEOFF]
	b	LBB0_4
LBB0_13:
	mov	x0, x21
	bl	_zend_string_free
	b	LBB0_3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_FAILURE,4,2                    ; @FAILURE
	.comm	_SUCCESS,4,2                    ; @SUCCESS
	.no_dead_strip	_php_password_salt_to64
.subsections_via_symbols
