	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mpi_set_bit                    ## -- Begin function mpi_set_bit
	.p2align	4, 0x90
_mpi_set_bit:                           ## @mpi_set_bit
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %eax
	movq	_BITS_PER_MPI_LIMB@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	divl	(%rcx)
	movl	%eax, %r15d
	movl	%edx, %r12d
	movq	%rdi, %rbx
	xorl	%r14d, %r14d
	cmpl	(%rdi), %eax
	jb	LBB0_5
## %bb.1:
	leal	1(%r15), %r13d
	cmpl	%r15d, 4(%rbx)
	jb	LBB0_4
## %bb.2:
	movq	%rbx, %rdi
	movl	%r13d, %esi
	callq	_mpi_resize
	testq	%rax, %rax
	js	LBB0_3
LBB0_4:
	movl	%r13d, (%rbx)
LBB0_5:
	movq	_A_LIMB_1@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%r12d, %ecx
	shll	%cl, %eax
	movq	8(%rbx), %rcx
	movl	%r15d, %edx
	orl	%eax, (%rcx,%rdx,4)
LBB0_6:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_BITS_PER_MPI_LIMB,4,2          ## @BITS_PER_MPI_LIMB
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_A_LIMB_1,4,2                   ## @A_LIMB_1
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mpi_set_bit                    ; -- Begin function mpi_set_bit
	.p2align	2
_mpi_set_bit:                           ; @mpi_set_bit
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _BITS_PER_MPI_LIMB@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BITS_PER_MPI_LIMB@GOTPAGEOFF]
Lloh2:
	ldr	w23, [x8]
	udiv	w22, w1, w23
	ldr	w8, [x0]
	cmp	w22, w8
	b.lo	LBB0_4
; %bb.1:
	ldr	w8, [x19, #4]
	add	w21, w22, #1
	cmp	w8, w22
	b.lo	LBB0_3
; %bb.2:
	mov	x0, x19
	mov	x1, x21
	bl	_mpi_resize
	tbnz	x0, #63, LBB0_6
LBB0_3:
	str	w21, [x19]
LBB0_4:
	mov	w0, #0
	msub	w8, w22, w23, w20
Lloh3:
	adrp	x9, _A_LIMB_1@GOTPAGE
Lloh4:
	ldr	x9, [x9, _A_LIMB_1@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	lsl	w8, w9, w8
	ldr	x9, [x19, #8]
	lsl	x10, x22, #2
	ldr	w11, [x9, x10]
	orr	w8, w11, w8
	str	w8, [x9, x10]
LBB0_5:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_6:
Lloh6:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_BITS_PER_MPI_LIMB,4,2          ; @BITS_PER_MPI_LIMB
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_A_LIMB_1,4,2                   ; @A_LIMB_1
.subsections_via_symbols
