	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function init_as_req
_init_as_req:                           ## @init_as_req
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r12
	movq	%r8, -48(%rbp)                  ## 8-byte Spill
	movq	%rcx, %r15
	movq	%rdx, %r13
	movl	%esi, %ebx
	movl	%edi, %r14d
	movq	%r9, %rdi
	xorl	%esi, %esi
	movl	$120, %edx
	callq	_memset
	movl	$5, (%r12)
	movq	_krb_as_req@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 112(%r12)
	movl	%ebx, 104(%r12)
	movl	$4, %edi
	callq	_malloc
	movq	%rax, 96(%r12)
	testq	%rax, %rax
	je	LBB0_22
## %bb.1:
	movl	$4, %edi
	callq	_malloc
	movq	%rax, 80(%r12)
	testq	%rax, %rax
	je	LBB0_22
## %bb.2:
	movq	%r15, %rbx
	movq	96(%r12), %rdi
	movq	32(%r13), %rsi
	callq	__krb5_principal2principalname
	movq	%rax, %r15
	testq	%rax, %rax
	jne	LBB0_23
## %bb.3:
	movq	32(%r13), %rdi
	leaq	88(%r12), %rsi
	callq	_copy_Realm
	movq	%rax, %r15
	testq	%rax, %rax
	jne	LBB0_23
## %bb.4:
	movq	80(%r12), %rdi
	movq	24(%r13), %rsi
	callq	__krb5_principal2principalname
	movq	%rax, %r15
	testq	%rax, %rax
	jne	LBB0_23
## %bb.5:
	cmpq	$0, 16(%r13)
	je	LBB0_8
## %bb.6:
	movl	$8, %edi
	callq	_malloc
	movq	%rax, 72(%r12)
	testq	%rax, %rax
	je	LBB0_22
## %bb.7:
	movq	16(%r13), %rcx
	movq	%rcx, (%rax)
LBB0_8:
	cmpq	$0, 8(%r13)
	je	LBB0_10
## %bb.9:
	movq	64(%r12), %rdi
	movl	$1, %esi
	callq	_ALLOC
	movq	8(%r13), %rax
	movq	64(%r12), %rcx
	movq	%rax, (%rcx)
LBB0_10:
	cmpq	$0, (%r13)
	je	LBB0_13
## %bb.11:
	movl	$8, %edi
	callq	_malloc
	movq	%rax, 56(%r12)
	testq	%rax, %rax
	je	LBB0_22
## %bb.12:
	movq	(%r13), %rcx
	movq	%rcx, (%rax)
LBB0_13:
	movq	$0, 48(%r12)
	movq	_KRB5_PDU_AS_REQUEST@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	44(%r12), %rdx
	leaq	40(%r12), %rcx
	movl	%r14d, %edi
	movq	-48(%rbp), %r8                  ## 8-byte Reload
	callq	__krb5_init_etype
	movq	%rax, %r15
	testq	%rax, %rax
	jne	LBB0_23
## %bb.14:
	testq	%rbx, %rbx
	je	LBB0_18
## %bb.15:
	cmpq	$0, (%rbx)
	je	LBB0_25
## %bb.16:
	movl	$8, %edi
	callq	_malloc
	movq	%rax, 32(%r12)
	testq	%rax, %rax
	je	LBB0_22
## %bb.17:
	movl	%r14d, %edi
	movq	%rbx, %rsi
	movq	%rax, %rdx
	callq	_krb5_copy_addresses
	movq	%rax, %r15
	testq	%rax, %rax
	jne	LBB0_23
	jmp	LBB0_27
LBB0_18:
	movl	$8, %edi
	callq	_malloc
	movq	%rax, 32(%r12)
	testq	%rax, %rax
	je	LBB0_22
## %bb.19:
	movl	%r14d, %edi
	movq	%rax, %rsi
	callq	_krb5_get_all_client_addrs
	movq	%rax, %r15
	testq	%rax, %rax
	jne	LBB0_23
## %bb.20:
	leaq	32(%r12), %rbx
	movq	(%rbx), %rdi
	cmpq	$0, (%rdi)
	jne	LBB0_27
## %bb.21:
	callq	_free
	jmp	LBB0_26
LBB0_22:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	leaq	L_.str(%rip), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_N_
	movl	%r14d, %edi
	movq	%r15, %rsi
	movl	%eax, %edx
	callq	_krb5_set_error_message
LBB0_23:
	movq	%r12, %rdi
	callq	_free_AS_REQ
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	$120, %edx
	callq	_memset
LBB0_24:
	movq	%r15, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_25:
	leaq	32(%r12), %rbx
LBB0_26:
	movq	$0, (%rbx)
