	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function niu_log_txchan_errors
_niu_log_txchan_errors:                 ## @niu_log_txchan_errors
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%edx, %ebx
	movl	(%rdi), %edi
	movl	(%rsi), %edx
	leaq	L_.str(%rip), %rsi
	callq	_netdev_err
	movq	_TX_CS_MBOX_ERR@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_2
## %bb.1:
	leaq	L_.str.1(%rip), %rdi
	callq	_pr_cont
LBB0_2:
	movq	_TX_CS_PKT_SIZE_ERR@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_4
## %bb.3:
	leaq	L_.str.2(%rip), %rdi
	callq	_pr_cont
LBB0_4:
	movq	_TX_CS_TX_RING_OFLOW@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_6
## %bb.5:
	leaq	L_.str.3(%rip), %rdi
	callq	_pr_cont
LBB0_6:
	movq	_TX_CS_PREF_BUF_PAR_ERR@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_8
## %bb.7:
	leaq	L_.str.4(%rip), %rdi
	callq	_pr_cont
LBB0_8:
	movq	_TX_CS_NACK_PREF@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_10
## %bb.9:
	leaq	L_.str.5(%rip), %rdi
	callq	_pr_cont
LBB0_10:
	movq	_TX_CS_NACK_PKT_RD@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_12
## %bb.11:
	leaq	L_.str.6(%rip), %rdi
	callq	_pr_cont
LBB0_12:
	movq	_TX_CS_CONF_PART_ERR@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_14
## %bb.13:
	leaq	L_.str.7(%rip), %rdi
	callq	_pr_cont
LBB0_14:
	movq	_TX_CS_PKT_PRT_ERR@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_16
## %bb.15:
	leaq	L_.str.8(%rip), %rdi
	callq	_pr_cont
