	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function smb_rq_enqueue
_smb_rq_enqueue:                        ## @smb_rq_enqueue
	.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	%rdi, %r14
	movq	16(%rdi), %rbx
	testq	%rbx, %rbx
	je	LBB0_12
## %bb.1:
	movq	(%r14), %rax
	movq	8(%r14), %rcx
	cmpq	(%rax), %rcx
	je	LBB0_12
## %bb.2:
	leaq	4(%rbx), %r15
	movq	_SMBS_RECONNECTING@GOTPCREL(%rip), %r13
	leaq	L_.str(%rip), %r12
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	callq	_SMBS_ST_LOCKPTR
	movq	_PDROP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_PWAIT@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	movq	_hz@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	movq	%r15, %rdi
	movl	%eax, %esi
	movq	%r12, %rcx
	callq	_msleep
	movq	8(%r14), %rax
	movl	(%rax), %edi
	callq	_smb_td_intr
	testq	%rax, %rax
	jne	LBB0_5
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_SMBS_ST_LOCK
	movl	(%r13), %eax
	testl	%eax, (%rbx)
	jne	LBB0_4
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	callq	_smb_share_valid
	testq	%rax, %rax
	je	LBB0_7
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	callq	_SMBS_ST_UNLOCK
	jmp	LBB0_10
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	_SMBS_CONNECTED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	callq	_SMBS_ST_UNLOCK
	movq	(%r14), %rax
	movq	(%rax), %rdi
	movq	_SMBIOD_EV_SYNC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SMBIOD_EV_TREECONNECT@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movq	%rbx, %rdx
	callq	_smb_iod_request
	testl	%eax, %eax
	jne	LBB0_11
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	%r14, %rdi
	callq	_smb_iod_addrq
	movq	_EXDEV@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_3
	jmp	LBB0_11
LBB0_12:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_smb_iod_addrq                  ## TAILCALL
LBB0_5:
	movq	_EINTR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SMBS_RECONNECTING,4,2          ## @SMBS_RECONNECTING
	.comm	_PWAIT,4,2                      ## @PWAIT
	.comm	_PDROP,4,2                      ## @PDROP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"90trcn"

	.comm	_hz,4,2                         ## @hz
	.comm	_EINTR,4,2                      ## @EINTR
	.comm	_SMBS_CONNECTED,4,2             ## @SMBS_CONNECTED
	.comm	_SMBIOD_EV_TREECONNECT,4,2      ## @SMBIOD_EV_TREECONNECT
	.comm	_SMBIOD_EV_SYNC,4,2             ## @SMBIOD_EV_SYNC
	.comm	_EXDEV,4,2                      ## @EXDEV
	.no_dead_strip	_smb_rq_enqueue
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function smb_rq_enqueue
_smb_rq_enqueue:                        ; @smb_rq_enqueue
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
	ldr	x20, [x0, #16]
	cbz	x20, LBB0_10
; %bb.1:
	ldp	x9, x8, [x19]
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_10
; %bb.2:
	add	x21, x20, #4
Lloh0:
	adrp	x23, _SMBS_RECONNECTING@GOTPAGE
Lloh1:
	ldr	x23, [x23, _SMBS_RECONNECTING@GOTPAGEOFF]
Lloh2:
	adrp	x24, _SMBS_CONNECTED@GOTPAGE
Lloh3:
	ldr	x24, [x24, _SMBS_CONNECTED@GOTPAGEOFF]
Lloh4:
	adrp	x27, _EXDEV@GOTPAGE
Lloh5:
	ldr	x27, [x27, _EXDEV@GOTPAGEOFF]
Lloh6:
	adrp	x28, _PWAIT@GOTPAGE
Lloh7:
	ldr	x28, [x28, _PWAIT@GOTPAGEOFF]
Lloh8:
	adrp	x25, _PDROP@GOTPAGE
Lloh9:
	ldr	x25, [x25, _PDROP@GOTPAGEOFF]
Lloh10:
	adrp	x22, l_.str@PAGE
Lloh11:
	add	x22, x22, l_.str@PAGEOFF
Lloh12:
	adrp	x26, _hz@GOTPAGE
Lloh13:
	ldr	x26, [x26, _hz@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	bl	_SMBS_ST_LOCKPTR
	mov	x1, x0
	ldr	w8, [x28]
	ldr	w9, [x25]
	orr	w2, w9, w8
	ldr	w4, [x26]
	mov	x0, x21
	mov	x3, x22
	bl	_msleep
	ldr	x8, [x19, #8]
	ldr	w0, [x8]
	bl	_smb_td_intr
	cbnz	x0, LBB0_11
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_SMBS_ST_LOCK
	ldr	w8, [x20]
	ldr	w9, [x23]
	mov	x0, x20
	tst	w9, w8
	b.ne	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	bl	_smb_share_valid
	cbz	x0, LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
	bl	_SMBS_ST_UNLOCK
	b	LBB0_9
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x20]
	ldr	w9, [x24]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
	bl	_SMBS_ST_UNLOCK
	ldr	x8, [x19]
	ldr	x0, [x8]
Lloh14:
	adrp	x8, _SMBIOD_EV_TREECONNECT@GOTPAGE
Lloh15:
	ldr	x8, [x8, _SMBIOD_EV_TREECONNECT@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
Lloh17:
	adrp	x9, _SMBIOD_EV_SYNC@GOTPAGE
Lloh18:
	ldr	x9, [x9, _SMBIOD_EV_SYNC@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	orr	w1, w9, w8
	mov	x2, x20
	bl	_smb_iod_request
	cbnz	w0, LBB0_12
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	bl	_smb_iod_addrq
	ldr	w8, [x27]
	cmp	w0, w8
	b.eq	LBB0_4
	b	LBB0_12
LBB0_10:
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_smb_iod_addrq
LBB0_11:
Lloh20:
	adrp	x8, _EINTR@GOTPAGE
Lloh21:
	ldr	x8, [x8, _EINTR@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
LBB0_12:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_SMBS_RECONNECTING,4,2          ; @SMBS_RECONNECTING
	.comm	_PWAIT,4,2                      ; @PWAIT
	.comm	_PDROP,4,2                      ; @PDROP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"90trcn"

	.comm	_hz,4,2                         ; @hz
	.comm	_EINTR,4,2                      ; @EINTR
	.comm	_SMBS_CONNECTED,4,2             ; @SMBS_CONNECTED
	.comm	_SMBIOD_EV_TREECONNECT,4,2      ; @SMBIOD_EV_TREECONNECT
	.comm	_SMBIOD_EV_SYNC,4,2             ; @SMBIOD_EV_SYNC
	.comm	_EXDEV,4,2                      ; @EXDEV
	.no_dead_strip	_smb_rq_enqueue
.subsections_via_symbols
