	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_islpci_setup                   ## -- Begin function islpci_setup
	.p2align	4, 0x90
_islpci_setup:                          ## @islpci_setup
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movl	$120, %edi
	callq	_alloc_etherdev
	testq	%rax, %rax
	je	LBB0_12
## %bb.1:
	movq	%rax, %r15
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_pci_set_drvdata
	leaq	8(%r14), %rsi
	movq	%r15, %rdi
	callq	_SET_NETDEV_DEV
	movq	_wlan_type@GOTPCREL(%rip), %rsi
	movq	%r15, %rdi
	callq	_SET_NETDEV_DEVTYPE
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_pci_resource_start
	movl	%eax, 68(%r15)
	movl	4(%r14), %eax
	movl	%eax, 64(%r15)
	movq	_islpci_netdev_ops@GOTPCREL(%rip), %rax
	movq	%rax, 56(%r15)
	movq	_prism54_handler_def@GOTPCREL(%rip), %rax
	movq	%rax, 48(%r15)
	movq	_islpci_ethtool_ops@GOTPCREL(%rip), %rax
	movq	%rax, 40(%r15)
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%edx, 36(%r15)
	movl	32(%r15), %edi
	movq	_dummy_mac@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_memcpy
	movq	_ISLPCI_TX_TIMEOUT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%r15)
	movq	%r15, %rdi
	callq	_netdev_priv
	movq	%rax, %rbx
	movq	%r15, 104(%rax)
	movq	%r14, 112(%rax)
	movq	_ARPHRD_IEEE80211@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 100(%rbx)
	movq	(%rbx), %rcx
	movq	_IW_MODE_MONITOR@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	je	LBB0_3
## %bb.2:
	movq	_ARPHRD_ETHER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_3:
	movl	%eax, 24(%r15)
	leaq	96(%rbx), %rax
	leaq	88(%rbx), %rcx
	movq	%rax, 88(%rbx)
	movq	%rcx, 16(%r15)
	movq	80(%rbx), %rax
	movq	%rax, (%r15)
	movq	_ISL38XX_PCI_MEM_SIZE@GOTPCREL(%rip), %rcx
	addq	(%rcx), %rax
	movq	%rax, 8(%r15)
	leaq	76(%rbx), %rdi
	callq	_init_waitqueue_head
	leaq	72(%rbx), %rdi
	callq	_mutex_init
	movq	$0, 64(%rbx)
	leaq	56(%rbx), %rdi
	callq	_init_waitqueue_head
	leaq	52(%rbx), %rdi
	callq	_mutex_init
	leaq	48(%rbx), %rdi
	callq	_spin_lock_init
	movq	_PRV_STATE_OFF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 44(%rbx)
	movl	$1, 8(%rbx)
	leaq	40(%rbx), %rdi
	movq	_prism54_update_stats@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_WORK
	movq	$0, 32(%rbx)
	leaq	24(%rbx), %rdi
	movq	_islpci_do_reset_and_wake@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_WORK
	movq	$0, 16(%rbx)
	movq	%rbx, %rdi
	callq	_islpci_alloc_memory
	testq	%rax, %rax
	jne	LBB0_11
## %bb.4:
	movl	(%r14), %ecx
	cmpl	$14470, %ecx                    ## imm = 0x3886
	jne	LBB0_5
## %bb.6:
	movq	_ISL3886_IMAGE_FILE@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_5:
	movq	_ISL3890_IMAGE_FILE@GOTPCREL(%rip), %rax
LBB0_7:
	movl	12(%rbx), %edi
	cmpl	$14455, %ecx                    ## imm = 0x3877
	jne	LBB0_9
## %bb.8:
	movq	_ISL3877_IMAGE_FILE@GOTPCREL(%rip), %rax
LBB0_9:
	movl	(%rax), %esi
	callq	_strcpy
	movq	%r15, %rdi
	callq	_register_netdev
	testq	%rax, %rax
	je	LBB0_13
## %bb.10:
	movq	_SHOW_ERROR_MESSAGES@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_DEBUG
	movq	%rbx, %rdi
	callq	_islpci_free_memory
LBB0_11:
	movq	%r15, %rdi
	callq	_free_netdev
LBB0_12:
	xorl	%r15d, %r15d
