	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SSL_client_hello_get1_extensions_present ## -- Begin function SSL_client_hello_get1_extensions_present
	.p2align	4, 0x90
_SSL_client_hello_get1_extensions_present: ## @SSL_client_hello_get1_extensions_present
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%eax, %eax
	testq	%rdx, %rdx
	je	LBB0_23
## %bb.1:
	movq	%rsi, %r14
	testq	%rsi, %rsi
	je	LBB0_23
## %bb.2:
	movq	%rdi, %r15
	movq	(%rdi), %rcx
	testq	%rcx, %rcx
	je	LBB0_23
## %bb.3:
	movq	%rdx, %r12
	movq	(%rcx), %rdx
	testq	%rdx, %rdx
	je	LBB0_12
## %bb.4:
	movq	8(%rcx), %rax
	leaq	-1(%rdx), %rsi
	movl	%edx, %ecx
	andl	$3, %ecx
	cmpq	$3, %rsi
	jae	LBB0_6
## %bb.5:
	xorl	%esi, %esi
	xorl	%ebx, %ebx
	jmp	LBB0_8
LBB0_6:
	andq	$-4, %rdx
	leaq	88(%rax), %rdi
	xorl	%esi, %esi
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	$1, -72(%rdi)
	sbbq	$-1, %rbx
	cmpq	$1, -48(%rdi)
	sbbq	$-1, %rbx
	cmpq	$1, -24(%rdi)
	sbbq	$-1, %rbx
	cmpq	$1, (%rdi)
	sbbq	$-1, %rbx
	addq	$4, %rsi
	addq	$96, %rdi
	cmpq	%rsi, %rdx
	jne	LBB0_7
LBB0_8:
	testq	%rcx, %rcx
	je	LBB0_11
## %bb.9:
	leaq	(%rsi,%rsi,2), %rdx
	leaq	(%rax,%rdx,8), %rax
	addq	$16, %rax
	shlq	$3, %rcx
	leaq	(%rcx,%rcx,2), %rcx
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	cmpq	$1, (%rax,%rdx)
	sbbq	$-1, %rbx
	addq	$24, %rdx
	cmpq	%rdx, %rcx
	jne	LBB0_10
LBB0_11:
	testq	%rbx, %rbx
	je	LBB0_12
## %bb.13:
	leal	(,%rbx,4), %edi
	callq	_OPENSSL_malloc
	testq	%rax, %rax
	je	LBB0_24
## %bb.14:
	movq	(%r15), %rdx
	movq	(%rdx), %rcx
	testq	%rcx, %rcx
	je	LBB0_20
## %bb.15:
	movq	8(%rdx), %rdx
	addq	$16, %rdx
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_16 Depth=1
	addq	$24, %rdx
	decq	%rcx
	je	LBB0_20
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	cmpq	$0, (%rdx)
	je	LBB0_19
## %bb.17:                              ##   in Loop: Header=BB0_16 Depth=1
	movq	-16(%rdx), %rsi
	cmpq	%rbx, %rsi
	jae	LBB0_21
## %bb.18:                              ##   in Loop: Header=BB0_16 Depth=1
	movl	-8(%rdx), %edi
	movl	%edi, (%rax,%rsi,4)
	jmp	LBB0_19
LBB0_12:
	movq	$0, (%r14)
	movq	$0, (%r12)
	movl	$1, %eax
	jmp	LBB0_23
LBB0_20:
	movq	%rax, (%r14)
	movq	%rbx, (%r12)
	movl	$1, %eax
	jmp	LBB0_23
LBB0_24:
	movq	_SSL_F_SSL_CLIENT_HELLO_GET1_EXTENSIONS_PRESENT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ERR_R_MALLOC_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_SSLerr
	jmp	LBB0_22
LBB0_21:
	movq	%rax, %rdi
	callq	_OPENSSL_free
LBB0_22:
	xorl	%eax, %eax
LBB0_23:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SSL_F_SSL_CLIENT_HELLO_GET1_EXTENSIONS_PRESENT,4,2 ## @SSL_F_SSL_CLIENT_HELLO_GET1_EXTENSIONS_PRESENT
	.comm	_ERR_R_MALLOC_FAILURE,4,2       ## @ERR_R_MALLOC_FAILURE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SSL_client_hello_get1_extensions_present ; -- Begin function SSL_client_hello_get1_extensions_present
	.p2align	2
