	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dot_lock                       ## -- Begin function dot_lock
	.p2align	4, 0x90
_dot_lock:                              ## @dot_lock
	.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	%esi, %r12d
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAXPATHLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	%r13, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	leaq	-60(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_sigemptyset
	movq	_SIGHUP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_sigaddset
	movq	_SIGINT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_sigaddset
	movq	_SIGQUIT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_sigaddset
	movq	_SIGTERM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_sigaddset
	movq	_SIGTTIN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_sigaddset
	movq	_SIGTTOU@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_sigaddset
	movq	_SIGTSTP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_sigaddset
	movq	_SIGCHLD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_sigaddset
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rdi
	movl	%r13d, %esi
	movq	%r15, %rcx
	callq	_snprintf
	xorl	%eax, %eax
	callq	_handle_pending_signals
	movq	_SIG_BLOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-52(%rbp), %rdx
	movq	%rbx, %rsi
	callq	_sigprocmask
	movq	%r14, %rdi
	callq	_create_exclusive
	cmpl	$-1, %eax
	je	LBB0_1
LBB0_9:
	movq	_SIG_SETMASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-52(%rbp), %rsi
	xorl	%edx, %edx
	callq	_sigprocmask
	xorl	%ebx, %ebx
LBB0_10:
	xorl	%eax, %eax
	callq	_handle_pending_signals
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_12
## %bb.11:
	movl	%ebx, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	imull	$1000, %r12d, %eax              ## imm = 0x3E8
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	leaq	-52(%rbp), %rbx
	movq	_errno@GOTPCREL(%rip), %r13
	movq	_EEXIST@GOTPCREL(%rip), %r15
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	-56(%rbp), %edi                 ## 4-byte Reload
	callq	_usleep
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	callq	_handle_pending_signals
	movq	_SIG_BLOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-60(%rbp), %rsi
	movq	%rbx, %rdx
	callq	_sigprocmask
	movq	%r14, %rdi
	callq	_create_exclusive
	cmpl	$-1, %eax
	jne	LBB0_9
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	_SIG_SETMASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	_sigprocmask
	movq	(%r13), %rax
	cmpq	(%r15), %rax
	jne	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	testl	%r12d, %r12d
	je	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$-1, %r12d
	jne	LBB0_7
## %bb.6:
	movl	%r12d, %ebx
	jmp	LBB0_10
LBB0_3:
	movl	$-1, %ebx
	jmp	LBB0_10
LBB0_12:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAXPATHLEN,4,2                 ## @MAXPATHLEN
	.comm	_SIGHUP,4,2                     ## @SIGHUP
	.comm	_SIGINT,4,2                     ## @SIGINT
	.comm	_SIGQUIT,4,2                    ## @SIGQUIT
	.comm	_SIGTERM,4,2                    ## @SIGTERM
	.comm	_SIGTTIN,4,2                    ## @SIGTTIN
	.comm	_SIGTTOU,4,2                    ## @SIGTTOU
	.comm	_SIGTSTP,4,2                    ## @SIGTSTP
	.comm	_SIGCHLD,4,2                    ## @SIGCHLD
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s.lock"

	.comm	_SIG_BLOCK,4,2                  ## @SIG_BLOCK
	.comm	_SIG_SETMASK,4,2                ## @SIG_SETMASK
	.comm	_errno,8,3                      ## @errno
	.comm	_EEXIST,8,3                     ## @EEXIST
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dot_lock                       ; -- Begin function dot_lock
	.p2align	2
_dot_lock:                              ; @dot_lock
	.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
	sub	sp, sp, #16
	mov	x19, x1
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
Lloh3:
	adrp	x8, _MAXPATHLEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAXPATHLEN@GOTPAGEOFF]
Lloh5:
	ldr	w22, [x8]
	mov	x9, x22
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x22, #15
	and	x9, x9, #0x1fffffff0
	sub	x20, x8, x9
	mov	sp, x20
	sub	x0, x29, #76
	bl	_sigemptyset
Lloh8:
	adrp	x8, _SIGHUP@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SIGHUP@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	sub	x0, x29, #76
	bl	_sigaddset
Lloh11:
	adrp	x8, _SIGINT@GOTPAGE
