	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tx_abort
_tx_abort:                              ## @tx_abort
	.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	_debug_level@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_DEBUG_LEVEL_INFO@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jl	LBB0_2
## %bb.1:
	movl	48(%rbx), %esi
	leaq	L_.str(%rip), %rdi
	callq	_printk
LBB0_2:
	leaq	4(%rbx), %r14
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	cmpq	$0, 40(%rbx)
	je	LBB0_6
## %bb.3:
	cmpq	$0, 24(%rbx)
	je	LBB0_6
## %bb.4:
	movq	32(%rbx), %rax
	movq	_MGSL_MODE_HDLC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.5:
	xorps	%xmm0, %xmm0
	movups	%xmm0, 8(%rbx)
	movq	$0, 24(%rbx)
	movl	$1, (%rbx)
LBB0_6:
	movq	%r14, %rdi
	callq	_spin_unlock_irqrestore
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_debug_level,8,3                ## @debug_level
	.comm	_DEBUG_LEVEL_INFO,8,3           ## @DEBUG_LEVEL_INFO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"tx_abort(%s)\n"

	.comm	_MGSL_MODE_HDLC,8,3             ## @MGSL_MODE_HDLC
	.no_dead_strip	_tx_abort
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tx_abort
_tx_abort:                              ; @tx_abort
	.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
Lloh0:
	adrp	x8, _debug_level@GOTPAGE
Lloh1:
	ldr	x8, [x8, _debug_level@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _DEBUG_LEVEL_INFO@GOTPAGE
Lloh4:
	ldr	x9, [x9, _DEBUG_LEVEL_INFO@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.lt	LBB0_2
; %bb.1:
	ldr	w1, [x19, #48]
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printk
LBB0_2:
	add	x20, x19, #4
	mov	x0, x20
	bl	_spin_lock_irqsave
	ldr	x8, [x19, #40]
	cbz	x8, LBB0_6
; %bb.3:
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_6
; %bb.4:
	ldr	x8, [x19, #32]
Lloh8:
	adrp	x9, _MGSL_MODE_HDLC@GOTPAGE
Lloh9:
	ldr	x9, [x9, _MGSL_MODE_HDLC@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.5:
	stp	xzr, xzr, [x19, #8]
	str	xzr, [x19, #24]
	mov	w8, #1
	str	w8, [x19]
LBB0_6:
	mov	x0, x20
	bl	_spin_unlock_irqrestore
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_debug_level,8,3                ; @debug_level
	.comm	_DEBUG_LEVEL_INFO,8,3           ; @DEBUG_LEVEL_INFO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"tx_abort(%s)\n"

	.comm	_MGSL_MODE_HDLC,8,3             ; @MGSL_MODE_HDLC
	.no_dead_strip	_tx_abort
.subsections_via_symbols
