	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function v3_generic_extension
_v3_generic_extension:                  ## @v3_generic_extension
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r13
	movl	%ecx, %r15d
	movl	%edx, -52(%rbp)                 ## 4-byte Spill
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movq	$0, -48(%rbp)
	xorl	%esi, %esi
	callq	_OBJ_txt2obj
	movq	%rax, %r14
	testq	%rax, %rax
	je	LBB0_1
## %bb.4:
	cmpl	$2, %r15d
	je	LBB0_7
## %bb.5:
	cmpl	$1, %r15d
	jne	LBB0_9
## %bb.6:
	leaq	-48(%rbp), %rsi
	movq	%r12, %rdi
	callq	_OPENSSL_hexstr2buf
	jmp	LBB0_8
LBB0_1:
	movq	_X509V3_F_V3_GENERIC_EXTENSION@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_X509V3_R_EXTENSION_NAME_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_X509V3err
	leaq	L_.str(%rip), %rsi
	movl	$2, %edi
	movq	%rbx, %rdx
	jmp	LBB0_2
LBB0_7:
	leaq	-48(%rbp), %rdx
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_generic_asn1
LBB0_8:
	movq	%rax, %r13
	testq	%rax, %rax
	je	LBB0_9
## %bb.10:
	xorl	%eax, %eax
	callq	_ASN1_OCTET_STRING_new
	testq	%rax, %rax
	je	LBB0_11
## %bb.12:
	movq	%rax, %rbx
	movq	%r13, (%rax)
	movq	-48(%rbp), %rax
	movq	%rax, 8(%rbx)
	xorl	%r13d, %r13d
	xorl	%edi, %edi
	movq	%r14, %rsi
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	movq	%rbx, %rcx
	callq	_X509_EXTENSION_create_by_OBJ
	movq	%rax, %r15
	jmp	LBB0_13
LBB0_9:
	movq	_X509V3_F_V3_GENERIC_EXTENSION@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_X509V3_R_EXTENSION_VALUE_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_X509V3err
	leaq	L_.str.1(%rip), %rsi
	movl	$2, %edi
	movq	%r12, %rdx
LBB0_2:
	callq	_ERR_add_error_data
	xorl	%r13d, %r13d
LBB0_3:
	xorl	%ebx, %ebx
	xorl	%r15d, %r15d
LBB0_13:
	movq	%r14, %rdi
	callq	_ASN1_OBJECT_free
	movq	%rbx, %rdi
	callq	_ASN1_OCTET_STRING_free
	movq	%r13, %rdi
	callq	_OPENSSL_free
	movq	%r15, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	movq	_X509V3_F_V3_GENERIC_EXTENSION@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ERR_R_MALLOC_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_X509V3err
	jmp	LBB0_3
	.cfi_endproc
                                        ## -- End function
	.comm	_X509V3_F_V3_GENERIC_EXTENSION,4,2 ## @X509V3_F_V3_GENERIC_EXTENSION
	.comm	_X509V3_R_EXTENSION_NAME_ERROR,4,2 ## @X509V3_R_EXTENSION_NAME_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"name="

	.comm	_X509V3_R_EXTENSION_VALUE_ERROR,4,2 ## @X509V3_R_EXTENSION_VALUE_ERROR
L_.str.1:                               ## @.str.1
	.asciz	"value="

	.comm	_ERR_R_MALLOC_FAILURE,4,2       ## @ERR_R_MALLOC_FAILURE
	.no_dead_strip	_v3_generic_extension
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function v3_generic_extension
_v3_generic_extension:                  ; @v3_generic_extension
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x23, x4
	mov	x24, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	str	xzr, [sp, #8]
	mov	w1, #0
	bl	_OBJ_txt2obj
	mov	x19, x0
	cbz	x0, LBB0_6
; %bb.1:
	cmp	w24, #2
	b.eq	LBB0_7
; %bb.2:
	cmp	w24, #1
	b.ne	LBB0_8
; %bb.3:
	add	x1, sp, #8
	mov	x0, x21
	bl	_OPENSSL_hexstr2buf
	mov	x22, x0
	cbz	x0, LBB0_8
LBB0_4:
	bl	_ASN1_OCTET_STRING_new
	mov	x21, x0
	cbz	x0, LBB0_12
; %bb.5:
	ldr	x8, [sp, #8]
	stp	x22, x8, [x21]
	mov	x0, #0
	mov	x1, x19
	mov	x2, x20
	mov	x3, x21
	bl	_X509_EXTENSION_create_by_OBJ
	mov	x20, x0
	mov	x22, #0
	b	LBB0_11
LBB0_6:
Lloh0:
	adrp	x8, _X509V3_F_V3_GENERIC_EXTENSION@GOTPAGE
Lloh1:
	ldr	x8, [x8, _X509V3_F_V3_GENERIC_EXTENSION@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _X509V3_R_EXTENSION_NAME_ERROR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _X509V3_R_EXTENSION_NAME_ERROR@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_X509V3err
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #2
	mov	x2, x22
	b	LBB0_9
LBB0_7:
	add	x2, sp, #8
	mov	x0, x21
	mov	x1, x23
	bl	_generic_asn1
	mov	x22, x0
	cbnz	x0, LBB0_4
LBB0_8:
Lloh8:
	adrp	x8, _X509V3_F_V3_GENERIC_EXTENSION@GOTPAGE
Lloh9:
	ldr	x8, [x8, _X509V3_F_V3_GENERIC_EXTENSION@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
Lloh11:
	adrp	x8, _X509V3_R_EXTENSION_VALUE_ERROR@GOTPAGE
Lloh12:
	ldr	x8, [x8, _X509V3_R_EXTENSION_VALUE_ERROR@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	bl	_X509V3err
Lloh14:
	adrp	x1, l_.str.1@PAGE
Lloh15:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #2
	mov	x2, x21
LBB0_9:
	bl	_ERR_add_error_data
	mov	x22, #0
	mov	x21, #0
LBB0_10:
	mov	x20, #0
LBB0_11:
	mov	x0, x19
	bl	_ASN1_OBJECT_free
	mov	x0, x21
	bl	_ASN1_OCTET_STRING_free
	mov	x0, x22
	bl	_OPENSSL_free
	mov	x0, x20
	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
	add	sp, sp, #80
	ret
LBB0_12:
Lloh16:
	adrp	x8, _X509V3_F_V3_GENERIC_EXTENSION@GOTPAGE
Lloh17:
	ldr	x8, [x8, _X509V3_F_V3_GENERIC_EXTENSION@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
Lloh19:
	adrp	x8, _ERR_R_MALLOC_FAILURE@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ERR_R_MALLOC_FAILURE@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	bl	_X509V3err
	b	LBB0_10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_X509V3_F_V3_GENERIC_EXTENSION,4,2 ; @X509V3_F_V3_GENERIC_EXTENSION
	.comm	_X509V3_R_EXTENSION_NAME_ERROR,4,2 ; @X509V3_R_EXTENSION_NAME_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"name="

	.comm	_X509V3_R_EXTENSION_VALUE_ERROR,4,2 ; @X509V3_R_EXTENSION_VALUE_ERROR
l_.str.1:                               ; @.str.1
	.asciz	"value="

	.comm	_ERR_R_MALLOC_FAILURE,4,2       ; @ERR_R_MALLOC_FAILURE
	.no_dead_strip	_v3_generic_extension
.subsections_via_symbols
