	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xdecrypt                       ## -- Begin function xdecrypt
	.p2align	4, 0x90
_xdecrypt:                              ## @xdecrypt
	.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	%rsi, %r12
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	callq	_strlen
	movl	%eax, %ebx
	shrl	$31, %ebx
	addl	%eax, %ebx
	sarl	%ebx
	movl	%ebx, %edi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r15
	movl	%ebx, %edi
	movq	%r14, %rsi
	movq	%rax, %rdx
	callq	_hex2bin
	leaq	-56(%rbp), %r13
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_passwd2des
	leaq	-64(%rbp), %r12
	movq	%r12, %rdi
	movl	$8, %esi
	callq	_bzero
	movq	_DES_DECRYPT@GOTPCREL(%rip), %rax
	movq	_DES_HW@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	%r13, %rdi
	movq	%r15, %rsi
	movl	%ebx, %edx
	movq	%r12, %r8
	callq	_cbc_crypt
	movl	%eax, %edi
	callq	_DES_FAILED
	xorl	%r12d, %r12d
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:
	movl	%ebx, %edi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_bin2hex
	movl	$1, %r12d
LBB0_4:
	movq	%r15, %rdi
	callq	_free
	jmp	LBB0_5
LBB0_1:
	xorl	%r12d, %r12d
LBB0_5:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_7
## %bb.6:
	movl	%r12d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_DES_DECRYPT,4,2                ## @DES_DECRYPT
	.comm	_DES_HW,4,2                     ## @DES_HW
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xdecrypt                       ; -- Begin function xdecrypt
	.p2align	2
_xdecrypt:                              ; @xdecrypt
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x22, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	bl	_strlen
	cmp	w0, #0
	cinc	w8, w0, lt
	asr	w21, w8, #1
	mov	x0, x21
	bl	_malloc
	cbz	x0, LBB0_3
; %bb.1:
	mov	x20, x0
	mov	x0, x21
	mov	x1, x19
	mov	x2, x20
	bl	_hex2bin
	add	x1, sp, #16
	mov	x0, x22
	bl	_passwd2des
	add	x0, sp, #8
	mov	w1, #8
	bl	_bzero
Lloh3:
	adrp	x8, _DES_DECRYPT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DES_DECRYPT@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _DES_HW@GOTPAGE
Lloh7:
	ldr	x9, [x9, _DES_HW@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w3, w9, w8
	add	x0, sp, #16
	add	x4, sp, #8
	mov	x1, x20
	mov	x2, x21
	bl	_cbc_crypt
	bl	_DES_FAILED
	cbz	x0, LBB0_4
; %bb.2:
	mov	w19, #0
	b	LBB0_5
LBB0_3:
	mov	w19, #0
	b	LBB0_6
LBB0_4:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	bl	_bin2hex
	mov	w19, #1
LBB0_5:
	mov	x0, x20
	bl	_free
LBB0_6:
	ldr	x8, [sp, #24]
Lloh9:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh10:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_8
; %bb.7:
	mov	x0, x19
	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
	add	sp, sp, #80
	ret
LBB0_8:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_DES_DECRYPT,4,2                ; @DES_DECRYPT
	.comm	_DES_HW,4,2                     ; @DES_HW
.subsections_via_symbols