LBB0_13:
	movq	%r15, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_wlan_type,4,2                  ## @wlan_type
	.comm	_islpci_netdev_ops,4,2          ## @islpci_netdev_ops
	.comm	_prism54_handler_def,4,2        ## @prism54_handler_def
	.comm	_islpci_ethtool_ops,4,2         ## @islpci_ethtool_ops
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.comm	_dummy_mac,4,2                  ## @dummy_mac
	.comm	_ISLPCI_TX_TIMEOUT,4,2          ## @ISLPCI_TX_TIMEOUT
	.comm	_ARPHRD_IEEE80211,4,2           ## @ARPHRD_IEEE80211
	.comm	_IW_MODE_MONITOR,8,3            ## @IW_MODE_MONITOR
	.comm	_ARPHRD_ETHER,4,2               ## @ARPHRD_ETHER
	.comm	_ISL38XX_PCI_MEM_SIZE,8,3       ## @ISL38XX_PCI_MEM_SIZE
	.comm	_PRV_STATE_OFF,4,2              ## @PRV_STATE_OFF
	.comm	_prism54_update_stats,4,2       ## @prism54_update_stats
	.comm	_islpci_do_reset_and_wake,4,2   ## @islpci_do_reset_and_wake
	.comm	_ISL3877_IMAGE_FILE,4,2         ## @ISL3877_IMAGE_FILE
	.comm	_ISL3886_IMAGE_FILE,4,2         ## @ISL3886_IMAGE_FILE
	.comm	_ISL3890_IMAGE_FILE,4,2         ## @ISL3890_IMAGE_FILE
	.comm	_SHOW_ERROR_MESSAGES,4,2        ## @SHOW_ERROR_MESSAGES
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ERROR: register_netdev() failed\n"

	.comm	_SHOW_TRACING,4,2               ## @SHOW_TRACING
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_islpci_setup                   ; -- Begin function islpci_setup
	.p2align	2
_islpci_setup:                          ; @islpci_setup
	.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	x20, x0
	mov	w0, #120
	bl	_alloc_etherdev
	mov	x19, x0
	cbz	x0, LBB0_5
; %bb.1:
	mov	x0, x20
	mov	x1, x19
	bl	_pci_set_drvdata
	add	x1, x20, #8
	mov	x0, x19
	bl	_SET_NETDEV_DEV
Lloh0:
	adrp	x1, _wlan_type@GOTPAGE
