	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sa1100_irda_hard_xmit
_sa1100_irda_hard_xmit:                 ## @sa1100_irda_hard_xmit
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	%rsi, %rdi
	callq	_netdev_priv
	movq	%rax, %rbx
	movq	%r15, %rdi
	callq	_irda_get_next_speed
	cmpl	$-1, %eax
	je	LBB0_3
## %bb.1:
	cmpl	(%rbx), %eax
	je	LBB0_3
## %bb.2:
	movl	%eax, 4(%rbx)
LBB0_3:
	cmpl	$0, (%r15)
	je	LBB0_4
## %bb.7:
	movq	%rbx, %rdi
	callq	_IS_FIR
	testl	%eax, %eax
	je	LBB0_8
## %bb.9:
	movq	%r15, %rdi
	callq	_irda_get_mtt
	movl	%eax, %r12d
	movq	24(%rbx), %rdi
	callq	_BUG_ON
	movq	%r14, %rdi
	callq	_netif_stop_queue
	movq	%r15, 24(%rbx)
	movl	20(%rbx), %edi
	movl	(%r15), %edx
	movl	4(%r15), %esi
	movq	_DMA_TO_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_dma_map_single
	movl	%eax, 12(%rbx)
	movl	16(%rbx), %edi
	movl	(%r15), %edx
	movl	%eax, %esi
	callq	_sa1100_start_dma
	testl	%r12d, %r12d
	je	LBB0_11
## %bb.10:
	movl	%r12d, %edi
	callq	_udelay
LBB0_11:
	movq	_HSCR0_HSSP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	8(%rbx), %eax
	movq	_HSCR0_TXE@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_Ser2HSCR0@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	jmp	LBB0_12
LBB0_4:
	cmpl	$0, 4(%rbx)
	je	LBB0_6
## %bb.5:
	movl	$0, 4(%rbx)
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_sa1100_irda_set_speed
LBB0_6:
	movq	%r15, %rdi
	callq	_dev_kfree_skb
	jmp	LBB0_13
LBB0_8:
	movq	%r14, %rdi
	callq	_netif_stop_queue
	movl	32(%rbx), %edx
	movl	44(%rbx), %esi
	movl	%esi, 36(%rbx)
	movq	%r15, %rdi
	callq	_async_wrap_skb
	movl	%eax, 40(%rbx)
	movq	_UTCR3_TIE@GOTPCREL(%rip), %rax
	movq	_UTCR3_TXE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_Ser2UTCR3@GOTPCREL(%rip), %rax
	movl	%ecx, (%rax)
	movq	%r15, %rdi
	callq	_dev_kfree_skb
LBB0_12:
	movq	_jiffies@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r14)
LBB0_13:
	movq	_NETDEV_TX_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NETDEV_TX_OK,4,2               ## @NETDEV_TX_OK
	.comm	_UTCR3_TIE,4,2                  ## @UTCR3_TIE
	.comm	_UTCR3_TXE,4,2                  ## @UTCR3_TXE
	.comm	_Ser2UTCR3,4,2                  ## @Ser2UTCR3
	.comm	_DMA_TO_DEVICE,4,2              ## @DMA_TO_DEVICE
	.comm	_HSCR0_HSSP,4,2                 ## @HSCR0_HSSP
	.comm	_HSCR0_TXE,4,2                  ## @HSCR0_TXE
	.comm	_Ser2HSCR0,4,2                  ## @Ser2HSCR0
	.comm	_jiffies,4,2                    ## @jiffies
	.no_dead_strip	_sa1100_irda_hard_xmit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sa1100_irda_hard_xmit
_sa1100_irda_hard_xmit:                 ; @sa1100_irda_hard_xmit
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x1
	mov	x20, x0
	mov	x0, x1
	bl	_netdev_priv
	mov	x21, x0
	mov	x0, x20
	bl	_irda_get_next_speed
	mov	x1, x0
	cmn	w0, #1
	b.eq	LBB0_3
; %bb.1:
	ldr	w8, [x21]
	cmp	w1, w8
	b.eq	LBB0_3