LBB0_16:
	leaq	L_.str.9(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_pr_cont                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"TX channel %u errors ( "

	.comm	_TX_CS_MBOX_ERR,4,2             ## @TX_CS_MBOX_ERR
L_.str.1:                               ## @.str.1
	.asciz	"MBOX "

	.comm	_TX_CS_PKT_SIZE_ERR,4,2         ## @TX_CS_PKT_SIZE_ERR
L_.str.2:                               ## @.str.2
	.asciz	"PKT_SIZE "

	.comm	_TX_CS_TX_RING_OFLOW,4,2        ## @TX_CS_TX_RING_OFLOW
L_.str.3:                               ## @.str.3
	.asciz	"TX_RING_OFLOW "

	.comm	_TX_CS_PREF_BUF_PAR_ERR,4,2     ## @TX_CS_PREF_BUF_PAR_ERR
L_.str.4:                               ## @.str.4
	.asciz	"PREF_BUF_PAR "

	.comm	_TX_CS_NACK_PREF,4,2            ## @TX_CS_NACK_PREF
L_.str.5:                               ## @.str.5
	.asciz	"NACK_PREF "

	.comm	_TX_CS_NACK_PKT_RD,4,2          ## @TX_CS_NACK_PKT_RD
L_.str.6:                               ## @.str.6
	.asciz	"NACK_PKT_RD "

	.comm	_TX_CS_CONF_PART_ERR,4,2        ## @TX_CS_CONF_PART_ERR
L_.str.7:                               ## @.str.7
	.asciz	"CONF_PART "

	.comm	_TX_CS_PKT_PRT_ERR,4,2          ## @TX_CS_PKT_PRT_ERR
L_.str.8:                               ## @.str.8
	.asciz	"PKT_PTR "

L_.str.9:                               ## @.str.9
	.asciz	")\n"

	.no_dead_strip	_niu_log_txchan_errors
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function niu_log_txchan_errors
_niu_log_txchan_errors:                 ; @niu_log_txchan_errors
	.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, x2
	ldr	w0, [x0]
	ldr	w2, [x1]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_netdev_err
Lloh2:
	adrp	x8, _TX_CS_MBOX_ERR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _TX_CS_MBOX_ERR@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	tst	w8, w19
	b.eq	LBB0_2
; %bb.1:
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_pr_cont
LBB0_2:
Lloh7:
	adrp	x8, _TX_CS_PKT_SIZE_ERR@GOTPAGE
Lloh8:
	ldr	x8, [x8, _TX_CS_PKT_SIZE_ERR@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	tst	w8, w19
	b.eq	LBB0_4
; %bb.3:
Lloh10:
	adrp	x0, l_.str.2@PAGE
Lloh11:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_pr_cont
LBB0_4:
Lloh12:
	adrp	x8, _TX_CS_TX_RING_OFLOW@GOTPAGE
Lloh13:
	ldr	x8, [x8, _TX_CS_TX_RING_OFLOW@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	tst	w8, w19
	b.eq	LBB0_6
; %bb.5:
Lloh15:
	adrp	x0, l_.str.3@PAGE
Lloh16:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_pr_cont
LBB0_6:
Lloh17:
	adrp	x8, _TX_CS_PREF_BUF_PAR_ERR@GOTPAGE
Lloh18:
	ldr	x8, [x8, _TX_CS_PREF_BUF_PAR_ERR@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	tst	w8, w19
	b.eq	LBB0_8
; %bb.7:
Lloh20:
	adrp	x0, l_.str.4@PAGE
Lloh21:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_pr_cont
LBB0_8:
Lloh22:
	adrp	x8, _TX_CS_NACK_PREF@GOTPAGE
Lloh23:
	ldr	x8, [x8, _TX_CS_NACK_PREF@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	tst	w8, w19
	b.eq	LBB0_10
; %bb.9:
Lloh25:
	adrp	x0, l_.str.5@PAGE
Lloh26:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_pr_cont
LBB0_10:
Lloh27:
	adrp	x8, _TX_CS_NACK_PKT_RD@GOTPAGE
Lloh28:
	ldr	x8, [x8, _TX_CS_NACK_PKT_RD@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	tst	w8, w19
	b.eq	LBB0_12
; %bb.11:
Lloh30:
	adrp	x0, l_.str.6@PAGE
Lloh31:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_pr_cont
LBB0_12:
Lloh32:
	adrp	x8, _TX_CS_CONF_PART_ERR@GOTPAGE
Lloh33:
	ldr	x8, [x8, _TX_CS_CONF_PART_ERR@GOTPAGEOFF]
Lloh34:
	ldr	w8, [x8]
	tst	w8, w19
	b.eq	LBB0_14
; %bb.13:
Lloh35:
	adrp	x0, l_.str.7@PAGE
Lloh36:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_pr_cont
LBB0_14:
Lloh37:
	adrp	x8, _TX_CS_PKT_PRT_ERR@GOTPAGE
Lloh38:
	ldr	x8, [x8, _TX_CS_PKT_PRT_ERR@GOTPAGEOFF]
Lloh39:
	ldr	w8, [x8]
	tst	w8, w19
	b.eq	LBB0_16
; %bb.15:
Lloh40:
	adrp	x0, l_.str.8@PAGE
Lloh41:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_pr_cont
LBB0_16:
Lloh42:
	adrp	x0, l_.str.9@PAGE
Lloh43:
	add	x0, x0, l_.str.9@PAGEOFF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_pr_cont
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpAdd	Lloh42, Lloh43
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"TX channel %u errors ( "

	.comm	_TX_CS_MBOX_ERR,4,2             ; @TX_CS_MBOX_ERR
l_.str.1:                               ; @.str.1
	.asciz	"MBOX "

	.comm	_TX_CS_PKT_SIZE_ERR,4,2         ; @TX_CS_PKT_SIZE_ERR
l_.str.2:                               ; @.str.2
	.asciz	"PKT_SIZE "

	.comm	_TX_CS_TX_RING_OFLOW,4,2        ; @TX_CS_TX_RING_OFLOW
l_.str.3:                               ; @.str.3
	.asciz	"TX_RING_OFLOW "

	.comm	_TX_CS_PREF_BUF_PAR_ERR,4,2     ; @TX_CS_PREF_BUF_PAR_ERR
l_.str.4:                               ; @.str.4
	.asciz	"PREF_BUF_PAR "

	.comm	_TX_CS_NACK_PREF,4,2            ; @TX_CS_NACK_PREF
l_.str.5:                               ; @.str.5
	.asciz	"NACK_PREF "

	.comm	_TX_CS_NACK_PKT_RD,4,2          ; @TX_CS_NACK_PKT_RD
l_.str.6:                               ; @.str.6
	.asciz	"NACK_PKT_RD "

	.comm	_TX_CS_CONF_PART_ERR,4,2        ; @TX_CS_CONF_PART_ERR
l_.str.7:                               ; @.str.7
	.asciz	"CONF_PART "

	.comm	_TX_CS_PKT_PRT_ERR,4,2          ; @TX_CS_PKT_PRT_ERR
l_.str.8:                               ; @.str.8
	.asciz	"PKT_PTR "

l_.str.9:                               ; @.str.9
	.asciz	")\n"

	.no_dead_strip	_niu_log_txchan_errors
.subsections_via_symbols
