	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mwifiex_check_last_packet_indication ## -- Begin function mwifiex_check_last_packet_indication
	.p2align	4, 0x90
_mwifiex_check_last_packet_indication:  ## @mwifiex_check_last_packet_indication
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	(%rdi), %rbx
	cmpl	$0, 12(%rbx)
	je	LBB0_1
## %bb.2:
	movq	%rbx, %rdi
	callq	_mwifiex_wmm_lists_empty
	testq	%rax, %rax
	je	LBB0_7
## %bb.3:
	cmpl	$0, 8(%rbx)
	jne	LBB0_7
## %bb.4:
	cmpl	$0, 4(%rbx)
	jne	LBB0_7
## %bb.5:
	movq	%rbx, %rdi
	callq	_is_command_pending
	testl	%eax, %eax
	je	LBB0_6
LBB0_7:
	xorl	%eax, %eax
	movl	$1, %ecx
LBB0_8:
	movl	%ecx, (%rbx)
	jmp	LBB0_9
LBB0_1:
	xorl	%eax, %eax
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_6:
	movl	$1, %eax
	xorl	%ecx, %ecx
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mwifiex_check_last_packet_indication ; -- Begin function mwifiex_check_last_packet_indication
	.p2align	2
_mwifiex_check_last_packet_indication:  ; @mwifiex_check_last_packet_indication
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x19, [x0]
	ldr	w8, [x19, #12]
	cbz	w8, LBB0_7
; %bb.1:
	mov	x0, x19
	bl	_mwifiex_wmm_lists_empty
	cbz	x0, LBB0_5
; %bb.2:
	ldr	w8, [x19, #8]
	cbnz	w8, LBB0_5
; %bb.3:
	ldr	w8, [x19, #4]
	cbnz	w8, LBB0_5
; %bb.4:
	mov	x0, x19
	bl	_is_command_pending
	cbz	w0, LBB0_9
LBB0_5:
	mov	w0, #0
	mov	w8, #1
LBB0_6:
	str	w8, [x19]
	b	LBB0_8
LBB0_7:
	mov	w0, #0
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_9:
	mov	w8, #0
	mov	w0, #1
	b	LBB0_6
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
