	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BIO_new_NDEF                   ## -- Begin function BIO_new_NDEF
	.p2align	4, 0x90
_BIO_new_NDEF:                          ## @BIO_new_NDEF
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, -48(%rbp)
	movq	(%rdx), %rbx
	testq	%rbx, %rbx
	je	LBB0_2
## %bb.1:
	cmpq	$0, (%rbx)
	je	LBB0_2
## %bb.3:
	movq	%rdx, %r13
	movq	%rdi, %r12
	movl	$40, %edi
	callq	_OPENSSL_zalloc
	movq	%rax, %r14
	xorl	%eax, %eax
	callq	_BIO_f_asn1
	movl	%eax, %edi
	callq	_BIO_new
	movq	%rax, %r15
	testq	%r14, %r14
	je	LBB0_8
## %bb.4:
	testq	%r15, %r15
	je	LBB0_8
## %bb.5:
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_BIO_push
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:
	movq	%rax, %r12
	movq	_ndef_prefix@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ndef_prefix_free@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	callq	_BIO_asn1_set_prefix
	movq	_ndef_suffix@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ndef_suffix_free@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	callq	_BIO_asn1_set_suffix
	movq	%r12, -64(%rbp)
	pxor	%xmm0, %xmm0
	movdqa	%xmm0, -80(%rbp)
	movq	_ASN1_OP_STREAM_PRE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-48(%rbp), %rsi
	leaq	-80(%rbp), %rcx
	movq	%r13, %rdx
	callq	*(%rbx)
	testq	%rax, %rax
	jle	LBB0_8
## %bb.7:
	movq	-48(%rbp), %rax
	movq	%rax, 32(%r14)
	movq	%r13, 24(%r14)
	pshufd	$78, -80(%rbp), %xmm0           ## xmm0 = mem[2,3,0,1]
	movdqu	%xmm0, 8(%r14)
	movq	%r12, (%r14)
	movq	_BIO_C_SET_EX_ARG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	xorl	%edx, %edx
	movq	%r14, %rcx
	callq	_BIO_ctrl
	movq	-80(%rbp), %rax
	jmp	LBB0_10
LBB0_2:
	movq	_ASN1_F_BIO_NEW_NDEF@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ASN1_R_STREAMING_NOT_SUPPORTED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ASN1err
	jmp	LBB0_9
LBB0_8:
	movq	%r15, %rdi
	callq	_BIO_free
	movq	%r14, %rdi
	callq	_OPENSSL_free
LBB0_9:
	xorl	%eax, %eax
LBB0_10:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ASN1_F_BIO_NEW_NDEF,4,2        ## @ASN1_F_BIO_NEW_NDEF
	.comm	_ASN1_R_STREAMING_NOT_SUPPORTED,4,2 ## @ASN1_R_STREAMING_NOT_SUPPORTED
	.comm	_ndef_prefix,4,2                ## @ndef_prefix
	.comm	_ndef_prefix_free,4,2           ## @ndef_prefix_free
	.comm	_ndef_suffix,4,2                ## @ndef_suffix
	.comm	_ndef_suffix_free,4,2           ## @ndef_suffix_free
	.comm	_ASN1_OP_STREAM_PRE,4,2         ## @ASN1_OP_STREAM_PRE
	.comm	_BIO_C_SET_EX_ARG,4,2           ## @BIO_C_SET_EX_ARG
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BIO_new_NDEF                   ; -- Begin function BIO_new_NDEF
	.p2align	2
_BIO_new_NDEF:                          ; @BIO_new_NDEF
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	str	x1, [sp, #24]
	ldr	x23, [x2]
	cbz	x23, LBB0_7
; %bb.1:
	ldr	x8, [x23]
	cbz	x8, LBB0_7
; %bb.2:
	mov	x19, x2
	mov	x22, x0
	mov	w0, #40
	bl	_OPENSSL_zalloc
	mov	x20, x0
	bl	_BIO_f_asn1
	bl	_BIO_new
	mov	x21, x0
	cbz	x20, LBB0_8
; %bb.3:
	cbz	x21, LBB0_8
; %bb.4:
	mov	x0, x21
	mov	x1, x22
	bl	_BIO_push
	cbz	x0, LBB0_8
; %bb.5:
	mov	x22, x0
Lloh0:
	adrp	x8, _ndef_prefix@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ndef_prefix@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _ndef_prefix_free@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ndef_prefix_free@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x21
	bl	_BIO_asn1_set_prefix
Lloh6:
	adrp	x8, _ndef_suffix@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ndef_suffix@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x8, _ndef_suffix_free@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ndef_suffix_free@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	mov	x0, x21
	bl	_BIO_asn1_set_suffix
	stp	xzr, x22, [sp, #8]
	str	xzr, [sp]
	ldr	x8, [x23]
Lloh12:
	adrp	x9, _ASN1_OP_STREAM_PRE@GOTPAGE
Lloh13:
	ldr	x9, [x9, _ASN1_OP_STREAM_PRE@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x9]
	add	x1, sp, #24
	mov	x3, sp
	mov	x2, x19
	blr	x8
	cmp	x0, #1
	b.lt	LBB0_8
; %bb.6:
	ldr	x8, [sp, #24]
	stp	x19, x8, [x20, #24]
	ldp	x8, x9, [sp]
	stp	x9, x8, [x20, #8]
	str	x22, [x20]
Lloh15:
	adrp	x8, _BIO_C_SET_EX_ARG@GOTPAGE
Lloh16:
	ldr	x8, [x8, _BIO_C_SET_EX_ARG@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	x0, x21
	mov	w2, #0
	mov	x3, x20
	bl	_BIO_ctrl
	ldr	x0, [sp]
	b	LBB0_10
LBB0_7:
Lloh18:
	adrp	x8, _ASN1_F_BIO_NEW_NDEF@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ASN1_F_BIO_NEW_NDEF@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
Lloh21:
	adrp	x8, _ASN1_R_STREAMING_NOT_SUPPORTED@GOTPAGE
Lloh22:
	ldr	x8, [x8, _ASN1_R_STREAMING_NOT_SUPPORTED@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	bl	_ASN1err
	b	LBB0_9
LBB0_8:
	mov	x0, x21
	bl	_BIO_free
	mov	x0, x20
	bl	_OPENSSL_free
LBB0_9:
	mov	x0, #0
LBB0_10:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_ASN1_F_BIO_NEW_NDEF,4,2        ; @ASN1_F_BIO_NEW_NDEF
	.comm	_ASN1_R_STREAMING_NOT_SUPPORTED,4,2 ; @ASN1_R_STREAMING_NOT_SUPPORTED
	.comm	_ndef_prefix,4,2                ; @ndef_prefix
	.comm	_ndef_prefix_free,4,2           ; @ndef_prefix_free
	.comm	_ndef_suffix,4,2                ; @ndef_suffix
	.comm	_ndef_suffix_free,4,2           ; @ndef_suffix_free
	.comm	_ASN1_OP_STREAM_PRE,4,2         ; @ASN1_OP_STREAM_PRE
	.comm	_BIO_C_SET_EX_ARG,4,2           ; @BIO_C_SET_EX_ARG
.subsections_via_symbols
