	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_curr_sync_buff
_get_curr_sync_buff:                    ## @get_curr_sync_buff
	.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	%rdi, %r14
	movq	_curr_sb_lock@GOTPCREL(%rip), %rdi
	callq	_spin_lock_bh
	movq	_curr_sb@GOTPCREL(%rip), %r15
	movq	(%r15), %rbx
	testq	%rbx, %rbx
	je	LBB0_6
## %bb.1:
	testq	%r14, %r14
	je	LBB0_4
## %bb.2:
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	subq	(%rbx), %rdi
	movq	%r14, %rsi
	callq	_time_before
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:
	movq	(%r15), %rbx
LBB0_4:
	movq	$0, (%r15)
	movq	_TASK_RUNNING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	___set_current_state
	jmp	LBB0_7
LBB0_6:
	xorl	%ebx, %ebx
LBB0_7:
	movq	_curr_sb_lock@GOTPCREL(%rip), %rdi
	callq	_spin_unlock_bh
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_curr_sb_lock,4,2               ## @curr_sb_lock
	.comm	_curr_sb,8,3                    ## @curr_sb
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_TASK_RUNNING,4,2               ## @TASK_RUNNING
	.no_dead_strip	_get_curr_sync_buff
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_curr_sync_buff
_get_curr_sync_buff:                    ; @get_curr_sync_buff
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x20, x0
Lloh0:
	adrp	x0, _curr_sb_lock@GOTPAGE
Lloh1:
	ldr	x0, [x0, _curr_sb_lock@GOTPAGEOFF]
	bl	_spin_lock_bh
Lloh2:
	adrp	x21, _curr_sb@GOTPAGE
Lloh3:
	ldr	x21, [x21, _curr_sb@GOTPAGEOFF]
	ldr	x19, [x21]
	cbz	x19, LBB0_6
; %bb.1:
	cbz	x20, LBB0_4
; %bb.2:
Lloh4:
	adrp	x8, _jiffies@GOTPAGE
Lloh5:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
	ldr	x9, [x19]
	sub	x0, x8, x9
	mov	x1, x20
	bl	_time_before
	cbz	x0, LBB0_5
; %bb.3:
	ldr	x19, [x21]
LBB0_4:
	str	xzr, [x21]
Lloh7:
	adrp	x8, _TASK_RUNNING@GOTPAGE
Lloh8:
	ldr	x8, [x8, _TASK_RUNNING@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	bl	___set_current_state
	b	LBB0_6
LBB0_5:
	mov	x19, #0
LBB0_6:
Lloh10:
	adrp	x0, _curr_sb_lock@GOTPAGE
Lloh11:
	ldr	x0, [x0, _curr_sb_lock@GOTPAGEOFF]
	bl	_spin_unlock_bh
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_curr_sb_lock,4,2               ; @curr_sb_lock
	.comm	_curr_sb,8,3                    ; @curr_sb
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_TASK_RUNNING,4,2               ; @TASK_RUNNING
	.no_dead_strip	_get_curr_sync_buff
.subsections_via_symbols
