	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wl3501_probe
_wl3501_probe:                          ## @wl3501_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	24(%rdi), %rax
	movq	(%rax), %rax
	movl	$16, (%rax)
	movq	_IO_DATA_PATH_WIDTH_8@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 4(%rax)
	movq	_CONF_ENABLE_IRQ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rdi)
	movl	$1, (%rdi)
	movl	$24, %edi
	callq	_alloc_etherdev
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	_wl3501_netdev_ops@GOTPCREL(%rip), %rax
	movq	%rax, 24(%rbx)
	movq	_HZ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leal	(%rax,%rax,4), %eax
	movl	%eax, (%rbx)
	movq	%rbx, %rdi
	callq	_netdev_priv
	leaq	16(%rax), %rcx
	movq	%rcx, (%rax)
	movq	%r14, 8(%rax)
	movq	%rax, 16(%rbx)
	movq	_wl3501_handler_def@GOTPCREL(%rip), %rax
	movq	%rax, 8(%rbx)
	movq	%rbx, %rdi
	callq	_netif_stop_queue
	movq	%rbx, 8(%r14)
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_wl3501_config                  ## TAILCALL
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IO_DATA_PATH_WIDTH_8,4,2       ## @IO_DATA_PATH_WIDTH_8
	.comm	_CONF_ENABLE_IRQ,4,2            ## @CONF_ENABLE_IRQ
	.comm	_wl3501_netdev_ops,4,2          ## @wl3501_netdev_ops
	.comm	_HZ,4,2                         ## @HZ
	.comm	_wl3501_handler_def,4,2         ## @wl3501_handler_def
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_wl3501_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wl3501_probe
_wl3501_probe:                          ; @wl3501_probe
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x8, [x0, #24]
	ldr	x8, [x8]
	mov	w9, #16
	str	w9, [x8]
Lloh0:
	adrp	x9, _IO_DATA_PATH_WIDTH_8@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IO_DATA_PATH_WIDTH_8@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	str	w9, [x8, #4]
Lloh3:
	adrp	x8, _CONF_ENABLE_IRQ@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CONF_ENABLE_IRQ@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x0, #16]
	mov	w8, #1
	str	w8, [x0]
	mov	w0, #24
	bl	_alloc_etherdev
	cbz	x0, LBB0_2
; %bb.1:
	mov	x20, x0
Lloh6:
	adrp	x8, _wl3501_netdev_ops@GOTPAGE
Lloh7:
	ldr	x8, [x8, _wl3501_netdev_ops@GOTPAGEOFF]
	str	x8, [x0, #24]
Lloh8:
	adrp	x8, _HZ@GOTPAGE
Lloh9:
	ldr	x8, [x8, _HZ@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	add	w8, w8, w8, lsl #2
	str	w8, [x0]
	bl	_netdev_priv
	add	x8, x0, #16
	stp	x8, x19, [x0]
Lloh11:
	adrp	x8, _wl3501_handler_def@GOTPAGE
Lloh12:
	ldr	x8, [x8, _wl3501_handler_def@GOTPAGEOFF]
	stp	x8, x0, [x20, #8]
	mov	x0, x20
	bl	_netif_stop_queue
	str	x20, [x19, #8]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_wl3501_config
LBB0_2:
Lloh13:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_IO_DATA_PATH_WIDTH_8,4,2       ; @IO_DATA_PATH_WIDTH_8
	.comm	_CONF_ENABLE_IRQ,4,2            ; @CONF_ENABLE_IRQ
	.comm	_wl3501_netdev_ops,4,2          ; @wl3501_netdev_ops
	.comm	_HZ,4,2                         ; @HZ
	.comm	_wl3501_handler_def,4,2         ; @wl3501_handler_def
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_wl3501_probe
.subsections_via_symbols
