	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ishtp_hbm_cl_flow_control_req  ## -- Begin function ishtp_hbm_cl_flow_control_req
	.p2align	4, 0x90
_ishtp_hbm_cl_flow_control_req:         ## @ishtp_hbm_cl_flow_control_req
	.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	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	%rsi, %rdi
	callq	_spin_lock_irqsave
	leaq	-40(%rbp), %rdi
	movl	$4, %esi
	callq	_ishtp_hbm_hdr
	movq	_ISHTP_FLOW_CONTROL_CMD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-32(%rbp), %rdx
	movl	$4, %ecx
	movq	%rbx, %rdi
	callq	_ishtp_hbm_cl_hdr
	xorl	%r14d, %r14d
	cmpq	$0, 32(%rbx)
	jne	LBB0_6
## %bb.1:
	movq	$0, 40(%rbx)
	leaq	-40(%rbp), %rsi
	leaq	-32(%rbp), %rdx
	movq	%r15, %rdi
	callq	_ishtp_write_message
	movl	%eax, %r14d
	testl	%eax, %eax
	je	LBB0_2
## %bb.5:
	incl	4(%rbx)
	jmp	LBB0_6
LBB0_2:
	incq	32(%rbx)
	incl	28(%rbx)
	xorl	%eax, %eax
	callq	_ktime_get
	movl	%eax, 24(%rbx)
	movq	16(%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_6
## %bb.3:
	movl	%eax, %edi
	callq	_ktime_sub
	movl	%eax, %r15d
	movl	8(%rbx), %esi
	movl	%eax, %edi
	callq	_ktime_after
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	movl	%r15d, 8(%rbx)
LBB0_6:
	movq	%rbx, %rdi
	callq	_spin_unlock_irqrestore
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ISHTP_FLOW_CONTROL_CMD,4,2     ## @ISHTP_FLOW_CONTROL_CMD
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ishtp_hbm_cl_flow_control_req  ; -- Begin function ishtp_hbm_cl_flow_control_req
	.p2align	2
_ishtp_hbm_cl_flow_control_req:         ; @ishtp_hbm_cl_flow_control_req
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x19, x1
	mov	x20, x0
	mov	x0, x1
	bl	_spin_lock_irqsave
	add	x0, sp, #8
	mov	w1, #4
	bl	_ishtp_hbm_hdr
Lloh0:
	adrp	x8, _ISHTP_FLOW_CONTROL_CMD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ISHTP_FLOW_CONTROL_CMD@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x2, sp
	mov	x0, x19
	mov	w3, #4
	bl	_ishtp_hbm_cl_hdr
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_2
; %bb.1:
	mov	w20, #0
	b	LBB0_7
LBB0_2:
	str	xzr, [x19, #40]
	add	x1, sp, #8
	mov	x2, sp
	mov	x0, x20
	bl	_ishtp_write_message
	mov	x20, x0
	cbz	w0, LBB0_4
; %bb.3:
	ldr	w8, [x19, #4]
	add	w8, w8, #1
	str	w8, [x19, #4]
	b	LBB0_7
LBB0_4:
	ldr	x8, [x19, #32]
	add	x8, x8, #1
	str	x8, [x19, #32]
	ldr	w8, [x19, #28]
	add	w8, w8, #1
	str	w8, [x19, #28]
	bl	_ktime_get
	str	w0, [x19, #24]
	ldr	x1, [x19, #16]
	cbz	x1, LBB0_7
; %bb.5:
	bl	_ktime_sub
	mov	x21, x0
	ldr	w1, [x19, #8]
	bl	_ktime_after
	cbz	x0, LBB0_7
; %bb.6:
	str	w21, [x19, #8]
LBB0_7:
	mov	x0, x19
	bl	_spin_unlock_irqrestore
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ISHTP_FLOW_CONTROL_CMD,4,2     ; @ISHTP_FLOW_CONTROL_CMD
.subsections_via_symbols
