	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function il_send_remove_station
_il_send_remove_station:                ## @il_send_remove_station
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r15d
	movl	%edx, %r14d
	movq	%rsi, %r13
	movq	%rdi, %r12
	movl	$8, -88(%rbp)
	movq	$0, -80(%rbp)
	movq	_CMD_SYNC@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	-48(%rbp), %rdi
	movq	%rdi, -64(%rbp)
	movq	_C_REM_STA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -56(%rbp)
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	movl	$1, -48(%rbp)
	leaq	-44(%rbp), %rdi
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rsi
	callq	_memcpy
	movq	_CMD_WANT_SKB@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movl	%ebx, -72(%rbp)
	leaq	-88(%rbp), %rsi
	movq	%r12, %rdi
	callq	_il_send_cmd
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_10
## %bb.1:
	movq	-80(%rbp), %r13
	movl	4(%r13), %esi
	movq	_IL_CMD_FAILED_MSK@GOTPCREL(%rip), %rax
	testl	%esi, (%rax)
	je	LBB0_4
## %bb.2:
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_IL_ERR
	movq	_EIO@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	testl	%ebx, %ebx
	je	LBB0_4
## %bb.3:
	negl	%ebx
	jmp	LBB0_9
LBB0_4:
	cmpl	$128, (%r13)
	jne	LBB0_8
## %bb.5:
	testl	%r15d, %r15d
	jne	LBB0_7
## %bb.6:
	movq	%r12, %rdi
	callq	_spin_lock_irqsave
	movq	%r12, %rdi
	movl	%r14d, %esi
	callq	_il_sta_ucode_deactivate
	movq	%r12, %rdi
	callq	_spin_unlock_irqrestore
LBB0_7:
	leaq	L_.str.1(%rip), %rdi
	callq	_D_ASSOC
	xorl	%ebx, %ebx
	jmp	LBB0_9
LBB0_8:
	movq	_EIO@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_IL_ERR
LBB0_9:
	movq	-80(%rbp), %rsi
	movq	%r12, %rdi
	callq	_il_free_pages
LBB0_10:
	movl	%ebx, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CMD_SYNC,4,2                   ## @CMD_SYNC
	.comm	_C_REM_STA,4,2                  ## @C_REM_STA
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.comm	_CMD_WANT_SKB,4,2               ## @CMD_WANT_SKB
	.comm	_IL_CMD_FAILED_MSK,4,2          ## @IL_CMD_FAILED_MSK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Bad return from C_REM_STA (0x%08X)\n"

	.comm	_EIO,4,2                        ## @EIO
L_.str.1:                               ## @.str.1
	.asciz	"C_REM_STA PASSED\n"

L_.str.2:                               ## @.str.2
	.asciz	"C_REM_STA failed\n"

	.no_dead_strip	_il_send_remove_station
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function il_send_remove_station
_il_send_remove_station:                ; @il_send_remove_station
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	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
	mov	x21, x3
	mov	x20, x2
	mov	x22, x1
	mov	x19, x0
	mov	w8, #8
	str	w8, [sp, #16]
Lloh0:
	adrp	x8, _CMD_SYNC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CMD_SYNC@GOTPAGEOFF]
Lloh2:
	ldr	w23, [x8]
	add	x24, sp, #56
	str	xzr, [sp, #24]
	str	x24, [sp, #40]
Lloh3:
	adrp	x8, _C_REM_STA@GOTPAGE
Lloh4:
	ldr	x8, [x8, _C_REM_STA@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [sp, #48]
	add	x0, sp, #56
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	mov	w8, #1
	str	w8, [sp, #56]
	orr	x0, x24, #0x4
Lloh6:
	adrp	x8, _ETH_ALEN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	x1, x22
	bl	_memcpy
Lloh9:
	adrp	x8, _CMD_WANT_SKB@GOTPAGE
Lloh10:
	ldr	x8, [x8, _CMD_WANT_SKB@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	orr	w8, w23, w8
	str	w8, [sp, #32]
	add	x1, sp, #16
	mov	x0, x19
	bl	_il_send_cmd
	mov	x22, x0
	cbnz	w0, LBB0_10
; %bb.1:
	ldr	x22, [sp, #24]
	ldr	w8, [x22, #4]
Lloh12:
	adrp	x9, _IL_CMD_FAILED_MSK@GOTPAGE
Lloh13:
	ldr	x9, [x9, _IL_CMD_FAILED_MSK@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.2:
	str	x8, [sp]
Lloh15:
	adrp	x0, l_.str@PAGE
Lloh16:
	add	x0, x0, l_.str@PAGEOFF
	bl	_IL_ERR
Lloh17:
	adrp	x8, _EIO@GOTPAGE
Lloh18:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	cbz	w8, LBB0_4
; %bb.3:
	neg	w22, w8
	b	LBB0_9
LBB0_4:
	ldr	w8, [x22]
	cmp	w8, #128
	b.ne	LBB0_8
; %bb.5:
	cbnz	w21, LBB0_7
; %bb.6:
	mov	x0, x19
	bl	_spin_lock_irqsave
	mov	x0, x19
	mov	x1, x20
	bl	_il_sta_ucode_deactivate
	mov	x0, x19
	bl	_spin_unlock_irqrestore
LBB0_7:
Lloh20:
	adrp	x0, l_.str.1@PAGE
Lloh21:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_D_ASSOC
	mov	w22, #0
	b	LBB0_9
LBB0_8:
Lloh22:
	adrp	x8, _EIO@GOTPAGE
Lloh23:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	neg	w22, w8
Lloh25:
	adrp	x0, l_.str.2@PAGE
Lloh26:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_IL_ERR
LBB0_9:
	ldr	x1, [sp, #24]
	mov	x0, x19
	bl	_il_free_pages
LBB0_10:
	mov	x0, x22
	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
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_CMD_SYNC,4,2                   ; @CMD_SYNC
	.comm	_C_REM_STA,4,2                  ; @C_REM_STA
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.comm	_CMD_WANT_SKB,4,2               ; @CMD_WANT_SKB
	.comm	_IL_CMD_FAILED_MSK,4,2          ; @IL_CMD_FAILED_MSK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Bad return from C_REM_STA (0x%08X)\n"

	.comm	_EIO,4,2                        ; @EIO
l_.str.1:                               ; @.str.1
	.asciz	"C_REM_STA PASSED\n"

l_.str.2:                               ; @.str.2
	.asciz	"C_REM_STA failed\n"

	.no_dead_strip	_il_send_remove_station
.subsections_via_symbols
