	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function poll_tx
_poll_tx:                               ## @poll_tx
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	leaq	L_.str(%rip), %rdi
	callq	_DPRINTK
	movq	_NR_CHAN@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	testl	%r14d, %r14d
	jle	LBB0_8
## %bb.1:
	movq	_enq_ok@GOTPCREL(%rip), %r15
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$1, %r14d
	movq	-48(%rbp), %r14                 ## 8-byte Reload
                                        ## kill: def $r14d killed $r14d killed $r14 def $r14
	jle	LBB0_8
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	leal	-1(%r14), %ebx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_ENI_DEV
	movq	(%rax), %r12
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rax
	shlq	$4, %rax
	cmpq	$0, 8(%r12,%rax)
	je	LBB0_7
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	addq	%rax, %r12
	.p2align	4, 0x90
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r12, %rdi
	callq	_skb_dequeue
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=2
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_do_tx
	cmpl	(%r15), %eax
	je	LBB0_4
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%eax, %r13d
	leaq	L_.str.1(%rip), %rdi
	callq	_DPRINTK
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_skb_queue_head
	movq	_requeued@GOTPCREL(%rip), %rax
	incl	(%rax)
	movq	_enq_jam@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r13d
	jne	LBB0_7
LBB0_8:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	">poll_tx\n"

	.comm	_NR_CHAN,4,2                    ## @NR_CHAN
	.comm	_enq_ok,4,2                     ## @enq_ok
L_.str.1:                               ## @.str.1
	.asciz	"re-queuing TX PDU\n"

	.comm	_requeued,4,2                   ## @requeued
	.comm	_enq_jam,4,2                    ## @enq_jam
	.no_dead_strip	_poll_tx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function poll_tx
_poll_tx:                               ; @poll_tx
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DPRINTK
Lloh2:
	adrp	x8, _NR_CHAN@GOTPAGE
Lloh3:
	ldr	x8, [x8, _NR_CHAN@GOTPAGEOFF]
Lloh4:
	ldr	w24, [x8]
	cmp	w24, #1
	b.lt	LBB0_8
; %bb.1:
Lloh5:
	adrp	x25, _enq_ok@GOTPAGE
Lloh6:
	ldr	x25, [x25, _enq_ok@GOTPAGEOFF]
Lloh7:
	adrp	x20, l_.str.1@PAGE
Lloh8:
	add	x20, x20, l_.str.1@PAGEOFF
Lloh9:
	adrp	x26, _requeued@GOTPAGE
Lloh10:
	ldr	x26, [x26, _requeued@GOTPAGEOFF]
Lloh11:
	adrp	x27, _enq_jam@GOTPAGE
Lloh12:
	ldr	x27, [x27, _enq_jam@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	cmp	w24, #1
	mov	x24, x28
	b.le	LBB0_8
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
	sub	w28, w24, #1
	mov	x0, x19
	bl	_ENI_DEV
	ldr	x8, [x0]
	add	x9, x8, w28, uxtw #4
	ldr	x9, [x9, #8]
	cbz	x9, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x21, x8, x28, lsl #4
LBB0_5:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x21
	bl	_skb_dequeue
	cbz	x0, LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=2
	mov	x22, x0
	bl	_do_tx
	ldr	w8, [x25]
	cmp	w0, w8
	b.eq	LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x23, x0
	mov	x0, x20
	bl	_DPRINTK
	mov	x0, x21
	mov	x1, x22
	bl	_skb_queue_head
	ldr	w8, [x26]
	add	w8, w8, #1
	str	w8, [x26]
	ldr	w8, [x27]
	cmp	w23, w8
	ccmp	w24, #1, #4, ne
	mov	x24, x28
	b.gt	LBB0_3
LBB0_8:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	">poll_tx\n"

	.comm	_NR_CHAN,4,2                    ; @NR_CHAN
	.comm	_enq_ok,4,2                     ; @enq_ok
l_.str.1:                               ; @.str.1
	.asciz	"re-queuing TX PDU\n"

	.comm	_requeued,4,2                   ; @requeued
	.comm	_enq_jam,4,2                    ; @enq_jam
	.no_dead_strip	_poll_tx
.subsections_via_symbols
