	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function php_password_make_salt
_php_password_make_salt:                ## @php_password_make_salt
	.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	_INT_MAX@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	imulq	$1431655766, %rax, %rax         ## imm = 0x55555556
	movq	%rax, %rcx
	shrq	$63, %rcx
	shrq	$32, %rax
	addl	%ecx, %eax
	cltq
	cmpq	%rdi, %rax
	jae	LBB0_2
## %bb.1:
	movq	_E_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	xorl	%r15d, %r15d
	xorl	%edi, %edi
	callq	_php_error_docref
	jmp	LBB0_7
LBB0_2:
	movq	%rdi, %r12
	leaq	(%rdi,%rdi,2), %rdi
	shrq	$2, %rdi
	incq	%rdi
	xorl	%esi, %esi
	callq	_zend_string_alloc
	movq	%rax, %r14
	movq	_FAILURE@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movq	%r14, %rdi
	callq	_ZSTR_VAL
	movq	%rax, %rbx
	movq	%r14, %rdi
	callq	_ZSTR_LEN
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_php_random_bytes_silent
	cmpq	%rax, %r15
	jne	LBB0_4
## %bb.3:
	movq	_E_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	xorl	%r15d, %r15d
	xorl	%edi, %edi
	callq	_php_error_docref
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_zend_string_release_ex
	jmp	LBB0_7
LBB0_4:
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_zend_string_alloc
	movq	%rax, %r15
	movq	%r14, %rdi
	callq	_ZSTR_VAL
	movq	%rax, %r13
	movq	%r14, %rdi
	callq	_ZSTR_LEN
	movl	%eax, %ebx
	movq	%r15, %rdi
	callq	_ZSTR_VAL
	movq	%r13, %rdi
	movl	%ebx, %esi
	movq	%r12, %rdx
	movq	%rax, %rcx
	callq	_php_password_salt_to64
	movq	_FAILURE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.5:
	movq	_E_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.2(%rip), %rdx
	xorl	%edi, %edi
	callq	_php_error_docref
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_zend_string_release_ex
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_zend_string_release_ex
	xorl	%r15d, %r15d
	jmp	LBB0_7
LBB0_6:
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_zend_string_release_ex
	movq	%r15, %rdi
	callq	_ZSTR_VAL
	movq	$0, (%rax,%r12,8)
LBB0_7:
	movq	%r15, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_INT_MAX,4,2                    ## @INT_MAX
	.comm	_E_WARNING,4,2                  ## @E_WARNING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Length is too large to safely generate"

	.comm	_FAILURE,8,3                    ## @FAILURE
L_.str.1:                               ## @.str.1
	.asciz	"Unable to generate salt"

L_.str.2:                               ## @.str.2
	.asciz	"Generated salt too short"

	.no_dead_strip	_php_password_make_salt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function php_password_make_salt
_php_password_make_salt:                ; @php_password_make_salt
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
Lloh0:
	adrp	x8, _INT_MAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _INT_MAX@GOTPAGEOFF]
Lloh2:
	ldrsw	x8, [x8]
	mov	w9, #21846
	movk	w9, #21845, lsl #16
	mul	x8, x8, x9
	lsr	x9, x8, #63
	lsr	x8, x8, #32
	add	w8, w8, w9
	sxtw	x8, w8
	cmp	x8, x0
	b.hs	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _E_WARNING@GOTPAGE
Lloh4:
	ldr	x8, [x8, _E_WARNING@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x2, l_.str@PAGE
Lloh7:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, #0
	bl	_php_error_docref
	mov	x21, #0
	b	LBB0_8
LBB0_2:
	mov	x19, x0
	add	x8, x0, x0, lsl #1
	lsr	x8, x8, #2
	add	x0, x8, #1
	mov	w1, #0
	bl	_zend_string_alloc
	mov	x20, x0
Lloh8:
	adrp	x24, _FAILURE@GOTPAGE
Lloh9:
	ldr	x24, [x24, _FAILURE@GOTPAGEOFF]
	ldr	x22, [x24]
	bl	_ZSTR_VAL
	mov	x21, x0
	mov	x0, x20
	bl	_ZSTR_LEN
	mov	x1, x0
	mov	x0, x21
	bl	_php_random_bytes_silent
	cmp	x22, x0
	b.ne	LBB0_4
; %bb.3:
Lloh10:
	adrp	x8, _E_WARNING@GOTPAGE
Lloh11:
	ldr	x8, [x8, _E_WARNING@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
Lloh13:
	adrp	x2, l_.str.1@PAGE
Lloh14:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, #0
	bl	_php_error_docref
	mov	x0, x20
	b	LBB0_6
LBB0_4:
	mov	x0, x19
	mov	w1, #0
	bl	_zend_string_alloc
	mov	x21, x0
	mov	x0, x20
	bl	_ZSTR_VAL
	mov	x22, x0
	mov	x0, x20
	bl	_ZSTR_LEN
	mov	x23, x0
	mov	x0, x21
	bl	_ZSTR_VAL
	mov	x3, x0
	mov	x0, x22
	mov	x1, x23
	mov	x2, x19
	bl	_php_password_salt_to64
	ldr	x8, [x24]
	cmp	x0, x8
	b.ne	LBB0_7
; %bb.5:
Lloh15:
	adrp	x8, _E_WARNING@GOTPAGE
Lloh16:
	ldr	x8, [x8, _E_WARNING@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
Lloh18:
	adrp	x2, l_.str.2@PAGE
Lloh19:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, #0
	bl	_php_error_docref
	mov	x0, x20
	mov	w1, #0
	bl	_zend_string_release_ex
	mov	x0, x21
LBB0_6:
	mov	w1, #0
	bl	_zend_string_release_ex
	mov	x21, #0
	b	LBB0_8
LBB0_7:
	mov	x0, x20
	mov	w1, #0
	bl	_zend_string_release_ex
	mov	x0, x21
	bl	_ZSTR_VAL
	str	xzr, [x0, x19, lsl #3]
LBB0_8:
	mov	x0, x21
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_INT_MAX,4,2                    ; @INT_MAX
	.comm	_E_WARNING,4,2                  ; @E_WARNING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Length is too large to safely generate"

	.comm	_FAILURE,8,3                    ; @FAILURE
l_.str.1:                               ; @.str.1
	.asciz	"Unable to generate salt"

l_.str.2:                               ; @.str.2
	.asciz	"Generated salt too short"

	.no_dead_strip	_php_password_make_salt
.subsections_via_symbols