_SSL_client_hello_get1_extensions_present: ; @SSL_client_hello_get1_extensions_present
	.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	x21, x0
	mov	w0, #0
	cbz	x2, LBB0_24
; %bb.1:
	mov	x20, x1
	cbz	x1, LBB0_24
; %bb.2:
	ldr	x9, [x21]
	cbz	x9, LBB0_24
; %bb.3:
	mov	x19, x2
	ldr	x8, [x9]
	cbz	x8, LBB0_19
; %bb.4:
	ldr	x9, [x9, #8]
	cmp	x8, #4
	b.hs	LBB0_6
; %bb.5:
	mov	x10, #0
	mov	x22, #0
	b	LBB0_9
LBB0_6:
	mov	x13, #0
	mov	x14, #0
	mov	x12, #0
	mov	x11, #0
	and	x10, x8, #0xfffffffffffffffc
	add	x15, x9, #64
	mov	x16, x10
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldur	x17, [x15, #-48]
	ldur	x0, [x15, #-24]
	ldr	x1, [x15]
	ldr	x2, [x15, #24]
	cmp	x17, #0
	cinc	x13, x13, ne
	cmp	x0, #0
	cinc	x14, x14, ne
	cmp	x1, #0
	cinc	x12, x12, ne
	cmp	x2, #0
	cinc	x11, x11, ne
	add	x15, x15, #96
	subs	x16, x16, #4
	b.ne	LBB0_7
; %bb.8:
	add	x13, x14, x13
	add	x12, x12, x13
	add	x22, x11, x12
	cmp	x8, x10
	b.eq	LBB0_11
LBB0_9:
	sub	x8, x8, x10
	mov	w11, #24
	madd	x9, x10, x11, x9
	add	x9, x9, #16
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x9], #24
	cmp	x10, #0
	cinc	x22, x22, ne
	subs	x8, x8, #1
	b.ne	LBB0_10
LBB0_11:
	cbz	x22, LBB0_19
; %bb.12:
	lsl	w0, w22, #2
	bl	_OPENSSL_malloc
	cbz	x0, LBB0_21
; %bb.13:
	ldr	x9, [x21]
	ldr	x8, [x9]
	cbz	x8, LBB0_20
; %bb.14:
	ldr	x9, [x9, #8]
	add	x9, x9, #16
	b	LBB0_16
LBB0_15:                                ;   in Loop: Header=BB0_16 Depth=1
	add	x9, x9, #24
	subs	x8, x8, #1
	b.eq	LBB0_20
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x9]
	cbz	x10, LBB0_15
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=1
	ldur	x10, [x9, #-16]
	cmp	x10, x22
	b.hs	LBB0_22
; %bb.18:                               ;   in Loop: Header=BB0_16 Depth=1
	ldur	w11, [x9, #-8]
	str	w11, [x0, x10, lsl #2]
	b	LBB0_15
LBB0_19:
	str	xzr, [x20]
	str	xzr, [x19]
	mov	w0, #1
	b	LBB0_24
LBB0_20:
	str	x0, [x20]
	str	x22, [x19]
	mov	w0, #1
	b	LBB0_24
LBB0_21:
Lloh0:
	adrp	x8, _SSL_F_SSL_CLIENT_HELLO_GET1_EXTENSIONS_PRESENT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SSL_F_SSL_CLIENT_HELLO_GET1_EXTENSIONS_PRESENT@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _ERR_R_MALLOC_FAILURE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ERR_R_MALLOC_FAILURE@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_SSLerr
	b	LBB0_23
LBB0_22:
	bl	_OPENSSL_free
LBB0_23:
	mov	w0, #0
LBB0_24:
	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 AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SSL_F_SSL_CLIENT_HELLO_GET1_EXTENSIONS_PRESENT,4,2 ; @SSL_F_SSL_CLIENT_HELLO_GET1_EXTENSIONS_PRESENT
	.comm	_ERR_R_MALLOC_FAILURE,4,2       ; @ERR_R_MALLOC_FAILURE
.subsections_via_symbols
