	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function generate_requests
_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	-80(%rbp), %rsi
	movq	%r14, %rdi
	callq	_read_words
	testl	%r13d, %r13d
	je	LBB0_14
## %bb.3:
	movl	%eax, %r14d
	leaq	-96(%rbp), %r15
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	-72(%rbp), %rdi
	callq	_free
	movq	-64(%rbp), %rdi
	callq	_free
	movl	-44(%rbp), %edi
	movq	%r15, %rsi
	callq	_krb5_free_cred_contents
	movl	-44(%rbp), %edi
	movq	-56(%rbp), %rsi
	callq	_krb5_get_init_creds_opt_free
	decl	%r13d
	je	LBB0_14
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	-80(%rbp), %rbx
	xorl	%eax, %eax
	callq	_rand
	xorl	%edx, %edx
	divl	%r14d
                                        ## kill: def $edx killed $edx def $rdx
	movq	(%rbx,%rdx,8), %r12
	movl	-44(%rbp), %edi
	leaq	-56(%rbp), %rsi
	callq	_krb5_get_init_creds_opt_alloc
	movq	-56(%rbp), %rdi
	movl	$300, %esi                      ## imm = 0x12C
	callq	_krb5_get_init_creds_opt_set_tkt_life
	movq	-56(%rbp), %rdi
	movq	_FALSE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	callq	_krb5_get_init_creds_opt_set_forwardable
	movq	-56(%rbp), %rdi
	movl	(%rbx), %esi
	callq	_krb5_get_init_creds_opt_set_proxiable
	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
	xorl	%eax, %eax
	callq	_krb5_err
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	leaq	-72(%rbp), %rdi
	leaq	L_.str.2(%rip), %rsi
	movq	%r12, %rdx
	callq	_asprintf
	leaq	-64(%rbp), %rdi
	leaq	L_.str.3(%rip), %rsi
	movq	%r12, %rdx
	callq	_asprintf
	movl	-44(%rbp), %edi
	movl	-48(%rbp), %edx
	movq	-72(%rbp), %rcx
	movq	_nop_prompter@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	subq	$8, %rsp
	movq	%r15, %rsi
	xorl	%r9d, %r9d
	pushq	-56(%rbp)
	leaq	L_.str.4(%rip), %rax
	pushq	%rax
	pushq	$0
	callq	_krb5_get_init_creds_password
	addq	$32, %rsp
	movq	_KRB5KRB_AP_ERR_BAD_INTEGRITY@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	_KRB5KRB_AP_ERR_MODIFIED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_9
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	-64(%rbp), %rcx
	movq	-72(%rbp), %rax
	movq	%rax, -64(%rbp)
	movq	%rcx, -72(%rbp)
	movl	-44(%rbp), %edi
	movl	-48(%rbp), %edx
	movq	_nop_prompter@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	subq	$8, %rsp
	movq	%r15, %rsi
	xorl	%r9d, %r9d
	pushq	-56(%rbp)
	leaq	L_.str.4(%rip), %rax
	pushq	%rax
	pushq	$0
	callq	_krb5_get_init_creds_password
	addq	$32, %rsp
LBB0_9:                                 ##   in Loop: Header=BB0_4 Depth=1
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_4 Depth=1
	movl	-44(%rbp), %edi
	movl	$1, %esi
	movq	%rax, %rdx
	leaq	L_.str.5(%rip), %rcx
	xorl	%eax, %eax
	callq	_krb5_err
LBB0_11:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	-44(%rbp), %edi
	movl	-48(%rbp), %esi
	callq	_krb5_free_principal
	movl	-44(%rbp), %edi
	movq	-64(%rbp), %rdx
	subq	$8, %rsp
	movq	%r15, %rsi
	xorl	%ecx, %ecx
	leaq	-92(%rbp), %r8
	leaq	-88(%rbp), %r9
	leaq	-84(%rbp), %rax
	pushq	%rax
	callq	_krb5_set_password
	addq	$16, %rsp
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_4 Depth=1
	movl	-44(%rbp), %edi
	movl	$1, %esi
	movq	%rax, %rdx
	leaq	L_.str.6(%rip), %rcx
	xorl	%eax, %eax
	callq	_krb5_err
	jmp	LBB0_13
