	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hostapd_bss_ban_client
_hostapd_bss_ban_client:                ## @hostapd_bss_ban_client
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %ebx
	movq	%rsi, %r15
	movq	%rdi, %r14
	xorl	%r13d, %r13d
	testl	%edx, %edx
	cmovgl	%edx, %r13d
	movq	_avl@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_avl_find_element
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movq	%rax, %r12
	movq	_hostapd_bss_del_ban@GOTPCREL(%rip), %rdi
	movq	%rax, %rsi
	movq	%r14, %rdx
	callq	_eloop_cancel_timeout
	testl	%ebx, %ebx
	jg	LBB0_4
## %bb.6:
	movq	%r12, %rdi
	movq	%r14, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_hostapd_bss_del_ban            ## TAILCALL
LBB0_1:
	testl	%ebx, %ebx
	jle	LBB0_5
## %bb.2:
	movl	$8, %edi
	callq	_os_zalloc
	movq	%rax, %r12
	movl	4(%rax), %edi
	movq	%r15, %rsi
	movl	$4, %edx
	callq	_memcpy
	movl	4(%r12), %eax
	movl	%eax, (%r12)
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_avl_insert
LBB0_4:
	imull	$1000, %r13d, %esi              ## imm = 0x3E8
	movq	_hostapd_bss_del_ban@GOTPCREL(%rip), %rdx
	xorl	%edi, %edi
	movq	%r12, %rcx
	movq	%r14, %r8
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_eloop_register_timeout         ## TAILCALL
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_avl,4,2                        ## @avl
	.no_dead_strip	_hostapd_bss_ban_client
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hostapd_bss_ban_client
_hostapd_bss_ban_client:                ; @hostapd_bss_ban_client
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x22, x2
	mov	x21, x1
	mov	x19, x0
	cmp	w2, #0
	csel	w23, w2, wzr, gt
Lloh0:
	adrp	x8, _avl@GOTPAGE
Lloh1:
	ldr	x8, [x8, _avl@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
	bl	_avl_find_element
	cbz	x0, LBB0_3
; %bb.1:
	mov	x20, x0
Lloh3:
	adrp	x0, _hostapd_bss_del_ban@GOTPAGE
Lloh4:
	ldr	x0, [x0, _hostapd_bss_del_ban@GOTPAGEOFF]
	mov	x1, x20
	mov	x2, x19
	bl	_eloop_cancel_timeout
	cmp	w22, #0
	b.gt	LBB0_5
; %bb.2:
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_hostapd_bss_del_ban
LBB0_3:
	cmp	w22, #1
	b.lt	LBB0_6
; %bb.4:
	mov	w0, #8
	bl	_os_zalloc
	mov	x20, x0
	ldr	w0, [x0, #4]
	mov	x1, x21
	mov	w2, #4
	bl	_memcpy
	ldr	w8, [x20, #4]
	str	w8, [x20]
	mov	x0, x19
	mov	x1, x20
	bl	_avl_insert
LBB0_5:
	mov	w8, #1000
Lloh5:
	adrp	x2, _hostapd_bss_del_ban@GOTPAGE
Lloh6:
	ldr	x2, [x2, _hostapd_bss_del_ban@GOTPAGEOFF]
	mul	w1, w23, w8
	mov	w0, #0
	mov	x3, x20
	mov	x4, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_eloop_register_timeout
LBB0_6:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_avl,4,2                        ; @avl
	.no_dead_strip	_hostapd_bss_ban_client
.subsections_via_symbols
