	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gen_md5                        ## -- Begin function gen_md5
	.p2align	4, 0x90
_gen_md5:                               ## @gen_md5
	.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	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MD5SIZE@GOTPCREL(%rip), %r13
	movl	(%r13), %eax
	incl	%eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	movq	_groupname@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rsi
	callq	_fheader
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	_MD5KEYS@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_10
## %bb.1:
	movl	$1, %r15d
	leaq	-49(%rbp), %rbx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	xorl	%r14d, %r14d
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%r14d, %eax
	movb	$0, (%r12,%rax)
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	leaq	L_.str.2(%rip), %rsi
	movl	%r15d, %edx
	movq	%r12, %rcx
	xorl	%eax, %eax
	callq	_fprintf
	leal	1(%r15), %eax
	movq	_MD5KEYS@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %r15d
	movl	%eax, %r15d
	jge	LBB0_10
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
	cmpl	$0, (%r13)
	jle	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_5:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_ntp_crypto_random_buf
	cmpl	$-1, %eax
	je	LBB0_12
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=2
	movzbl	-49(%rbp), %eax
	cmpb	$35, %al
	je	LBB0_5
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=2
	leal	-33(%rax), %ecx
	cmpb	$93, %cl
	ja	LBB0_5
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=2
	movb	%al, (%r12,%r14)
	incq	%r14
	movslq	(%r13), %rax
	cmpq	%rax, %r14
	jl	LBB0_5
	jmp	LBB0_9
LBB0_10:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_fclose
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_13
## %bb.11:
	movl	$1, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	movq	_stderr@GOTPCREL(%rip), %rax
	movslq	(%rax), %rcx
	leaq	L_.str.1(%rip), %rdi
	movl	$32, %esi
	movl	$1, %edx
	callq	_fwrite
	movl	$-1, %edi
	callq	_exit
LBB0_13:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MD5SIZE,4,2                    ## @MD5SIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"MD5key"

	.comm	_groupname,4,2                  ## @groupname
	.comm	_MD5KEYS,4,2                    ## @MD5KEYS
	.comm	_stderr,4,2                     ## @stderr
L_.str.1:                               ## @.str.1
	.asciz	"ntp_crypto_random_buf() failed.\n"

L_.str.2:                               ## @.str.2
	.asciz	"%2d MD5 %s  # MD5 key\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gen_md5                        ; -- Begin function gen_md5
	.p2align	2
_gen_md5:                               ; @gen_md5
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	sub	sp, sp, #16
	mov	x1, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
Lloh3:
	adrp	x21, _MD5SIZE@GOTPAGE
Lloh4:
	ldr	x21, [x21, _MD5SIZE@GOTPAGEOFF]
	ldr	w8, [x21]
	add	w8, w8, #1
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x22, x9, x8
	mov	sp, x22
Lloh7:
	adrp	x8, _groupname@GOTPAGE
Lloh8:
	ldr	x8, [x8, _groupname@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x8]
Lloh10:
	adrp	x0, l_.str@PAGE
Lloh11:
	add	x0, x0, l_.str@PAGEOFF
	bl	_fheader
	mov	x19, x0
Lloh12:
	adrp	x23, _MD5KEYS@GOTPAGE
Lloh13:
	ldr	x23, [x23, _MD5KEYS@GOTPAGEOFF]
	ldr	w8, [x23]
	cmp	w8, #1
	b.lt	LBB0_10
; %bb.1:
	mov	w24, #1
Lloh14:
	adrp	x20, l_.str.2@PAGE
Lloh15:
	add	x20, x20, l_.str.2@PAGEOFF
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x25, #0
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	strb	wzr, [x22, w25, uxtw]
	stp	x24, x22, [sp, #-16]!
	mov	x0, x19
	mov	x1, x20
	bl	_fprintf
	add	sp, sp, #16
	add	w8, w24, #1
	ldr	w9, [x23]
	cmp	w24, w9
	mov	x24, x8
	b.ge	LBB0_10
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x25, #0
LBB0_6:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	sub	x0, x29, #73
	mov	w1, #1
	bl	_ntp_crypto_random_buf
	cmn	w0, #1
	b.eq	LBB0_12
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=2
	ldurb	w8, [x29, #-73]
	cmp	w8, #35
	b.eq	LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=2
	sub	w9, w8, #33
	cmp	w9, #93
	b.hi	LBB0_6
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=2
	strb	w8, [x22, x25]
	add	x25, x25, #1
	ldrsw	x8, [x21]
	cmp	x25, x8
	b.lt	LBB0_6
	b	LBB0_3
LBB0_10:
	mov	x0, x19
	bl	_fclose
	ldur	x8, [x29, #-72]
Lloh16:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh17:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_13
; %bb.11:
	mov	w0, #1
	sub	sp, x29, #64
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_12:
Lloh19:
	adrp	x8, _stderr@GOTPAGE
Lloh20:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh21:
	ldrsw	x3, [x8]
Lloh22:
	adrp	x0, l_.str.1@PAGE
Lloh23:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	w1, #32
	mov	w2, #1
	bl	_fwrite
	mov	w0, #-1
	bl	_exit
LBB0_13:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_MD5SIZE,4,2                    ; @MD5SIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"MD5key"

	.comm	_groupname,4,2                  ; @groupname
	.comm	_MD5KEYS,4,2                    ; @MD5KEYS
	.comm	_stderr,4,2                     ; @stderr
l_.str.1:                               ; @.str.1
	.asciz	"ntp_crypto_random_buf() failed.\n"

l_.str.2:                               ; @.str.2
	.asciz	"%2d MD5 %s  # MD5 key\n"

.subsections_via_symbols
