	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function secp256k1_fe_set_b32
_secp256k1_fe_set_b32:                  ## @secp256k1_fe_set_b32
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movzwl	30(%rsi), %eax
	rolw	$8, %ax
	movzwl	%ax, %eax
	movzbl	29(%rsi), %ecx
	shll	$16, %ecx
	orl	%eax, %ecx
	movzbl	28(%rsi), %r9d
	andl	$3, %r9d
	shll	$24, %r9d
	orl	%ecx, %r9d
	movq	(%rdi), %r11
	movl	%r9d, (%r11)
	movzbl	28(%rsi), %eax
	shrl	$2, %eax
	movzbl	27(%rsi), %ecx
	shll	$6, %ecx
	orl	%eax, %ecx
	movzbl	26(%rsi), %eax
	shll	$14, %eax
	orl	%ecx, %eax
	movzbl	25(%rsi), %r8d
	andl	$15, %r8d
	shll	$22, %r8d
	orl	%eax, %r8d
	movl	%r8d, 4(%r11)
	movzbl	25(%rsi), %eax
	shrl	$4, %eax
	movzbl	24(%rsi), %ecx
	shll	$4, %ecx
	orl	%eax, %ecx
	movzbl	23(%rsi), %eax
	shll	$12, %eax
	orl	%ecx, %eax
	movzbl	22(%rsi), %r10d
	andl	$63, %r10d
	shll	$20, %r10d
	orl	%eax, %r10d
	movl	%r10d, 8(%r11)
	movzbl	22(%rsi), %eax
	shrl	$6, %eax
	movzbl	21(%rsi), %ecx
	leal	(%rax,%rcx,4), %eax
	movzbl	20(%rsi), %edx
	shll	$10, %edx
	orl	%eax, %edx
	movzbl	19(%rsi), %r12d
	shll	$18, %r12d
	orl	%edx, %r12d
	movl	%r12d, 12(%r11)
	movzwl	17(%rsi), %eax
	rolw	$8, %ax
	movzwl	%ax, %eax
	movzbl	16(%rsi), %edx
	shll	$16, %edx
	orl	%eax, %edx
	movzbl	15(%rsi), %r14d
	andl	$3, %r14d
	shll	$24, %r14d
	orl	%edx, %r14d
	movl	%r14d, 16(%r11)
	movzbl	15(%rsi), %eax
	shrl	$2, %eax
	movzbl	14(%rsi), %edx
	shll	$6, %edx
	orl	%eax, %edx
	movzbl	13(%rsi), %eax
	shll	$14, %eax
	orl	%edx, %eax
	movzbl	12(%rsi), %r15d
	andl	$15, %r15d
	shll	$22, %r15d
	orl	%eax, %r15d
	movl	%r15d, 20(%r11)
	movzbl	12(%rsi), %eax
	shrl	$4, %eax
	movzbl	11(%rsi), %edx
	shll	$4, %edx
	orl	%eax, %edx
	movzbl	10(%rsi), %eax
	shll	$12, %eax
	orl	%edx, %eax
	movzbl	9(%rsi), %edx
	andl	$63, %edx
	shll	$20, %edx
	orl	%eax, %edx
	movl	%edx, 24(%r11)
	movzbl	9(%rsi), %eax
	shrl	$6, %eax
	movzbl	8(%rsi), %ebx
	leal	(%rax,%rbx,4), %ebx
	movzbl	7(%rsi), %eax
	shll	$10, %eax
	orl	%ebx, %eax
	movzbl	6(%rsi), %ebx
	shll	$18, %ebx
	orl	%eax, %ebx
	movl	%ebx, 28(%r11)
	movzwl	4(%rsi), %eax
	rolw	$8, %ax
	movzwl	%ax, %eax
	movzbl	3(%rsi), %edi
	shll	$16, %edi
	orl	%eax, %edi
	movzbl	2(%rsi), %eax
	andl	$3, %eax
	shll	$24, %eax
	orl	%edi, %eax
	movl	%eax, 32(%r11)
	movzbl	2(%rsi), %edi
	shrl	$2, %edi
	movzbl	1(%rsi), %ecx
	shll	$6, %ecx
	orl	%edi, %ecx
	movzbl	(%rsi), %esi
	shll	$14, %esi
	orl	%ecx, %esi
	movl	%esi, 36(%r11)
	cmpl	$4194303, %esi                  ## imm = 0x3FFFFF
	jne	LBB0_3
## %bb.1:
	andl	%r10d, %r12d
	andl	%r14d, %r12d
	andl	%r15d, %r12d
	andl	%edx, %r12d
	andl	%ebx, %r12d
	andl	%eax, %r12d
	cmpl	$67108863, %r12d                ## imm = 0x3FFFFFF
	jne	LBB0_3
