	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function custom_exts_copy
LCPI0_0:
	.space	16
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_custom_exts_copy
	.p2align	4, 0x90
_custom_exts_copy:                      ## @custom_exts_copy
	.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
	movl	(%rsi), %eax
	movl	$1, %ebx
	testl	%eax, %eax
	jle	LBB0_13
## %bb.1:
	movq	%rsi, %r12
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	8(%rsi), %rdi
	shll	$3, %eax
	leal	(%rax,%rax,2), %esi
	callq	_OPENSSL_memdup
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%rax, 8(%rdi)
	testq	%rax, %rax
	je	LBB0_12
## %bb.2:
	movq	%rax, %r13
	movl	(%r12), %eax
	movl	%eax, (%rdi)
	movl	(%r12), %eax
	testl	%eax, %eax
	je	LBB0_13
## %bb.3:
	xorl	%ecx, %ecx
	movl	$1, %ebx
	movl	$16, %r14d
	movq	_custom_ext_add_old_cb_wrap@GOTPCREL(%rip), %rsi
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r12), %r15
	movq	-16(%r15,%r14), %rdx
	cmpq	(%rsi), %rdx
	jne	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	testl	%ecx, %ecx
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	xorps	%xmm0, %xmm0
	movups	%xmm0, -8(%r13,%r14)
	movl	$1, %ecx
	jmp	LBB0_8
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	(%r15,%r14), %rdi
	movl	$4, %esi
	callq	_OPENSSL_memdup
	movq	%rax, (%r13,%r14)
	movq	-8(%r15,%r14), %rdi
	movl	$4, %esi
	callq	_OPENSSL_memdup
	movq	_custom_ext_add_old_cb_wrap@GOTPCREL(%rip), %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%rax, -8(%r13,%r14)
	cmpq	$0, (%r13,%r14)
	sete	%cl
	testq	%rax, %rax
	sete	%al
	orb	%cl, %al
	movzbl	%al, %ecx
	movl	(%r12), %eax
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	movslq	%eax, %rdx
	cmpq	%rdx, %rbx
	jae	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	8(%rdi), %r13
	incq	%rbx
	addq	$24, %r14
	jmp	LBB0_4
LBB0_10:
	testl	%ecx, %ecx
	movl	$1, %ebx
	je	LBB0_13
## %bb.11:
	callq	_custom_exts_free
LBB0_12:
	xorl	%ebx, %ebx
LBB0_13:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_custom_ext_add_old_cb_wrap,8,3 ## @custom_ext_add_old_cb_wrap
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_custom_exts_copy               ; -- Begin function custom_exts_copy
	.p2align	2
_custom_exts_copy:                      ; @custom_exts_copy
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	ldr	w8, [x1]
	cmp	w8, #1
	b.lt	LBB0_12
; %bb.1:
	mov	x20, x1
	mov	x19, x0
	ldr	x0, [x1, #8]
	add	w8, w8, w8, lsl #1
	lsl	w1, w8, #3
	bl	_OPENSSL_memdup
	str	x0, [x19, #8]
	cbz	x0, LBB0_13
; %bb.2:
	ldr	w8, [x20]
	str	w8, [x19]
	ldr	w8, [x20]
	cbz	w8, LBB0_12
; %bb.3:
	mov	x21, x0
	mov	x22, #0
	mov	w9, #0
	mov	w23, #1
Lloh0:
	adrp	x24, _custom_ext_add_old_cb_wrap@GOTPAGE
Lloh1:
	ldr	x24, [x24, _custom_ext_add_old_cb_wrap@GOTPAGEOFF]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x20, #8]
	ldr	x11, [x10, x22]
	ldr	x12, [x24]
	cmp	x11, x12
	b.ne	LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	cbz	w9, LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x9, x21, x22
	stp	xzr, xzr, [x9, #8]
	mov	w9, #1
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	cmp	x23, w8, sxtw
	b.hs	LBB0_10
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x21, [x19, #8]
	add	x23, x23, #1
	add	x22, x22, #24
	b	LBB0_4
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x25, x10, x22
	ldr	x0, [x25, #16]
	mov	w1, #4
	bl	_OPENSSL_memdup
	add	x21, x21, x22
	str	x0, [x21, #16]
	ldr	x0, [x25, #8]
	mov	w1, #4
	bl	_OPENSSL_memdup
	str	x0, [x21, #8]
	ldr	x8, [x21, #16]
	cmp	x8, #0
	ccmp	x0, #0, #4, ne
	cset	w9, eq
	ldr	w8, [x20]
	cmp	x23, w8, sxtw
	b.lo	LBB0_8
LBB0_10:
	cbz	w9, LBB0_12
; %bb.11:
	mov	x0, x19
	bl	_custom_exts_free
	mov	w0, #0
	b	LBB0_13
LBB0_12:
	mov	w0, #1
LBB0_13:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_custom_ext_add_old_cb_wrap,8,3 ; @custom_ext_add_old_cb_wrap
.subsections_via_symbols
