	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_heim_ntlm_encode_targetinfo    ## -- Begin function heim_ntlm_encode_targetinfo
	.p2align	4, 0x90
_heim_ntlm_encode_targetinfo:           ## @heim_ntlm_encode_targetinfo
	.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	%rdx, %r14
	movl	%esi, %r12d
	movq	%rdi, %r15
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rdx)
	xorl	%eax, %eax
	callq	_krb5_storage_emem
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r13
	movq	_KRB5_STORAGE_BYTEORDER_LE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_krb5_storage_set_byteorder
	movl	20(%r15), %ecx
	testl	%ecx, %ecx
	je	LBB0_4
## %bb.3:
	movq	%r13, %rdi
	movl	$1, %esi
	movl	%r12d, %edx
	callq	_encode_ti_string
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_CHECK
LBB0_4:
	movl	16(%r15), %ecx
	testl	%ecx, %ecx
	je	LBB0_6
## %bb.5:
	movq	%r13, %rdi
	movl	$2, %esi
	movl	%r12d, %edx
	callq	_encode_ti_string
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_CHECK
LBB0_6:
	movl	12(%r15), %ecx
	testl	%ecx, %ecx
	je	LBB0_8
## %bb.7:
	movq	%r13, %rdi
	movl	$3, %esi
	movl	%r12d, %edx
	callq	_encode_ti_string
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_CHECK
LBB0_8:
	movl	8(%r15), %ecx
	testl	%ecx, %ecx
	je	LBB0_10
## %bb.9:
	movq	%r13, %rdi
	movl	$4, %esi
	movl	%r12d, %edx
	callq	_encode_ti_string
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_CHECK
LBB0_10:
	movl	4(%r15), %ecx
	testl	%ecx, %ecx
	je	LBB0_12
## %bb.11:
	movq	%r13, %rdi
	movl	$5, %esi
	movl	%r12d, %edx
	callq	_encode_ti_string
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_CHECK
LBB0_12:
	cmpl	$0, (%r15)
	je	LBB0_14
## %bb.13:
	movq	%r13, %rdi
	movl	$6, %esi
	callq	_krb5_store_uint16
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_CHECK
	movq	%r13, %rdi
	movl	$4, %esi
	callq	_krb5_store_uint16
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_CHECK
	movl	(%r15), %esi
	movq	%r13, %rdi
	callq	_krb5_store_uint32
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_CHECK
LBB0_14:
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_krb5_store_int16
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_CHECK
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_krb5_store_int16
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_CHECK
	leaq	-56(%rbp), %rsi
	movq	%r13, %rdi
	callq	_krb5_storage_to_data
	movl	%eax, %ebx
	movq	-48(%rbp), %rax
	movq	%rax, 8(%r14)
	movq	-56(%rbp), %rax
	movq	%rax, (%r14)
	movq	%r13, %rdi
	callq	_krb5_storage_free
	jmp	LBB0_15
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_15:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_KRB5_STORAGE_BYTEORDER_LE,4,2  ## @KRB5_STORAGE_BYTEORDER_LE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_heim_ntlm_encode_targetinfo    ; -- Begin function heim_ntlm_encode_targetinfo
	.p2align	2
_heim_ntlm_encode_targetinfo:           ; @heim_ntlm_encode_targetinfo
	.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	x19, x2
	mov	x22, x1
	mov	x21, x0
	stp	xzr, xzr, [x2]
	bl	_krb5_storage_emem
	cbz	x0, LBB0_14
; %bb.1:
	mov	x20, x0
Lloh0:
	adrp	x8, _KRB5_STORAGE_BYTEORDER_LE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _KRB5_STORAGE_BYTEORDER_LE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_krb5_storage_set_byteorder
	ldr	w3, [x21, #20]
	cbz	w3, LBB0_3
; %bb.2:
	mov	x0, x20
	mov	w1, #1
	mov	x2, x22
	bl	_encode_ti_string
	mov	w1, #0
	bl	_CHECK
LBB0_3:
	ldr	w3, [x21, #16]
	cbz	w3, LBB0_5
; %bb.4:
	mov	x0, x20
	mov	w1, #2
	mov	x2, x22
	bl	_encode_ti_string
	mov	w1, #0
	bl	_CHECK
LBB0_5:
	ldr	w3, [x21, #12]
	cbz	w3, LBB0_7
; %bb.6:
	mov	x0, x20
	mov	w1, #3
	mov	x2, x22
	bl	_encode_ti_string
	mov	w1, #0
	bl	_CHECK
LBB0_7:
	ldr	w3, [x21, #8]
	cbz	w3, LBB0_9
; %bb.8:
	mov	x0, x20
	mov	w1, #4
	mov	x2, x22
	bl	_encode_ti_string
	mov	w1, #0
	bl	_CHECK
LBB0_9:
	ldr	w3, [x21, #4]
	cbz	w3, LBB0_11
; %bb.10:
	mov	x0, x20
	mov	w1, #5
	mov	x2, x22
	bl	_encode_ti_string
	mov	w1, #0
	bl	_CHECK
LBB0_11:
	ldr	w8, [x21]
	cbz	w8, LBB0_13
; %bb.12:
	mov	x0, x20
	mov	w1, #6
	bl	_krb5_store_uint16
	mov	w1, #0
	bl	_CHECK
	mov	x0, x20
	mov	w1, #4
	bl	_krb5_store_uint16
	mov	w1, #0
	bl	_CHECK
	ldr	w1, [x21]
	mov	x0, x20
	bl	_krb5_store_uint32
	mov	w1, #0
	bl	_CHECK
LBB0_13:
	mov	x0, x20
	mov	w1, #0
	bl	_krb5_store_int16
	mov	w1, #0
	bl	_CHECK
	mov	x0, x20
	mov	w1, #0
	bl	_krb5_store_int16
	mov	w1, #0
	bl	_CHECK
	mov	x1, sp
	mov	x0, x20
	bl	_krb5_storage_to_data
	mov	x21, x0
	ldp	x9, x8, [sp]
	stp	x9, x8, [x19]
	mov	x0, x20
	bl	_krb5_storage_free
	b	LBB0_15
LBB0_14:
Lloh3:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh5:
	ldr	w21, [x8]
LBB0_15:
	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 AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_KRB5_STORAGE_BYTEORDER_LE,4,2  ; @KRB5_STORAGE_BYTEORDER_LE
.subsections_via_symbols
