	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nlm4_lock_4_svc                ## -- Begin function nlm4_lock_4_svc
	.p2align	4, 0x90
_nlm4_lock_4_svc:                       ## @nlm4_lock_4_svc
	.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	%rsi, %r14
	movq	%rdi, %r13
	movq	_debug_level@GOTPCREL(%rip), %rbx
	cmpl	$0, (%rbx)
	je	LBB0_3
## %bb.1:
	leaq	L_.str(%rip), %rdi
	movq	%r14, %rsi
	callq	_log_from_addr
	cmpl	$6, (%rbx)
	jl	LBB0_3
## %bb.2:
	movq	_LOG_DEBUG@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_syslog
	leaq	8(%r13), %rdi
	callq	_log_netobj
	movl	(%r12), %edi
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_syslog
	movl	(%r12), %edi
	movq	40(%r13), %rdx
	leaq	L_.str.3(%rip), %rsi
	xorl	%eax, %eax
	callq	_syslog
	movl	(%r12), %edi
	leaq	L_.str.4(%rip), %rsi
	xorl	%eax, %eax
	callq	_syslog
	leaq	76(%r13), %rdi
	callq	_log_netobj
	movl	(%r12), %edi
	leaq	L_.str.5(%rip), %rsi
	xorl	%eax, %eax
	callq	_syslog
	leaq	72(%r13), %rdi
	callq	_log_netobj
	movl	(%r12), %edi
	movq	48(%r13), %rdx
	leaq	L_.str.6(%rip), %rsi
	xorl	%eax, %eax
	callq	_syslog
	movl	(%r12), %edi
	movq	64(%r13), %rdx
	leaq	L_.str.7(%rip), %rsi
	xorl	%eax, %eax
	callq	_syslog
	movl	(%r12), %edi
	movq	56(%r13), %rdx
	leaq	L_.str.8(%rip), %rsi
	xorl	%eax, %eax
	callq	_syslog
	movl	(%r12), %edi
	cmpq	$0, 32(%r13)
	leaq	L_.str.11(%rip), %rbx
	leaq	L_.str.10(%rip), %r15
	movq	%r15, %rdx
	cmoveq	%rbx, %rdx
	leaq	L_.str.9(%rip), %rsi
	xorl	%eax, %eax
	callq	_syslog
	movl	(%r12), %edi
	cmpq	$0, 24(%r13)
	movq	%r15, %rdx
	cmoveq	%rbx, %rdx
	leaq	L_.str.12(%rip), %rsi
	xorl	%eax, %eax
	callq	_syslog
	movl	(%r12), %edi
	cmpq	$0, 16(%r13)
	cmoveq	%rbx, %r15
	leaq	L_.str.13(%rip), %rsi
	movq	%r15, %rdx
	xorl	%eax, %eax
	callq	_syslog
	movl	(%r12), %edi
	movq	(%r13), %rdx
	leaq	L_.str.14(%rip), %rsi
	xorl	%eax, %eax
	callq	_syslog
LBB0_3:
	movl	8(%r13), %eax
	movl	%eax, _nlm4_lock_4_svc.res+4(%rip)
	leaq	_nlm4_lock_4_svc.res(%rip), %r15
	movq	_LOCK_MON@GOTPCREL(%rip), %rax
	movq	_LOCK_V4@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_getlock
	movl	%eax, _nlm4_lock_4_svc.res(%rip)
	movq	%r15, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_nlm4_lock_4_svc.res,8,2 ## @nlm4_lock_4_svc.res
	.comm	_debug_level,4,2                ## @debug_level
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"nlm4_lock"

	.comm	_LOG_DEBUG,4,2                  ## @LOG_DEBUG
L_.str.1:                               ## @.str.1
	.asciz	"Locking arguments:\n"

L_.str.2:                               ## @.str.2
	.asciz	"Alock arguments:\n"

L_.str.3:                               ## @.str.3
	.asciz	"Caller Name: %s\n"

L_.str.4:                               ## @.str.4
	.asciz	"File Handle:\n"

L_.str.5:                               ## @.str.5
	.asciz	"Owner Handle:\n"

L_.str.6:                               ## @.str.6
	.asciz	"SVID:        %d\n"

L_.str.7:                               ## @.str.7
	.asciz	"Lock Offset: %llu\n"

L_.str.8:                               ## @.str.8
	.asciz	"Lock Length: %llu\n"

L_.str.9:                               ## @.str.9
	.asciz	"Block:       %s\n"

L_.str.10:                              ## @.str.10
	.asciz	"true"

L_.str.11:                              ## @.str.11
	.asciz	"false"

L_.str.12:                              ## @.str.12
	.asciz	"Exclusive:   %s\n"

L_.str.13:                              ## @.str.13
	.asciz	"Reclaim:     %s\n"

L_.str.14:                              ## @.str.14
	.asciz	"State num:   %d\n"

	.comm	_LOCK_MON,4,2                   ## @LOCK_MON
	.comm	_LOCK_V4,4,2                    ## @LOCK_V4
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nlm4_lock_4_svc                ; -- Begin function nlm4_lock_4_svc
	.p2align	2
_nlm4_lock_4_svc:                       ; @nlm4_lock_4_svc
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x21, _debug_level@GOTPAGE
Lloh1:
	ldr	x21, [x21, _debug_level@GOTPAGEOFF]
	ldr	w8, [x21]
	cbz	w8, LBB0_3
; %bb.1:
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_log_from_addr
	ldr	w8, [x21]
	cmp	w8, #6
	b.lt	LBB0_3
; %bb.2:
Lloh4:
	adrp	x21, _LOG_DEBUG@GOTPAGE
Lloh5:
	ldr	x21, [x21, _LOG_DEBUG@GOTPAGEOFF]
	ldr	w0, [x21]
