	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function generate_requests
LCPI0_0:
	.space	16
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_generate_requests:                     ## @generate_requests
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r13d
	movq	%rdi, %r14
	leaq	-44(%rbp), %rdi
	callq	_krb5_init_context
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	movq	%rax, %rdx
	callq	_errx
LBB0_2:
	leaq	-56(%rbp), %rsi
	movq	%r14, %rdi
	callq	_read_words
	testl	%r13d, %r13d
	je	LBB0_9
## %bb.3:
	movl	%eax, %r14d
	leaq	-60(%rbp), %r15
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	movl	-44(%rbp), %edi
	movl	-48(%rbp), %esi
	callq	_krb5_free_principal
	decl	%r13d
	je	LBB0_9
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	-56(%rbp), %rbx
	xorl	%eax, %eax
	callq	_rand
	xorl	%edx, %edx
	divl	%r14d
                                        ## kill: def $edx killed $edx def $rdx
	movq	(%rbx,%rdx,8), %r12
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movl	-44(%rbp), %edi
	movq	%r12, %rsi
	leaq	-48(%rbp), %rdx
	callq	_krb5_parse_name
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	-44(%rbp), %edi
	movl	$1, %esi
	movq	%rax, %rdx
	leaq	L_.str.1(%rip), %rcx
	movq	%r12, %r8
	callq	_krb5_err
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	movl	-44(%rbp), %edi
	movl	-48(%rbp), %edx
	xorps	%xmm0, %xmm0
	movups	%xmm0, 8(%rsp)
	movl	$0, (%rsp)
	movq	%r15, %rsi
	leaq	L_.str.2(%rip), %rcx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_krb5_get_init_creds_password
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	-44(%rbp), %edi
	movq	%r15, %rsi
	callq	_krb5_free_cred_contents
	jmp	LBB0_8
LBB0_9:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"krb5_init_context failed: %d"

L_.str.1:                               ## @.str.1
	.asciz	"krb5_parse_name %s"

L_.str.2:                               ## @.str.2
	.space	1

	.no_dead_strip	_generate_requests
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function generate_requests
_generate_requests:                     ; @generate_requests
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	add	x0, sp, #24
	bl	_krb5_init_context
	cbz	x0, LBB0_2
; %bb.1:
	mov	x2, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_errx
LBB0_2:
	add	x1, sp, #8
	mov	x0, x20
	bl	_read_words
	cbz	w19, LBB0_9
; %bb.3:
	mov	x20, x0
Lloh2:
	adrp	x21, l_.str.2@PAGE
Lloh3:
	add	x21, x21, l_.str.2@PAGEOFF
Lloh4:
	adrp	x22, l_.str.1@PAGE
Lloh5:
	add	x22, x22, l_.str.1@PAGEOFF
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldp	w0, w1, [sp, #24]
	bl	_krb5_free_principal
	subs	w19, w19, #1
	b.eq	LBB0_9
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x23, [sp, #8]
	bl	_rand
	udiv	w8, w0, w20
	msub	w8, w8, w20, w0
	ldr	x23, [x23, w8, uxtw #3]
	add	x0, sp, #20
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	ldr	w0, [sp, #24]
	add	x2, sp, #28
	mov	x1, x23
	bl	_krb5_parse_name
	cbz	x0, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x2, x0
	ldr	w0, [sp, #24]
	mov	w1, #1
	mov	x3, x22
	mov	x4, x23
	bl	_krb5_err
LBB0_7:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldp	w0, w2, [sp, #24]
	str	xzr, [sp]
	add	x1, sp, #20
	mov	x3, x21
	mov	x4, #0
	mov	x5, #0
	mov	w6, #0
	mov	x7, #0
	bl	_krb5_get_init_creds_password
	cbz	x0, LBB0_4
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [sp, #24]
	add	x1, sp, #20
	bl	_krb5_free_cred_contents
	b	LBB0_4
LBB0_9:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"krb5_init_context failed: %d"

l_.str.1:                               ; @.str.1
	.asciz	"krb5_parse_name %s"

l_.str.2:                               ; @.str.2
	.space	1

	.no_dead_strip	_generate_requests
.subsections_via_symbols
