	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tdes_generatekey
_tdes_generatekey:                      ## @tdes_generatekey
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rbx
	xorl	%r14d, %r14d
	testq	%rbx, %rbx
	je	LBB0_5
## %bb.1:
	movq	%rsi, %r15
	movl	8(%rdi), %edi
	movq	%rbx, %rdx
	callq	_rand_priv_bytes_ex
	testq	%rax, %rax
	jle	LBB0_5
## %bb.2:
	movq	%r15, %rdi
	callq	_DES_set_odd_parity
	cmpq	$16, %rbx
	jb	LBB0_5
## %bb.3:
	leaq	4(%r15), %rdi
	callq	_DES_set_odd_parity
	cmpq	$24, %rbx
	jb	LBB0_5
## %bb.4:
	addq	$8, %r15
	movq	%r15, %rdi
	callq	_DES_set_odd_parity
	movl	$1, %r14d
LBB0_5:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_tdes_generatekey
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tdes_generatekey
_tdes_generatekey:                      ; @tdes_generatekey
	.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
	ldr	x20, [x0]
	cbz	x20, LBB0_5
; %bb.1:
	mov	x19, x1
	ldr	w0, [x0, #8]
	mov	x2, x20
	bl	_rand_priv_bytes_ex
	cmp	x0, #1
	b.lt	LBB0_5
; %bb.2:
	mov	x0, x19
	bl	_DES_set_odd_parity
	cmp	x20, #16
	b.lo	LBB0_5
; %bb.3:
	add	x0, x19, #4
	bl	_DES_set_odd_parity
	cmp	x20, #24
	b.lo	LBB0_5
; %bb.4:
	add	x0, x19, #8
	bl	_DES_set_odd_parity
	mov	w0, #1
	b	LBB0_6
LBB0_5:
	mov	w0, #0
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_tdes_generatekey
.subsections_via_symbols
