	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function generate_aes_key
_generate_aes_key:                      ## @generate_aes_key
	.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	%r12
	pushq	%rbx
	subq	$96, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	xorl	%eax, %eax
	callq	_rdtsc
	movq	%rax, -128(%rbp)
	movq	_CLOCK_REALTIME@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-120(%rbp), %rbx
	movq	%rbx, %rsi
	callq	_clock_gettime
	shrq	$63, %rax
	xorl	$1, %eax
	movl	%eax, %edi
	callq	_assert
	leaq	-112(%rbp), %r12
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movl	$4, %edx
	xorl	%eax, %eax
	callq	_memcpy
	leaq	-108(%rbp), %rdi
	leaq	-118(%rbp), %rsi
	movl	$4, %edx
	xorl	%eax, %eax
	callq	_memcpy
	leaq	-104(%rbp), %rdi
	leaq	-128(%rbp), %rsi
	movl	$8, %edx
	xorl	%eax, %eax
	callq	_memcpy
	xorl	%eax, %eax
	callq	_getpid
	movw	%ax, -114(%rbp)
	leaq	-96(%rbp), %rdi
	leaq	-114(%rbp), %rsi
	movl	$2, %edx
	xorl	%eax, %eax
	callq	_memcpy
	leaq	-94(%rbp), %rdi
	movl	$32, %esi
	callq	_get_random_bytes
                                        ## kill: def $eax killed $eax def $rax
	leal	18(%rax), %esi
	movq	%r12, %rdi
	callq	_RAND_seed
	movq	%r15, %rdi
	movl	$32, %esi
	callq	_RAND_bytes
	movl	%eax, %edi
	callq	_assert
	movq	%r14, %rdi
	movl	$32, %esi
	callq	_RAND_pseudo_bytes
	movl	%eax, %edi
	callq	_assert
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	addq	$96, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_CLOCK_REALTIME,4,2             ## @CLOCK_REALTIME
	.no_dead_strip	_generate_aes_key
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function generate_aes_key
_generate_aes_key:                      ; @generate_aes_key
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
	bl	_rdtsc
	str	x0, [sp, #32]
Lloh3:
	adrp	x8, _CLOCK_REALTIME@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CLOCK_REALTIME@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	add	x21, sp, #24
	add	x1, sp, #24
	bl	_clock_gettime
	lsr	x8, x0, #63
	eor	w0, w8, #0x1
	bl	_assert
	mov	w22, #4
	stp	x21, x22, [sp]
	add	x23, sp, #40
	add	x0, sp, #40
	bl	_memcpy
	add	x0, x23, #4
	orr	x8, x21, #0x2
	stp	x8, x22, [sp]
	bl	_memcpy
	add	x0, x23, #8
	mov	w8, #8
	add	x9, sp, #32
	stp	x9, x8, [sp]
	bl	_memcpy
	bl	_getpid
	strh	w0, [sp, #22]
	add	x0, x23, #16
	mov	w8, #2
	add	x9, sp, #22
	stp	x9, x8, [sp]
	bl	_memcpy
	add	x0, x23, #18
	mov	w1, #32
	bl	_get_random_bytes
	add	w1, w0, #18
	add	x0, sp, #40
	bl	_RAND_seed
	mov	x0, x20
	mov	w1, #32
	bl	_RAND_bytes
	bl	_assert
	mov	x0, x19
	mov	w1, #32
	bl	_RAND_pseudo_bytes
	bl	_assert
	ldur	x8, [x29, #-56]
Lloh6:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh7:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.1:
	mov	w0, #0
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
LBB0_2:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CLOCK_REALTIME,4,2             ; @CLOCK_REALTIME
	.no_dead_strip	_generate_aes_key
.subsections_via_symbols
