	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function via_ircc_hard_xmit_fir
_via_ircc_hard_xmit_fir:                ## @via_ircc_hard_xmit_fir
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	%rsi, %rdi
	callq	_netdev_priv
	cmpq	$0, 56(%rax)
	jne	LBB0_10
## %bb.1:
	movq	%rax, %rbx
	movl	52(%rax), %r12d
	cmpl	$12406, (%rax)                  ## imm = 0x3076
	jne	LBB0_3
## %bb.2:
	movl	$1500, %edi                     ## imm = 0x5DC
	callq	_iodelay
	jmp	LBB0_4
LBB0_3:
	movl	$1500, %edi                     ## imm = 0x5DC
	callq	_udelay
LBB0_4:
	movq	%r15, %rdi
	callq	_netif_stop_queue
	movq	%r14, %rdi
	callq	_irda_get_next_speed
	cmpl	$-1, %eax
	je	LBB0_9
## %bb.5:
	cmpl	48(%rbx), %eax
	je	LBB0_9
## %bb.6:
	cmpq	$0, (%r14)
	je	LBB0_7
## %bb.8:
	movl	%eax, 4(%rbx)
LBB0_9:
	movq	%rbx, %r13
	addq	$8, %r13
	movq	%r13, %rdi
	callq	_spin_lock_irqsave
	movl	40(%rbx), %esi
	movq	16(%rbx), %rax
	movq	32(%rbx), %rcx
	shlq	$4, %rax
	movl	%esi, (%rcx,%rax)
	movq	(%r14), %rdx
	movq	%rdx, 8(%rcx,%rax)
	leal	(%rsi,%rdx), %eax
	movl	%eax, 40(%rbx)
	addl	%edx, 8(%r15)
	movq	%r14, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_skb_copy_from_linear_data
	incl	24(%rbx)
	incq	16(%rbx)
	movq	%rbx, %rdi
	movl	%r12d, %esi
	callq	_via_ircc_dma_xmit
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r15)
	movq	%r14, %rdi
	callq	_dev_kfree_skb
	movq	%r13, %rdi
	callq	_spin_unlock_irqrestore
	jmp	LBB0_10
LBB0_7:
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_via_ircc_change_speed
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r15)
	movq	%r14, %rdi
	callq	_dev_kfree_skb
LBB0_10:
	movq	_NETDEV_TX_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NETDEV_TX_OK,4,2               ## @NETDEV_TX_OK
	.comm	_jiffies,8,3                    ## @jiffies
	.no_dead_strip	_via_ircc_hard_xmit_fir
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function via_ircc_hard_xmit_fir
_via_ircc_hard_xmit_fir:                ; @via_ircc_hard_xmit_fir
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x1
	mov	x19, x0
	mov	x0, x1
	bl	_netdev_priv
	ldr	x8, [x0, #56]
	cbnz	x8, LBB0_10
; %bb.1:
	mov	x21, x0
	ldr	w22, [x0, #52]
	ldr	w8, [x0]
	mov	w9, #12406
	mov	w0, #1500
	cmp	w8, w9
	b.ne	LBB0_3
; %bb.2:
	bl	_iodelay
	b	LBB0_4
LBB0_3:
	bl	_udelay
LBB0_4:
	mov	x0, x20
	bl	_netif_stop_queue
	mov	x0, x19
	bl	_irda_get_next_speed
	cmn	w0, #1
	b.eq	LBB0_8
; %bb.5:
	mov	x1, x0
	ldr	w8, [x21, #48]
	cmp	w0, w8
	b.eq	LBB0_8
; %bb.6:
	ldr	x8, [x19]
	cbz	x8, LBB0_9
; %bb.7:
	str	w1, [x21, #4]
LBB0_8:
	add	x23, x21, #8
	mov	x0, x23
	bl	_spin_lock_irqsave
	ldr	w1, [x21, #40]
	ldr	x8, [x21, #32]
	ldr	x9, [x21, #16]
	add	x8, x8, x9, lsl #4
	str	w1, [x8]
	ldr	x2, [x19]
	str	x2, [x8, #8]
	add	w8, w1, w2
	str	w8, [x21, #40]
	ldr	w8, [x20, #8]
	add	w8, w8, w2
	str	w8, [x20, #8]
	mov	x0, x19
	bl	_skb_copy_from_linear_data
	ldr	w8, [x21, #24]
	add	w8, w8, #1
	str	w8, [x21, #24]
	ldr	x8, [x21, #16]
	add	x8, x8, #1
	str	x8, [x21, #16]
	mov	x0, x21
	mov	x1, x22
	bl	_via_ircc_dma_xmit
Lloh0:
	adrp	x8, _jiffies@GOTPAGE
Lloh1:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [x20]
	mov	x0, x19
	bl	_dev_kfree_skb
	mov	x0, x23
	bl	_spin_unlock_irqrestore
	b	LBB0_10
LBB0_9:
	mov	x0, x21
	bl	_via_ircc_change_speed
Lloh3:
	adrp	x8, _jiffies@GOTPAGE
Lloh4:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	str	x8, [x20]
	mov	x0, x19
	bl	_dev_kfree_skb
LBB0_10:
Lloh6:
	adrp	x8, _NETDEV_TX_OK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _NETDEV_TX_OK@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_NETDEV_TX_OK,4,2               ; @NETDEV_TX_OK
	.comm	_jiffies,8,3                    ; @jiffies
	.no_dead_strip	_via_ircc_hard_xmit_fir
.subsections_via_symbols