LBB0_27:
	xorps	%xmm0, %xmm0
	movups	%xmm0, 8(%r12)
	movq	$0, 24(%r12)
	xorl	%r15d, %r15d
	jmp	LBB0_24
	.cfi_endproc
                                        ## -- End function
	.comm	_krb_as_req,4,2                 ## @krb_as_req
	.comm	_ENOMEM,8,3                     ## @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"malloc: out of memory"

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

	.comm	_KRB5_PDU_AS_REQUEST,4,2        ## @KRB5_PDU_AS_REQUEST
	.no_dead_strip	_init_as_req
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function init_as_req
_init_as_req:                           ; @init_as_req
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x5
	mov	x22, x4
	mov	x21, x3
	mov	x23, x2
	mov	x24, x1
	mov	x20, x0
	mov	x0, x5
	mov	w1, #0
	mov	w2, #120
	bl	_memset
	mov	w8, #5
	str	w8, [x19]
Lloh0:
	adrp	x8, _krb_as_req@GOTPAGE
Lloh1:
	ldr	x8, [x8, _krb_as_req@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x19, #112]
	str	w24, [x19, #104]
	mov	w0, #4
	bl	_malloc
	str	x0, [x19, #96]
	cbz	x0, LBB0_22
; %bb.1:
	mov	w0, #4
	bl	_malloc
	str	x0, [x19, #80]
	cbz	x0, LBB0_22
; %bb.2:
	ldr	x0, [x19, #96]
	ldr	x1, [x23, #32]
	bl	__krb5_principal2principalname
	mov	x24, x0
	cbnz	x0, LBB0_23
; %bb.3:
	ldr	x0, [x23, #32]
	add	x1, x19, #88
	bl	_copy_Realm
	mov	x24, x0
	cbnz	x0, LBB0_23
; %bb.4:
	ldr	x0, [x19, #80]
	ldr	x1, [x23, #24]
	bl	__krb5_principal2principalname
	mov	x24, x0
	cbnz	x0, LBB0_23
; %bb.5:
	ldr	x8, [x23, #16]
	cbz	x8, LBB0_8
; %bb.6:
	mov	w0, #8
	bl	_malloc
	str	x0, [x19, #72]
	cbz	x0, LBB0_22
; %bb.7:
	ldr	x8, [x23, #16]
	str	x8, [x0]
LBB0_8:
	ldr	x8, [x23, #8]
	cbz	x8, LBB0_10
; %bb.9:
	ldr	x0, [x19, #64]
	mov	w1, #1
	bl	_ALLOC
	ldr	x8, [x23, #8]
	ldr	x9, [x19, #64]
	str	x8, [x9]
LBB0_10:
	ldr	x8, [x23]
	cbz	x8, LBB0_13
; %bb.11:
	mov	w0, #8
	bl	_malloc
	str	x0, [x19, #56]
	cbz	x0, LBB0_22
; %bb.12:
	ldr	x8, [x23]
	str	x8, [x0]
LBB0_13:
	str	xzr, [x19, #48]
Lloh3:
	adrp	x8, _KRB5_PDU_AS_REQUEST@GOTPAGE
Lloh4:
	ldr	x8, [x8, _KRB5_PDU_AS_REQUEST@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	add	x2, x19, #44
	add	x3, x19, #40
	mov	x0, x20
	mov	x4, x22
	bl	__krb5_init_etype
	mov	x24, x0
	cbnz	x0, LBB0_23
; %bb.14:
	cbz	x21, LBB0_18
; %bb.15:
	ldr	x8, [x21]
	cbz	x8, LBB0_25
; %bb.16:
	mov	w0, #8
	bl	_malloc
	str	x0, [x19, #32]
	cbz	x0, LBB0_22
; %bb.17:
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_krb5_copy_addresses
	mov	x24, x0
	cbnz	x0, LBB0_23
	b	LBB0_27
LBB0_18:
	mov	w0, #8
	bl	_malloc
	mov	x21, x19
	str	x0, [x21, #32]!
	cbz	x0, LBB0_22
; %bb.19:
	mov	x1, x0
	mov	x0, x20
	bl	_krb5_get_all_client_addrs
	mov	x24, x0
	cbnz	x0, LBB0_23
; %bb.20:
	ldr	x0, [x21]
	ldr	x8, [x0]
	cbnz	x8, LBB0_27
; %bb.21:
	bl	_free
	b	LBB0_26
LBB0_22:
Lloh6:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh8:
	ldr	x24, [x8]
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_N_
	mov	x2, x0
	mov	x0, x20
	mov	x1, x24
	bl	_krb5_set_error_message
LBB0_23:
	mov	x0, x19
	bl	_free_AS_REQ
	mov	x0, x19
	mov	w1, #0
	mov	w2, #120
	bl	_memset
LBB0_24:
	mov	x0, x24
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_25:
	add	x21, x19, #32
LBB0_26:
	str	xzr, [x21]
LBB0_27:
	mov	x24, #0
	stp	xzr, xzr, [x19, #8]
	str	xzr, [x19, #24]
	b	LBB0_24
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_krb_as_req,4,2                 ; @krb_as_req
	.comm	_ENOMEM,8,3                     ; @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"malloc: out of memory"

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

	.comm	_KRB5_PDU_AS_REQUEST,4,2        ; @KRB5_PDU_AS_REQUEST
	.no_dead_strip	_init_as_req
.subsections_via_symbols