LBB0_14:
	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"

	.comm	_FALSE,4,2                      ## @FALSE
L_.str.1:                               ## @.str.1
	.asciz	"krb5_parse_name %s"

L_.str.2:                               ## @.str.2
	.asciz	"%s"

L_.str.3:                               ## @.str.3
	.asciz	"%s2"

	.comm	_nop_prompter,4,2               ## @nop_prompter
L_.str.4:                               ## @.str.4
	.asciz	"kadmin/changepw"

	.comm	_KRB5KRB_AP_ERR_BAD_INTEGRITY,8,3 ## @KRB5KRB_AP_ERR_BAD_INTEGRITY
	.comm	_KRB5KRB_AP_ERR_MODIFIED,8,3    ## @KRB5KRB_AP_ERR_MODIFIED
L_.str.5:                               ## @.str.5
	.asciz	"krb5_get_init_creds_password"

L_.str.6:                               ## @.str.6
	.asciz	"krb5_change_password"

	.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, #176
	.cfi_def_cfa_offset 176
	stp	x28, x27, [sp, #80]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x1
	mov	x20, x0
	add	x0, sp, #76
	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, #64
	mov	x0, x20
	bl	_read_words
	cbz	w19, LBB0_13
; %bb.3:
	mov	x20, x0
Lloh2:
	adrp	x28, _FALSE@GOTPAGE
Lloh3:
	ldr	x28, [x28, _FALSE@GOTPAGEOFF]
Lloh4:
	adrp	x21, l_.str.2@PAGE
Lloh5:
	add	x21, x21, l_.str.2@PAGEOFF
Lloh6:
	adrp	x22, l_.str.3@PAGE
Lloh7:
	add	x22, x22, l_.str.3@PAGEOFF
Lloh8:
	adrp	x24, _nop_prompter@GOTPAGE
Lloh9:
	ldr	x24, [x24, _nop_prompter@GOTPAGEOFF]
Lloh10:
	adrp	x23, l_.str.4@PAGE
Lloh11:
	add	x23, x23, l_.str.4@PAGEOFF
Lloh12:
	adrp	x25, _KRB5KRB_AP_ERR_BAD_INTEGRITY@GOTPAGE
Lloh13:
	ldr	x25, [x25, _KRB5KRB_AP_ERR_BAD_INTEGRITY@GOTPAGEOFF]
Lloh14:
	adrp	x26, _KRB5KRB_AP_ERR_MODIFIED@GOTPAGE
Lloh15:
	ldr	x26, [x26, _KRB5KRB_AP_ERR_MODIFIED@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x0, [sp, #24]
	bl	_free
	ldr	x0, [sp, #16]
	bl	_free
	ldr	w0, [sp, #76]
	add	x1, sp, #52
	bl	_krb5_free_cred_contents
	ldr	w0, [sp, #76]
	ldr	x1, [sp, #56]
	bl	_krb5_get_init_creds_opt_free
	subs	w19, w19, #1
	b.eq	LBB0_13
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x27, [sp, #64]
	bl	_rand
	udiv	w8, w0, w20
	msub	w8, w8, w20, w0
	ldr	x27, [x27, w8, uxtw #3]
	ldr	w0, [sp, #76]
	add	x1, sp, #56
	bl	_krb5_get_init_creds_opt_alloc
	ldr	x0, [sp, #56]
	mov	w1, #300
	bl	_krb5_get_init_creds_opt_set_tkt_life
	ldr	x0, [sp, #56]
	ldr	w1, [x28]
	bl	_krb5_get_init_creds_opt_set_forwardable
	ldr	x0, [sp, #56]
	ldr	w1, [x28]
	bl	_krb5_get_init_creds_opt_set_proxiable
	ldr	w0, [sp, #76]
	add	x2, sp, #48
	mov	x1, x27
	bl	_krb5_parse_name
	cbz	x0, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x2, x0
	ldr	w0, [sp, #76]
	str	x27, [sp]
	mov	w1, #1
Lloh16:
	adrp	x3, l_.str.1@PAGE
Lloh17:
	add	x3, x3, l_.str.1@PAGEOFF
	bl	_krb5_err
LBB0_7:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x0, sp, #24
	mov	x1, x21
	mov	x2, x27
	bl	_asprintf
	add	x0, sp, #16
	mov	x1, x22
	mov	x2, x27
	bl	_asprintf
	ldr	w0, [sp, #76]
	ldr	w2, [sp, #48]
	ldr	x3, [sp, #24]
	ldr	w4, [x24]
	ldr	x8, [sp, #56]
	str	x8, [sp]
	add	x1, sp, #52
	mov	x5, #0
	mov	w6, #0
	mov	x7, x23
	bl	_krb5_get_init_creds_password
	mov	x2, x0
	ldr	x8, [x25]
	ldr	x9, [x26]
	cmp	x0, x8
	ccmp	x0, x9, #4, ne
	b.ne	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	ldp	x3, x8, [sp, #16]
	stp	x8, x3, [sp, #16]
	ldr	w0, [sp, #76]
	ldr	w2, [sp, #48]
	ldr	w4, [x24]
	ldr	x8, [sp, #56]
	str	x8, [sp]
	add	x1, sp, #52
	mov	x5, #0
	mov	w6, #0
	mov	x7, x23
	bl	_krb5_get_init_creds_password
	mov	x2, x0
LBB0_9:                                 ;   in Loop: Header=BB0_5 Depth=1
	cbz	x2, LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [sp, #76]
	mov	w1, #1
Lloh18:
	adrp	x3, l_.str.5@PAGE
Lloh19:
	add	x3, x3, l_.str.5@PAGEOFF
	bl	_krb5_err
LBB0_11:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [sp, #76]
	ldr	w1, [sp, #48]
	bl	_krb5_free_principal
	ldr	w0, [sp, #76]
	ldr	x2, [sp, #16]
	add	x1, sp, #52
	add	x4, sp, #44
	add	x5, sp, #40
	add	x6, sp, #36
	mov	x3, #0
	bl	_krb5_set_password
	cbz	x0, LBB0_4
; %bb.12:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x2, x0
	ldr	w0, [sp, #76]
	mov	w1, #1
Lloh20:
	adrp	x3, l_.str.6@PAGE
Lloh21:
	add	x3, x3, l_.str.6@PAGEOFF
	bl	_krb5_err
	b	LBB0_4
LBB0_13:
	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
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"krb5_init_context failed: %d"

	.comm	_FALSE,4,2                      ; @FALSE
l_.str.1:                               ; @.str.1
	.asciz	"krb5_parse_name %s"

l_.str.2:                               ; @.str.2
	.asciz	"%s"

l_.str.3:                               ; @.str.3
	.asciz	"%s2"

	.comm	_nop_prompter,4,2               ; @nop_prompter
l_.str.4:                               ; @.str.4
	.asciz	"kadmin/changepw"

	.comm	_KRB5KRB_AP_ERR_BAD_INTEGRITY,8,3 ; @KRB5KRB_AP_ERR_BAD_INTEGRITY
	.comm	_KRB5KRB_AP_ERR_MODIFIED,8,3    ; @KRB5KRB_AP_ERR_MODIFIED
l_.str.5:                               ; @.str.5
	.asciz	"krb5_get_init_creds_password"

l_.str.6:                               ; @.str.6
	.asciz	"krb5_change_password"

	.no_dead_strip	_generate_requests
.subsections_via_symbols
