	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_ticket_flags
_parse_ticket_flags:                    ## @parse_ticket_flags
	.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	%rdx, %r14
	movq	%rsi, %r15
	movl	%edi, %r12d
	xorl	%eax, %eax
	callq	_asn1_TicketFlags_units
	movq	%r15, %rdi
	movl	%eax, %esi
	xorl	%edx, %edx
	callq	_parse_flags
	movl	%eax, %r13d
	cmpl	$-1, %eax
	jne	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdx
	movl	%r12d, %edi
	movl	$1, %esi
	movq	%r15, %rcx
	callq	_krb5_errx
LBB0_2:
	leaq	-48(%rbp), %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movl	$1, -48(%rbp)
	xorl	%eax, %eax
	callq	_asn1_TicketFlags_units
	leaq	L_.str.1(%rip), %rdi
	movl	%eax, %esi
	xorl	%edx, %edx
	callq	_parse_flags
	movslq	%eax, %rbx
	movl	-48(%rbp), %edi
	callq	_TicketFlags2int
	cmpq	%rbx, %rax
	je	LBB0_4
## %bb.3:
	movl	%r13d, %edi
	callq	_bitswap32
	movl	%eax, %r13d
LBB0_4:
	movl	%r13d, (%r14)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"bad flags specified: \"%s\""

L_.str.1:                               ## @.str.1
	.asciz	"proxy"

	.no_dead_strip	_parse_ticket_flags
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_ticket_flags
_parse_ticket_flags:                    ; @parse_ticket_flags
	.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	x21, x1
	mov	x22, x0
	bl	_asn1_TicketFlags_units
	mov	x1, x0
	mov	x0, x21
	mov	w2, #0
	bl	_parse_flags
	mov	x20, x0
	cmn	w0, #1
	b.ne	LBB0_2
; %bb.1:
Lloh0:
	adrp	x2, l_.str@PAGE
Lloh1:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x22
	mov	w1, #1
	mov	x3, x21
	bl	_krb5_errx
LBB0_2:
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	mov	w8, #1
	str	w8, [sp, #8]
	bl	_asn1_TicketFlags_units
	mov	x1, x0
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	w2, #0
	bl	_parse_flags
	mov	x21, x0
	ldr	w0, [sp, #8]
	bl	_TicketFlags2int
	cmp	x0, w21, sxtw
	b.eq	LBB0_4
; %bb.3:
	mov	x0, x20
	bl	_bitswap32
	mov	x20, x0
LBB0_4:
	str	w20, [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 AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"bad flags specified: \"%s\""

l_.str.1:                               ; @.str.1
	.asciz	"proxy"

	.no_dead_strip	_parse_ticket_flags
.subsections_via_symbols
