	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ei_tx_err
_ei_tx_err:                             ## @ei_tx_err
	.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
	movq	%rdi, %rbx
	movq	_EN0_TSR@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	(%rbx), %rdi
	callq	_inb_p
	movq	_ENTSR_ABT@GOTPCREL(%rip), %rcx
	movq	_ENTSR_FU@GOTPCREL(%rip), %rdx
	movb	(%rdx), %dl
	addb	(%rcx), %dl
	testb	%al, %dl
	je	LBB0_1
## %bb.8:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_ei_tx_intr                     ## TAILCALL
LBB0_1:
	incl	20(%rbx)
	movq	_ENTSR_CRS@GOTPCREL(%rip), %rcx
	testb	%al, (%rcx)
	je	LBB0_3
## %bb.2:
	incl	16(%rbx)
LBB0_3:
	movq	_ENTSR_CDH@GOTPCREL(%rip), %rcx
	testb	%al, (%rcx)
	je	LBB0_5
## %bb.4:
	incl	12(%rbx)
LBB0_5:
	movq	_ENTSR_OWC@GOTPCREL(%rip), %rcx
	testb	%al, (%rcx)
	je	LBB0_7
## %bb.6:
	incl	8(%rbx)
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EN0_TSR,8,3                    ## @EN0_TSR
	.comm	_ENTSR_ABT,1,0                  ## @ENTSR_ABT
	.comm	_ENTSR_FU,1,0                   ## @ENTSR_FU
	.comm	_ENTSR_CRS,1,0                  ## @ENTSR_CRS
	.comm	_ENTSR_CDH,1,0                  ## @ENTSR_CDH
	.comm	_ENTSR_OWC,1,0                  ## @ENTSR_OWC
	.comm	_ENTSR_ND,1,0                   ## @ENTSR_ND
	.no_dead_strip	_ei_tx_err
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ei_tx_err
_ei_tx_err:                             ; @ei_tx_err
	.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
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _EN0_TSR@GOTPAGE
Lloh1:
	ldr	x9, [x9, _EN0_TSR@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_inb_p
Lloh3:
	adrp	x8, _ENTSR_ABT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENTSR_ABT@GOTPAGEOFF]
	ldrb	w8, [x8]
Lloh5:
	adrp	x9, _ENTSR_FU@GOTPAGE
Lloh6:
	ldr	x9, [x9, _ENTSR_FU@GOTPAGEOFF]
	ldrb	w9, [x9]
	add	w8, w9, w8
	tst	w8, w0
	b.eq	LBB0_2
; %bb.1:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ei_tx_intr
LBB0_2:
	ldr	w8, [x19, #20]
	add	w8, w8, #1
	str	w8, [x19, #20]
Lloh7:
	adrp	x8, _ENTSR_CRS@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ENTSR_CRS@GOTPAGEOFF]
	ldrb	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_4
; %bb.3:
	ldr	w8, [x19, #16]
	add	w8, w8, #1
	str	w8, [x19, #16]
LBB0_4:
Lloh9:
	adrp	x8, _ENTSR_CDH@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ENTSR_CDH@GOTPAGEOFF]
	ldrb	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_6
; %bb.5:
	ldr	w8, [x19, #12]
	add	w8, w8, #1
	str	w8, [x19, #12]
LBB0_6:
Lloh11:
	adrp	x8, _ENTSR_OWC@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ENTSR_OWC@GOTPAGEOFF]
	ldrb	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_8
; %bb.7:
	ldr	w8, [x19, #8]
	add	w8, w8, #1
	str	w8, [x19, #8]
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_EN0_TSR,8,3                    ; @EN0_TSR
	.comm	_ENTSR_ABT,1,0                  ; @ENTSR_ABT
	.comm	_ENTSR_FU,1,0                   ; @ENTSR_FU
	.comm	_ENTSR_CRS,1,0                  ; @ENTSR_CRS
	.comm	_ENTSR_CDH,1,0                  ; @ENTSR_CDH
	.comm	_ENTSR_OWC,1,0                  ; @ENTSR_OWC
	.comm	_ENTSR_ND,1,0                   ; @ENTSR_ND
	.no_dead_strip	_ei_tx_err
.subsections_via_symbols
