	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function php_openssl_get_proto_version_flags
_php_openssl_get_proto_version_flags:   ## @php_openssl_get_proto_version_flags
	.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
	movl	%edx, %r14d
	movl	%esi, %r15d
	movl	%edi, %ebx
	testl	%esi, %esi
	je	LBB0_1
## %bb.2:
	testl	%r14d, %r14d
	je	LBB0_3
LBB0_4:
	movq	_PHP_OPENSSL_MIN_PROTO_VERSION@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_PHP_OPENSSL_MAX_PROTO_VERSION@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	cmpl	%ecx, %eax
	jle	LBB0_6
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=1
	testl	%ebx, %eax
	movl	$0, %edx
	cmovel	%eax, %edx
	orl	%edx, %ebx
	addl	%eax, %eax
	cmpl	%ecx, %eax
	jg	LBB0_12
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	%r15d, %eax
	jl	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	cmpl	%r14d, %eax
	jle	LBB0_8
LBB0_9:                                 ##   in Loop: Header=BB0_6 Depth=1
	testl	%ebx, %eax
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_6 Depth=1
	movl	%eax, %edx
	notl	%edx
	andl	%edx, %ebx
LBB0_11:                                ##   in Loop: Header=BB0_6 Depth=1
	addl	%eax, %eax
	cmpl	%ecx, %eax
	jle	LBB0_6
LBB0_12:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movl	%ebx, %edi
	callq	_php_openssl_get_min_proto_version_flag
	movl	%eax, %r15d
	testl	%r14d, %r14d
	jne	LBB0_4
LBB0_3:
	movl	%ebx, %edi
	callq	_php_openssl_get_max_proto_version_flag
	movl	%eax, %r14d
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
	.comm	_PHP_OPENSSL_MIN_PROTO_VERSION,4,2 ## @PHP_OPENSSL_MIN_PROTO_VERSION
	.comm	_PHP_OPENSSL_MAX_PROTO_VERSION,4,2 ## @PHP_OPENSSL_MAX_PROTO_VERSION
	.no_dead_strip	_php_openssl_get_proto_version_flags
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function php_openssl_get_proto_version_flags
_php_openssl_get_proto_version_flags:   ; @php_openssl_get_proto_version_flags
	.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
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	cbz	w1, LBB0_8
; %bb.1:
	cbz	w20, LBB0_9
LBB0_2:
Lloh0:
	adrp	x8, _PHP_OPENSSL_MIN_PROTO_VERSION@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PHP_OPENSSL_MIN_PROTO_VERSION@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _PHP_OPENSSL_MAX_PROTO_VERSION@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PHP_OPENSSL_MAX_PROTO_VERSION@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, w9
	b.le	LBB0_4
	b	LBB0_7
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	bic	w11, w19, w8
	cmp	w10, #0
	csel	w19, w19, w11, eq
	lsl	w8, w8, #1
	cmp	w8, w9
	b.gt	LBB0_7
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	and	w10, w8, w19
	cmp	w8, w21
	b.lt	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w8, w20
	b.gt	LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w10, #0
	csel	w10, w8, wzr, eq
	orr	w19, w10, w19
	lsl	w8, w8, #1
	cmp	w8, w9
	b.le	LBB0_4
LBB0_7:
	mov	x0, x19
	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_8:
	mov	x0, x19
	bl	_php_openssl_get_min_proto_version_flag
	mov	x21, x0
	cbnz	w20, LBB0_2
LBB0_9:
	mov	x0, x19
	bl	_php_openssl_get_max_proto_version_flag
	mov	x20, x0
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PHP_OPENSSL_MIN_PROTO_VERSION,4,2 ; @PHP_OPENSSL_MIN_PROTO_VERSION
	.comm	_PHP_OPENSSL_MAX_PROTO_VERSION,4,2 ; @PHP_OPENSSL_MAX_PROTO_VERSION
	.no_dead_strip	_php_openssl_get_proto_version_flags
.subsections_via_symbols
