	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_auth_data
_set_auth_data:                         ## @set_auth_data
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	cmpq	$0, (%rdx)
	je	LBB0_6
## %bb.1:
	movq	%rcx, %r15
	movl	%edi, %r14d
	movq	$0, -40(%rbp)
	movq	_AuthorizationData@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-40(%rbp), %r8
	movq	%rdx, %rcx
	callq	_ASN1_MALLOC_ENCODE
	movq	(%rbx), %rdi
	movl	$1, %esi
	callq	_ALLOC
	cmpq	$0, (%rbx)
	je	LBB0_2
## %bb.3:
	leaq	-28(%rbp), %rcx
	movl	%r14d, %edi
	movq	%r15, %rsi
	xorl	%edx, %edx
	callq	_krb5_crypto_init
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	%rax, %r15
	callq	_free
	movq	(%rbx), %rdi
	callq	_free
	movq	$0, (%rbx)
	jmp	LBB0_7
LBB0_6:
	movq	$0, (%rbx)
	xorl	%r15d, %r15d
	jmp	LBB0_7
LBB0_2:
	callq	_free
	movq	_ENOMEM@GOTPCREL(%rip), %r15
	movq	(%r15), %rbx
	leaq	L_.str.1(%rip), %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_N_
	movl	%r14d, %edi
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	_krb5_set_error_message
	movq	(%r15), %r15
	jmp	LBB0_7
LBB0_5:
	movl	-28(%rbp), %esi
	movq	_KRB5_KU_TGS_REQ_AUTH_DAT_SUBKEY@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	-40(%rbp), %r8
	movq	(%rbx), %rax
	movq	%rax, (%rsp)
	xorl	%r15d, %r15d
	movl	%r14d, %edi
	xorl	%r9d, %r9d
	callq	_krb5_encrypt_EncryptedData
	callq	_free
	movl	-28(%rbp), %esi
	movl	%r14d, %edi
	callq	_krb5_crypto_destroy
LBB0_7:
	movq	%r15, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AuthorizationData,4,2          ## @AuthorizationData
	.comm	_ENOMEM,8,3                     ## @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
L_.str.1:                               ## @.str.1
	.asciz	"malloc: out of memory"

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

	.comm	_KRB5_KU_TGS_REQ_AUTH_DAT_SUBKEY,4,2 ## @KRB5_KU_TGS_REQ_AUTH_DAT_SUBKEY
	.no_dead_strip	_set_auth_data
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_auth_data
_set_auth_data:                         ; @set_auth_data
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x20, x1
	ldr	x8, [x2]
	cbz	x8, LBB0_4
; %bb.1:
	mov	x21, x3
	mov	x19, x0
	str	xzr, [sp, #8]
Lloh0:
	adrp	x8, _AuthorizationData@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AuthorizationData@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x4, sp, #8
	mov	x3, x2
	bl	_ASN1_MALLOC_ENCODE
	ldr	x0, [x20]
	mov	w1, #1
	bl	_ALLOC
	ldr	x8, [x20]
	cbz	x8, LBB0_6
; %bb.2:
	add	x3, sp, #4
	mov	x0, x19
	mov	x1, x21
	mov	w2, #0
	bl	_krb5_crypto_init
	mov	x21, x0
	cbz	x0, LBB0_7
; %bb.3:
	bl	_free
	ldr	x0, [x20]
	bl	_free
	b	LBB0_5
LBB0_4:
	mov	x21, #0
LBB0_5:
	str	xzr, [x20]
	b	LBB0_8
LBB0_6:
	bl	_free
Lloh3:
	adrp	x21, _ENOMEM@GOTPAGE
Lloh4:
	ldr	x21, [x21, _ENOMEM@GOTPAGEOFF]
	ldr	x20, [x21]
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_N_
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_krb5_set_error_message
	ldr	x21, [x21]
	b	LBB0_8
LBB0_7:
	ldr	w1, [sp, #4]
Lloh9:
	adrp	x8, _KRB5_KU_TGS_REQ_AUTH_DAT_SUBKEY@GOTPAGE
Lloh10:
	ldr	x8, [x8, _KRB5_KU_TGS_REQ_AUTH_DAT_SUBKEY@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	ldr	x4, [sp, #8]
	ldr	x6, [x20]
	mov	x0, x19
	mov	w5, #0
	bl	_krb5_encrypt_EncryptedData
	bl	_free
	ldr	w1, [sp, #4]
	mov	x0, x19
	bl	_krb5_crypto_destroy
LBB0_8:
	mov	x0, x21
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_AuthorizationData,4,2          ; @AuthorizationData
	.comm	_ENOMEM,8,3                     ; @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
l_.str.1:                               ; @.str.1
	.asciz	"malloc: out of memory"

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

	.comm	_KRB5_KU_TGS_REQ_AUTH_DAT_SUBKEY,4,2 ; @KRB5_KU_TGS_REQ_AUTH_DAT_SUBKEY
	.no_dead_strip	_set_auth_data
.subsections_via_symbols
