	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i40iw_flush_wqes               ## -- Begin function i40iw_flush_wqes
	.p2align	4, 0x90
_i40iw_flush_wqes:                      ## @i40iw_flush_wqes
	.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, %r14
	leaq	-48(%rbp), %rdi
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	movabsq	$4294967297, %rax               ## imm = 0x100000001
	movq	%rax, -48(%rbp)
	cmpq	$0, 8(%rbx)
	je	LBB0_2
## %bb.1:
	leaq	-28(%rbp), %rsi
	leaq	-32(%rbp), %rdx
	movl	(%rbx), %ecx
	leaq	-48(%rbp), %r15
	movq	%r15, %rdi
	callq	_i40iw_set_flush_info
	leaq	-36(%rbp), %rsi
	leaq	-40(%rbp), %rdx
	movl	(%rbx), %ecx
	movq	%r15, %rdi
	callq	_i40iw_set_flush_info
LBB0_2:
	leaq	-48(%rbp), %rdx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	$1, %ecx
	callq	_i40iw_hw_flush_wqes
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i40iw_flush_wqes               ; -- Begin function i40iw_flush_wqes
	.p2align	2
_i40iw_flush_wqes:                      ; @i40iw_flush_wqes
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	add	x21, sp, #8
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #24
	bl	_memset
	movi.2s	v0, #1
	str	d0, [sp, #8]
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_2
; %bb.1:
	add	x1, x21, #20
	add	x2, x21, #16
	ldr	w3, [x19]
	add	x0, sp, #8
	bl	_i40iw_set_flush_info
	add	x1, x21, #12
	add	x2, x21, #8
	ldr	w3, [x19]
	add	x0, sp, #8
	bl	_i40iw_set_flush_info
LBB0_2:
	add	x2, sp, #8
	mov	x0, x20
	mov	x1, x19
	mov	w3, #1
	bl	_i40iw_hw_flush_wqes
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
