	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function setup_token
_setup_token:                           ## @setup_token
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	_GSS_KRB5_TOK_HDR_LEN@GOTPCREL(%rip), %rax
	movq	(%rdi), %rcx
	movl	(%rcx), %ebx
	addl	(%rax), %ebx
	leaq	8(%rdi), %r12
	movq	%r12, %rdi
	movl	%ebx, %esi
	callq	_g_token_size
	movl	%eax, 8(%r15)
	movq	(%r15), %rax
	movq	%rax, -40(%rbp)
	leaq	-40(%rbp), %rdx
	movq	%r12, %rdi
	movl	%ebx, %esi
	callq	_g_make_token_header
	movq	-40(%rbp), %rbx
	movq	_KG_TOK_MIC_MSG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leaq	4(%rbx), %rcx
	movq	%rcx, -40(%rbp)
	movl	%eax, (%rbx)
	movq	(%r14), %rax
	movl	4(%rax), %edi
	callq	_cpu_to_le16
	movq	-40(%rbp), %rcx
	movl	%eax, (%rcx)
	movq	_SEAL_ALG_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rcx)
	movl	$65535, 8(%rcx)                 ## imm = 0xFFFF
	movq	%rbx, %rax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GSS_KRB5_TOK_HDR_LEN,4,2       ## @GSS_KRB5_TOK_HDR_LEN
	.comm	_KG_TOK_MIC_MSG,4,2             ## @KG_TOK_MIC_MSG
	.comm	_SEAL_ALG_NONE,4,2              ## @SEAL_ALG_NONE
	.no_dead_strip	_setup_token
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function setup_token
_setup_token:                           ; @setup_token
	.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, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _GSS_KRB5_TOK_HDR_LEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GSS_KRB5_TOK_HDR_LEN@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	x9, [x0]
	ldr	w9, [x9]
	add	w21, w9, w8
	add	x22, x0, #8
	mov	x0, x22
	mov	x1, x21
	bl	_g_token_size
	str	w0, [x19, #8]
	ldr	x8, [x19]
	str	x8, [sp, #8]
	add	x2, sp, #8
	mov	x0, x22
	mov	x1, x21
	bl	_g_make_token_header
	ldr	x19, [sp, #8]
Lloh3:
	adrp	x8, _KG_TOK_MIC_MSG@GOTPAGE
Lloh4:
	ldr	x8, [x8, _KG_TOK_MIC_MSG@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	mov	x9, x19
	str	w8, [x9], #4
	str	x9, [sp, #8]
	ldr	x8, [x20]
	ldr	w0, [x8, #4]
	bl	_cpu_to_le16
	ldr	x8, [sp, #8]
Lloh6:
	adrp	x9, _SEAL_ALG_NONE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _SEAL_ALG_NONE@GOTPAGEOFF]
	str	w0, [x8]
Lloh8:
	ldr	w9, [x9]
	mov	w10, #65535
	stp	w9, w10, [x8, #4]
	mov	x0, x19
	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	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_GSS_KRB5_TOK_HDR_LEN,4,2       ; @GSS_KRB5_TOK_HDR_LEN
	.comm	_KG_TOK_MIC_MSG,4,2             ; @KG_TOK_MIC_MSG
	.comm	_SEAL_ALG_NONE,4,2              ; @SEAL_ALG_NONE
	.no_dead_strip	_setup_token
.subsections_via_symbols