Lloh12:
	ldr	x8, [x8, _SIGINT@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	sub	x0, x29, #76
	bl	_sigaddset
Lloh14:
	adrp	x8, _SIGQUIT@GOTPAGE
Lloh15:
	ldr	x8, [x8, _SIGQUIT@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	sub	x0, x29, #76
	bl	_sigaddset
Lloh17:
	adrp	x8, _SIGTERM@GOTPAGE
Lloh18:
	ldr	x8, [x8, _SIGTERM@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	sub	x0, x29, #76
	bl	_sigaddset
Lloh20:
	adrp	x8, _SIGTTIN@GOTPAGE
Lloh21:
	ldr	x8, [x8, _SIGTTIN@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	sub	x0, x29, #76
	bl	_sigaddset
Lloh23:
	adrp	x8, _SIGTTOU@GOTPAGE
Lloh24:
	ldr	x8, [x8, _SIGTTOU@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
	sub	x0, x29, #76
	bl	_sigaddset
Lloh26:
	adrp	x8, _SIGTSTP@GOTPAGE
Lloh27:
	ldr	x8, [x8, _SIGTSTP@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
	sub	x0, x29, #76
	bl	_sigaddset
Lloh29:
	adrp	x8, _SIGCHLD@GOTPAGE
Lloh30:
	ldr	x8, [x8, _SIGCHLD@GOTPAGEOFF]
Lloh31:
	ldr	w1, [x8]
	sub	x0, x29, #76
	bl	_sigaddset
Lloh32:
	adrp	x2, l_.str@PAGE
Lloh33:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x20
	mov	x1, x22
	mov	x3, x21
	bl	_snprintf
	bl	_handle_pending_signals
Lloh34:
	adrp	x22, _SIG_BLOCK@GOTPAGE
Lloh35:
	ldr	x22, [x22, _SIG_BLOCK@GOTPAGEOFF]
	ldr	w0, [x22]
	sub	x1, x29, #76
	sub	x2, x29, #80
	bl	_sigprocmask
	mov	x0, x20
	bl	_create_exclusive
Lloh36:
	adrp	x23, _SIG_SETMASK@GOTPAGE
Lloh37:
	ldr	x23, [x23, _SIG_SETMASK@GOTPAGEOFF]
	cmn	w0, #1
	b.eq	LBB0_4
LBB0_1:
	ldr	w0, [x23]
	sub	x1, x29, #80
	mov	x2, #0
	bl	_sigprocmask
	mov	w19, #0
LBB0_2:
	bl	_handle_pending_signals
	ldur	x8, [x29, #-72]
Lloh38:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh39:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh40:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_11
; %bb.3:
	mov	x0, x19
	sub	sp, x29, #64
	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_4:
	mov	w8, #1000
	mul	w21, w19, w8
Lloh41:
	adrp	x24, _errno@GOTPAGE
Lloh42:
	ldr	x24, [x24, _errno@GOTPAGEOFF]
Lloh43:
	adrp	x25, _EEXIST@GOTPAGE
Lloh44:
	ldr	x25, [x25, _EEXIST@GOTPAGEOFF]
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x21
	bl	_usleep
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	bl	_handle_pending_signals
	ldr	w0, [x22]
	sub	x1, x29, #76
	sub	x2, x29, #80
	bl	_sigprocmask
	mov	x0, x20
	bl	_create_exclusive
	cmn	w0, #1
	b.ne	LBB0_1
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x23]
	sub	x1, x29, #80
	mov	x2, #0
	bl	_sigprocmask
	ldr	x8, [x24]
	ldr	x9, [x25]
	cmp	x8, x9
	b.ne	LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	cbz	w19, LBB0_6
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	cmn	w19, #1
	b.ne	LBB0_5
	b	LBB0_2
LBB0_10:
	mov	w19, #-1
	b	LBB0_2
LBB0_11:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh43, Lloh44
	.loh AdrpLdrGot	Lloh41, Lloh42
	.cfi_endproc
                                        ; -- End function
	.comm	_MAXPATHLEN,4,2                 ; @MAXPATHLEN
	.comm	_SIGHUP,4,2                     ; @SIGHUP
	.comm	_SIGINT,4,2                     ; @SIGINT
	.comm	_SIGQUIT,4,2                    ; @SIGQUIT
	.comm	_SIGTERM,4,2                    ; @SIGTERM
	.comm	_SIGTTIN,4,2                    ; @SIGTTIN
	.comm	_SIGTTOU,4,2                    ; @SIGTTOU
	.comm	_SIGTSTP,4,2                    ; @SIGTSTP
	.comm	_SIGCHLD,4,2                    ; @SIGCHLD
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s.lock"

	.comm	_SIG_BLOCK,4,2                  ; @SIG_BLOCK
	.comm	_SIG_SETMASK,4,2                ; @SIG_SETMASK
	.comm	_errno,8,3                      ; @errno
	.comm	_EEXIST,8,3                     ; @EEXIST
.subsections_via_symbols
