	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gelic_wl_disconnect
_gelic_wl_disconnect:                   ## @gelic_wl_disconnect
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	callq	_netdev_priv
	movq	%rax, %rdi
	callq	_port_wl
	movq	%rax, %rbx
	movq	(%rax), %rax
	movq	_GELIC_WL_SCAN_STAT_SCANNING@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	addq	$8, %rdi
	movq	_HZ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_wait_for_completion_timeout
LBB0_2:
	movq	_GELIC_EURUS_CMD_DISASSOC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_gelic_eurus_sync_cmd
	movq	%rax, %rdi
	callq	_kfree
	movq	%rbx, %rdi
	xorl	%esi, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_gelic_wl_send_iwap_event       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_GELIC_WL_SCAN_STAT_SCANNING,8,3 ## @GELIC_WL_SCAN_STAT_SCANNING
	.comm	_HZ,4,2                         ## @HZ
	.comm	_GELIC_EURUS_CMD_DISASSOC,4,2   ## @GELIC_EURUS_CMD_DISASSOC
	.no_dead_strip	_gelic_wl_disconnect
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gelic_wl_disconnect
_gelic_wl_disconnect:                   ; @gelic_wl_disconnect
	.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
	bl	_netdev_priv
	bl	_port_wl
	mov	x19, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _GELIC_WL_SCAN_STAT_SCANNING@GOTPAGE
Lloh1:
	ldr	x9, [x9, _GELIC_WL_SCAN_STAT_SCANNING@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	add	x0, x19, #8
Lloh3:
	adrp	x8, _HZ@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HZ@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_wait_for_completion_timeout
LBB0_2:
Lloh6:
	adrp	x8, _GELIC_EURUS_CMD_DISASSOC@GOTPAGE
Lloh7:
	ldr	x8, [x8, _GELIC_EURUS_CMD_DISASSOC@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, #0
	mov	w3, #0
	bl	_gelic_eurus_sync_cmd
	bl	_kfree
	mov	x0, x19
	mov	x1, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_gelic_wl_send_iwap_event
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_GELIC_WL_SCAN_STAT_SCANNING,8,3 ; @GELIC_WL_SCAN_STAT_SCANNING
	.comm	_HZ,4,2                         ; @HZ
	.comm	_GELIC_EURUS_CMD_DISASSOC,4,2   ; @GELIC_EURUS_CMD_DISASSOC
	.no_dead_strip	_gelic_wl_disconnect
.subsections_via_symbols
