	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nonce_function_test_retry
_nonce_function_test_retry:             ## @nonce_function_test_retry
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%r9d, %ebx
	movq	%rdi, %r14
	cmpl	$2, %r9d
	ja	LBB0_3
## %bb.1:
	testl	%ebx, %ebx
	movl	$255, %esi
	cmovel	%ebx, %esi
	movq	%r14, %rdi
	movl	$32, %edx
	callq	_memset
	movl	$1, %eax
	cmpl	$2, %ebx
	jne	LBB0_7
## %bb.2:
	decb	31(%r14)
	jmp	LBB0_7
LBB0_3:
	cmpl	$4, %ebx
	ja	LBB0_6
## %bb.4:
	leaq	_nonce_function_test_retry.order(%rip), %rsi
	movq	%r14, %rdi
	movl	$32, %edx
	callq	_memcpy
	movl	$1, %eax
	cmpl	$4, %ebx
	jne	LBB0_7
## %bb.5:
	incb	31(%r14)
	jmp	LBB0_7
LBB0_6:
	xorl	%eax, %eax
	cmpl	$5, %ebx
	jne	LBB0_7
## %bb.8:
	movq	%r14, %rdi
	xorl	%r9d, %r9d
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_nonce_function_rfc6979         ## TAILCALL
LBB0_7:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @nonce_function_test_retry.order
_nonce_function_test_retry.order:
	.ascii	"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\376\272\256\334\346\257H\240;\277\322^\214\3206AA"

	.no_dead_strip	_nonce_function_test_retry
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nonce_function_test_retry
_nonce_function_test_retry:             ; @nonce_function_test_retry
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x5
	mov	x19, x0
	cmp	w5, #2
	b.hi	LBB0_3
; %bb.1:
	mov	w8, #255
	cmp	w20, #0
	csel	w1, wzr, w8, eq
	mov	x0, x19
	mov	w2, #32
	bl	_memset
	cmp	w20, #2
	b.ne	LBB0_7
; %bb.2:
	ldrb	w8, [x19, #31]
	sub	w8, w8, #1
	b	LBB0_6
LBB0_3:
	cmp	w20, #4
	b.hi	LBB0_9
; %bb.4:
Lloh0:
	adrp	x1, _nonce_function_test_retry.order@PAGE
Lloh1:
	add	x1, x1, _nonce_function_test_retry.order@PAGEOFF
	mov	x0, x19
	mov	w2, #32
	bl	_memcpy
	cmp	w20, #4
	b.ne	LBB0_7
; %bb.5:
	ldrb	w8, [x19, #31]
	add	w8, w8, #1
LBB0_6:
	strb	w8, [x19, #31]
LBB0_7:
	mov	w0, #1
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_9:
	cmp	w20, #5
	b.ne	LBB0_11
; %bb.10:
	mov	x0, x19
	mov	w5, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_nonce_function_rfc6979
LBB0_11:
	mov	w0, #0
	b	LBB0_8
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
_nonce_function_test_retry.order:       ; @nonce_function_test_retry.order
	.ascii	"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\376\272\256\334\346\257H\240;\277\322^\214\3206AA"

	.no_dead_strip	_nonce_function_test_retry
.subsections_via_symbols
