	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hostap_sta_remove
_hostap_sta_remove:                     ## @hostap_sta_remove
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	_WPA_STA_AUTHORIZED@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	notl	%r8d
	xorl	%r14d, %r14d
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_hostap_sta_set_flags
	leaq	-40(%rbp), %r12
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	movq	_PRISM2_HOSTAPD_REMOVE_STA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -36(%rbp)
	movl	-40(%rbp), %edi
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rsi
	callq	_memcpy
	movq	%r15, %rdi
	movq	%r12, %rsi
	movl	$8, %edx
	callq	_hostapd_ioctl
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	L_str(%rip), %rdi
	callq	_puts
	movl	$-1, %r14d
LBB0_2:
	movl	%r14d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WPA_STA_AUTHORIZED,4,2         ## @WPA_STA_AUTHORIZED
	.comm	_PRISM2_HOSTAPD_REMOVE_STA,4,2  ## @PRISM2_HOSTAPD_REMOVE_STA
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.section	__TEXT,__cstring,cstring_literals
L_str:                                  ## @str
	.asciz	"Could not remove station from kernel driver."

	.no_dead_strip	_hostap_sta_remove
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hostap_sta_remove
_hostap_sta_remove:                     ; @hostap_sta_remove
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _WPA_STA_AUTHORIZED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WPA_STA_AUTHORIZED@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	mvn	w4, w8
	mov	w2, #0
	mov	w3, #0
	bl	_hostap_sta_set_flags
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #8
	bl	_memset
Lloh3:
	adrp	x8, _PRISM2_HOSTAPD_REMOVE_STA@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PRISM2_HOSTAPD_REMOVE_STA@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [sp, #12]
	ldr	w0, [sp, #8]
Lloh6:
	adrp	x8, _ETH_ALEN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	x1, x19
	bl	_memcpy
	add	x1, sp, #8
	mov	x0, x20
	mov	w2, #8
	bl	_hostapd_ioctl
	cbz	x0, LBB0_2
; %bb.1:
Lloh9:
	adrp	x0, l_str@PAGE
Lloh10:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
	mov	w0, #-1
LBB0_2:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_WPA_STA_AUTHORIZED,4,2         ; @WPA_STA_AUTHORIZED
	.comm	_PRISM2_HOSTAPD_REMOVE_STA,4,2  ; @PRISM2_HOSTAPD_REMOVE_STA
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.section	__TEXT,__cstring,cstring_literals
l_str:                                  ; @str
	.asciz	"Could not remove station from kernel driver."

	.no_dead_strip	_hostap_sta_remove
.subsections_via_symbols
