	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function an_enable_tx_key
_an_enable_tx_key:                      ## @an_enable_tx_key
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	leaq	-32(%rbp), %r15
	movq	%r15, %rdi
	movl	$8, %esi
	callq	_bzero
	movl	$4, -32(%rbp)
	movq	_AN_RID_GENCONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -28(%rbp)
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_an_getval
	movq	%r14, %rdi
	callq	_atoi
	movq	_AN_HOME_NETWORK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	cmpl	$4, %eax
	jne	LBB0_2
## %bb.1:
	orl	-32(%rbp), %ecx
	jmp	LBB0_3
LBB0_2:
	notl	%ecx
	andl	-32(%rbp), %ecx
LBB0_3:
	movl	%ecx, -32(%rbp)
	leaq	-32(%rbp), %r15
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_an_setval
	movq	$0, -16(%rbp)
	movq	%r14, %rdi
	callq	_atoi
	movq	-24(%rbp), %rcx
	movl	%eax, (%rcx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 4(%rcx)
	movl	$0, 20(%rcx)
	movl	$24, -32(%rbp)
	movq	_AN_RID_WEP_PERM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -28(%rbp)
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_an_setval
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AN_RID_GENCONFIG,4,2           ## @AN_RID_GENCONFIG
	.comm	_AN_HOME_NETWORK,4,2            ## @AN_HOME_NETWORK
	.comm	_AN_RID_WEP_PERM,4,2            ## @AN_RID_WEP_PERM
	.no_dead_strip	_an_enable_tx_key
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function an_enable_tx_key
_an_enable_tx_key:                      ; @an_enable_tx_key
	.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	x20, x1
	mov	x19, x0
	add	x0, sp, #8
	mov	w1, #8
	bl	_bzero
	mov	w8, #4
Lloh0:
	adrp	x9, _AN_RID_GENCONFIG@GOTPAGE
Lloh1:
	ldr	x9, [x9, _AN_RID_GENCONFIG@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	stp	w8, w9, [sp, #8]
	add	x1, sp, #8
	mov	x0, x19
	bl	_an_getval
	mov	x0, x20
	bl	_atoi
Lloh3:
	adrp	x8, _AN_HOME_NETWORK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AN_HOME_NETWORK@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w0, #4
	b.ne	LBB0_2
; %bb.1:
	ldr	w9, [sp, #8]
	orr	w8, w9, w8
	b	LBB0_3
LBB0_2:
	ldr	w9, [sp, #8]
	bic	w8, w9, w8
LBB0_3:
	str	w8, [sp, #8]
	add	x1, sp, #8
	mov	x0, x19
	bl	_an_setval
	str	xzr, [sp, #24]
	mov	x0, x20
	bl	_atoi
	ldr	x8, [sp, #16]
	str	w0, [x8]
	stur	xzr, [x8, #12]
	stur	xzr, [x8, #4]
	str	wzr, [x8, #20]
	mov	w8, #24
Lloh6:
	adrp	x9, _AN_RID_WEP_PERM@GOTPAGE
Lloh7:
	ldr	x9, [x9, _AN_RID_WEP_PERM@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	stp	w8, w9, [sp, #8]
	add	x1, sp, #8
	mov	x0, x19
	bl	_an_setval
	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	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_AN_RID_GENCONFIG,4,2           ; @AN_RID_GENCONFIG
	.comm	_AN_HOME_NETWORK,4,2            ; @AN_HOME_NETWORK
	.comm	_AN_RID_WEP_PERM,4,2            ; @AN_RID_WEP_PERM
	.no_dead_strip	_an_enable_tx_key
.subsections_via_symbols
