	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function asn1_get_int64
_asn1_get_int64:                        ## @asn1_get_int64
	.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
	movl	%ecx, %ebx
	movq	%rdi, %r14
	leaq	-32(%rbp), %rdi
	callq	_asn1_get_uint64
	xorl	%r15d, %r15d
	testq	%rax, %rax
	je	LBB0_10
## %bb.1:
	movq	-32(%rbp), %rax
	movq	_INT64_MAX@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	testl	%ebx, %ebx
	je	LBB0_6
## %bb.2:
	cmpq	%rcx, %rax
	jle	LBB0_3
## %bb.4:
	movq	_ABS_INT64_MIN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
LBB0_3:
	negl	%eax
	jmp	LBB0_7
LBB0_6:
	cmpq	%rcx, %rax
	jle	LBB0_7
## %bb.8:
	movq	_ASN1_F_ASN1_GET_INT64@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ASN1_R_TOO_LARGE@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_7:
	movl	%eax, (%r14)
	movl	$1, %r15d
	jmp	LBB0_10
LBB0_5:
	movq	_ASN1_F_ASN1_GET_INT64@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ASN1_R_TOO_SMALL@GOTPCREL(%rip), %rax
LBB0_9:
	movl	(%rax), %esi
	callq	_ASN1err
LBB0_10:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_INT64_MAX,8,3                  ## @INT64_MAX
	.comm	_ABS_INT64_MIN,8,3              ## @ABS_INT64_MIN
	.comm	_ASN1_F_ASN1_GET_INT64,4,2      ## @ASN1_F_ASN1_GET_INT64
	.comm	_ASN1_R_TOO_SMALL,4,2           ## @ASN1_R_TOO_SMALL
	.comm	_ASN1_R_TOO_LARGE,4,2           ## @ASN1_R_TOO_LARGE
	.no_dead_strip	_asn1_get_int64
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function asn1_get_int64
_asn1_get_int64:                        ; @asn1_get_int64
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x20, x3
	mov	x19, x0
	add	x0, sp, #8
	bl	_asn1_get_uint64
	cbz	x0, LBB0_10
; %bb.1:
	ldr	x8, [sp, #8]
Lloh0:
	adrp	x9, _INT64_MAX@GOTPAGE
Lloh1:
	ldr	x9, [x9, _INT64_MAX@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	cbz	w20, LBB0_5
; %bb.2:
	b.le	LBB0_4
; %bb.3:
Lloh3:
	adrp	x9, _ABS_INT64_MIN@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ABS_INT64_MIN@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_8
LBB0_4:
	neg	w8, w8
	str	w8, [x19]
	mov	w0, #1
	b	LBB0_10
LBB0_5:
	b.le	LBB0_7
; %bb.6:
Lloh6:
	adrp	x8, _ASN1_F_ASN1_GET_INT64@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ASN1_F_ASN1_GET_INT64@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x8, _ASN1_R_TOO_LARGE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ASN1_R_TOO_LARGE@GOTPAGEOFF]
	b	LBB0_9
LBB0_7:
	str	w8, [x19]
	mov	w0, #1
	b	LBB0_10
LBB0_8:
Lloh11:
	adrp	x8, _ASN1_F_ASN1_GET_INT64@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ASN1_F_ASN1_GET_INT64@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
Lloh14:
	adrp	x8, _ASN1_R_TOO_SMALL@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ASN1_R_TOO_SMALL@GOTPAGEOFF]
LBB0_9:
	ldr	w1, [x8]
	bl	_ASN1err
	mov	w0, #0
LBB0_10:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_INT64_MAX,8,3                  ; @INT64_MAX
	.comm	_ABS_INT64_MIN,8,3              ; @ABS_INT64_MIN
	.comm	_ASN1_F_ASN1_GET_INT64,4,2      ; @ASN1_F_ASN1_GET_INT64
	.comm	_ASN1_R_TOO_SMALL,4,2           ; @ASN1_R_TOO_SMALL
	.comm	_ASN1_R_TOO_LARGE,4,2           ; @ASN1_R_TOO_LARGE
	.no_dead_strip	_asn1_get_int64
.subsections_via_symbols
