	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dtlk_open
_dtlk_open:                             ## @dtlk_open
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	leaq	L_.str(%rip), %rdi
	callq	_TRACE_TEXT
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_cycle_kernel_lock
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_nonseekable_open
	movq	%r15, %rdi
	callq	_iminor
	cmpl	$128, %eax
	jne	LBB0_4
## %bb.1:
	movq	_dtlk_busy@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_3
## %bb.2:
	movq	_EBUSY@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	jmp	LBB0_5
LBB0_4:
	movq	_ENXIO@GOTPCREL(%rip), %rax
LBB0_5:
	subl	(%rax), %ebx
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	%r15, %rdi
	movq	%r14, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_nonseekable_open               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"(dtlk_open"

	.comm	_dtlk_busy,4,2                  ## @dtlk_busy
	.comm	_EBUSY,4,2                      ## @EBUSY
	.comm	_ENXIO,4,2                      ## @ENXIO
	.no_dead_strip	_dtlk_open
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dtlk_open
_dtlk_open:                             ; @dtlk_open
	.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, x1
	mov	x20, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_TRACE_TEXT
	bl	_cycle_kernel_lock
	mov	x0, x20
	mov	x1, x19
	bl	_nonseekable_open
	mov	x0, x20
	bl	_iminor
	cmp	w0, #128
	b.ne	LBB0_3
; %bb.1:
Lloh2:
	adrp	x8, _dtlk_busy@GOTPAGE
Lloh3:
	ldr	x8, [x8, _dtlk_busy@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cbz	w8, LBB0_5
; %bb.2:
Lloh5:
	adrp	x8, _EBUSY@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
Lloh7:
	adrp	x8, _ENXIO@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ENXIO@GOTPAGEOFF]
LBB0_4:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_5:
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_nonseekable_open
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"(dtlk_open"

	.comm	_dtlk_busy,4,2                  ; @dtlk_busy
	.comm	_EBUSY,4,2                      ; @EBUSY
	.comm	_ENXIO,4,2                      ; @ENXIO
	.no_dead_strip	_dtlk_open
.subsections_via_symbols