; %bb.2:
	str	w1, [x21, #4]
LBB0_3:
	ldr	w8, [x20]
	cbz	w8, LBB0_8
; %bb.4:
	mov	x0, x21
	bl	_IS_FIR
	cbz	w0, LBB0_11
; %bb.5:
	mov	x0, x20
	bl	_irda_get_mtt
	mov	x22, x0
	ldr	x0, [x21, #24]
	bl	_BUG_ON
	mov	x0, x19
	bl	_netif_stop_queue
	str	x20, [x21, #24]
	ldr	w0, [x21, #20]
	ldp	w2, w1, [x20]
Lloh0:
	adrp	x8, _DMA_TO_DEVICE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DMA_TO_DEVICE@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
	bl	_dma_map_single
	mov	x1, x0
	str	w0, [x21, #12]
	ldr	w0, [x21, #16]
	ldr	w2, [x20]
	bl	_sa1100_start_dma
	cbz	w22, LBB0_7
; %bb.6:
	mov	x0, x22
	bl	_udelay
LBB0_7:
	ldr	w8, [x21, #8]
Lloh3:
	adrp	x9, _HSCR0_HSSP@GOTPAGE
Lloh4:
	ldr	x9, [x9, _HSCR0_HSSP@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
Lloh6:
	adrp	x10, _HSCR0_TXE@GOTPAGE
Lloh7:
	ldr	x10, [x10, _HSCR0_TXE@GOTPAGEOFF]
	orr	w8, w9, w8
Lloh8:
	ldr	w9, [x10]
	orr	w8, w8, w9
Lloh9:
	adrp	x9, _Ser2HSCR0@GOTPAGE
Lloh10:
	ldr	x9, [x9, _Ser2HSCR0@GOTPAGEOFF]
Lloh11:
	str	w8, [x9]
	b	LBB0_12
LBB0_8:
	ldr	w8, [x21, #4]
	cbz	w8, LBB0_10
; %bb.9:
	str	wzr, [x21, #4]
	mov	x0, x21
	bl	_sa1100_irda_set_speed
LBB0_10:
	mov	x0, x20
	bl	_dev_kfree_skb
	b	LBB0_13
LBB0_11:
	mov	x0, x19
	bl	_netif_stop_queue
	ldr	w1, [x21, #44]
	str	w1, [x21, #36]
	ldr	w2, [x21, #32]
	mov	x0, x20
	bl	_async_wrap_skb
	str	w0, [x21, #40]
Lloh12:
	adrp	x8, _UTCR3_TIE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _UTCR3_TIE@GOTPAGEOFF]
Lloh14:
	adrp	x9, _UTCR3_TXE@GOTPAGE
Lloh15:
	ldr	x9, [x9, _UTCR3_TXE@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
Lloh17:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh18:
	adrp	x9, _Ser2UTCR3@GOTPAGE
Lloh19:
	ldr	x9, [x9, _Ser2UTCR3@GOTPAGEOFF]
Lloh20:
	str	w8, [x9]
	mov	x0, x20
	bl	_dev_kfree_skb
LBB0_12:
Lloh21:
	adrp	x8, _jiffies@GOTPAGE
Lloh22:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	str	w8, [x19]
LBB0_13:
Lloh24:
	adrp	x8, _NETDEV_TX_OK@GOTPAGE
Lloh25:
	ldr	x8, [x8, _NETDEV_TX_OK@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotStr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotStr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh16
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_NETDEV_TX_OK,4,2               ; @NETDEV_TX_OK
	.comm	_UTCR3_TIE,4,2                  ; @UTCR3_TIE
	.comm	_UTCR3_TXE,4,2                  ; @UTCR3_TXE
	.comm	_Ser2UTCR3,4,2                  ; @Ser2UTCR3
	.comm	_DMA_TO_DEVICE,4,2              ; @DMA_TO_DEVICE
	.comm	_HSCR0_HSSP,4,2                 ; @HSCR0_HSSP
	.comm	_HSCR0_TXE,4,2                  ; @HSCR0_TXE
	.comm	_Ser2HSCR0,4,2                  ; @Ser2HSCR0
	.comm	_jiffies,4,2                    ; @jiffies
	.no_dead_strip	_sa1100_irda_hard_xmit
.subsections_via_symbols
