	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mt7603_tx_hang
_mt7603_tx_hang:                        ## @mt7603_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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	8(%rdi), %rax
	movq	(%rax), %rbx
	cmpl	$0, 8(%rbx)
	je	LBB0_3
## %bb.1:
	movq	(%r15), %rax
	movq	(%rax), %r14
	movq	(%rbx), %rdi
	addq	$4, %rdi
	callq	_readl
	movq	(%r15), %rcx
	movq	%rax, (%rcx)
	cmpq	%r14, %rax
	jne	LBB0_3
## %bb.2:
	movq	(%rbx), %rdi
	callq	_readl
	movq	%rax, %rcx
	movl	$1, %eax
	cmpq	%rcx, %r14
	jne	LBB0_13
LBB0_3:
	movq	8(%r15), %rax
	movq	8(%rax), %rbx
	cmpl	$0, 8(%rbx)
	je	LBB0_6
## %bb.4:
	movq	(%r15), %rax
	movq	8(%rax), %r14
	movq	(%rbx), %rdi
	addq	$4, %rdi
	callq	_readl
	movq	(%r15), %rcx
	movq	%rax, 8(%rcx)
	cmpq	%r14, %rax
	jne	LBB0_6
## %bb.5:
	movq	(%rbx), %rdi
	callq	_readl
	movq	%rax, %rcx
	movl	$1, %eax
	cmpq	%rcx, %r14
	jne	LBB0_13
LBB0_6:
	movq	8(%r15), %rax
	movq	16(%rax), %rbx
	cmpl	$0, 8(%rbx)
	je	LBB0_9
## %bb.7:
	movq	(%r15), %rax
	movq	16(%rax), %r14
	movq	(%rbx), %rdi
	addq	$4, %rdi
	callq	_readl
	movq	(%r15), %rcx
	movq	%rax, 16(%rcx)
	cmpq	%r14, %rax
	jne	LBB0_9
## %bb.8:
	movq	(%rbx), %rdi
	callq	_readl
	movq	%rax, %rcx
	movl	$1, %eax
	cmpq	%rcx, %r14
	jne	LBB0_13
LBB0_9:
	movq	8(%r15), %rax
	movq	24(%rax), %rbx
	cmpl	$0, 8(%rbx)
	je	LBB0_12
## %bb.10:
	movq	(%r15), %rax
	movq	24(%rax), %r14
	movq	(%rbx), %rdi
	addq	$4, %rdi
	callq	_readl
	movq	(%r15), %rcx
	movq	%rax, 24(%rcx)
	cmpq	%r14, %rax
	jne	LBB0_12
## %bb.11:
	movq	(%rbx), %rdi
	callq	_readl
	movq	%rax, %rcx
	movl	$1, %eax
	cmpq	%rcx, %r14
	jne	LBB0_13
LBB0_12:
	xorl	%eax, %eax
LBB0_13:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_mt7603_tx_hang
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mt7603_tx_hang
_mt7603_tx_hang:                        ; @mt7603_tx_hang
	.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	x19, x0
	ldr	x8, [x0, #8]
	ldr	x20, [x8]
	ldr	w8, [x20, #8]
	cbz	w8, LBB0_3
; %bb.1:
	ldr	x8, [x19]
	ldr	x21, [x8]
	ldr	x8, [x20]
	add	x0, x8, #4
	bl	_readl
	ldr	x8, [x19]
	str	x0, [x8]
	cmp	x0, x21
	b.ne	LBB0_3
; %bb.2:
	ldr	x0, [x20]
	bl	_readl
	cmp	x21, x0
	b.ne	LBB0_13
LBB0_3:
	ldr	x8, [x19, #8]
	ldr	x20, [x8, #8]
	ldr	w8, [x20, #8]
	cbz	w8, LBB0_6
; %bb.4:
	ldr	x8, [x19]
	ldr	x21, [x8, #8]
	ldr	x8, [x20]
	add	x0, x8, #4
	bl	_readl
	ldr	x8, [x19]
	str	x0, [x8, #8]
	cmp	x0, x21
	b.ne	LBB0_6
; %bb.5:
	ldr	x0, [x20]
	bl	_readl
	cmp	x21, x0
	b.ne	LBB0_13
LBB0_6:
	ldr	x8, [x19, #8]
	ldr	x20, [x8, #16]
	ldr	w8, [x20, #8]
	cbz	w8, LBB0_9
; %bb.7:
	ldr	x8, [x19]
	ldr	x21, [x8, #16]
	ldr	x8, [x20]
	add	x0, x8, #4
	bl	_readl
	ldr	x8, [x19]
	str	x0, [x8, #16]
	cmp	x0, x21
	b.ne	LBB0_9
; %bb.8:
	ldr	x0, [x20]
	bl	_readl
	cmp	x21, x0
	b.ne	LBB0_13
LBB0_9:
	ldr	x8, [x19, #8]
	ldr	x20, [x8, #24]
	ldr	w8, [x20, #8]
	cbz	w8, LBB0_12
; %bb.10:
	ldr	x8, [x19]
	ldr	x21, [x8, #24]
	ldr	x8, [x20]
	add	x0, x8, #4
	bl	_readl
	ldr	x8, [x19]
	str	x0, [x8, #24]
	cmp	x0, x21
	b.ne	LBB0_12
; %bb.11:
	ldr	x0, [x20]
	bl	_readl
	cmp	x21, x0
	b.ne	LBB0_13
LBB0_12:
	mov	w0, #0
	b	LBB0_14
LBB0_13:
	mov	w0, #1
LBB0_14:
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_mt7603_tx_hang
.subsections_via_symbols
