	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sdla_transmit
_sdla_transmit:                         ## @sdla_transmit
	.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
	subq	$24, %rsp
	.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
	movq	%rax, %r13
	movq	%r15, %rdi
	callq	_netif_stop_queue
	movl	(%r15), %edx
	cmpl	$135, %edx
	jne	LBB0_4
## %bb.1:
	movq	16(%r14), %rax
	movl	(%rax), %edx
	movq	_ARPHRD_DLCI@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %edx
	jne	LBB0_2
## %bb.5:
	movl	(%r13), %ecx
	leal	-129(%rcx), %edx
	cmpl	$2, %edx
	jae	LBB0_6
## %bb.9:
	movq	_SDLA_INFORMATION_WRITE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	8(%rax), %rax
	movswl	(%rax), %edx
	movq	8(%r14), %r8
	movl	(%r14), %r9d
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rsp)
	movq	%r15, %rdi
	xorl	%ecx, %ecx
	callq	_sdla_cmd
                                        ## kill: def $eax killed $eax def $rax
LBB0_10:
	leal	-132(%rax), %ecx
	cmpl	$3, %ecx
	jae	LBB0_11
## %bb.13:
	incl	8(%r15)
	jmp	LBB0_15
LBB0_4:
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_3
LBB0_2:
	leaq	L_.str(%rip), %rsi
LBB0_3:
	movq	%r15, %rdi
	callq	_netdev_warn
LBB0_15:
	movq	%r15, %rdi
	callq	_netif_wake_queue
	movq	_CONFIG_DLCI_MAX@GOTPCREL(%rip), %r15
	movl	(%r15), %eax
	testl	%eax, %eax
	jle	LBB0_20
