	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function timer_func
_timer_func:                            ## @timer_func
	.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
	movq	(%rdi), %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_readConfigRid
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_disable_MAC
	movl	16(%rbx), %eax
	cmpl	$128, %eax
	je	LBB0_3
## %bb.1:
	cmpl	$129, %eax
	jne	LBB0_6
## %bb.2:
	movq	_AUTH_OPEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	jmp	LBB0_7
LBB0_3:
	movl	24(%rbx), %esi
	movq	_auto_wep@GOTPCREL(%rip), %rax
	cmpl	(%rax), %esi
	jge	LBB0_5
## %bb.4:
	movq	%rbx, %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_set_wep_tx_idx
	movl	$128, 16(%rbx)
	incl	24(%rbx)
	jmp	LBB0_7
LBB0_6:
	movl	$128, 16(%rbx)
	jmp	LBB0_7
LBB0_5:
	movl	$0, 24(%rbx)
	movl	20(%rbx), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_set_wep_tx_idx
	movl	$129, 16(%rbx)
LBB0_7:
	movq	_FLAG_COMMIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	12(%rbx), %rsi
	callq	_set_bit
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_writeConfigRid
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_enable_MAC
	leaq	8(%rbx), %rdi
	callq	_up
	movq	_JOB_AUTOWEP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	4(%rbx), %rsi
	callq	_clear_bit
	movq	_HZ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leal	(%rax,%rax,2), %edi
	callq	_RUN_AT
	movl	%eax, (%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AUTH_OPEN,4,2                  ## @AUTH_OPEN
	.comm	_auto_wep,4,2                   ## @auto_wep
	.comm	_FLAG_COMMIT,4,2                ## @FLAG_COMMIT
	.comm	_JOB_AUTOWEP,4,2                ## @JOB_AUTOWEP
	.comm	_HZ,4,2                         ## @HZ
	.no_dead_strip	_timer_func
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function timer_func
_timer_func:                            ; @timer_func
	.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
	ldr	x19, [x0]
	mov	x0, x19
	mov	w1, #0
	bl	_readConfigRid
	mov	x0, x19
	mov	w1, #0
	bl	_disable_MAC
	ldr	w8, [x19, #16]
	cmp	w8, #128
	b.eq	LBB0_3
; %bb.1:
	cmp	w8, #129
	b.ne	LBB0_5
; %bb.2:
Lloh0:
	adrp	x8, _AUTH_OPEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AUTH_OPEN@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	b	LBB0_7
LBB0_3:
	ldr	w1, [x19, #24]
Lloh3:
	adrp	x8, _auto_wep@GOTPAGE
Lloh4:
	ldr	x8, [x8, _auto_wep@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w1, w8
	b.ge	LBB0_6
; %bb.4:
	mov	x0, x19
	mov	w2, #0
	mov	w3, #0
	bl	_set_wep_tx_idx
	mov	w8, #128
	str	w8, [x19, #16]
	ldr	w8, [x19, #24]
	add	w8, w8, #1
	str	w8, [x19, #24]
	b	LBB0_8
LBB0_5:
	mov	w8, #128
	b	LBB0_7
LBB0_6:
	str	wzr, [x19, #24]
	ldr	w1, [x19, #20]
	mov	x0, x19
	mov	w2, #0
	mov	w3, #0
	bl	_set_wep_tx_idx
	mov	w8, #129
LBB0_7:
	str	w8, [x19, #16]
LBB0_8:
Lloh6:
	adrp	x8, _FLAG_COMMIT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _FLAG_COMMIT@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	add	x1, x19, #12
	bl	_set_bit
	mov	x0, x19
	mov	w1, #0
	bl	_writeConfigRid
	mov	x0, x19
	mov	w1, #0
	bl	_enable_MAC
	add	x0, x19, #8
	bl	_up
Lloh9:
	adrp	x8, _JOB_AUTOWEP@GOTPAGE
Lloh10:
	ldr	x8, [x8, _JOB_AUTOWEP@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	add	x1, x19, #4
	bl	_clear_bit
Lloh12:
	adrp	x8, _HZ@GOTPAGE
Lloh13:
	ldr	x8, [x8, _HZ@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	add	w0, w8, w8, lsl #1
	bl	_RUN_AT
	str	w0, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_AUTH_OPEN,4,2                  ; @AUTH_OPEN
	.comm	_auto_wep,4,2                   ; @auto_wep
	.comm	_FLAG_COMMIT,4,2                ; @FLAG_COMMIT
	.comm	_JOB_AUTOWEP,4,2                ; @JOB_AUTOWEP
	.comm	_HZ,4,2                         ; @HZ
	.no_dead_strip	_timer_func
.subsections_via_symbols
