	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dhm_update_blinding
_dhm_update_blinding:                   ## @dhm_update_blinding
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movq	%rsi, %r13
	movq	%rdi, %r15
	leaq	8(%rdi), %r14
	leaq	20(%rdi), %rbx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_mbedtls_mpi_cmp_mpi
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_mbedtls_mpi_copy
	movl	%eax, %edi
	callq	_MBEDTLS_MPI_CHK
	leaq	16(%r15), %rdi
	movl	$1, %esi
	callq	_mbedtls_mpi_lset
	movl	%eax, %edi
	callq	_MBEDTLS_MPI_CHK
	addq	$12, %r15
	movq	%r15, %rdi
	movl	$1, %esi
	callq	_mbedtls_mpi_lset
	jmp	LBB0_2
LBB0_3:
	leaq	16(%r15), %rbx
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_mbedtls_mpi_cmp_int
	testq	%rax, %rax
	je	LBB0_4
## %bb.13:
	movq	%rbx, %rdi
	movq	%rbx, %rsi
	movq	%rbx, %rdx
	callq	_mbedtls_mpi_mul_mpi
	movl	%eax, %edi
	callq	_MBEDTLS_MPI_CHK
	leaq	4(%r15), %r14
	movq	%rbx, %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	callq	_mbedtls_mpi_mod_mpi
	movl	%eax, %edi
	callq	_MBEDTLS_MPI_CHK
	addq	$12, %r15
	movq	%r15, %rdi
	movq	%r15, %rsi
	movq	%r15, %rdx
	callq	_mbedtls_mpi_mul_mpi
	movl	%eax, %edi
	callq	_MBEDTLS_MPI_CHK
	movq	%r15, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_mbedtls_mpi_mod_mpi
LBB0_2:
	movl	%eax, %edi
	callq	_MBEDTLS_MPI_CHK
	xorl	%eax, %eax
LBB0_12:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	leaq	4(%r15), %r14
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_7 Depth 2
	movq	%r14, %rdi
	callq	_mbedtls_mpi_size
	movq	%rbx, %rdi
	movl	%eax, %esi
	movq	%r13, %rdx
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	callq	_mbedtls_mpi_fill_random
	.p2align	4, 0x90
LBB0_7:                                 ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%eax, %edi
	callq	_MBEDTLS_MPI_CHK
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_mbedtls_mpi_cmp_mpi
	testq	%rax, %rax
	js	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_7 Depth=2
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_mbedtls_mpi_shift_r
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	cmpl	$11, %r12d
	je	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_5 Depth=1
	incl	%r12d
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_mbedtls_mpi_cmp_int
	testq	%rax, %rax
	jle	LBB0_5
## %bb.11:
	leaq	12(%r15), %r12
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	callq	_mbedtls_mpi_inv_mod
	movl	%eax, %edi
	callq	_MBEDTLS_MPI_CHK
	movq	%r12, %rdi
	movq	%r12, %rsi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	%r14, %rcx
	movq	%r15, %r8
	callq	_mbedtls_mpi_exp_mod
	movl	%eax, %edi
	callq	_MBEDTLS_MPI_CHK
                                        ## implicit-def: $eax
	jmp	LBB0_12
LBB0_9:
	movq	_MBEDTLS_ERR_MPI_NOT_ACCEPTABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.comm	_MBEDTLS_ERR_MPI_NOT_ACCEPTABLE,4,2 ## @MBEDTLS_ERR_MPI_NOT_ACCEPTABLE
	.no_dead_strip	_dhm_update_blinding
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dhm_update_blinding
_dhm_update_blinding:                   ; @dhm_update_blinding
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x22, x2
	mov	x23, x1
	mov	x19, x0
	add	x20, x0, #8
	add	x21, x0, #20
	mov	x0, x20
	mov	x1, x21
	bl	_mbedtls_mpi_cmp_mpi
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x21
	mov	x1, x20
	bl	_mbedtls_mpi_copy
	bl	_MBEDTLS_MPI_CHK
	add	x0, x19, #16
	mov	w1, #1
	bl	_mbedtls_mpi_lset
	bl	_MBEDTLS_MPI_CHK
	add	x0, x19, #12
	mov	w1, #1
	bl	_mbedtls_mpi_lset
	b	LBB0_4
LBB0_2:
	add	x21, x19, #16
	mov	x0, x21
	mov	w1, #1
	bl	_mbedtls_mpi_cmp_int
	cbz	x0, LBB0_6
; %bb.3:
	mov	x0, x21
	mov	x1, x21
	mov	x2, x21
	bl	_mbedtls_mpi_mul_mpi
	bl	_MBEDTLS_MPI_CHK
	add	x20, x19, #4
	mov	x0, x21
	mov	x1, x21
	mov	x2, x20
	bl	_mbedtls_mpi_mod_mpi
	bl	_MBEDTLS_MPI_CHK
	add	x19, x19, #12
	mov	x0, x19
	mov	x1, x19
	mov	x2, x19
	bl	_mbedtls_mpi_mul_mpi
	bl	_MBEDTLS_MPI_CHK
	mov	x0, x19
	mov	x1, x19
	mov	x2, x20
	bl	_mbedtls_mpi_mod_mpi
LBB0_4:
	bl	_MBEDTLS_MPI_CHK
	mov	w0, #0
LBB0_5:
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_6:
	mov	w25, #0
	add	x24, x19, #4
LBB0_7:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
	mov	x0, x24
	bl	_mbedtls_mpi_size
	mov	x1, x0
	mov	x0, x21
	mov	x2, x23
	mov	x3, x22
	bl	_mbedtls_mpi_fill_random
LBB0_8:                                 ;   Parent Loop BB0_7 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	bl	_MBEDTLS_MPI_CHK
	mov	x0, x21
	mov	x1, x24
	bl	_mbedtls_mpi_cmp_mpi
	tbnz	x0, #63, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=2
	mov	x0, x21
	mov	w1, #1
	bl	_mbedtls_mpi_shift_r
	b	LBB0_8
LBB0_10:                                ;   in Loop: Header=BB0_7 Depth=1
	cmp	w25, #11
	b.eq	LBB0_13
; %bb.11:                               ;   in Loop: Header=BB0_7 Depth=1
	add	w25, w25, #1
	mov	x0, x21
	mov	w1, #1
	bl	_mbedtls_mpi_cmp_int
	cmp	x0, #1
	b.lt	LBB0_7
; %bb.12:
	add	x22, x19, #12
	mov	x0, x22
	mov	x1, x21
	mov	x2, x24
	bl	_mbedtls_mpi_inv_mod
	bl	_MBEDTLS_MPI_CHK
	mov	x0, x22
	mov	x1, x22
	mov	x2, x20
	mov	x3, x24
	mov	x4, x19
	bl	_mbedtls_mpi_exp_mod
	bl	_MBEDTLS_MPI_CHK
                                        ; implicit-def: $w0
	b	LBB0_5
LBB0_13:
Lloh0:
	adrp	x8, _MBEDTLS_ERR_MPI_NOT_ACCEPTABLE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MBEDTLS_ERR_MPI_NOT_ACCEPTABLE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MBEDTLS_ERR_MPI_NOT_ACCEPTABLE,4,2 ; @MBEDTLS_ERR_MPI_NOT_ACCEPTABLE
	.no_dead_strip	_dhm_update_blinding
.subsections_via_symbols
