	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function uint64_c2i
_uint64_c2i:                            ## @uint64_c2i
	.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
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r15
	movl	%edx, %r14d
	movq	%rsi, -56(%rbp)
	movq	$0, -48(%rbp)
	movl	$0, -36(%rbp)
	movq	(%rdi), %r12
	testq	%r12, %r12
	je	LBB0_1
## %bb.4:
	testl	%r14d, %r14d
	jne	LBB0_5
	jmp	LBB0_16
LBB0_1:
	movq	%rdi, %rbx
	movq	%r15, %rsi
	callq	_uint64_new
	testl	%eax, %eax
	je	LBB0_2
## %bb.3:
	movq	(%rbx), %r12
	testl	%r14d, %r14d
	je	LBB0_16
LBB0_5:
	leaq	-48(%rbp), %rdi
	leaq	-36(%rbp), %rsi
	leaq	-56(%rbp), %rdx
	movl	%r14d, %ecx
	callq	_c2i_uint64_int
	xorl	%r14d, %r14d
	testl	%eax, %eax
	je	LBB0_17
## %bb.6:
	movq	_INTxx_FLAG_SIGNED@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	(%r15), %edx
	movl	-36(%rbp), %eax
	andl	%ecx, %edx
	jne	LBB0_10
## %bb.7:
	testl	%eax, %eax
	je	LBB0_10
## %bb.8:
	movq	_ASN1_F_UINT64_C2I@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ASN1_R_ILLEGAL_NEGATIVE_VALUE@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_10:
	cmpl	%ecx, %edx
	jne	LBB0_14
## %bb.11:
	testl	%eax, %eax
	jne	LBB0_14
## %bb.12:
	movq	-48(%rbp), %rax
	movq	_INT64_MAX@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jle	LBB0_16
## %bb.13:
	movq	_ASN1_F_UINT64_C2I@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ASN1_R_TOO_LARGE@GOTPCREL(%rip), %rax
LBB0_9:
	movl	(%rax), %esi
	callq	_ASN1err
	jmp	LBB0_17
LBB0_2:
	xorl	%r14d, %r14d
	jmp	LBB0_17
LBB0_14:
	testl	%eax, %eax
	je	LBB0_16
## %bb.15:
	negq	-48(%rbp)
LBB0_16:
	leaq	-48(%rbp), %rsi
	movq	%r12, %rdi
	movl	$8, %edx
	callq	_memcpy
	movl	$1, %r14d
LBB0_17:
	movl	%r14d, %eax
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_INTxx_FLAG_SIGNED,4,2          ## @INTxx_FLAG_SIGNED
	.comm	_ASN1_F_UINT64_C2I,4,2          ## @ASN1_F_UINT64_C2I
	.comm	_ASN1_R_ILLEGAL_NEGATIVE_VALUE,4,2 ## @ASN1_R_ILLEGAL_NEGATIVE_VALUE
	.comm	_INT64_MAX,8,3                  ## @INT64_MAX
	.comm	_ASN1_R_TOO_LARGE,4,2           ## @ASN1_R_TOO_LARGE
	.no_dead_strip	_uint64_c2i
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function uint64_c2i
_uint64_c2i:                            ; @uint64_c2i
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x20, x5
	mov	x21, x2
	stp	xzr, x1, [sp, #16]
	str	wzr, [sp, #12]
	ldr	x19, [x0]
	cbz	x19, LBB0_2
; %bb.1:
	cbnz	w21, LBB0_4
	b	LBB0_13
LBB0_2:
	mov	x22, x0
	mov	x1, x20
	bl	_uint64_new
	cbz	w0, LBB0_14
; %bb.3:
	ldr	x19, [x22]
	cbz	w21, LBB0_13
LBB0_4:
	add	x0, sp, #16
	add	x1, sp, #12
	add	x2, sp, #24
	mov	x3, x21
	bl	_c2i_uint64_int
	cbz	w0, LBB0_14
; %bb.5:
Lloh0:
	adrp	x8, _INTxx_FLAG_SIGNED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _INTxx_FLAG_SIGNED@GOTPAGEOFF]
	ldr	w10, [x20]
Lloh2:
	ldr	w9, [x8]
	and	w10, w9, w10
	ldr	w8, [sp, #12]
	cmp	w10, #0
	ccmp	w8, #0, #4, eq
	b.ne	LBB0_9
; %bb.6:
	cmp	w10, w9
	ccmp	w8, #0, #0, eq
	b.eq	LBB0_10
; %bb.7:
	cbz	w8, LBB0_13
; %bb.8:
	ldr	x8, [sp, #16]
	neg	x8, x8
	str	x8, [sp, #16]
	b	LBB0_13
LBB0_9:
Lloh3:
	adrp	x8, _ASN1_F_UINT64_C2I@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ASN1_F_UINT64_C2I@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x8, _ASN1_R_ILLEGAL_NEGATIVE_VALUE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ASN1_R_ILLEGAL_NEGATIVE_VALUE@GOTPAGEOFF]
	b	LBB0_12
LBB0_10:
	ldr	x8, [sp, #16]
Lloh8:
	adrp	x9, _INT64_MAX@GOTPAGE
Lloh9:
	ldr	x9, [x9, _INT64_MAX@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x8, x9
	b.le	LBB0_13
; %bb.11:
Lloh11:
	adrp	x8, _ASN1_F_UINT64_C2I@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ASN1_F_UINT64_C2I@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
Lloh14:
	adrp	x8, _ASN1_R_TOO_LARGE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ASN1_R_TOO_LARGE@GOTPAGEOFF]
LBB0_12:
	ldr	w1, [x8]
	bl	_ASN1err
	mov	w0, #0
	b	LBB0_14
LBB0_13:
	add	x1, sp, #16
	mov	x0, x19
	mov	w2, #8
	bl	_memcpy
	mov	w0, #1
LBB0_14:
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_INTxx_FLAG_SIGNED,4,2          ; @INTxx_FLAG_SIGNED
	.comm	_ASN1_F_UINT64_C2I,4,2          ; @ASN1_F_UINT64_C2I
	.comm	_ASN1_R_ILLEGAL_NEGATIVE_VALUE,4,2 ; @ASN1_R_ILLEGAL_NEGATIVE_VALUE
	.comm	_INT64_MAX,8,3                  ; @INT64_MAX
	.comm	_ASN1_R_TOO_LARGE,4,2           ; @ASN1_R_TOO_LARGE
	.no_dead_strip	_uint64_c2i
.subsections_via_symbols
