	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function php_array_key_compare
_php_array_key_compare:                 ## @php_array_key_compare
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rcx
	movq	(%rdi), %rdi
	movq	(%rsi), %rax
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.8:
	testq	%rax, %rax
	je	LBB0_9
## %bb.17:
	movq	%rax, %rsi
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_zendi_smart_strcmp             ## TAILCALL
LBB0_1:
	movq	8(%rcx), %rbx
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	%rbx, -40(%rbp)
	movl	(%rax), %esi
	movl	4(%rax), %edi
	leaq	-32(%rbp), %rdx
	leaq	-24(%rbp), %rcx
	movl	$1, %r8d
	callq	_is_numeric_string
	movq	_IS_LONG@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.4:
	movq	-32(%rbp), %r14
	jmp	LBB0_14
LBB0_9:
	movq	8(%rsi), %r14
	movq	%r14, -32(%rbp)
	movl	(%rdi), %esi
	movl	4(%rdi), %edi
	leaq	-40(%rbp), %rdx
	leaq	-24(%rbp), %rcx
	movl	$1, %r8d
	callq	_is_numeric_string
	movq	_IS_LONG@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_11
## %bb.10:
	movq	-40(%rbp), %rbx
	jmp	LBB0_14
LBB0_2:
	xorl	%eax, %eax
	cmpq	8(%rsi), %rbx
	setg	%al
	addl	%eax, %eax
	decl	%eax
	jmp	LBB0_16
LBB0_5:
	movq	_IS_DOUBLE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.6:
	cvtsi2sd	%rbx, %xmm0
	subsd	-24(%rbp), %xmm0
	cvttsd2si	%xmm0, %rdi
	jmp	LBB0_15
LBB0_11:
	movq	_IS_DOUBLE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_13
## %bb.12:
	cvtsi2sd	%r14, %xmm0
	movsd	-24(%rbp), %xmm1                ## xmm1 = mem[0],zero
	subsd	%xmm0, %xmm1
	cvttsd2si	%xmm1, %rdi
	jmp	LBB0_15
LBB0_7:
	movq	$0, -32(%rbp)
	xorl	%r14d, %r14d
	jmp	LBB0_14
LBB0_13:
	movq	$0, -40(%rbp)
	xorl	%ebx, %ebx
LBB0_14:
	subq	%r14, %rbx
	movq	%rbx, %rdi
LBB0_15:
	callq	_ZEND_NORMALIZE_BOOL
LBB0_16:
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IS_LONG,8,3                    ## @IS_LONG
	.comm	_IS_DOUBLE,8,3                  ## @IS_DOUBLE
	.no_dead_strip	_php_array_key_compare
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function php_array_key_compare
_php_array_key_compare:                 ; @php_array_key_compare
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	mov	x8, x1
	mov	x9, x0
	ldr	x0, [x0]
	ldr	x1, [x1]
	cbz	x0, LBB0_3
; %bb.1:
	cbz	x1, LBB0_6
; %bb.2:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_zendi_smart_strcmp
LBB0_3:
	ldr	x19, [x9, #8]
	cbz	x1, LBB0_8
; %bb.4:
	str	x19, [sp, #24]
	ldp	w1, w0, [x1]
	add	x2, sp, #16
	add	x3, sp, #8
	mov	w4, #1
	bl	_is_numeric_string
Lloh0:
	adrp	x8, _IS_LONG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IS_LONG@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_9
; %bb.5:
	ldr	x20, [sp, #16]
	b	LBB0_16
LBB0_6:
	ldr	x20, [x8, #8]
	str	x20, [sp, #16]
	ldp	w1, w8, [x0]
	add	x2, sp, #24
	add	x3, sp, #8
	mov	x0, x8
	mov	w4, #1
	bl	_is_numeric_string
Lloh3:
	adrp	x8, _IS_LONG@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IS_LONG@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_11
; %bb.7:
	ldr	x19, [sp, #24]
	b	LBB0_16
LBB0_8:
	ldr	x8, [x8, #8]
	cmp	x19, x8
	mov	w8, #1
	cneg	w0, w8, le
	b	LBB0_18
LBB0_9:
Lloh6:
	adrp	x8, _IS_DOUBLE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IS_DOUBLE@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_14
; %bb.10:
	scvtf	d0, x19
	ldr	d1, [sp, #8]
	b	LBB0_13
LBB0_11:
Lloh9:
	adrp	x8, _IS_DOUBLE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _IS_DOUBLE@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_15
; %bb.12:
	ldr	d0, [sp, #8]
	scvtf	d1, x20
LBB0_13:
	fsub	d0, d0, d1
	fcvtzs	x0, d0
	b	LBB0_17
LBB0_14:
	mov	x20, #0
	str	xzr, [sp, #16]
	b	LBB0_16
LBB0_15:
	mov	x19, #0
	str	xzr, [sp, #24]
LBB0_16:
	sub	x0, x19, x20
LBB0_17:
	bl	_ZEND_NORMALIZE_BOOL
LBB0_18:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_IS_LONG,8,3                    ; @IS_LONG
	.comm	_IS_DOUBLE,8,3                  ; @IS_DOUBLE
	.no_dead_strip	_php_array_key_compare
.subsections_via_symbols