## %bb.2:
	addl	$977, %r9d                      ## imm = 0x3D1
	shrl	$26, %r9d
	leal	(%r8,%r9), %ecx
	addl	$64, %ecx
	xorl	%eax, %eax
	cmpl	$67108863, %ecx                 ## imm = 0x3FFFFFF
	ja	LBB0_4
LBB0_3:
	movl	$1, %eax
LBB0_4:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_secp256k1_fe_set_b32
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function secp256k1_fe_set_b32
_secp256k1_fe_set_b32:                  ; @secp256k1_fe_set_b32
	.cfi_startproc
; %bb.0:
	ldrh	w8, [x1, #30]
	rev	w8, w8
	ldrb	w9, [x1, #29]
	extr	w8, w9, w8, #16
	ldrb	w9, [x1, #28]
	and	w9, w9, #0x3
	orr	w8, w8, w9, lsl #24
	ldr	x10, [x0]
	str	w8, [x10]
	ldrb	w9, [x1, #28]
	lsr	w9, w9, #2
	ldrb	w11, [x1, #27]
	bfi	w9, w11, #6, #8
	ldrb	w11, [x1, #26]
	bfi	w9, w11, #14, #8
	ldrb	w11, [x1, #25]
	and	w11, w11, #0xf
	bfi	w9, w11, #22, #4
	str	w9, [x10, #4]
	ldrb	w11, [x1, #25]
	lsr	w11, w11, #4
	ldrb	w12, [x1, #24]
	bfi	w11, w12, #4, #8
	ldrb	w12, [x1, #23]
	bfi	w11, w12, #12, #8
	ldrb	w12, [x1, #22]
	and	w12, w12, #0x3f
	bfi	w11, w12, #20, #6
	str	w11, [x10, #8]
	ldrb	w12, [x1, #22]
	lsr	w12, w12, #6
	ldrb	w13, [x1, #21]
	bfi	w12, w13, #2, #8
	ldrb	w13, [x1, #20]
	bfi	w12, w13, #10, #8
	ldrb	w13, [x1, #19]
	bfi	w12, w13, #18, #8
	str	w12, [x10, #12]
	ldurh	w13, [x1, #17]
	rev	w13, w13
	ldrb	w14, [x1, #16]
	extr	w13, w14, w13, #16
	ldrb	w14, [x1, #15]
	and	w14, w14, #0x3
	orr	w13, w13, w14, lsl #24
	str	w13, [x10, #16]
	ldrb	w14, [x1, #15]
	lsr	w14, w14, #2
	ldrb	w15, [x1, #14]
	bfi	w14, w15, #6, #8
	ldrb	w15, [x1, #13]
	bfi	w14, w15, #14, #8
	ldrb	w15, [x1, #12]
	and	w15, w15, #0xf
	bfi	w14, w15, #22, #4
	str	w14, [x10, #20]
	ldrb	w15, [x1, #12]
	lsr	w15, w15, #4
	ldrb	w16, [x1, #11]
	bfi	w15, w16, #4, #8
	ldrb	w16, [x1, #10]
	bfi	w15, w16, #12, #8
	ldrb	w16, [x1, #9]
	and	w16, w16, #0x3f
	bfi	w15, w16, #20, #6
	str	w15, [x10, #24]
	ldrb	w16, [x1, #9]
	lsr	w16, w16, #6
	ldrb	w17, [x1, #8]
	bfi	w16, w17, #2, #8
	ldrb	w17, [x1, #7]
	bfi	w16, w17, #10, #8
	ldrb	w17, [x1, #6]
	bfi	w16, w17, #18, #8
	str	w16, [x10, #28]
	ldrh	w17, [x1, #4]
	rev	w17, w17
	ldrb	w0, [x1, #3]
	extr	w17, w0, w17, #16
	ldrb	w0, [x1, #2]
	and	w0, w0, #0x3
	orr	w17, w17, w0, lsl #24
	str	w17, [x10, #32]
	ldrb	w0, [x1, #2]
	lsr	w0, w0, #2
	ldrb	w2, [x1, #1]
	bfi	w0, w2, #6, #8
	ldrb	w1, [x1]
	bfi	w0, w1, #14, #8
	str	w0, [x10, #36]
	mov	w10, #4194303
	cmp	w0, w10
	b.ne	LBB0_4
; %bb.1:
	and	w10, w12, w11
	and	w10, w10, w13
	and	w10, w10, w14
	and	w10, w10, w15
	and	w10, w10, w16
	and	w10, w10, w17
	mov	w11, #67108863
	cmp	w10, w11
	b.ne	LBB0_4
; %bb.2:
	add	w8, w8, #977
	add	w8, w9, w8, lsr #26
	add	w8, w8, #64
	lsr	w8, w8, #26
	cbz	w8, LBB0_4
; %bb.3:
	mov	w0, #0
	ret
LBB0_4:
	mov	w0, #1
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_secp256k1_fe_set_b32
.subsections_via_symbols
