	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_p54_tx_cancel                  ## -- Begin function p54_tx_cancel
	.p2align	4, 0x90
_p54_tx_cancel:                         ## @p54_tx_cancel
	.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
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movl	%esi, %edi
	callq	_le32_to_cpu
	movl	$1, %edi
	cmpq	(%rbx), %rax
	jl	LBB0_2
## %bb.1:
	xorl	%edi, %edi
	cmpq	8(%rbx), %rax
	setg	%dil
LBB0_2:
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	jmp	LBB0_4
LBB0_5:
	movq	_P54_HDR_FLAG_CONTROL_OPSET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_P54_CONTROL_TYPE_TXCANCEL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%rbx, %rdi
	movl	$4, %edx
	callq	_p54_alloc_skb
	movq	%rax, %r15
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
LBB0_4:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	%r15, %rdi
	movl	$4, %esi
	callq	_skb_put
	movl	%r14d, (%rax)
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_p54_tx
	xorl	%eax, %eax
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_P54_HDR_FLAG_CONTROL_OPSET,4,2 ## @P54_HDR_FLAG_CONTROL_OPSET
	.comm	_P54_CONTROL_TYPE_TXCANCEL,4,2  ## @P54_CONTROL_TYPE_TXCANCEL
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.comm	_ENOMEM,4,2                     ## @ENOMEM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_p54_tx_cancel                  ; -- Begin function p54_tx_cancel
	.p2align	2
_p54_tx_cancel:                         ; @p54_tx_cancel
	.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	x20, x1
	mov	x19, x0
	mov	x0, x1
	bl	_le32_to_cpu
	ldr	x8, [x19]
	cmp	x0, x8
	b.ge	LBB0_3
; %bb.1:
	mov	w0, #1
	bl	_unlikely
	cbz	x0, LBB0_4
LBB0_2:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_6
LBB0_3:
	ldr	x8, [x19, #8]
	cmp	x0, x8
	cset	w0, gt
	bl	_unlikely
	cbnz	x0, LBB0_2
LBB0_4:
Lloh2:
	adrp	x8, _P54_HDR_FLAG_CONTROL_OPSET@GOTPAGE
Lloh3:
	ldr	x8, [x8, _P54_HDR_FLAG_CONTROL_OPSET@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	adrp	x8, _P54_CONTROL_TYPE_TXCANCEL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _P54_CONTROL_TYPE_TXCANCEL@GOTPAGEOFF]
Lloh7:
	ldr	w3, [x8]
Lloh8:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh9:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh10:
	ldr	w4, [x8]
	mov	x0, x19
	mov	w2, #4
	bl	_p54_alloc_skb
	mov	x21, x0
	cmp	x0, #0
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_8
; %bb.5:
Lloh11:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_6:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_7:
	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
LBB0_8:
	mov	x0, x21
	mov	w1, #4
	bl	_skb_put
	str	w20, [x0]
	mov	x0, x19
	mov	x1, x21
	bl	_p54_tx
	mov	w0, #0
	b	LBB0_7
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_P54_HDR_FLAG_CONTROL_OPSET,4,2 ; @P54_HDR_FLAG_CONTROL_OPSET
	.comm	_P54_CONTROL_TYPE_TXCANCEL,4,2  ; @P54_CONTROL_TYPE_TXCANCEL
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.comm	_ENOMEM,4,2                     ; @ENOMEM
.subsections_via_symbols
