	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cookie_gen
_cookie_gen:                            ## @cookie_gen
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_COOKIE_LEN@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_1
## %bb.2:
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movb	%cl, (%rsi,%rcx)
	movl	(%rax), %edi
	incq	%rcx
	cmpl	%edi, %ecx
	jb	LBB0_3
	jmp	LBB0_4
LBB0_1:
	xorl	%edi, %edi
LBB0_4:
	movl	%edi, (%rdx)
	movl	$1, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_COOKIE_LEN,4,2                 ## @COOKIE_LEN
	.no_dead_strip	_cookie_gen
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cookie_gen
_cookie_gen:                            ; @cookie_gen
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _COOKIE_LEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _COOKIE_LEN@GOTPAGEOFF]
	ldr	w9, [x8]
	cbz	w9, LBB0_3
; %bb.1:
	mov	x10, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	strb	w10, [x1, x10]
	ldr	w9, [x8]
	add	x10, x10, #1
	cmp	w10, w9
	b.lo	LBB0_2
LBB0_3:
	str	w9, [x2]
	mov	w0, #1
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_COOKIE_LEN,4,2                 ; @COOKIE_LEN
	.no_dead_strip	_cookie_gen
.subsections_via_symbols
