	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function asn1_string_to_bn
_asn1_string_to_bn:                     ## @asn1_string_to_bn
	.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
	movq	_V_ASN1_NEG@GOTPCREL(%rip), %r15
	movl	(%r15), %ecx
	notl	%ecx
	andl	(%rdi), %ecx
	cmpl	%edx, %ecx
	jne	LBB0_1
## %bb.3:
	movq	%rsi, %rax
	movq	%rdi, %rbx
	movl	4(%rdi), %esi
	movl	8(%rdi), %edi
	movq	%rax, %rdx
	callq	_BN_bin2bn
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%rax, %r14
	movl	(%r15), %eax
	testl	%eax, (%rbx)
	je	LBB0_7
## %bb.6:
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_BN_set_negative
	jmp	LBB0_7
LBB0_1:
	movq	_ASN1_F_ASN1_STRING_TO_BN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ASN1_R_WRONG_INTEGER_TYPE@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_4:
	movq	_ASN1_F_ASN1_STRING_TO_BN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ASN1_R_BN_LIB@GOTPCREL(%rip), %rax
LBB0_2:
	movl	(%rax), %esi
	callq	_ASN1err
	xorl	%r14d, %r14d
LBB0_7:
	movq	%r14, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_V_ASN1_NEG,4,2                 ## @V_ASN1_NEG
	.comm	_ASN1_F_ASN1_STRING_TO_BN,4,2   ## @ASN1_F_ASN1_STRING_TO_BN
	.comm	_ASN1_R_WRONG_INTEGER_TYPE,4,2  ## @ASN1_R_WRONG_INTEGER_TYPE
	.comm	_ASN1_R_BN_LIB,4,2              ## @ASN1_R_BN_LIB
	.no_dead_strip	_asn1_string_to_bn
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function asn1_string_to_bn
_asn1_string_to_bn:                     ; @asn1_string_to_bn
	.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
	ldr	w9, [x0]
Lloh0:
	adrp	x21, _V_ASN1_NEG@GOTPAGE
Lloh1:
	ldr	x21, [x21, _V_ASN1_NEG@GOTPAGEOFF]
	ldr	w10, [x21]
	bic	w9, w9, w10
	cmp	w9, w2
	b.ne	LBB0_4
; %bb.1:
	mov	x8, x1
	mov	x20, x0
	ldr	w0, [x0, #8]
	ldr	w1, [x20, #4]
	mov	x2, x8
	bl	_BN_bin2bn
	mov	x19, x0
	cbz	x0, LBB0_5
; %bb.2:
	ldr	w8, [x20]
	ldr	w9, [x21]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.3:
	mov	x0, x19
	mov	w1, #1
	bl	_BN_set_negative
	b	LBB0_6
LBB0_4:
Lloh2:
	adrp	x8, _ASN1_F_ASN1_STRING_TO_BN@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ASN1_F_ASN1_STRING_TO_BN@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	adrp	x8, _ASN1_R_WRONG_INTEGER_TYPE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ASN1_R_WRONG_INTEGER_TYPE@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	bl	_ASN1err
	mov	x19, #0
	b	LBB0_6
LBB0_5:
Lloh8:
	adrp	x8, _ASN1_F_ASN1_STRING_TO_BN@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ASN1_F_ASN1_STRING_TO_BN@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
Lloh11:
	adrp	x8, _ASN1_R_BN_LIB@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ASN1_R_BN_LIB@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	bl	_ASN1err
LBB0_6:
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_V_ASN1_NEG,4,2                 ; @V_ASN1_NEG
	.comm	_ASN1_F_ASN1_STRING_TO_BN,4,2   ; @ASN1_F_ASN1_STRING_TO_BN
	.comm	_ASN1_R_WRONG_INTEGER_TYPE,4,2  ; @ASN1_R_WRONG_INTEGER_TYPE
	.comm	_ASN1_R_BN_LIB,4,2              ; @ASN1_R_BN_LIB
	.no_dead_strip	_asn1_string_to_bn
.subsections_via_symbols
