	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function kaweth_probe
_kaweth_probe:                          ## @kaweth_probe
	.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	%rdi, %r15
	callq	_interface_to_usbdev
	movq	%rax, %rbx
	movl	$255, -48(%rbp)
	movq	_EIO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	28(%rbx), %edi
	movl	32(%rbx), %r14d
	callq	_le16_to_cpu
	movl	%eax, %r12d
	movl	24(%rbx), %edi
	callq	_le16_to_cpu
	movl	%eax, %r13d
	movl	(%rbx), %edi
	callq	_le16_to_cpu
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	movl	%r14d, %edx
	movl	%r12d, %ecx
	movl	%r13d, %r8d
	movl	%eax, %r9d
	xorl	%eax, %eax
	callq	_dev_dbg
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_dev_dbg
	movl	8(%rbx), %ecx
	movl	16(%rbx), %edx
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_dev_dbg
	movl	$120, %edi
	callq	_alloc_etherdev
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_netdev_priv
	movq	%rax, %r12
	movq	%rbx, 40(%rax)
	movq	%r14, 64(%rax)
	movq	%r15, 112(%rax)
	leaq	108(%rax), %rdi
	callq	_spin_lock_init
	leaq	104(%r12), %rdi
	callq	_init_waitqueue_head
	leaq	L_.str.3(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_dev_dbg
	movq	%r12, %rdi
	callq	_kaweth_reset
	movl	(%rbx), %edi
	callq	_le16_to_cpu
	cmpl	$256, %eax                      ## imm = 0x100
	jae	LBB0_3
## %bb.5:
	leaq	L_.str.5(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_dev_info
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	___get_free_page
	movq	%rax, 96(%r12)
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	leaq	L_.str.6(%rip), %rsi
	movq	%r12, %rdi
	movl	$100, %edx
	movl	$2, %ecx
	callq	_kaweth_download_firmware
	testl	%eax, %eax
	js	LBB0_8
## %bb.10:
	leaq	L_.str.8(%rip), %rsi
	movq	%r12, %rdi
	movl	$100, %edx
	movl	$3, %ecx
	callq	_kaweth_download_firmware
	testl	%eax, %eax
	js	LBB0_11
## %bb.12:
	leaq	L_.str.10(%rip), %rsi
	movq	%r12, %rdi
	movl	$126, %edx
	movl	$2, %ecx
	callq	_kaweth_download_firmware
	testl	%eax, %eax
	js	LBB0_13
## %bb.14:
	leaq	L_.str.12(%rip), %rsi
	movq	%r12, %rdi
	movl	$126, %edx
	movl	$3, %ecx
	callq	_kaweth_download_firmware
	testl	%eax, %eax
	js	LBB0_15
## %bb.16:
	movq	%r12, %rdi
	movl	$126, %esi
	callq	_kaweth_trigger_firmware
	testl	%eax, %eax
	js	LBB0_17
## %bb.18:
	leaq	L_.str.15(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_dev_info
	jmp	LBB0_19
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_42
LBB0_3:
	leaq	L_.str.4(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_dev_info
	movq	%r12, %rdi
	callq	_kaweth_read_configuration
	testl	%eax, %eax
	js	LBB0_4
## %bb.20:
	movl	76(%r12), %edx
	leaq	L_.str.17(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_dev_info
	movl	$32767, %edx                    ## imm = 0x7FFF
	andl	80(%r12), %edx
	leaq	L_.str.18(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_dev_info
	movl	88(%r12), %edi
	callq	_le16_to_cpu
	leaq	L_.str.19(%rip), %rsi
	movq	%r15, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_dev_info
	leaq	84(%r12), %rbx
	movl	84(%r12), %edx
	leaq	L_.str.20(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_dev_info
	leaq	-48(%rbp), %rsi
	movq	%rbx, %rdi
	movl	$4, %edx
	callq	_memcmp
	testl	%eax, %eax
	je	LBB0_21
## %bb.23:
	movq	_KAWETH_BUF_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_kaweth_set_urb_size
	testq	%rax, %rax
	js	LBB0_24
## %bb.25:
	movq	_KAWETH_SOFS_TO_WAIT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_kaweth_set_sofs_wait
	testq	%rax, %rax
	js	LBB0_26
## %bb.27:
	movq	_KAWETH_PACKET_FILTER_DIRECTED@GOTPCREL(%rip), %rax
	movq	_KAWETH_PACKET_FILTER_BROADCAST@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movq	_KAWETH_PACKET_FILTER_MULTICAST@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movq	%r12, %rdi
	callq	_kaweth_set_receive_filter
	testl	%eax, %eax
	js	LBB0_28
## %bb.29:
	leaq	L_.str.25(%rip), %rsi
	movq	%r15, %r13
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_dev_dbg
	movq	_GFP_KERNEL@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	xorl	%edi, %edi
	callq	_usb_alloc_urb
	movq	%rax, (%r12)
	testq	%rax, %rax
	je	LBB0_40
## %bb.30:
	movl	(%r15), %esi
	xorl	%edi, %edi
	callq	_usb_alloc_urb
	movq	%rax, 8(%r12)
	testq	%rax, %rax
	je	LBB0_39
## %bb.31:
	movl	(%r15), %esi
	xorl	%edi, %edi
	callq	_usb_alloc_urb
	movq	%rax, 16(%r12)
	testq	%rax, %rax
	je	LBB0_38
## %bb.32:
	movq	40(%r12), %rdi
	movq	_INTBUFFERSIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r15), %edx
	leaq	24(%r12), %rcx
	callq	_usb_alloc_coherent
	movq	%rax, 32(%r12)
	testq	%rax, %rax
	je	LBB0_37
## %bb.33:
	movq	40(%r12), %rdi
	movq	_KAWETH_BUF_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r15), %edx
	leaq	48(%r12), %rcx
	callq	_usb_alloc_coherent
	movq	%rax, 56(%r12)
	testq	%rax, %rax
	je	LBB0_36
## %bb.34:
	movl	36(%r14), %edi
	leaq	-48(%rbp), %rsi
	movl	$4, %edx
	callq	_memcpy
	movl	32(%r14), %edi
	movq	%rbx, %rsi
	movl	$4, %edx
	callq	_memcpy
	movq	_kaweth_netdev_ops@GOTPCREL(%rip), %rax
	movq	%rax, 24(%r14)
	movq	_KAWETH_TX_TIMEOUT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r14)
	movl	88(%r12), %edi
	callq	_le16_to_cpu
	movl	%eax, (%r14)
	movq	_ops@GOTPCREL(%rip), %rax
	movq	%rax, 8(%r14)
	movq	%r12, %rdi
	addq	$72, %rdi
	movq	_kaweth_resubmit_tl@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_DELAYED_WORK
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_usb_set_intfdata
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_SET_NETDEV_DEV
	movq	%r14, %rdi
	callq	_register_netdev
	testq	%rax, %rax
	je	LBB0_43
## %bb.35:
	leaq	L_.str.26(%rip), %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_usb_set_intfdata
	movq	40(%r12), %rdi
	movq	_KAWETH_BUF_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	56(%r12), %rdx
	movl	48(%r12), %ecx
	callq	_usb_free_coherent
LBB0_36:
	movq	40(%r12), %rdi
	movq	_INTBUFFERSIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	32(%r12), %rdx
	movl	24(%r12), %ecx
	callq	_usb_free_coherent
LBB0_37:
	movq	16(%r12), %rdi
	callq	_usb_free_urb
LBB0_38:
	movq	8(%r12), %rdi
	callq	_usb_free_urb
LBB0_39:
	movq	(%r12), %rdi
	callq	_usb_free_urb
	jmp	LBB0_40
LBB0_6:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_41
LBB0_4:
	leaq	L_.str.16(%rip), %rsi
	movq	%r15, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_40
LBB0_8:
	leaq	L_.str.7(%rip), %rsi
	jmp	LBB0_9
LBB0_21:
	leaq	L_.str.21(%rip), %rsi
	jmp	LBB0_22
LBB0_11:
	leaq	L_.str.9(%rip), %rsi
	jmp	LBB0_9
LBB0_24:
	leaq	L_.str.22(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_dev_dbg
	jmp	LBB0_40
LBB0_13:
	leaq	L_.str.11(%rip), %rsi
	jmp	LBB0_9
LBB0_26:
	leaq	L_.str.23(%rip), %rsi
	jmp	LBB0_22
LBB0_15:
	leaq	L_.str.13(%rip), %rsi
	jmp	LBB0_9
LBB0_28:
	leaq	L_.str.24(%rip), %rsi
LBB0_22:
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_dev_err
LBB0_40:
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
LBB0_41:
	negl	%ebx
	movq	%r14, %rdi
	callq	_free_netdev
	jmp	LBB0_42
LBB0_17:
	leaq	L_.str.14(%rip), %rsi
LBB0_9:
	movq	%r15, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_dev_err
LBB0_19:
	movq	_EIO@GOTPCREL(%rip), %r15
	movq	96(%r12), %rdi
	callq	_free_page
	movq	%r14, %rdi
	callq	_free_netdev
	xorl	%ebx, %ebx
	subl	(%r15), %ebx
LBB0_42:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_43:
	movq	64(%r12), %rax
	movl	4(%rax), %edx
	leaq	L_.str.27(%rip), %rsi
	xorl	%ebx, %ebx
	movq	%r13, %rdi
	xorl	%eax, %eax
	callq	_dev_info
	jmp	LBB0_42
	.cfi_endproc
                                        ## -- End function
	.comm	_EIO,4,2                        ## @EIO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Kawasaki Device Probe (Device number:%d): 0x%4.4x:0x%4.4x:0x%4.4x\n"

L_.str.1:                               ## @.str.1
	.asciz	"Device at %p\n"

L_.str.2:                               ## @.str.2
	.asciz	"Descriptor length: %x type: %x\n"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
L_.str.3:                               ## @.str.3
	.asciz	"Resetting.\n"

L_.str.4:                               ## @.str.4
	.asciz	"Firmware present in device.\n"

L_.str.5:                               ## @.str.5
	.asciz	"Downloading firmware...\n"

	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
L_.str.6:                               ## @.str.6
	.asciz	"kaweth/new_code.bin"

L_.str.7:                               ## @.str.7
	.asciz	"Error downloading firmware (%d)\n"

L_.str.8:                               ## @.str.8
	.asciz	"kaweth/new_code_fix.bin"

L_.str.9:                               ## @.str.9
	.asciz	"Error downloading firmware fix (%d)\n"

L_.str.10:                              ## @.str.10
	.asciz	"kaweth/trigger_code.bin"

L_.str.11:                              ## @.str.11
	.asciz	"Error downloading trigger code (%d)\n"

L_.str.12:                              ## @.str.12
	.asciz	"kaweth/trigger_code_fix.bin"

L_.str.13:                              ## @.str.13
	.asciz	"Error downloading trigger code fix (%d)\n"

L_.str.14:                              ## @.str.14
	.asciz	"Error triggering firmware (%d)\n"

L_.str.15:                              ## @.str.15
	.asciz	"Firmware loaded.  I'll be back...\n"

L_.str.16:                              ## @.str.16
	.asciz	"Error reading configuration (%d), no net device created\n"

L_.str.17:                              ## @.str.17
	.asciz	"Statistics collection: %x\n"

L_.str.18:                              ## @.str.18
	.asciz	"Multicast filter limit: %x\n"

L_.str.19:                              ## @.str.19
	.asciz	"MTU: %d\n"

L_.str.20:                              ## @.str.20
	.asciz	"Read MAC address %pM\n"

L_.str.21:                              ## @.str.21
	.asciz	"Firmware not functioning properly, no net device created\n"

	.comm	_KAWETH_BUF_SIZE,4,2            ## @KAWETH_BUF_SIZE
L_.str.22:                              ## @.str.22
	.asciz	"Error setting URB size\n"

	.comm	_KAWETH_SOFS_TO_WAIT,4,2        ## @KAWETH_SOFS_TO_WAIT
L_.str.23:                              ## @.str.23
	.asciz	"Error setting SOFS wait\n"

	.comm	_KAWETH_PACKET_FILTER_DIRECTED,4,2 ## @KAWETH_PACKET_FILTER_DIRECTED
	.comm	_KAWETH_PACKET_FILTER_BROADCAST,4,2 ## @KAWETH_PACKET_FILTER_BROADCAST
	.comm	_KAWETH_PACKET_FILTER_MULTICAST,4,2 ## @KAWETH_PACKET_FILTER_MULTICAST
L_.str.24:                              ## @.str.24
	.asciz	"Error setting receive filter\n"

L_.str.25:                              ## @.str.25
	.asciz	"Initializing net device.\n"

	.comm	_INTBUFFERSIZE,4,2              ## @INTBUFFERSIZE
	.comm	_kaweth_netdev_ops,4,2          ## @kaweth_netdev_ops
	.comm	_KAWETH_TX_TIMEOUT,4,2          ## @KAWETH_TX_TIMEOUT
	.comm	_ops,4,2                        ## @ops
	.comm	_kaweth_resubmit_tl,4,2         ## @kaweth_resubmit_tl
L_.str.26:                              ## @.str.26
	.asciz	"Error registering netdev.\n"

L_.str.27:                              ## @.str.27
	.asciz	"kaweth interface created at %s\n"

	.no_dead_strip	_kaweth_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function kaweth_probe
_kaweth_probe:                          ; @kaweth_probe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x0
	bl	_interface_to_usbdev
	mov	x22, x0
	mov	w8, #255
	str	w8, [sp, #44]
Lloh0:
	adrp	x24, _EIO@GOTPAGE
Lloh1:
	ldr	x24, [x24, _EIO@GOTPAGEOFF]
	ldr	w23, [x24]
	ldr	w0, [x0, #28]
	ldr	w25, [x22, #32]
	bl	_le16_to_cpu
	mov	x19, x0
	ldr	w0, [x22, #24]
	bl	_le16_to_cpu
	mov	x21, x0
	ldr	w0, [x22]
	bl	_le16_to_cpu
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x21, x0, [sp, #16]
	stp	x25, x19, [sp]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_dev_dbg
	str	x22, [sp]
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_dev_dbg
	ldp	x9, x8, [x22, #8]
	stp	x8, x9, [sp]
Lloh6:
	adrp	x1, l_.str.2@PAGE
Lloh7:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_dev_dbg
	mov	w0, #120
	bl	_alloc_etherdev
	cbz	x0, LBB0_9
; %bb.1:
	mov	x19, x0
	bl	_netdev_priv
	mov	x21, x0
	str	x22, [x0, #40]
	str	x19, [x0, #64]
	str	x20, [x0, #112]
	add	x0, x0, #108
	bl	_spin_lock_init
	add	x0, x21, #104
	bl	_init_waitqueue_head
Lloh8:
	adrp	x1, l_.str.3@PAGE
Lloh9:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_dev_dbg
	mov	x0, x21
	bl	_kaweth_reset
	ldr	w0, [x22]
	bl	_le16_to_cpu
	cmp	w0, #256
	b.hs	LBB0_10
; %bb.2:
Lloh10:
	adrp	x1, l_.str.5@PAGE
Lloh11:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x20
	bl	_dev_info
Lloh12:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	bl	___get_free_page
	str	x0, [x21, #96]
	cbz	x0, LBB0_26
; %bb.3:
Lloh15:
	adrp	x1, l_.str.6@PAGE
Lloh16:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x21
	mov	w2, #100
	mov	w3, #2
	bl	_kaweth_download_firmware
                                        ; kill: def $w0 killed $w0 def $x0
	tbnz	w0, #31, LBB0_28
; %bb.4:
Lloh17:
	adrp	x1, l_.str.8@PAGE
Lloh18:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x21
	mov	w2, #100
	mov	w3, #3
	bl	_kaweth_download_firmware
                                        ; kill: def $w0 killed $w0 def $x0
	tbnz	w0, #31, LBB0_30
; %bb.5:
Lloh19:
	adrp	x1, l_.str.10@PAGE
Lloh20:
	add	x1, x1, l_.str.10@PAGEOFF
	mov	x0, x21
	mov	w2, #126
	mov	w3, #2
	bl	_kaweth_download_firmware
                                        ; kill: def $w0 killed $w0 def $x0
	tbnz	w0, #31, LBB0_32
; %bb.6:
Lloh21:
	adrp	x1, l_.str.12@PAGE
Lloh22:
	add	x1, x1, l_.str.12@PAGEOFF
	mov	x0, x21
	mov	w2, #126
	mov	w3, #3
	bl	_kaweth_download_firmware
                                        ; kill: def $w0 killed $w0 def $x0
	tbnz	w0, #31, LBB0_34
; %bb.7:
	mov	x0, x21
	mov	w1, #126
	bl	_kaweth_trigger_firmware
                                        ; kill: def $w0 killed $w0 def $x0
	tbnz	w0, #31, LBB0_38
; %bb.8:
Lloh23:
	adrp	x1, l_.str.15@PAGE
Lloh24:
	add	x1, x1, l_.str.15@PAGEOFF
	mov	x0, x20
	bl	_dev_info
	b	LBB0_40
LBB0_9:
Lloh25:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh26:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
	b	LBB0_41
LBB0_10:
Lloh28:
	adrp	x1, l_.str.4@PAGE
Lloh29:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x20
	bl	_dev_info
	mov	x0, x21
	bl	_kaweth_read_configuration
                                        ; kill: def $w0 killed $w0 def $x0
	tbnz	w0, #31, LBB0_27
; %bb.11:
	ldr	w8, [x21, #76]
	str	x8, [sp]
Lloh30:
	adrp	x1, l_.str.17@PAGE
Lloh31:
	add	x1, x1, l_.str.17@PAGEOFF
	mov	x0, x20
	bl	_dev_info
	ldr	w8, [x21, #80]
	and	w8, w8, #0x7fff
	str	x8, [sp]
Lloh32:
	adrp	x1, l_.str.18@PAGE
Lloh33:
	add	x1, x1, l_.str.18@PAGEOFF
	mov	x0, x20
	bl	_dev_info
	ldr	w0, [x21, #88]
	bl	_le16_to_cpu
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh34:
	adrp	x1, l_.str.19@PAGE
Lloh35:
	add	x1, x1, l_.str.19@PAGEOFF
	mov	x0, x20
	bl	_dev_info
	mov	x22, x21
	ldr	w8, [x22, #84]!
	str	x8, [sp]
Lloh36:
	adrp	x1, l_.str.20@PAGE
Lloh37:
	add	x1, x1, l_.str.20@PAGEOFF
	mov	x0, x20
	bl	_dev_info
	add	x1, sp, #44
	mov	x0, x22
	mov	w2, #4
	bl	_memcmp
	cbz	w0, LBB0_29
; %bb.12:
Lloh38:
	adrp	x24, _KAWETH_BUF_SIZE@GOTPAGE
Lloh39:
	ldr	x24, [x24, _KAWETH_BUF_SIZE@GOTPAGEOFF]
	ldr	w1, [x24]
	mov	x0, x21
	bl	_kaweth_set_urb_size
	tbnz	x0, #63, LBB0_31
; %bb.13:
Lloh40:
	adrp	x8, _KAWETH_SOFS_TO_WAIT@GOTPAGE
Lloh41:
	ldr	x8, [x8, _KAWETH_SOFS_TO_WAIT@GOTPAGEOFF]
Lloh42:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_kaweth_set_sofs_wait
	tbnz	x0, #63, LBB0_33
; %bb.14:
Lloh43:
	adrp	x8, _KAWETH_PACKET_FILTER_DIRECTED@GOTPAGE
Lloh44:
	ldr	x8, [x8, _KAWETH_PACKET_FILTER_DIRECTED@GOTPAGEOFF]
Lloh45:
	ldr	w8, [x8]
Lloh46:
	adrp	x9, _KAWETH_PACKET_FILTER_BROADCAST@GOTPAGE
Lloh47:
	ldr	x9, [x9, _KAWETH_PACKET_FILTER_BROADCAST@GOTPAGEOFF]
Lloh48:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh49:
	adrp	x9, _KAWETH_PACKET_FILTER_MULTICAST@GOTPAGE
Lloh50:
	ldr	x9, [x9, _KAWETH_PACKET_FILTER_MULTICAST@GOTPAGEOFF]
Lloh51:
	ldr	w9, [x9]
	orr	w1, w8, w9
	mov	x0, x21
	bl	_kaweth_set_receive_filter
	tbnz	w0, #31, LBB0_35
; %bb.15:
Lloh52:
	adrp	x1, l_.str.25@PAGE
Lloh53:
	add	x1, x1, l_.str.25@PAGEOFF
	mov	x0, x20
	bl	_dev_dbg
Lloh54:
	adrp	x26, _GFP_KERNEL@GOTPAGE
Lloh55:
	ldr	x26, [x26, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w1, [x26]
	mov	w0, #0
	bl	_usb_alloc_urb
	str	x0, [x21]
	cbz	x0, LBB0_37
; %bb.16:
	ldr	w1, [x26]
	mov	w0, #0
	bl	_usb_alloc_urb
	str	x0, [x21, #8]
	cbz	x0, LBB0_25
; %bb.17:
	ldr	w1, [x26]
	mov	w0, #0
	bl	_usb_alloc_urb
	str	x0, [x21, #16]
	cbz	x0, LBB0_24
; %bb.18:
	ldr	x0, [x21, #40]
Lloh56:
	adrp	x25, _INTBUFFERSIZE@GOTPAGE
Lloh57:
	ldr	x25, [x25, _INTBUFFERSIZE@GOTPAGEOFF]
	ldr	w1, [x25]
	ldr	w2, [x26]
	add	x3, x21, #24
	bl	_usb_alloc_coherent
	str	x0, [x21, #32]
	cbz	x0, LBB0_23
; %bb.19:
	ldr	x0, [x21, #40]
	ldr	w1, [x24]
	add	x3, x21, #48
	ldr	w2, [x26]
	bl	_usb_alloc_coherent
	str	x0, [x21, #56]
	cbz	x0, LBB0_22
; %bb.20:
	ldr	w0, [x19, #36]
	add	x1, sp, #44
	mov	w2, #4
	bl	_memcpy
	ldr	w0, [x19, #32]
	mov	x1, x22
	mov	w2, #4
	bl	_memcpy
Lloh58:
	adrp	x8, _kaweth_netdev_ops@GOTPAGE
Lloh59:
	ldr	x8, [x8, _kaweth_netdev_ops@GOTPAGEOFF]
	str	x8, [x19, #24]
Lloh60:
	adrp	x8, _KAWETH_TX_TIMEOUT@GOTPAGE
Lloh61:
	ldr	x8, [x8, _KAWETH_TX_TIMEOUT@GOTPAGEOFF]
Lloh62:
	ldr	w8, [x8]
	str	w8, [x19, #16]
	ldr	w0, [x21, #88]
	bl	_le16_to_cpu
Lloh63:
	adrp	x8, _ops@GOTPAGE
Lloh64:
	ldr	x8, [x8, _ops@GOTPAGEOFF]
	str	w0, [x19]
	str	x8, [x19, #8]
	add	x0, x21, #72
Lloh65:
	adrp	x8, _kaweth_resubmit_tl@GOTPAGE
Lloh66:
	ldr	x8, [x8, _kaweth_resubmit_tl@GOTPAGEOFF]
Lloh67:
	ldr	w1, [x8]
	bl	_INIT_DELAYED_WORK
	mov	x0, x20
	mov	x1, x21
	bl	_usb_set_intfdata
	mov	x0, x19
	mov	x1, x20
	bl	_SET_NETDEV_DEV
	mov	x0, x19
	bl	_register_netdev
	cbz	x0, LBB0_43
; %bb.21:
Lloh68:
	adrp	x1, l_.str.26@PAGE
Lloh69:
	add	x1, x1, l_.str.26@PAGEOFF
	mov	x0, x20
	bl	_dev_err
	mov	x0, x20
	mov	x1, #0
	bl	_usb_set_intfdata
	ldr	x0, [x21, #40]
	ldr	w1, [x24]
	ldr	x2, [x21, #56]
	ldr	w3, [x21, #48]
	bl	_usb_free_coherent
LBB0_22:
	ldr	w1, [x25]
	ldp	x2, x0, [x21, #32]
	ldr	w3, [x21, #24]
	bl	_usb_free_coherent
LBB0_23:
	ldr	x0, [x21, #16]
	bl	_usb_free_urb
LBB0_24:
	ldr	x0, [x21, #8]
	bl	_usb_free_urb
LBB0_25:
	ldr	x0, [x21]
	bl	_usb_free_urb
	b	LBB0_37
LBB0_26:
Lloh70:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh71:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh72:
	ldr	w23, [x8]
	b	LBB0_37
LBB0_27:
	str	x0, [sp]
Lloh73:
	adrp	x1, l_.str.16@PAGE
Lloh74:
	add	x1, x1, l_.str.16@PAGEOFF
	b	LBB0_36
LBB0_28:
	str	x0, [sp]
Lloh75:
	adrp	x1, l_.str.7@PAGE
Lloh76:
	add	x1, x1, l_.str.7@PAGEOFF
	b	LBB0_39
LBB0_29:
Lloh77:
	adrp	x1, l_.str.21@PAGE
Lloh78:
	add	x1, x1, l_.str.21@PAGEOFF
	b	LBB0_36
LBB0_30:
	str	x0, [sp]
Lloh79:
	adrp	x1, l_.str.9@PAGE
Lloh80:
	add	x1, x1, l_.str.9@PAGEOFF
	b	LBB0_39
LBB0_31:
Lloh81:
	adrp	x1, l_.str.22@PAGE
Lloh82:
	add	x1, x1, l_.str.22@PAGEOFF
	mov	x0, x20
	bl	_dev_dbg
	b	LBB0_37
LBB0_32:
	str	x0, [sp]
Lloh83:
	adrp	x1, l_.str.11@PAGE
Lloh84:
	add	x1, x1, l_.str.11@PAGEOFF
	b	LBB0_39
LBB0_33:
Lloh85:
	adrp	x1, l_.str.23@PAGE
Lloh86:
	add	x1, x1, l_.str.23@PAGEOFF
	b	LBB0_36
LBB0_34:
	str	x0, [sp]
Lloh87:
	adrp	x1, l_.str.13@PAGE
Lloh88:
	add	x1, x1, l_.str.13@PAGEOFF
	b	LBB0_39
LBB0_35:
Lloh89:
	adrp	x1, l_.str.24@PAGE
Lloh90:
	add	x1, x1, l_.str.24@PAGEOFF
LBB0_36:
	mov	x0, x20
	bl	_dev_err
LBB0_37:
	neg	w20, w23
	mov	x0, x19
	bl	_free_netdev
	b	LBB0_42
LBB0_38:
	str	x0, [sp]
Lloh91:
	adrp	x1, l_.str.14@PAGE
Lloh92:
	add	x1, x1, l_.str.14@PAGEOFF
LBB0_39:
	mov	x0, x20
	bl	_dev_err
LBB0_40:
	ldr	x0, [x21, #96]
	bl	_free_page
	mov	x0, x19
	bl	_free_netdev
	ldr	w8, [x24]
LBB0_41:
	neg	w20, w8
LBB0_42:
	mov	x0, x20
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_43:
	ldr	x8, [x21, #64]
	ldr	w8, [x8, #4]
	str	x8, [sp]
Lloh93:
	adrp	x1, l_.str.27@PAGE
Lloh94:
	add	x1, x1, l_.str.27@PAGEOFF
	mov	x0, x20
	bl	_dev_info
	mov	w20, #0
	b	LBB0_42
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGot	Lloh54, Lloh55
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpLdrGot	Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpLdrGot	Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGot	Lloh58, Lloh59
	.loh AdrpAdd	Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh72
	.loh AdrpAdd	Lloh73, Lloh74
	.loh AdrpAdd	Lloh75, Lloh76
	.loh AdrpAdd	Lloh77, Lloh78
	.loh AdrpAdd	Lloh79, Lloh80
	.loh AdrpAdd	Lloh81, Lloh82
	.loh AdrpAdd	Lloh83, Lloh84
	.loh AdrpAdd	Lloh85, Lloh86
	.loh AdrpAdd	Lloh87, Lloh88
	.loh AdrpAdd	Lloh89, Lloh90
	.loh AdrpAdd	Lloh91, Lloh92
	.loh AdrpAdd	Lloh93, Lloh94
	.cfi_endproc
                                        ; -- End function
	.comm	_EIO,4,2                        ; @EIO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Kawasaki Device Probe (Device number:%d): 0x%4.4x:0x%4.4x:0x%4.4x\n"

l_.str.1:                               ; @.str.1
	.asciz	"Device at %p\n"

l_.str.2:                               ; @.str.2
	.asciz	"Descriptor length: %x type: %x\n"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
l_.str.3:                               ; @.str.3
	.asciz	"Resetting.\n"

l_.str.4:                               ; @.str.4
	.asciz	"Firmware present in device.\n"

l_.str.5:                               ; @.str.5
	.asciz	"Downloading firmware...\n"

	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
l_.str.6:                               ; @.str.6
	.asciz	"kaweth/new_code.bin"

l_.str.7:                               ; @.str.7
	.asciz	"Error downloading firmware (%d)\n"

l_.str.8:                               ; @.str.8
	.asciz	"kaweth/new_code_fix.bin"

l_.str.9:                               ; @.str.9
	.asciz	"Error downloading firmware fix (%d)\n"

l_.str.10:                              ; @.str.10
	.asciz	"kaweth/trigger_code.bin"

l_.str.11:                              ; @.str.11
	.asciz	"Error downloading trigger code (%d)\n"

l_.str.12:                              ; @.str.12
	.asciz	"kaweth/trigger_code_fix.bin"

l_.str.13:                              ; @.str.13
	.asciz	"Error downloading trigger code fix (%d)\n"

l_.str.14:                              ; @.str.14
	.asciz	"Error triggering firmware (%d)\n"

l_.str.15:                              ; @.str.15
	.asciz	"Firmware loaded.  I'll be back...\n"

l_.str.16:                              ; @.str.16
	.asciz	"Error reading configuration (%d), no net device created\n"

l_.str.17:                              ; @.str.17
	.asciz	"Statistics collection: %x\n"

l_.str.18:                              ; @.str.18
	.asciz	"Multicast filter limit: %x\n"

l_.str.19:                              ; @.str.19
	.asciz	"MTU: %d\n"

l_.str.20:                              ; @.str.20
	.asciz	"Read MAC address %pM\n"

l_.str.21:                              ; @.str.21
	.asciz	"Firmware not functioning properly, no net device created\n"

	.comm	_KAWETH_BUF_SIZE,4,2            ; @KAWETH_BUF_SIZE
l_.str.22:                              ; @.str.22
	.asciz	"Error setting URB size\n"

	.comm	_KAWETH_SOFS_TO_WAIT,4,2        ; @KAWETH_SOFS_TO_WAIT
l_.str.23:                              ; @.str.23
	.asciz	"Error setting SOFS wait\n"

	.comm	_KAWETH_PACKET_FILTER_DIRECTED,4,2 ; @KAWETH_PACKET_FILTER_DIRECTED
	.comm	_KAWETH_PACKET_FILTER_BROADCAST,4,2 ; @KAWETH_PACKET_FILTER_BROADCAST
	.comm	_KAWETH_PACKET_FILTER_MULTICAST,4,2 ; @KAWETH_PACKET_FILTER_MULTICAST
l_.str.24:                              ; @.str.24
	.asciz	"Error setting receive filter\n"

l_.str.25:                              ; @.str.25
	.asciz	"Initializing net device.\n"

	.comm	_INTBUFFERSIZE,4,2              ; @INTBUFFERSIZE
	.comm	_kaweth_netdev_ops,4,2          ; @kaweth_netdev_ops
	.comm	_KAWETH_TX_TIMEOUT,4,2          ; @KAWETH_TX_TIMEOUT
	.comm	_ops,4,2                        ; @ops
	.comm	_kaweth_resubmit_tl,4,2         ; @kaweth_resubmit_tl
l_.str.26:                              ; @.str.26
	.asciz	"Error registering netdev.\n"

l_.str.27:                              ; @.str.27
	.asciz	"kaweth interface created at %s\n"

	.no_dead_strip	_kaweth_probe
.subsections_via_symbols
