	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rxrpc_krb5_decode_ticket
_rxrpc_krb5_decode_ticket:              ## @rxrpc_krb5_decode_ticket
	.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
	movl	(%rcx), %ebx
	cmpl	$4, %ebx
	jbe	LBB0_1
## %bb.3:
	movq	%rcx, %r14
	movq	%rsi, %r15
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	(%rdx), %r12
	movl	(%r12), %edi
	callq	_ntohl
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	movl	%ebx, %edx
	callq	__enter
	movl	(%r12), %edi
	callq	_ntohl
	movl	%eax, %r13d
	movq	_AFSTOKEN_K5_TIX_MAX@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r13d
	jbe	LBB0_4
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
LBB0_2:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_9:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	addq	$4, %r12
	addl	$-4, %ebx
	movl	%r13d, (%r15)
	leaq	L_.str.1(%rip), %rdi
	movl	%r13d, %esi
	callq	__debug
	testl	%r13d, %r13d
	je	LBB0_8
## %bb.5:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r13d, %edi
	callq	_kmalloc
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movq	%rax, %rdi
	movq	%r12, %rsi
	movl	%r13d, %edx
	callq	_memcpy
	addl	$3, %r13d
	andl	$-4, %r13d
	subl	%r13d, %ebx
	addq	%r13, %r12
LBB0_8:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%r12, (%rax)
	movl	%ebx, (%r14)
	leaq	L_.str.2(%rip), %rdi
	movl	%ebx, %esi
	callq	__leave
	xorl	%eax, %eax
	jmp	LBB0_9
LBB0_6:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	",{%x},%u"

	.comm	_AFSTOKEN_K5_TIX_MAX,4,2        ## @AFSTOKEN_K5_TIX_MAX
L_.str.1:                               ## @.str.1
	.asciz	"ticket len %u"

	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
L_.str.2:                               ## @.str.2
	.asciz	" = 0 [toklen=%u]"

	.no_dead_strip	_rxrpc_krb5_decode_ticket
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rxrpc_krb5_decode_ticket
_rxrpc_krb5_decode_ticket:              ; @rxrpc_krb5_decode_ticket
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	ldr	w25, [x3]
	subs	w20, w25, #4
	b.ls	LBB0_2
; %bb.1:
	mov	x19, x3
	mov	x21, x2
	mov	x24, x1
	mov	x23, x0
	ldr	x22, [x2]
	ldr	w0, [x22]
	bl	_ntohl
	mov	x1, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x2, x25
	bl	__enter
	ldr	w0, [x22], #4
	bl	_ntohl
Lloh2:
	adrp	x8, _AFSTOKEN_K5_TIX_MAX@GOTPAGE
Lloh3:
	ldr	x8, [x8, _AFSTOKEN_K5_TIX_MAX@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ls	LBB0_5
LBB0_2:
Lloh5:
	adrp	x8, _EINVAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_3:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_4:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_5:
	mov	x25, x0
	str	w0, [x24]
Lloh7:
	adrp	x0, l_.str.1@PAGE
Lloh8:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x25
	bl	__debug
	cbz	w25, LBB0_8
; %bb.6:
Lloh9:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x25
	bl	_kmalloc
	str	x0, [x23]
	cbz	x0, LBB0_9
; %bb.7:
	mov	x1, x22
	mov	x2, x25
	bl	_memcpy
	add	w8, w25, #3
	and	w8, w8, #0xfffffffc
	sub	w20, w20, w8
	add	x22, x22, x8
LBB0_8:
	str	x22, [x21]
	str	w20, [x19]
Lloh12:
	adrp	x0, l_.str.2@PAGE
Lloh13:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x20
	bl	__leave
	mov	w0, #0
	b	LBB0_4
LBB0_9:
Lloh14:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	",{%x},%u"

	.comm	_AFSTOKEN_K5_TIX_MAX,4,2        ; @AFSTOKEN_K5_TIX_MAX
l_.str.1:                               ; @.str.1
	.asciz	"ticket len %u"

	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
l_.str.2:                               ; @.str.2
	.asciz	" = 0 [toklen=%u]"

	.no_dead_strip	_rxrpc_krb5_decode_ticket
.subsections_via_symbols
