	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_unpadblock                     ## -- Begin function unpadblock
	.p2align	4, 0x90
_unpadblock:                            ## @unpadblock
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpq	%rdx, (%rsi)
	jne	LBB0_1
## %bb.3:
	movzbl	-1(%rdx,%rdi), %eax
	testq	%rax, %rax
	je	LBB0_8
## %bb.4:
	cmpq	%rdx, %rax
	ja	LBB0_8
## %bb.5:
	leaq	(%rdx,%rdi), %r8
	decq	%r8
	subq	%rax, %rdx
	movq	%rax, %rdi
	negq	%rdi
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	cmpb	%al, (%r8,%rcx)
	jne	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_7 Depth=1
	decq	%rcx
	cmpq	%rcx, %rdi
	jne	LBB0_7
## %bb.9:
	movq	%rdx, (%rsi)
	movl	$1, %eax
	popq	%rbp
	retq
LBB0_1:
	movq	_ERR_LIB_PROV@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ERR_R_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_8:
	movq	_ERR_LIB_PROV@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_PROV_R_BAD_DECRYPT@GOTPCREL(%rip), %rax
LBB0_2:
	movl	(%rax), %esi
	callq	_ERR_raise
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ERR_LIB_PROV,4,2               ## @ERR_LIB_PROV
	.comm	_ERR_R_INTERNAL_ERROR,4,2       ## @ERR_R_INTERNAL_ERROR
	.comm	_PROV_R_BAD_DECRYPT,4,2         ## @PROV_R_BAD_DECRYPT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_unpadblock                     ; -- Begin function unpadblock
	.p2align	2
_unpadblock:                            ; @unpadblock
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	x8, [x1]
	cmp	x8, x2
	b.ne	LBB0_3
; %bb.1:
	add	x8, x2, x0
	ldrb	w9, [x8, #-1]!
	cmp	w9, #0
	ccmp	x9, x2, #2, ne
	b.ls	LBB0_5
LBB0_2:
Lloh0:
	adrp	x8, _ERR_LIB_PROV@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ERR_LIB_PROV@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _PROV_R_BAD_DECRYPT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PROV_R_BAD_DECRYPT@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
Lloh5:
	adrp	x8, _ERR_LIB_PROV@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ERR_LIB_PROV@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	adrp	x8, _ERR_R_INTERNAL_ERROR@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ERR_R_INTERNAL_ERROR@GOTPAGEOFF]
LBB0_4:
	ldr	w1, [x8]
	bl	_ERR_raise
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_5:
	sub	x10, x2, x9
	mov	x11, x9
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w12, [x8]
	cmp	w12, w9
	b.ne	LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	sub	x8, x8, #1
	subs	x11, x11, #1
	b.ne	LBB0_6
; %bb.8:
	str	x10, [x1]
	mov	w0, #1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_ERR_LIB_PROV,4,2               ; @ERR_LIB_PROV
	.comm	_ERR_R_INTERNAL_ERROR,4,2       ; @ERR_R_INTERNAL_ERROR
	.comm	_PROV_R_BAD_DECRYPT,4,2         ; @PROV_R_BAD_DECRYPT
.subsections_via_symbols
