	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function uint32_c2i
_uint32_c2i:                            ## @uint32_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	%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	%r9, %r15
	movl	%edx, %r13d
	movq	%rsi, -72(%rbp)
	movq	$0, -56(%rbp)
	movl	$0, -44(%rbp)
	movq	(%rdi), %r12
	testq	%r12, %r12
	jne	LBB0_4
## %bb.1:
	movq	%rdi, %rbx
	movq	%r15, %rsi
	callq	_uint64_new
	testl	%eax, %eax
	je	LBB0_2
## %bb.3:
	movq	(%rbx), %r12
LBB0_4:
	xorl	%r14d, %r14d
	testl	%r13d, %r13d
	je	LBB0_5
## %bb.6:
	leaq	-56(%rbp), %rdi
	leaq	-44(%rbp), %rsi
	leaq	-72(%rbp), %rdx
	movl	%r13d, %ecx
	callq	_c2i_uint64_int
	testl	%eax, %eax
	je	LBB0_21
## %bb.7:
	movq	_INTxx_FLAG_SIGNED@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	-44(%rbp), %edx
	andl	(%r15), %ecx
	jne	LBB0_11
## %bb.8:
	testl	%edx, %edx
	je	LBB0_11
## %bb.9:
	movq	_ASN1_F_UINT32_C2I@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ASN1_R_ILLEGAL_NEGATIVE_VALUE@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_5:
	xorl	%eax, %eax
LBB0_20:
	movq	%rax, -64(%rbp)
	leaq	-64(%rbp), %rsi
	movq	%r12, %rdi
	movl	$8, %edx
	callq	_memcpy
	movl	$1, %r14d
	jmp	LBB0_21
LBB0_11:
	movq	-56(%rbp), %rax
	testl	%edx, %edx
	je	LBB0_14
## %bb.12:
	movq	_ABS_INT32_MIN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jle	LBB0_19
## %bb.13:
	movq	_ASN1_F_UINT32_C2I@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ASN1_R_TOO_SMALL@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_2:
	xorl	%r14d, %r14d
	jmp	LBB0_21
LBB0_14:
	testl	%ecx, %ecx
	je	LBB0_16
## %bb.15:
	movq	_INT32_MAX@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jle	LBB0_20
	jmp	LBB0_18
LBB0_19:
	negq	%rax
	movq	%rax, -56(%rbp)
	jmp	LBB0_20
LBB0_16:
	movq	_UINT32_MAX@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jle	LBB0_20
LBB0_18:
	movq	_ASN1_F_UINT32_C2I@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ASN1_R_TOO_LARGE@GOTPCREL(%rip), %rax
LBB0_10:
	movl	(%rax), %esi
	callq	_ASN1err
LBB0_21:
	movl	%r14d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_INTxx_FLAG_SIGNED,4,2          ## @INTxx_FLAG_SIGNED
	.comm	_ASN1_F_UINT32_C2I,4,2          ## @ASN1_F_UINT32_C2I
	.comm	_ASN1_R_ILLEGAL_NEGATIVE_VALUE,4,2 ## @ASN1_R_ILLEGAL_NEGATIVE_VALUE
	.comm	_ABS_INT32_MIN,8,3              ## @ABS_INT32_MIN
	.comm	_ASN1_R_TOO_SMALL,4,2           ## @ASN1_R_TOO_SMALL
	.comm	_INT32_MAX,8,3                  ## @INT32_MAX
	.comm	_UINT32_MAX,8,3                 ## @UINT32_MAX
	.comm	_ASN1_R_TOO_LARGE,4,2           ## @ASN1_R_TOO_LARGE
	.no_dead_strip	_uint32_c2i
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function uint32_c2i
_uint32_c2i:                            ; @uint32_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, #4]
	ldr	x19, [x0]
	cbz	x19, LBB0_7
; %bb.1:
	cbz	w21, LBB0_9
LBB0_2:
	add	x0, sp, #16
	add	x1, sp, #4
	add	x2, sp, #24
	mov	x3, x21
	bl	_c2i_uint64_int
	cbz	w0, LBB0_13
