	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mpi_getbyte                    ## -- Begin function mpi_getbyte
	.p2align	4, 0x90
_mpi_getbyte:                           ## @mpi_getbyte
	.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
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	8(%rdi), %r10d
	movl	$-1, %eax
	testl	%r10d, %r10d
	jle	LBB0_14
## %bb.1:
	movq	(%rdi), %rbx
	movq	_BYTES_PER_MPI_LIMB@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r12d
	leal	-1(%r12), %r9d
	movl	%esi, %r11d
	negl	%r11d
	movl	%r12d, %r15d
	negl	%r15d
	xorl	%r8d, %r8d
	xorl	%r13d, %r13d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	subl	%edi, %r13d
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	incl	%r8d
	cmpl	%r10d, %r8d
	je	LBB0_14
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
                                        ##     Child Loop BB0_9 Depth 2
	testl	%r12d, %r12d
	jle	LBB0_13
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%esi, %ecx
	subl	%r13d, %ecx
	cmpl	%r9d, %ecx
	cmovael	%r9d, %ecx
	incl	%ecx
	xorl	%edi, %edi
	cmpl	$33, %ecx
	jae	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%ecx, %ecx
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %r14
	movl	%ecx, %edx
	andl	$31, %edx
	movl	$32, %ebx
	cmovel	%ebx, %edx
	subl	%edx, %ecx
	addl	%ecx, %r13d
	movl	%ecx, %edx
	.p2align	4, 0x90
LBB0_6:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	addl	$-32, %edx
	jne	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rbx
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	leal	(%r11,%r13), %edx
	leal	(%r15,%rcx), %r14d
	shll	$3, %ecx
	.p2align	4, 0x90
LBB0_9:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpl	%edi, %edx
	je	LBB0_10
## %bb.11:                              ##   in Loop: Header=BB0_9 Depth=2
	decl	%edi
	addl	$8, %ecx
	cmpl	%edi, %r14d
	jne	LBB0_9
	jmp	LBB0_12
LBB0_10:
	movl	%r8d, %eax
	movl	(%rbx,%rax,4), %eax
                                        ## kill: def $cl killed $cl killed $rcx
	sarl	%cl, %eax
	movzbl	%al, %eax
LBB0_14:
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BYTES_PER_MPI_LIMB,4,2         ## @BYTES_PER_MPI_LIMB
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mpi_getbyte                    ; -- Begin function mpi_getbyte
	.p2align	2
_mpi_getbyte:                           ; @mpi_getbyte
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0, #8]
	cmp	w8, #1
	b.lt	LBB0_12
; %bb.1:
	mov	w9, #0
	mov	w11, #0
	ldr	x10, [x0]
Lloh0:
	adrp	x12, _BYTES_PER_MPI_LIMB@GOTPAGE
Lloh1:
	ldr	x12, [x12, _BYTES_PER_MPI_LIMB@GOTPAGEOFF]
Lloh2:
	ldr	w12, [x12]
	sub	w13, w12, #1
	mov	w14, #64
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	w9, w9, #1
	cmp	w9, w8
	b.eq	LBB0_12
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
                                        ;     Child Loop BB0_9 Depth 2
	cmp	w12, #1
	b.lt	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	sub	w15, w1, w11
	cmp	w15, w13
	csel	w15, w15, w13, lo
	add	w15, w15, #1
	cmp	w15, #65
	b.hs	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w16, #0
	b	LBB0_8
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	ands	w16, w15, #0x3f
	csel	w16, w14, w16, eq
	sub	w16, w15, w16
	add	w11, w11, w16
	mov	x15, x16
LBB0_7:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	subs	w15, w15, #64
	b.ne	LBB0_7
LBB0_8:                                 ;   in Loop: Header=BB0_3 Depth=1
	lsl	w15, w16, #3
	sub	w16, w12, w16
LBB0_9:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	cmp	w1, w11
	b.eq	LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=2
	add	w11, w11, #1
	add	w15, w15, #8
	subs	w16, w16, #1
	b.ne	LBB0_9
	b	LBB0_2
LBB0_11:
	ldr	w8, [x10, w9, uxtw #2]
	asr	w8, w8, w15
	and	w0, w8, #0xff
	ret
LBB0_12:
	mov	w0, #-1
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_BYTES_PER_MPI_LIMB,4,2         ; @BYTES_PER_MPI_LIMB
.subsections_via_symbols
