	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__krb5_xlock                    ## -- Begin function _krb5_xlock
	.p2align	4, 0x90
__krb5_xlock:                           ## @_krb5_xlock
	.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	$136, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movl	%esi, %eax
	movl	%edi, %r15d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, -48(%rbp)
	testq	%rdx, %rdx
	jne	LBB0_1
## %bb.2:
	movq	_LOCK_SH@GOTPCREL(%rip), %rcx
	jmp	LBB0_3
LBB0_1:
	movq	_LOCK_EX@GOTPCREL(%rip), %rcx
LBB0_3:
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_flock
	movl	%eax, %r12d
	testl	%eax, %eax
	jns	LBB0_5
## %bb.4:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
LBB0_5:
	movq	_EACCES@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r12d
	movl	$129, %ebx
	cmovnel	%r12d, %ebx
	xorl	%r13d, %r13d
	testl	%ebx, %ebx
	je	LBB0_10
## %bb.6:
	cmpl	$128, %ebx
	je	LBB0_10
## %bb.7:
	cmpl	$129, %ebx
	jne	LBB0_9
## %bb.8:
	leaq	L_.str(%rip), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_N_
	movl	$129, %r13d
	movl	%r15d, %edi
	movl	$129, %esi
	movl	%eax, %edx
	movq	%r14, %rcx
	xorl	%eax, %eax
	callq	_krb5_set_error_message
	jmp	LBB0_10
LBB0_9:
	leaq	-176(%rbp), %r13
	movl	%ebx, %edi
	movq	%r13, %rsi
	movl	$128, %edx
	callq	_rk_strerror_r
	leaq	L_.str.2(%rip), %rdi
	leaq	L_.str.3(%rip), %rsi
	callq	_N_
	movl	%r15d, %edi
	movl	%ebx, %esi
	movl	%eax, %edx
	movq	%r14, %rcx
	movq	%r13, %r8
	xorl	%eax, %eax
	callq	_krb5_set_error_message
	movl	%r12d, %r13d
LBB0_10:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_12
## %bb.11:
	movl	%r13d, %eax
	addq	$136, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_LOCK_EX,4,2                    ## @LOCK_EX
	.comm	_LOCK_SH,4,2                    ## @LOCK_SH
	.comm	_errno,4,2                      ## @errno
	.comm	_EACCES,4,2                     ## @EACCES
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"timed out locking cache file %s"

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

L_.str.2:                               ## @.str.2
	.asciz	"error locking cache file %s: %s"

L_.str.3:                               ## @.str.3
	.asciz	"file, error"

	.comm	_F_RDLCK,4,2                    ## @F_RDLCK
	.comm	_F_SETLKW,4,2                   ## @F_SETLKW
	.comm	_F_WRLCK,4,2                    ## @F_WRLCK
	.comm	_SEEK_SET,4,2                   ## @SEEK_SET
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__krb5_xlock                    ; -- Begin function _krb5_xlock
	.p2align	2
__krb5_xlock:                           ; @_krb5_xlock
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #208
	.cfi_def_cfa_offset 208
	stp	x24, x23, [sp, #144]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #160]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #176]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #192]            ; 16-byte Folded Spill
	add	x29, sp, #192
	.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
	mov	x19, x3
	mov	x8, x1
	mov	x20, x0
Lloh0:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _LOCK_EX@GOTPAGE
Lloh4:
	ldr	x10, [x10, _LOCK_EX@GOTPAGEOFF]
	stur	x9, [x29, #-56]
Lloh5:
	adrp	x9, _LOCK_SH@GOTPAGE
Lloh6:
	ldr	x9, [x9, _LOCK_SH@GOTPAGEOFF]
	cmp	x2, #0
	csel	x9, x9, x10, eq
	ldr	w1, [x9]
	mov	x0, x8
	bl	_flock
	mov	w21, #0
Lloh7:
	adrp	x8, _errno@GOTPAGE
Lloh8:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	cmp	w0, #0
	csel	w23, w8, w0, lt
Lloh10:
	adrp	x8, _EACCES@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EACCES@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	mov	w9, #129
	cmp	w23, w8
	csel	w22, w9, w23, eq
	cbz	w22, LBB0_5
; %bb.1:
	cmp	w22, #128
	b.eq	LBB0_5
; %bb.2:
	cmp	w22, #129
	b.ne	LBB0_4
; %bb.3:
Lloh13:
	adrp	x0, l_.str@PAGE
Lloh14:
	add	x0, x0, l_.str@PAGEOFF
Lloh15:
	adrp	x1, l_.str.1@PAGE
Lloh16:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_N_
	mov	x2, x0
	mov	w21, #129
	mov	x0, x20
	mov	w1, #129
	mov	x3, x19
	bl	_krb5_set_error_message
	b	LBB0_5
LBB0_4:
	add	x21, sp, #8
	add	x1, sp, #8
	mov	x0, x22
	mov	w2, #128
	bl	_rk_strerror_r
Lloh17:
	adrp	x0, l_.str.2@PAGE
Lloh18:
	add	x0, x0, l_.str.2@PAGEOFF
Lloh19:
	adrp	x1, l_.str.3@PAGE
Lloh20:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_N_
	mov	x2, x0
	str	x21, [sp]
	mov	x0, x20
	mov	x1, x22
	mov	x3, x19
	bl	_krb5_set_error_message
	mov	x21, x23
LBB0_5:
	ldur	x8, [x29, #-56]
Lloh21:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh22:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_7
; %bb.6:
	mov	x0, x21
	ldp	x29, x30, [sp, #192]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #176]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #160]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #144]            ; 16-byte Folded Reload
	add	sp, sp, #208
	ret
LBB0_7:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_LOCK_EX,4,2                    ; @LOCK_EX
	.comm	_LOCK_SH,4,2                    ; @LOCK_SH
	.comm	_errno,4,2                      ; @errno
	.comm	_EACCES,4,2                     ; @EACCES
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"timed out locking cache file %s"

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

l_.str.2:                               ; @.str.2
	.asciz	"error locking cache file %s: %s"

l_.str.3:                               ; @.str.3
	.asciz	"file, error"

	.comm	_F_RDLCK,4,2                    ; @F_RDLCK
	.comm	_F_SETLKW,4,2                   ; @F_SETLKW
	.comm	_F_WRLCK,4,2                    ; @F_WRLCK
	.comm	_SEEK_SET,4,2                   ; @SEEK_SET
.subsections_via_symbols