## %bb.16:
	xorl	%ebx, %ebx
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_17 Depth=1
	incq	%rbx
	movslq	%eax, %rcx
	cmpq	%rcx, %rbx
	jge	LBB0_20
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%r13), %rcx
	movq	(%rcx,%rbx,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_17 Depth=1
	callq	_netif_wake_queue
	movl	(%r15), %eax
	jmp	LBB0_19
LBB0_20:
	movq	%r14, %rdi
	callq	_dev_kfree_skb
	movq	_NETDEV_TX_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	cmpl	$128, %ecx
	jne	LBB0_14
## %bb.7:
	movw	$4, -46(%rbp)
	movq	_SDLA_INFORMATION_WRITE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	8(%rax), %rax
	movswl	(%rax), %edx
	movl	(%r14), %r9d
	leaq	-46(%rbp), %rax
	movq	%rax, 8(%rsp)
	leaq	-44(%rbp), %rax
	movq	%rax, (%rsp)
	movq	%r15, %rdi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_sdla_cmd
                                        ## kill: def $eax killed $eax def $rax
	cmpl	$131, %eax
	jne	LBB0_10
## %bb.8:
	movq	_sdla_lock@GOTPCREL(%rip), %rdi
	callq	_spin_lock_irqsave
	movl	-44(%rbp), %esi
	movq	%r15, %rdi
	callq	_SDLA_WINDOW
	movslq	16(%r15), %rbx
	movq	_SDLA_ADDR_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	-44(%rbp), %eax
	movslq	%eax, %r12
	movl	4(%r12,%rbx), %esi
	movq	8(%r14), %rdx
	movl	(%r14), %ecx
	movq	%r15, %rdi
	callq	___sdla_write
	movl	-44(%rbp), %esi
	movq	%r15, %rdi
	callq	_SDLA_WINDOW
	movl	$1, (%r12,%rbx)
	movq	_sdla_lock@GOTPCREL(%rip), %rdi
	callq	_spin_unlock_irqrestore
	incl	12(%r15)
	jmp	LBB0_15
LBB0_11:
	cmpl	$131, %eax
	jne	LBB0_14
## %bb.12:
	incl	12(%r15)
	jmp	LBB0_15
LBB0_14:
	incl	4(%r15)
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.comm	_ARPHRD_DLCI,4,2                ## @ARPHRD_DLCI
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Non DLCI device, type %i, tried to send on FRAD module\n"

L_.str.1:                               ## @.str.1
	.asciz	"unknown firmware type 0x%04X\n"

	.comm	_SDLA_INFORMATION_WRITE,4,2     ## @SDLA_INFORMATION_WRITE
	.comm	_sdla_lock,4,2                  ## @sdla_lock
	.comm	_SDLA_ADDR_MASK,4,2             ## @SDLA_ADDR_MASK
	.comm	_CONFIG_DLCI_MAX,4,2            ## @CONFIG_DLCI_MAX
	.comm	_NETDEV_TX_OK,4,2               ## @NETDEV_TX_OK
	.no_dead_strip	_sdla_transmit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sdla_transmit
_sdla_transmit:                         ; @sdla_transmit
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x21, x1
	mov	x19, x0
	mov	x0, x1
	bl	_netdev_priv
	mov	x20, x0
	mov	x0, x21
	bl	_netif_stop_queue
	ldr	w2, [x21]
	cmp	w2, #135
	b.ne	LBB0_6
; %bb.1:
	ldr	x8, [x19, #16]
	ldr	w2, [x8]
Lloh0:
	adrp	x9, _ARPHRD_DLCI@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ARPHRD_DLCI@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w2, w9
	b.ne	LBB0_7
; %bb.2:
	ldr	w9, [x20]
	sub	w10, w9, #129
	cmp	w10, #2
	b.hs	LBB0_15
; %bb.3:
Lloh3:
	adrp	x9, _SDLA_INFORMATION_WRITE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SDLA_INFORMATION_WRITE@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x9]
	ldr	x8, [x8, #8]
	ldrsh	w2, [x8]
	ldr	x4, [x19, #8]
	ldr	w5, [x19]
	mov	x0, x21
	mov	w3, #0
	mov	x6, #0
	mov	x7, #0
	bl	_sdla_cmd
LBB0_4:
	sub	w8, w0, #132
	cmp	w8, #3
	b.hs	LBB0_18
; %bb.5:
	ldr	w8, [x21, #8]
	add	w8, w8, #1
	str	w8, [x21, #8]
	b	LBB0_9
LBB0_6:
Lloh6:
	adrp	x1, l_.str.1@PAGE
Lloh7:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_8
LBB0_7:
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
LBB0_8:
	mov	x0, x21
	bl	_netdev_warn
LBB0_9:
	mov	x0, x21
	bl	_netif_wake_queue
Lloh10:
	adrp	x21, _CONFIG_DLCI_MAX@GOTPAGE
Lloh11:
	ldr	x21, [x21, _CONFIG_DLCI_MAX@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_14
; %bb.10:
	mov	x22, #0
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=1
	add	x22, x22, #1
	cmp	x22, w8, sxtw
	b.ge	LBB0_14
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x20, #8]
	ldr	x0, [x9, x22, lsl #3]
	cbz	x0, LBB0_11
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	bl	_netif_wake_queue
	ldr	w8, [x21]
	b	LBB0_11
LBB0_14:
	mov	x0, x19
	bl	_dev_kfree_skb
Lloh12:
	adrp	x8, _NETDEV_TX_OK@GOTPAGE
Lloh13:
	ldr	x8, [x8, _NETDEV_TX_OK@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_15:
	cmp	w9, #128
	b.ne	LBB0_20
; %bb.16:
	mov	w9, #4
	strh	w9, [sp, #10]
Lloh15:
	adrp	x9, _SDLA_INFORMATION_WRITE@GOTPAGE
Lloh16:
	ldr	x9, [x9, _SDLA_INFORMATION_WRITE@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x9]
	ldr	x8, [x8, #8]
	ldrsh	w2, [x8]
	ldr	w5, [x19]
	add	x6, sp, #12
	add	x7, sp, #10
	mov	x0, x21
	mov	w3, #0
	mov	x4, #0
	bl	_sdla_cmd
	cmp	w0, #131
	b.ne	LBB0_4
; %bb.17:
Lloh18:
	adrp	x22, _sdla_lock@GOTPAGE
Lloh19:
	ldr	x22, [x22, _sdla_lock@GOTPAGEOFF]
	mov	x0, x22
	bl	_spin_lock_irqsave
	ldr	w1, [sp, #12]
	mov	x0, x21
	bl	_SDLA_WINDOW
	ldrsw	x8, [x21, #16]
	ldr	w9, [sp, #12]
Lloh20:
	adrp	x10, _SDLA_ADDR_MASK@GOTPAGE
Lloh21:
	ldr	x10, [x10, _SDLA_ADDR_MASK@GOTPAGEOFF]
Lloh22:
	ldr	w10, [x10]
	and	w9, w10, w9
	add	x23, x8, w9, sxtw
	ldr	w1, [x23, #4]
	ldr	x2, [x19, #8]
	ldr	w3, [x19]
	mov	x0, x21
	bl	___sdla_write
	ldr	w1, [sp, #12]
	mov	x0, x21
	bl	_SDLA_WINDOW
	mov	w8, #1
	str	w8, [x23]
	mov	x0, x22
	bl	_spin_unlock_irqrestore
	b	LBB0_19
LBB0_18:
	cmp	w0, #131
	b.ne	LBB0_20
LBB0_19:
	ldr	w8, [x21, #12]
	add	w8, w8, #1
	str	w8, [x21, #12]
	b	LBB0_9
LBB0_20:
	ldr	w8, [x21, #4]
	add	w8, w8, #1
	str	w8, [x21, #4]
	b	LBB0_9
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_ARPHRD_DLCI,4,2                ; @ARPHRD_DLCI
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Non DLCI device, type %i, tried to send on FRAD module\n"

l_.str.1:                               ; @.str.1
	.asciz	"unknown firmware type 0x%04X\n"

	.comm	_SDLA_INFORMATION_WRITE,4,2     ; @SDLA_INFORMATION_WRITE
	.comm	_sdla_lock,4,2                  ; @sdla_lock
	.comm	_SDLA_ADDR_MASK,4,2             ; @SDLA_ADDR_MASK
	.comm	_CONFIG_DLCI_MAX,4,2            ; @CONFIG_DLCI_MAX
	.comm	_NETDEV_TX_OK,4,2               ; @NETDEV_TX_OK
	.no_dead_strip	_sdla_transmit
.subsections_via_symbols