Lloh6:
	adrp	x1, l_.str.1@PAGE
Lloh7:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_syslog
	add	x0, x20, #8
	bl	_log_netobj
	ldr	w0, [x21]
Lloh8:
	adrp	x1, l_.str.2@PAGE
Lloh9:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_syslog
	ldr	w0, [x21]
	ldr	x8, [x20, #40]
	str	x8, [sp]
Lloh10:
	adrp	x1, l_.str.3@PAGE
Lloh11:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_syslog
	ldr	w0, [x21]
Lloh12:
	adrp	x1, l_.str.4@PAGE
Lloh13:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_syslog
	add	x0, x20, #76
	bl	_log_netobj
	ldr	w0, [x21]
Lloh14:
	adrp	x1, l_.str.5@PAGE
Lloh15:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_syslog
	add	x0, x20, #72
	bl	_log_netobj
	ldr	w0, [x21]
	ldr	x8, [x20, #48]
	str	x8, [sp]
Lloh16:
	adrp	x1, l_.str.6@PAGE
Lloh17:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_syslog
	ldr	w0, [x21]
	ldr	x8, [x20, #64]
	str	x8, [sp]
Lloh18:
	adrp	x1, l_.str.7@PAGE
Lloh19:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_syslog
	ldr	w0, [x21]
	ldr	x8, [x20, #56]
	str	x8, [sp]
Lloh20:
	adrp	x1, l_.str.8@PAGE
Lloh21:
	add	x1, x1, l_.str.8@PAGEOFF
	bl	_syslog
	ldr	w0, [x21]
	ldr	x8, [x20, #32]
Lloh22:
	adrp	x22, l_.str.10@PAGE
Lloh23:
	add	x22, x22, l_.str.10@PAGEOFF
Lloh24:
	adrp	x23, l_.str.11@PAGE
Lloh25:
	add	x23, x23, l_.str.11@PAGEOFF
	cmp	x8, #0
	csel	x8, x23, x22, eq
	str	x8, [sp]
Lloh26:
	adrp	x1, l_.str.9@PAGE
Lloh27:
	add	x1, x1, l_.str.9@PAGEOFF
	bl	_syslog
	ldr	w0, [x21]
	ldr	x8, [x20, #24]
	cmp	x8, #0
	csel	x8, x23, x22, eq
	str	x8, [sp]
Lloh28:
	adrp	x1, l_.str.12@PAGE
Lloh29:
	add	x1, x1, l_.str.12@PAGEOFF
	bl	_syslog
	ldr	w0, [x21]
	ldr	x8, [x20, #16]
	cmp	x8, #0
	csel	x8, x23, x22, eq
	str	x8, [sp]
Lloh30:
	adrp	x1, l_.str.13@PAGE
Lloh31:
	add	x1, x1, l_.str.13@PAGEOFF
	bl	_syslog
	ldr	w0, [x21]
	ldr	x8, [x20]
	str	x8, [sp]
Lloh32:
	adrp	x1, l_.str.14@PAGE
Lloh33:
	add	x1, x1, l_.str.14@PAGEOFF
	bl	_syslog
LBB0_3:
	ldr	w8, [x20, #8]
Lloh34:
	adrp	x21, _nlm4_lock_4_svc.res@PAGE
Lloh35:
	add	x21, x21, _nlm4_lock_4_svc.res@PAGEOFF
Lloh36:
	adrp	x9, _LOCK_MON@GOTPAGE
Lloh37:
	ldr	x9, [x9, _LOCK_MON@GOTPAGEOFF]
	str	w8, [x21, #4]
Lloh38:
	ldr	w8, [x9]
Lloh39:
	adrp	x9, _LOCK_V4@GOTPAGE
Lloh40:
	ldr	x9, [x9, _LOCK_V4@GOTPAGEOFF]
Lloh41:
	ldr	w9, [x9]
	orr	w2, w9, w8
	mov	x0, x20
	mov	x1, x19
	bl	_getlock
	str	w0, [x21]
	mov	x0, x21
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpAdd	Lloh34, Lloh35
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_nlm4_lock_4_svc.res,8,2 ; @nlm4_lock_4_svc.res
	.comm	_debug_level,4,2                ; @debug_level
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"nlm4_lock"

	.comm	_LOG_DEBUG,4,2                  ; @LOG_DEBUG
l_.str.1:                               ; @.str.1
	.asciz	"Locking arguments:\n"

l_.str.2:                               ; @.str.2
	.asciz	"Alock arguments:\n"

l_.str.3:                               ; @.str.3
	.asciz	"Caller Name: %s\n"

l_.str.4:                               ; @.str.4
	.asciz	"File Handle:\n"

l_.str.5:                               ; @.str.5
	.asciz	"Owner Handle:\n"

l_.str.6:                               ; @.str.6
	.asciz	"SVID:        %d\n"

l_.str.7:                               ; @.str.7
	.asciz	"Lock Offset: %llu\n"

l_.str.8:                               ; @.str.8
	.asciz	"Lock Length: %llu\n"

l_.str.9:                               ; @.str.9
	.asciz	"Block:       %s\n"

l_.str.10:                              ; @.str.10
	.asciz	"true"

l_.str.11:                              ; @.str.11
	.asciz	"false"

l_.str.12:                              ; @.str.12
	.asciz	"Exclusive:   %s\n"

l_.str.13:                              ; @.str.13
	.asciz	"Reclaim:     %s\n"

l_.str.14:                              ; @.str.14
	.asciz	"State num:   %d\n"

	.comm	_LOCK_MON,4,2                   ; @LOCK_MON
	.comm	_LOCK_V4,4,2                    ; @LOCK_V4
.subsections_via_symbols
