	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sa1100_irda_fir_irq
_sa1100_irda_fir_irq:                   ## @sa1100_irda_fir_irq
	.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, %r14
	callq	_netdev_priv
	movq	%rax, %rbx
	movl	4(%rax), %edi
	callq	_sa1100_stop_dma
	movq	_Ser2HSSR0@GOTPCREL(%rip), %r8
	movl	(%r8), %esi
	movq	_HSSR0_FRE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %eax
	movq	_HSSR0_RAB@GOTPCREL(%rip), %rdi
	movl	(%rdi), %ecx
	orl	%eax, %ecx
	testl	%esi, %ecx
	je	LBB0_4
## %bb.1:
	incl	4(%r14)
	testl	%esi, %eax
	je	LBB0_3
## %bb.2:
	incl	(%r14)
	movl	(%rdi), %ecx
	orl	(%rdx), %ecx
LBB0_3:
	movq	_HSCR0_HSSP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%rbx), %eax
	movq	_Ser2HSCR0@GOTPCREL(%rip), %rdx
	movl	%eax, (%rdx)
	movl	%ecx, (%r8)
	movl	%ecx, %esi
LBB0_4:
	movq	_HSSR0_EIF@GOTPCREL(%rip), %rax
	testl	%esi, (%rax)
	je	LBB0_6
## %bb.5:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_sa1100_irda_fir_error
LBB0_6:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_sa1100_irda_rx_dma_start       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_Ser2HSSR0,4,2                  ## @Ser2HSSR0
	.comm	_HSSR0_FRE,4,2                  ## @HSSR0_FRE
	.comm	_HSSR0_RAB,4,2                  ## @HSSR0_RAB
	.comm	_HSCR0_HSSP,4,2                 ## @HSCR0_HSSP
	.comm	_Ser2HSCR0,4,2                  ## @Ser2HSCR0
	.comm	_HSSR0_EIF,4,2                  ## @HSSR0_EIF
	.no_dead_strip	_sa1100_irda_fir_irq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sa1100_irda_fir_irq
_sa1100_irda_fir_irq:                   ; @sa1100_irda_fir_irq
	.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
	bl	_netdev_priv
	mov	x20, x0
	ldr	w0, [x0, #4]
	bl	_sa1100_stop_dma
Lloh0:
	adrp	x8, _Ser2HSSR0@GOTPAGE
Lloh1:
	ldr	x8, [x8, _Ser2HSSR0@GOTPAGEOFF]
	ldr	w9, [x8]
Lloh2:
	adrp	x10, _HSSR0_FRE@GOTPAGE
Lloh3:
	ldr	x10, [x10, _HSSR0_FRE@GOTPAGEOFF]
	ldr	w13, [x10]
Lloh4:
	adrp	x11, _HSSR0_RAB@GOTPAGE
Lloh5:
	ldr	x11, [x11, _HSSR0_RAB@GOTPAGEOFF]
	ldr	w12, [x11]
	orr	w12, w12, w13
	tst	w12, w9
	b.eq	LBB0_5
; %bb.1:
	ldr	w14, [x19, #4]
	add	w14, w14, #1
	str	w14, [x19, #4]
	tst	w13, w9
	b.eq	LBB0_3
; %bb.2:
	ldr	w9, [x19]
	add	w9, w9, #1
	str	w9, [x19]
	ldr	w9, [x10]
	ldr	w10, [x11]
	orr	w9, w10, w9
	b	LBB0_4
LBB0_3:
	mov	x9, x12
LBB0_4:
	ldr	w10, [x20]
Lloh6:
	adrp	x11, _HSCR0_HSSP@GOTPAGE
Lloh7:
	ldr	x11, [x11, _HSCR0_HSSP@GOTPAGEOFF]
Lloh8:
	ldr	w11, [x11]
	orr	w10, w11, w10
Lloh9:
	adrp	x11, _Ser2HSCR0@GOTPAGE
Lloh10:
	ldr	x11, [x11, _Ser2HSCR0@GOTPAGEOFF]
Lloh11:
	str	w10, [x11]
	str	w9, [x8]
LBB0_5:
Lloh12:
	adrp	x8, _HSSR0_EIF@GOTPAGE
Lloh13:
	ldr	x8, [x8, _HSSR0_EIF@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	tst	w8, w9
	b.eq	LBB0_7
; %bb.6:
	mov	x0, x20
	mov	x1, x19
	bl	_sa1100_irda_fir_error
LBB0_7:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_sa1100_irda_rx_dma_start
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotStr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_Ser2HSSR0,4,2                  ; @Ser2HSSR0
	.comm	_HSSR0_FRE,4,2                  ; @HSSR0_FRE
	.comm	_HSSR0_RAB,4,2                  ; @HSSR0_RAB
	.comm	_HSCR0_HSSP,4,2                 ; @HSCR0_HSSP
	.comm	_Ser2HSCR0,4,2                  ; @Ser2HSCR0
	.comm	_HSSR0_EIF,4,2                  ; @HSSR0_EIF
	.no_dead_strip	_sa1100_irda_fir_irq
.subsections_via_symbols
