	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dqopen
_dqopen:                                ## @dqopen
	.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
	subq	$72, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movq	%rsi, %r14
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rsi
	callq	_ASSERT_VOP_LOCKED
	leaq	-96(%rbp), %rax
	movq	%rax, -48(%rbp)
	movabsq	$68719476737, %rax              ## imm = 0x1000000001
	movq	%rax, -80(%rbp)
	leaq	-40(%rbp), %rax
	movq	%rax, -88(%rbp)
	movl	$16, -96(%rbp)
	movq	$0, -56(%rbp)
	movq	_UIO_SYSSPACE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -60(%rbp)
	movq	_UIO_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -64(%rbp)
	movq	$0, -72(%rbp)
	movq	8(%r14), %rax
	movslq	%r15d, %r15
	movl	(%rax,%r15,4), %ecx
	leaq	-80(%rbp), %rsi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_VOP_READ
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_9
## %bb.1:
	cmpl	$0, -76(%rbp)
	jg	LBB0_9
## %bb.2:
	movq	%r14, %rdi
	callq	_UFS_LOCK
	movl	-28(%rbp), %edi
	movq	_Q_DQHDR64_MAGIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_7
## %bb.3:
	movl	-32(%rbp), %edi
	callq	_be32toh
	movq	_Q_DQHDR64_VERSION@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.4:
	movl	-36(%rbp), %edi
	callq	_be32toh
	cmpq	$16, %rax
	jne	LBB0_7
## %bb.5:
	movl	-40(%rbp), %edi
	callq	_be32toh
	cmpq	$4, %rax
	jne	LBB0_7
## %bb.6:
	movq	_QTF_64BIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	(%r14), %rcx
	orl	%eax, (%rcx,%r15,4)
	jmp	LBB0_8
LBB0_7:
	movq	_QTF_64BIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	movq	(%r14), %rcx
	andl	%eax, (%rcx,%r15,4)
LBB0_8:
	movq	%r14, %rdi
	callq	_UFS_UNLOCK
LBB0_9:
	movl	%ebx, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"dqopen"

	.comm	_UIO_SYSSPACE,4,2               ## @UIO_SYSSPACE
	.comm	_UIO_READ,4,2                   ## @UIO_READ
	.comm	_Q_DQHDR64_MAGIC,4,2            ## @Q_DQHDR64_MAGIC
	.comm	_Q_DQHDR64_VERSION,8,3          ## @Q_DQHDR64_VERSION
	.comm	_QTF_64BIT,4,2                  ## @QTF_64BIT
	.no_dead_strip	_dqopen
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function dqopen
lCPI0_0:
	.long	1                               ; 0x1
	.long	16                              ; 0x10
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_dqopen:                                ; @dqopen
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_ASSERT_VOP_LOCKED
	add	x8, sp, #48
	sub	x9, x29, #48
	str	x9, [sp, #56]
	mov	w9, #16
	str	w9, [sp, #48]
Lloh2:
	adrp	x9, lCPI0_0@PAGE
Lloh3:
	ldr	d0, [x9, lCPI0_0@PAGEOFF]
	str	d0, [sp, #8]
	stp	xzr, x8, [sp, #32]
Lloh4:
	adrp	x8, _UIO_SYSSPACE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _UIO_SYSSPACE@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
Lloh7:
	adrp	x9, _UIO_READ@GOTPAGE
Lloh8:
	ldr	x9, [x9, _UIO_READ@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	stp	w9, w8, [sp, #24]
	str	xzr, [sp, #16]
	ldr	x8, [x19, #8]
	ldr	w3, [x8, w21, sxtw #2]
	add	x1, sp, #8
	mov	x0, x20
	mov	w2, #0
	bl	_VOP_READ
	mov	x20, x0
	ldr	w8, [sp, #12]
	cmp	w0, #0
	ccmp	w8, #0, #0, eq
	b.gt	LBB0_8
; %bb.1:
	sxtw	x21, w21
	mov	x0, x19
	bl	_UFS_LOCK
	ldur	w0, [x29, #-36]
Lloh10:
	adrp	x8, _Q_DQHDR64_MAGIC@GOTPAGE
Lloh11:
	ldr	x8, [x8, _Q_DQHDR64_MAGIC@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	bl	_strcmp
	cbnz	x0, LBB0_6
; %bb.2:
	ldur	w0, [x29, #-40]
	bl	_be32toh
Lloh13:
	adrp	x8, _Q_DQHDR64_VERSION@GOTPAGE
Lloh14:
	ldr	x8, [x8, _Q_DQHDR64_VERSION@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_6
; %bb.3:
	ldur	w0, [x29, #-44]
	bl	_be32toh
	cmp	x0, #16
	b.ne	LBB0_6
; %bb.4:
	ldur	w0, [x29, #-48]
	bl	_be32toh
	cmp	x0, #4
	b.ne	LBB0_6
; %bb.5:
Lloh16:
	adrp	x8, _QTF_64BIT@GOTPAGE
Lloh17:
	ldr	x8, [x8, _QTF_64BIT@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	ldr	x9, [x19]
	lsl	x10, x21, #2
	ldr	w11, [x9, x10]
	orr	w8, w11, w8
	b	LBB0_7
LBB0_6:
Lloh19:
	adrp	x8, _QTF_64BIT@GOTPAGE
Lloh20:
	ldr	x8, [x8, _QTF_64BIT@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	ldr	x9, [x19]
	lsl	x10, x21, #2
	ldr	w11, [x9, x10]
	bic	w8, w11, w8
LBB0_7:
	str	w8, [x9, x10]
	mov	x0, x19
	bl	_UFS_UNLOCK
LBB0_8:
	mov	x0, x20
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdrp	Lloh2, Lloh7
	.loh AdrpLdr	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"dqopen"

	.comm	_UIO_SYSSPACE,4,2               ; @UIO_SYSSPACE
	.comm	_UIO_READ,4,2                   ; @UIO_READ
	.comm	_Q_DQHDR64_MAGIC,4,2            ; @Q_DQHDR64_MAGIC
	.comm	_Q_DQHDR64_VERSION,8,3          ; @Q_DQHDR64_VERSION
	.comm	_QTF_64BIT,4,2                  ; @QTF_64BIT
	.no_dead_strip	_dqopen
.subsections_via_symbols