; %bb.3:
Lloh0:
	adrp	x8, _INTxx_FLAG_SIGNED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _INTxx_FLAG_SIGNED@GOTPAGEOFF]
	ldr	w9, [x20]
Lloh2:
	ldr	w8, [x8]
	and	w9, w8, w9
	ldr	w10, [sp, #4]
	cmp	w9, #0
	ccmp	w10, #0, #4, eq
	b.ne	LBB0_11
; %bb.4:
	ldr	x8, [sp, #16]
	cbz	w10, LBB0_14
; %bb.5:
Lloh3:
	adrp	x9, _ABS_INT32_MIN@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ABS_INT32_MIN@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.le	LBB0_16
; %bb.6:
Lloh6:
	adrp	x8, _ASN1_F_UINT32_C2I@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ASN1_F_UINT32_C2I@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x8, _ASN1_R_TOO_SMALL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ASN1_R_TOO_SMALL@GOTPAGEOFF]
	b	LBB0_12
LBB0_7:
	mov	x22, x0
	mov	x1, x20
	bl	_uint64_new
	cbz	w0, LBB0_13
; %bb.8:
	ldr	x19, [x22]
	cbnz	w21, LBB0_2
LBB0_9:
	mov	x8, #0
LBB0_10:
	str	x8, [sp, #8]
	add	x1, sp, #8
	mov	x0, x19
	mov	w2, #8
	bl	_memcpy
	mov	w0, #1
	b	LBB0_13
LBB0_11:
Lloh11:
	adrp	x8, _ASN1_F_UINT32_C2I@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ASN1_F_UINT32_C2I@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
Lloh14:
	adrp	x8, _ASN1_R_ILLEGAL_NEGATIVE_VALUE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ASN1_R_ILLEGAL_NEGATIVE_VALUE@GOTPAGEOFF]
LBB0_12:
	ldr	w1, [x8]
	bl	_ASN1err
	mov	w0, #0
LBB0_13:
	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
LBB0_14:
	cbz	w9, LBB0_17
; %bb.15:
Lloh16:
	adrp	x9, _INT32_MAX@GOTPAGE
Lloh17:
	ldr	x9, [x9, _INT32_MAX@GOTPAGEOFF]
	b	LBB0_18
LBB0_16:
	neg	x8, x8
	str	x8, [sp, #16]
	b	LBB0_10
LBB0_17:
Lloh18:
	adrp	x9, _UINT32_MAX@GOTPAGE
Lloh19:
	ldr	x9, [x9, _UINT32_MAX@GOTPAGEOFF]
LBB0_18:
	ldr	x9, [x9]
	cmp	x8, x9
	b.le	LBB0_10
; %bb.19:
Lloh20:
	adrp	x8, _ASN1_F_UINT32_C2I@GOTPAGE
Lloh21:
	ldr	x8, [x8, _ASN1_F_UINT32_C2I@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
Lloh23:
	adrp	x8, _ASN1_R_TOO_LARGE@GOTPAGE
Lloh24:
	ldr	x8, [x8, _ASN1_R_TOO_LARGE@GOTPAGEOFF]
	b	LBB0_12
	.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
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_INTxx_FLAG_SIGNED,4,2          ; @INTxx_FLAG_SIGNED
	.comm	_ASN1_F_UINT32_C2I,4,2          ; @ASN1_F_UINT32_C2I
	.comm	_ASN1_R_ILLEGAL_NEGATIVE_VALUE,4,2 ; @ASN1_R_ILLEGAL_NEGATIVE_VALUE
	.comm	_ABS_INT32_MIN,8,3              ; @ABS_INT32_MIN
	.comm	_ASN1_R_TOO_SMALL,4,2           ; @ASN1_R_TOO_SMALL
	.comm	_INT32_MAX,8,3                  ; @INT32_MAX
	.comm	_UINT32_MAX,8,3                 ; @UINT32_MAX
	.comm	_ASN1_R_TOO_LARGE,4,2           ; @ASN1_R_TOO_LARGE
	.no_dead_strip	_uint32_c2i
.subsections_via_symbols
