	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_add_blockingfilelock           ## -- Begin function add_blockingfilelock
	.p2align	4, 0x90
_add_blockingfilelock:                  ## @add_blockingfilelock
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rdi
	callq	_debuglog
	movq	%rbx, %rdi
	callq	_duplicate_block
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_3
LBB0_2:
	movq	$0, (%rbx)
	movq	_nfslocklist@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_blockedlocklist_head@GOTPCREL(%rip), %rdi
	movq	%rbx, %rsi
	callq	_LIST_INSERT_HEAD
	leaq	L_.str.2(%rip), %rdi
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_debuglog                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Entering add_blockingfilelock\n"

L_.str.1:                               ## @.str.1
	.asciz	"Exiting add_blockingfilelock: already blocked\n"

	.comm	_blockedlocklist_head,4,2       ## @blockedlocklist_head
	.comm	_nfslocklist,4,2                ## @nfslocklist
L_.str.2:                               ## @.str.2
	.asciz	"Exiting add_blockingfilelock: added blocked lock\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_add_blockingfilelock           ; -- Begin function add_blockingfilelock
	.p2align	2
_add_blockingfilelock:                  ; @add_blockingfilelock
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_debuglog
	mov	x0, x19
	bl	_duplicate_block
	cbz	x0, LBB0_2
; %bb.1:
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_3
LBB0_2:
	str	xzr, [x19]
Lloh4:
	adrp	x8, _nfslocklist@GOTPAGE
Lloh5:
	ldr	x8, [x8, _nfslocklist@GOTPAGEOFF]
Lloh6:
	ldr	w2, [x8]
Lloh7:
	adrp	x0, _blockedlocklist_head@GOTPAGE
Lloh8:
	ldr	x0, [x0, _blockedlocklist_head@GOTPAGEOFF]
	mov	x1, x19
	bl	_LIST_INSERT_HEAD
Lloh9:
	adrp	x0, l_.str.2@PAGE
Lloh10:
	add	x0, x0, l_.str.2@PAGEOFF
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_debuglog
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Entering add_blockingfilelock\n"

l_.str.1:                               ; @.str.1
	.asciz	"Exiting add_blockingfilelock: already blocked\n"

	.comm	_blockedlocklist_head,4,2       ; @blockedlocklist_head
	.comm	_nfslocklist,4,2                ; @nfslocklist
l_.str.2:                               ; @.str.2
	.asciz	"Exiting add_blockingfilelock: added blocked lock\n"

.subsections_via_symbols
