	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mt76x02_tx_hang
_mt76x02_tx_hang:                       ## @mt76x02_tx_hang
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	8(%rdi), %rax
	movq	(%rax), %rcx
	cmpl	$0, 8(%rcx)
	je	LBB0_3
## %bb.1:
	movq	(%rbx), %rax
	movq	(%rax), %r14
	movq	(%rcx), %rdi
	callq	_readl
	movq	%rax, %rcx
	movq	(%rbx), %rax
	movq	%rcx, (%rax)
	movl	$1, %eax
	cmpq	%rcx, %r14
	je	LBB0_12
## %bb.2:
	movq	8(%rbx), %rax
LBB0_3:
	movq	8(%rax), %rcx
	cmpl	$0, 8(%rcx)
	je	LBB0_6
## %bb.4:
	movq	(%rbx), %rax
	movq	8(%rax), %r14
	movq	(%rcx), %rdi
	callq	_readl
	movq	%rax, %rcx
	movq	(%rbx), %rax
	movq	%rcx, 8(%rax)
	movl	$1, %eax
	cmpq	%rcx, %r14
	je	LBB0_12
## %bb.5:
	movq	8(%rbx), %rax
LBB0_6:
	movq	16(%rax), %rcx
	cmpl	$0, 8(%rcx)
	je	LBB0_9
## %bb.7:
	movq	(%rbx), %rax
	movq	16(%rax), %r14
	movq	(%rcx), %rdi
	callq	_readl
	movq	%rax, %rcx
	movq	(%rbx), %rax
	movq	%rcx, 16(%rax)
	movl	$1, %eax
	cmpq	%rcx, %r14
	je	LBB0_12
## %bb.8:
	movq	8(%rbx), %rax
LBB0_9:
	movq	24(%rax), %rax
	cmpl	$0, 8(%rax)
	je	LBB0_11
## %bb.10:
	movq	(%rbx), %rcx
	movq	24(%rcx), %r14
	movq	(%rax), %rdi
	callq	_readl
	movq	%rax, %rcx
	movq	(%rbx), %rax
	movq	%rcx, 24(%rax)
	movl	$1, %eax
	cmpq	%rcx, %r14
	je	LBB0_12
LBB0_11:
	xorl	%eax, %eax
LBB0_12:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_mt76x02_tx_hang
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mt76x02_tx_hang
_mt76x02_tx_hang:                       ; @mt76x02_tx_hang
	.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
	mov	x19, x0
	ldr	x8, [x0, #8]
	ldr	x9, [x8]
	ldr	w10, [x9, #8]
	cbz	w10, LBB0_3
; %bb.1:
	ldr	x8, [x19]
	ldr	x20, [x8]
	ldr	x0, [x9]
	bl	_readl
	ldr	x8, [x19]
	str	x0, [x8]
	cmp	x20, x0
	b.eq	LBB0_11
; %bb.2:
	ldr	x8, [x19, #8]
LBB0_3:
	ldr	x9, [x8, #8]
	ldr	w10, [x9, #8]
	cbz	w10, LBB0_6
; %bb.4:
	ldr	x8, [x19]
	ldr	x20, [x8, #8]
	ldr	x0, [x9]
	bl	_readl
	ldr	x8, [x19]
	str	x0, [x8, #8]
	cmp	x20, x0
	b.eq	LBB0_11
; %bb.5:
	ldr	x8, [x19, #8]
LBB0_6:
	ldr	x9, [x8, #16]
	ldr	w10, [x9, #8]
	cbz	w10, LBB0_9
; %bb.7:
	ldr	x8, [x19]
	ldr	x20, [x8, #16]
	ldr	x0, [x9]
	bl	_readl
	ldr	x8, [x19]
	str	x0, [x8, #16]
	cmp	x20, x0
	b.eq	LBB0_11
; %bb.8:
	ldr	x8, [x19, #8]
LBB0_9:
	ldr	x8, [x8, #24]
	ldr	w9, [x8, #8]
	cbz	w9, LBB0_12
; %bb.10:
	ldr	x9, [x19]
	ldr	x20, [x9, #24]
	ldr	x0, [x8]
	bl	_readl
	ldr	x8, [x19]
	str	x0, [x8, #24]
	cmp	x20, x0
	b.ne	LBB0_12
LBB0_11:
	mov	w0, #1
	b	LBB0_13
LBB0_12:
	mov	w0, #0
LBB0_13:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_mt76x02_tx_hang
.subsections_via_symbols
