	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_realfs_flock                   ## -- Begin function realfs_flock
	.p2align	4, 0x90
_realfs_flock:                          ## @realfs_flock
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_LOCK_SH_@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	andl	%esi, %ecx
	je	LBB0_2
## %bb.1:
	movq	_LOCK_SH@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
LBB0_2:
	movq	_LOCK_EX_@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%esi, %eax
	je	LBB0_4
## %bb.3:
	movq	_LOCK_EX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_4:
	movq	_LOCK_UN_@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	andl	%esi, %edx
	je	LBB0_6
## %bb.5:
	movq	_LOCK_UN@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
LBB0_6:
	orl	%ecx, %eax
	movq	_LOCK_NB_@GOTPCREL(%rip), %rcx
	andl	(%rcx), %esi
	je	LBB0_8
## %bb.7:
	movq	_LOCK_NB@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
LBB0_8:
	orl	%esi, %edx
	orl	%edx, %eax
	movl	(%rdi), %edi
	movl	%eax, %esi
	popq	%rbp
	jmp	_flock                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_LOCK_SH_,4,2                   ## @LOCK_SH_
	.comm	_LOCK_SH,4,2                    ## @LOCK_SH
	.comm	_LOCK_EX_,4,2                   ## @LOCK_EX_
	.comm	_LOCK_EX,4,2                    ## @LOCK_EX
	.comm	_LOCK_UN_,4,2                   ## @LOCK_UN_
	.comm	_LOCK_UN,4,2                    ## @LOCK_UN
	.comm	_LOCK_NB_,4,2                   ## @LOCK_NB_
	.comm	_LOCK_NB,4,2                    ## @LOCK_NB
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_realfs_flock                   ; -- Begin function realfs_flock
	.p2align	2
_realfs_flock:                          ; @realfs_flock
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _LOCK_SH_@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LOCK_SH_@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _LOCK_SH@GOTPAGE
Lloh4:
	ldr	x9, [x9, _LOCK_SH@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w8, w1
	csel	w8, wzr, w9, eq
Lloh6:
	adrp	x9, _LOCK_EX_@GOTPAGE
Lloh7:
	ldr	x9, [x9, _LOCK_EX_@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
Lloh9:
	adrp	x10, _LOCK_EX@GOTPAGE
Lloh10:
	ldr	x10, [x10, _LOCK_EX@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	tst	w9, w1
	csel	w9, wzr, w10, eq
	orr	w8, w9, w8
Lloh12:
	adrp	x9, _LOCK_UN_@GOTPAGE
Lloh13:
	ldr	x9, [x9, _LOCK_UN_@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
Lloh15:
	adrp	x10, _LOCK_UN@GOTPAGE
Lloh16:
	ldr	x10, [x10, _LOCK_UN@GOTPAGEOFF]
Lloh17:
	ldr	w10, [x10]
	tst	w9, w1
	csel	w9, wzr, w10, eq
	orr	w8, w8, w9
Lloh18:
	adrp	x9, _LOCK_NB_@GOTPAGE
Lloh19:
	ldr	x9, [x9, _LOCK_NB_@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
Lloh21:
	adrp	x10, _LOCK_NB@GOTPAGE
Lloh22:
	ldr	x10, [x10, _LOCK_NB@GOTPAGEOFF]
Lloh23:
	ldr	w10, [x10]
	tst	w9, w1
	csel	w9, wzr, w10, eq
	orr	w1, w8, w9
	ldr	w0, [x0]
	b	_flock
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_LOCK_SH_,4,2                   ; @LOCK_SH_
	.comm	_LOCK_SH,4,2                    ; @LOCK_SH
	.comm	_LOCK_EX_,4,2                   ; @LOCK_EX_
	.comm	_LOCK_EX,4,2                    ; @LOCK_EX
	.comm	_LOCK_UN_,4,2                   ; @LOCK_UN_
	.comm	_LOCK_UN,4,2                    ; @LOCK_UN
	.comm	_LOCK_NB_,4,2                   ; @LOCK_NB_
	.comm	_LOCK_NB,4,2                    ; @LOCK_NB
.subsections_via_symbols