Lloh1:
	ldr	x1, [x1, _wlan_type@GOTPAGEOFF]
	mov	x0, x19
	bl	_SET_NETDEV_DEVTYPE
	mov	x0, x20
	mov	w1, #0
	bl	_pci_resource_start
	ldr	w8, [x20, #4]
	stp	w8, w0, [x19, #64]
Lloh2:
	adrp	x8, _islpci_netdev_ops@GOTPAGE
Lloh3:
	ldr	x8, [x8, _islpci_netdev_ops@GOTPAGEOFF]
	str	x8, [x19, #56]
Lloh4:
	adrp	x8, _prism54_handler_def@GOTPAGE
Lloh5:
	ldr	x8, [x8, _prism54_handler_def@GOTPAGEOFF]
Lloh6:
	adrp	x9, _islpci_ethtool_ops@GOTPAGE
Lloh7:
	ldr	x9, [x9, _islpci_ethtool_ops@GOTPAGEOFF]
	stp	x9, x8, [x19, #40]
Lloh8:
	adrp	x8, _ETH_ALEN@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	str	w2, [x19, #36]
	ldr	w0, [x19, #32]
Lloh11:
	adrp	x8, _dummy_mac@GOTPAGE
Lloh12:
	ldr	x8, [x8, _dummy_mac@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	bl	_memcpy
Lloh14:
	adrp	x8, _ISLPCI_TX_TIMEOUT@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ISLPCI_TX_TIMEOUT@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	str	w8, [x19, #28]
	mov	x0, x19
	bl	_netdev_priv
	mov	x21, x0
	stp	x19, x20, [x0, #104]
Lloh17:
	adrp	x8, _ARPHRD_IEEE80211@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ARPHRD_IEEE80211@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	str	w8, [x0, #100]
	ldr	x9, [x0]
Lloh20:
	adrp	x10, _IW_MODE_MONITOR@GOTPAGE
Lloh21:
	ldr	x10, [x10, _IW_MODE_MONITOR@GOTPAGEOFF]
Lloh22:
	adrp	x11, _ARPHRD_ETHER@GOTPAGE
Lloh23:
	ldr	x11, [x11, _ARPHRD_ETHER@GOTPAGEOFF]
Lloh24:
	ldr	x10, [x10]
Lloh25:
	ldr	w11, [x11]
	cmp	x9, x10
	csel	w8, w8, w11, eq
	str	w8, [x19, #24]
	add	x8, x0, #96
	mov	x9, x0
	str	x8, [x9, #88]!
	ldr	x8, [x0, #80]
Lloh26:
	adrp	x10, _ISL38XX_PCI_MEM_SIZE@GOTPAGE
Lloh27:
	ldr	x10, [x10, _ISL38XX_PCI_MEM_SIZE@GOTPAGEOFF]
	str	x8, [x19]
Lloh28:
	ldr	x10, [x10]
	add	x8, x10, x8
	stp	x8, x9, [x19, #8]
	add	x0, x0, #76
	bl	_init_waitqueue_head
	add	x0, x21, #72
	bl	_mutex_init
	str	xzr, [x21, #64]
	add	x0, x21, #56
	bl	_init_waitqueue_head
	add	x0, x21, #52
	bl	_mutex_init
	add	x0, x21, #48
	bl	_spin_lock_init
Lloh29:
	adrp	x8, _PRV_STATE_OFF@GOTPAGE
Lloh30:
	ldr	x8, [x8, _PRV_STATE_OFF@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
	str	w8, [x21, #44]
	mov	w8, #1
	str	w8, [x21, #8]
	add	x0, x21, #40
Lloh32:
	adrp	x8, _prism54_update_stats@GOTPAGE
Lloh33:
	ldr	x8, [x8, _prism54_update_stats@GOTPAGEOFF]
Lloh34:
	ldr	w1, [x8]
	bl	_INIT_WORK
	str	xzr, [x21, #32]
	add	x0, x21, #24
Lloh35:
	adrp	x8, _islpci_do_reset_and_wake@GOTPAGE
Lloh36:
	ldr	x8, [x8, _islpci_do_reset_and_wake@GOTPAGEOFF]
Lloh37:
	ldr	w1, [x8]
	bl	_INIT_WORK
	str	xzr, [x21, #16]
	mov	x0, x21
	bl	_islpci_alloc_memory
	cbnz	x0, LBB0_4
; %bb.2:
	ldr	w8, [x20]
Lloh38:
	adrp	x9, _ISL3877_IMAGE_FILE@GOTPAGE
Lloh39:
	ldr	x9, [x9, _ISL3877_IMAGE_FILE@GOTPAGEOFF]
	ldr	w0, [x21, #12]
Lloh40:
	adrp	x10, _ISL3886_IMAGE_FILE@GOTPAGE
Lloh41:
	ldr	x10, [x10, _ISL3886_IMAGE_FILE@GOTPAGEOFF]
Lloh42:
	adrp	x11, _ISL3890_IMAGE_FILE@GOTPAGE
Lloh43:
	ldr	x11, [x11, _ISL3890_IMAGE_FILE@GOTPAGEOFF]
	mov	w12, #14470
	cmp	w8, w12
	csel	x10, x10, x11, eq
	mov	w11, #14455
	cmp	w8, w11
	csel	x8, x9, x10, eq
	ldr	w1, [x8]
	bl	_strcpy
	mov	x0, x19
	bl	_register_netdev
	cbz	x0, LBB0_5
; %bb.3:
Lloh44:
	adrp	x8, _SHOW_ERROR_MESSAGES@GOTPAGE
Lloh45:
	ldr	x8, [x8, _SHOW_ERROR_MESSAGES@GOTPAGEOFF]
Lloh46:
	ldr	w0, [x8]
Lloh47:
	adrp	x1, l_.str@PAGE
Lloh48:
	add	x1, x1, l_.str@PAGEOFF
	bl	_DEBUG
	mov	x0, x21
	bl	_islpci_free_memory
LBB0_4:
	mov	x0, x19
	bl	_free_netdev
	mov	x19, #0
LBB0_5:
	mov	x0, x19
	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	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh24
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh42, Lloh43
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh38, Lloh39
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.cfi_endproc
                                        ; -- End function
	.comm	_wlan_type,4,2                  ; @wlan_type
	.comm	_islpci_netdev_ops,4,2          ; @islpci_netdev_ops
	.comm	_prism54_handler_def,4,2        ; @prism54_handler_def
	.comm	_islpci_ethtool_ops,4,2         ; @islpci_ethtool_ops
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.comm	_dummy_mac,4,2                  ; @dummy_mac
	.comm	_ISLPCI_TX_TIMEOUT,4,2          ; @ISLPCI_TX_TIMEOUT
	.comm	_ARPHRD_IEEE80211,4,2           ; @ARPHRD_IEEE80211
	.comm	_IW_MODE_MONITOR,8,3            ; @IW_MODE_MONITOR
	.comm	_ARPHRD_ETHER,4,2               ; @ARPHRD_ETHER
	.comm	_ISL38XX_PCI_MEM_SIZE,8,3       ; @ISL38XX_PCI_MEM_SIZE
	.comm	_PRV_STATE_OFF,4,2              ; @PRV_STATE_OFF
	.comm	_prism54_update_stats,4,2       ; @prism54_update_stats
	.comm	_islpci_do_reset_and_wake,4,2   ; @islpci_do_reset_and_wake
	.comm	_ISL3877_IMAGE_FILE,4,2         ; @ISL3877_IMAGE_FILE
	.comm	_ISL3886_IMAGE_FILE,4,2         ; @ISL3886_IMAGE_FILE
	.comm	_ISL3890_IMAGE_FILE,4,2         ; @ISL3890_IMAGE_FILE
	.comm	_SHOW_ERROR_MESSAGES,4,2        ; @SHOW_ERROR_MESSAGES
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ERROR: register_netdev() failed\n"

	.comm	_SHOW_TRACING,4,2               ; @SHOW_TRACING
.subsections_via_symbols
