	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nlm_init_lock
_nlm_init_lock:                         ## @nlm_init_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	%edx, %r12d
	movq	(%rdi), %rax
	movq	_SEEK_END@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	jne	LBB0_5
## %bb.1:
	movq	16(%rbp), %rax
	movq	_OFF_MAX@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	cmpq	%rax, %rdx
	jl	LBB0_4
## %bb.2:
	movq	8(%rdi), %r15
	testq	%r15, %r15
	jle	LBB0_8
## %bb.3:
	subq	%r15, %rdx
	cmpq	%rax, %rdx
	jge	LBB0_8
LBB0_4:
	movq	_EOVERFLOW@GOTPCREL(%rip), %rax
	jmp	LBB0_17
LBB0_5:
	movq	_SEEK_SET@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	je	LBB0_7
## %bb.6:
	movq	_SEEK_CUR@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	jne	LBB0_16
LBB0_7:
	movq	8(%rdi), %r15
	testq	%r15, %r15
	jns	LBB0_9
	jmp	LBB0_16
LBB0_8:
	addq	%rax, %r15
	testq	%r15, %r15
	js	LBB0_16
LBB0_9:
	movq	16(%rdi), %rdx
	testq	%rdx, %rdx
	jns	LBB0_12
## %bb.10:
	addq	%rdx, %r15
	js	LBB0_16
## %bb.11:
	negq	%rdx
LBB0_12:
	movq	_NLM_VERS@GOTPCREL(%rip), %rax
	cmpq	%rcx, (%rax)
	jne	LBB0_15
## %bb.13:
	movq	%r15, %rax
	shrq	$32, %rax
	jne	LBB0_4
## %bb.14:
	movq	%rdx, %rax
	shrq	$32, %rax
	jne	LBB0_4
LBB0_15:
	movq	32(%rbp), %rbx
	movq	24(%rbp), %r13
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	leaq	L_.str(%rip), %rdx
	movl	$32, %r14d
	movq	%rbx, %rdi
	movl	$32, %esi
	movl	%r12d, %ecx
	movq	%r9, -56(%rbp)                  ## 8-byte Spill
	movq	%r8, -48(%rbp)                  ## 8-byte Spill
	callq	_snprintf
	movq	%rbx, %rdi
	callq	_strlen
	leaq	(%rbx,%rax), %rsi
	subl	%eax, %r14d
	xorl	%ebx, %ebx
	xorl	%edi, %edi
	movl	%r14d, %edx
	callq	_getcredhostname
	movq	32(%rbp), %rdi
	callq	_strlen
	movq	%rax, %r14
	movq	%r13, %rdi
	xorl	%esi, %esi
	movl	$64, %edx
	callq	_memset
	movq	_prison0@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 56(%r13)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 40(%r13)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 48(%r13)
	movq	%r14, 24(%r13)
	movq	32(%rbp), %rax
	movq	%rax, 32(%r13)
	movl	%r12d, (%r13)
	movq	%r15, 16(%r13)
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 8(%r13)
	jmp	LBB0_18
LBB0_16:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_17:
	movl	(%rax), %ebx
LBB0_18:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SEEK_END,8,3                   ## @SEEK_END
	.comm	_OFF_MAX,8,3                    ## @OFF_MAX
	.comm	_EOVERFLOW,4,2                  ## @EOVERFLOW
	.comm	_SEEK_SET,8,3                   ## @SEEK_SET
	.comm	_SEEK_CUR,8,3                   ## @SEEK_CUR
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_NLM_VERS,8,3                   ## @NLM_VERS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%d@"

	.comm	_prison0,4,2                    ## @prison0
	.no_dead_strip	_nlm_init_lock
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nlm_init_lock
_nlm_init_lock:                         ; @nlm_init_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
	mov	x19, x7
	mov	x21, x5
	mov	x22, x4
	mov	x20, x2
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _SEEK_END@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SEEK_END@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.1:
Lloh3:
	adrp	x8, _OFF_MAX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _OFF_MAX@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x8]
	cmp	x9, x6
	b.lt	LBB0_14
; %bb.2:
	ldr	x8, [x0, #8]
	sub	x9, x9, x8
	cmp	x8, #1
	ccmp	x9, x6, #0, ge
	b.lt	LBB0_14
; %bb.3:
	add	x25, x8, x6
	tbz	x25, #63, LBB0_6
	b	LBB0_13
LBB0_4:
Lloh6:
	adrp	x9, _SEEK_SET@GOTPAGE
Lloh7:
	ldr	x9, [x9, _SEEK_SET@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
Lloh9:
	adrp	x10, _SEEK_CUR@GOTPAGE
Lloh10:
	ldr	x10, [x10, _SEEK_CUR@GOTPAGEOFF]
Lloh11:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_13
; %bb.5:
	ldr	x25, [x0, #8]
	tbnz	x25, #63, LBB0_13
LBB0_6:
	ldr	x26, [x0, #16]
	tbz	x26, #63, LBB0_9
; %bb.7:
	adds	x25, x26, x25
	b.mi	LBB0_13
; %bb.8:
	neg	x26, x26
LBB0_9:
Lloh12:
	adrp	x8, _NLM_VERS@GOTPAGE
Lloh13:
	ldr	x8, [x8, _NLM_VERS@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	cmp	x8, x3
	b.ne	LBB0_12
; %bb.10:
	lsr	x8, x25, #32
	cbnz	x8, LBB0_14
; %bb.11:
	lsr	x8, x26, #32
	cbnz	x8, LBB0_14
LBB0_12:
	ldr	x23, [x29, #16]
Lloh15:
	adrp	x2, l_.str@PAGE
Lloh16:
	add	x2, x2, l_.str@PAGEOFF
	mov	w24, #32
	mov	x0, x23
	mov	w1, #32
	mov	x3, x20
	bl	_snprintf
	mov	x0, x23
	bl	_strlen
	add	x1, x23, x0
	sub	w2, w24, w0
	mov	x0, #0
	bl	_getcredhostname
	mov	x0, x23
	bl	_strlen
	mov	x24, x0
	mov	x0, x19
	mov	w1, #0
	mov	w2, #64
	bl	_memset
	mov	w0, #0
Lloh17:
	adrp	x8, _prison0@GOTPAGE
Lloh18:
	ldr	x8, [x8, _prison0@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	str	w8, [x19, #56]
	stp	x22, x21, [x19, #40]
	stp	x24, x23, [x19, #24]
	str	w20, [x19]
	stp	x26, x25, [x19, #8]
	b	LBB0_16
LBB0_13:
Lloh20:
	adrp	x8, _EINVAL@GOTPAGE
Lloh21:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_15
LBB0_14:
Lloh22:
	adrp	x8, _EOVERFLOW@GOTPAGE
Lloh23:
	ldr	x8, [x8, _EOVERFLOW@GOTPAGEOFF]
LBB0_15:
	ldr	w0, [x8]
LBB0_16:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_SEEK_END,8,3                   ; @SEEK_END
	.comm	_OFF_MAX,8,3                    ; @OFF_MAX
	.comm	_EOVERFLOW,4,2                  ; @EOVERFLOW
	.comm	_SEEK_SET,8,3                   ; @SEEK_SET
	.comm	_SEEK_CUR,8,3                   ; @SEEK_CUR
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_NLM_VERS,8,3                   ; @NLM_VERS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%d@"

	.comm	_prison0,4,2                    ; @prison0
	.no_dead_strip	_nlm_init_lock
.subsections_via_symbols
