	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function convert_to_bignum
_convert_to_bignum:                     ## @convert_to_bignum
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	.cfi_offset %rbx, -24
	movq	_CHARS_PER_LITTLENUM@GOTPCREL(%rip), %r8
	xorl	%r9d, %r9d
	cmpl	$4, (%r8)
	ja	LBB0_6
## %bb.1:
	movl	(%rdi), %esi
	movq	_generic_bignum@GOTPCREL(%rip), %rax
	movq	(%rax), %r10
	xorl	%r9d, %r9d
	movq	_LITTLENUM_MASK@GOTPCREL(%rip), %r11
	movq	_LITTLENUM_NUMBER_OF_BITS@GOTPCREL(%rip), %rbx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	$4, %eax
	xorl	%edx, %edx
	divl	%ecx
                                        ## kill: def $eax killed $eax def $rax
	cmpq	%r9, %rax
	jbe	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r11), %eax
	andl	%esi, %eax
	movl	%eax, (%r10,%r9,4)
	movzbl	(%rbx), %ecx
	sarl	%cl, %esi
	incl	%r9d
	movslq	(%r8), %rcx
	cmpq	$4, %rcx
	jbe	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	cmpq	%r9, %rax
	ja	LBB0_2
LBB0_6:
	movl	(%rdi), %eax
	shrl	$31, %eax
	movq	8(%rdi), %rdx
	xorl	%ecx, %ecx
	testq	%rdx, %rdx
	sete	%cl
	cmpl	%ecx, %eax
	je	LBB0_10
## %bb.7:
	xorl	%ecx, %ecx
	movl	%r9d, %eax
	testq	%rdx, %rdx
	jne	LBB0_9
## %bb.8:
	movq	_LITTLENUM_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_9:
	movq	_generic_bignum@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	incl	%r9d
	movl	%ecx, (%rdx,%rax,4)
LBB0_10:
	movq	_O_big@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rdi)
	movl	%r9d, (%rdi)
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CHARS_PER_LITTLENUM,4,2        ## @CHARS_PER_LITTLENUM
	.comm	_LITTLENUM_MASK,4,2             ## @LITTLENUM_MASK
	.comm	_generic_bignum,8,3             ## @generic_bignum
	.comm	_LITTLENUM_NUMBER_OF_BITS,4,2   ## @LITTLENUM_NUMBER_OF_BITS
	.comm	_O_big,4,2                      ## @O_big
	.no_dead_strip	_convert_to_bignum
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function convert_to_bignum
_convert_to_bignum:                     ; @convert_to_bignum
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x11, _CHARS_PER_LITTLENUM@GOTPAGE
Lloh1:
	ldr	x11, [x11, _CHARS_PER_LITTLENUM@GOTPAGEOFF]
	ldr	w8, [x11]
Lloh2:
	adrp	x10, _LITTLENUM_MASK@GOTPAGE
Lloh3:
	ldr	x10, [x10, _LITTLENUM_MASK@GOTPAGEOFF]
Lloh4:
	adrp	x9, _generic_bignum@GOTPAGE
Lloh5:
	ldr	x9, [x9, _generic_bignum@GOTPAGEOFF]
	cmp	w8, #4
	b.ls	LBB0_2
; %bb.1:
	mov	w8, #0
	b	LBB0_4
LBB0_2:
	mov	x8, #0
	ldr	w12, [x0]
	ldr	x13, [x9]
	mov	w14, #4
Lloh6:
	adrp	x15, _LITTLENUM_NUMBER_OF_BITS@GOTPAGE
Lloh7:
	ldr	x15, [x15, _LITTLENUM_NUMBER_OF_BITS@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w16, [x10]
	and	w16, w16, w12
	str	w16, [x13, x8, lsl #2]
	ldr	w16, [x15]
	asr	w12, w12, w16
	add	w8, w8, #1
	ldrsw	x16, [x11]
	udiv	x16, x14, x16
	cmp	x16, x8
	b.hi	LBB0_3
LBB0_4:
	ldr	w12, [x0]
	ldr	x11, [x0, #8]
	cmp	x11, #0
	cset	w13, eq
	cmp	w13, w12, lsr #31
	b.eq	LBB0_6
; %bb.5:
	ldr	w10, [x10]
	cmp	x11, #0
	csel	w10, w10, wzr, eq
	ldr	x9, [x9]
	str	w10, [x9, w8, uxtw #2]
	add	w8, w8, #1
                                        ; kill: def $w8 killed $w8 def $x8
LBB0_6:
Lloh8:
	adrp	x9, _O_big@GOTPAGE
Lloh9:
	ldr	x9, [x9, _O_big@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	stp	w8, w9, [x0]
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_CHARS_PER_LITTLENUM,4,2        ; @CHARS_PER_LITTLENUM
	.comm	_LITTLENUM_MASK,4,2             ; @LITTLENUM_MASK
	.comm	_generic_bignum,8,3             ; @generic_bignum
	.comm	_LITTLENUM_NUMBER_OF_BITS,4,2   ; @LITTLENUM_NUMBER_OF_BITS
	.comm	_O_big,4,2                      ; @O_big
	.no_dead_strip	_convert_to_bignum
.subsections_via_symbols
