	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set80211nwkey
_set80211nwkey:                         ## @set80211nwkey
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movq	%rdi, %r14
	movq	%rsp, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_IEEE80211_KEYBUF_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%rbx, %rax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r13
	movq	_IEEE80211_IOC_WEP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_IEEE80211_WEP_ON@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r15d, %edi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_set80211
	movsbl	(%r14), %edi
	callq	_isdigit
	testq	%rax, %rax
	je	LBB0_7
## %bb.1:
	cmpb	$58, 1(%r14)
	jne	LBB0_7
## %bb.2:
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	movsbl	(%r14), %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	addq	$2, %r14
	leal	(,%rbx,4), %r12d
	movq	%r13, %rdi
	movl	%r12d, %esi
	callq	_bzero
	movl	%r12d, -52(%rbp)
	leaq	L_.str(%rip), %rsi
	leaq	-52(%rbp), %rcx
	movq	%r14, %rdi
	movq	%r13, %rdx
	callq	_get_string
	testq	%rax, %rax
	je	LBB0_10
## %bb.3:
	movq	%rax, %rbx
	movq	_IEEE80211_IOC_WEPKEY@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movl	-52(%rbp), %ecx
	movl	%r15d, %edi
	xorl	%edx, %edx
	movq	%r13, %r8
	callq	_set80211
	movq	%r13, %rdi
	movl	%r12d, %esi
	callq	_bzero
	movl	%r12d, -52(%rbp)
	leaq	L_.str(%rip), %rsi
	leaq	-52(%rbp), %rcx
	movq	%rbx, %rdi
	movq	%r13, %rdx
	callq	_get_string
	testq	%rax, %rax
	je	LBB0_10
## %bb.4:
	movq	%rax, %rbx
	movl	(%r14), %esi
	movl	-52(%rbp), %ecx
	movl	%r15d, %edi
	movl	$1, %edx
	movq	%r13, %r8
	callq	_set80211
	movq	%r13, %rdi
	movl	%r12d, %esi
	callq	_bzero
	movl	%r12d, -52(%rbp)
	leaq	L_.str(%rip), %rsi
	leaq	-52(%rbp), %rcx
	movq	%rbx, %rdi
	movq	%r13, %rdx
	callq	_get_string
	testq	%rax, %rax
	je	LBB0_10
## %bb.5:
	movq	%rax, %rbx
	movl	(%r14), %esi
	movl	-52(%rbp), %ecx
	movl	%r15d, %edi
	movl	$2, %edx
	movq	%r13, %r8
	callq	_set80211
	movq	%r13, %rdi
	movl	%r12d, %esi
	callq	_bzero
	movl	%r12d, -52(%rbp)
	leaq	L_.str(%rip), %rsi
	leaq	-52(%rbp), %rcx
	movq	%rbx, %rdi
	movq	%r13, %rdx
	callq	_get_string
	testq	%rax, %rax
	je	LBB0_10
## %bb.6:
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	addl	$-49, %ebx
	movl	(%r14), %esi
	movl	-52(%rbp), %ecx
	movl	%r15d, %edi
	movl	$3, %edx
	movq	%r13, %r8
	callq	_set80211
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_8
LBB0_7:
	leal	(,%rbx,4), %ebx
	movq	%r13, %rdi
	movl	%ebx, %esi
	callq	_bzero
	movl	%ebx, -52(%rbp)
	leaq	-52(%rbp), %rcx
	movq	%r14, %rdi
	xorl	%esi, %esi
	movq	%r13, %rdx
	callq	_get_string
	movq	_IEEE80211_IOC_WEPKEY@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movl	-52(%rbp), %ecx
	movl	%r15d, %edi
	xorl	%edx, %edx
	movq	%r13, %r8
	callq	_set80211
	movq	%r13, %rdi
	movl	%ebx, %esi
	callq	_bzero
	movl	(%r14), %esi
	movl	%r15d, %edi
	movl	$1, %edx
	xorl	%ecx, %ecx
	movq	%r13, %r8
	callq	_set80211
	movl	(%r14), %esi
	movl	%r15d, %edi
	movl	$2, %edx
	xorl	%ecx, %ecx
	movq	%r13, %r8
	callq	_set80211
	movl	(%r14), %esi
	movl	%r15d, %edi
	movl	$3, %edx
	xorl	%ecx, %ecx
	movq	%r13, %r8
	callq	_set80211
	xorl	%ebx, %ebx
LBB0_8:
	movq	_IEEE80211_IOC_WEPTXKEY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r15d, %edi
	movl	%ebx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_set80211
	movq	%r12, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_11
## %bb.9:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movl	$1, %edi
	callq	_exit
LBB0_11:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_KEYBUF_SIZE,4,2      ## @IEEE80211_KEYBUF_SIZE
	.comm	_IEEE80211_IOC_WEP,4,2          ## @IEEE80211_IOC_WEP
	.comm	_IEEE80211_WEP_ON,4,2           ## @IEEE80211_WEP_ON
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	","

	.comm	_IEEE80211_IOC_WEPKEY,4,2       ## @IEEE80211_IOC_WEPKEY
	.comm	_IEEE80211_IOC_WEPTXKEY,4,2     ## @IEEE80211_IOC_WEPTXKEY
	.no_dead_strip	_set80211nwkey
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set80211nwkey
_set80211nwkey:                         ; @set80211nwkey
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	sub	sp, sp, #16
	mov	x19, x2
	mov	x22, x0
	mov	x23, sp
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
Lloh3:
	adrp	x8, _IEEE80211_KEYBUF_SIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IEEE80211_KEYBUF_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	w21, [x8]
	lsl	x8, x21, #2
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x20, x9, x8
	mov	sp, x20
Lloh8:
	adrp	x8, _IEEE80211_IOC_WEP@GOTPAGE
Lloh9:
	ldr	x8, [x8, _IEEE80211_IOC_WEP@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
Lloh11:
	adrp	x8, _IEEE80211_WEP_ON@GOTPAGE
Lloh12:
	ldr	x8, [x8, _IEEE80211_WEP_ON@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w3, #0
	mov	x4, #0
	bl	_set80211
	ldrsb	w0, [x22]
	bl	_isdigit
	cbz	x0, LBB0_7
; %bb.1:
	ldrb	w8, [x22, #1]
	cmp	w8, #58
	b.ne	LBB0_7
; %bb.2:
	ldrsb	w24, [x22], #2
	lsl	w21, w21, #2
	mov	x0, x20
	mov	x1, x21
	bl	_bzero
	stur	w21, [x29, #-76]
Lloh14:
	adrp	x1, l_.str@PAGE
Lloh15:
	add	x1, x1, l_.str@PAGEOFF
	sub	x3, x29, #76
	mov	x0, x22
	mov	x2, x20
	bl	_get_string
	cbz	x0, LBB0_10
; %bb.3:
	mov	x22, x0
Lloh16:
	adrp	x25, _IEEE80211_IOC_WEPKEY@GOTPAGE
Lloh17:
	ldr	x25, [x25, _IEEE80211_IOC_WEPKEY@GOTPAGEOFF]
	ldr	w1, [x25]
	ldur	w3, [x29, #-76]
	mov	x0, x19
	mov	w2, #0
	mov	x4, x20
	bl	_set80211
	mov	x0, x20
	mov	x1, x21
	bl	_bzero
	stur	w21, [x29, #-76]
Lloh18:
	adrp	x1, l_.str@PAGE
Lloh19:
	add	x1, x1, l_.str@PAGEOFF
	sub	x3, x29, #76
	mov	x0, x22
	mov	x2, x20
	bl	_get_string
	cbz	x0, LBB0_10
; %bb.4:
	mov	x22, x0
	ldr	w1, [x25]
	ldur	w3, [x29, #-76]
	mov	x0, x19
	mov	w2, #1
	mov	x4, x20
	bl	_set80211
	mov	x0, x20
	mov	x1, x21
	bl	_bzero
	stur	w21, [x29, #-76]
Lloh20:
	adrp	x1, l_.str@PAGE
Lloh21:
	add	x1, x1, l_.str@PAGEOFF
	sub	x3, x29, #76
	mov	x0, x22
	mov	x2, x20
	bl	_get_string
	cbz	x0, LBB0_10
; %bb.5:
	mov	x22, x0
	ldr	w1, [x25]
	ldur	w3, [x29, #-76]
	mov	x0, x19
	mov	w2, #2
	mov	x4, x20
	bl	_set80211
	mov	x0, x20
	mov	x1, x21
	bl	_bzero
	stur	w21, [x29, #-76]
Lloh22:
	adrp	x1, l_.str@PAGE
Lloh23:
	add	x1, x1, l_.str@PAGEOFF
	sub	x3, x29, #76
	mov	x0, x22
	mov	x2, x20
	bl	_get_string
	cbz	x0, LBB0_10
; %bb.6:
	sub	w21, w24, #49
	ldr	w1, [x25]
	ldur	w3, [x29, #-76]
	mov	x0, x19
	mov	w2, #3
	mov	x4, x20
	bl	_set80211
	b	LBB0_8
LBB0_7:
	lsl	w21, w21, #2
	mov	x0, x20
	mov	x1, x21
	bl	_bzero
	stur	w21, [x29, #-76]
	sub	x3, x29, #76
	mov	x0, x22
	mov	x1, #0
	mov	x2, x20
	bl	_get_string
Lloh24:
	adrp	x22, _IEEE80211_IOC_WEPKEY@GOTPAGE
Lloh25:
	ldr	x22, [x22, _IEEE80211_IOC_WEPKEY@GOTPAGEOFF]
	ldr	w1, [x22]
	ldur	w3, [x29, #-76]
	mov	x0, x19
	mov	w2, #0
	mov	x4, x20
	bl	_set80211
	mov	x0, x20
	mov	x1, x21
	bl	_bzero
	ldr	w1, [x22]
	mov	x0, x19
	mov	w2, #1
	mov	w3, #0
	mov	x4, x20
	bl	_set80211
	ldr	w1, [x22]
	mov	x0, x19
	mov	w2, #2
	mov	w3, #0
	mov	x4, x20
	bl	_set80211
	ldr	w1, [x22]
	mov	x0, x19
	mov	w2, #3
	mov	w3, #0
	mov	x4, x20
	bl	_set80211
	mov	w21, #0
LBB0_8:
Lloh26:
	adrp	x8, _IEEE80211_IOC_WEPTXKEY@GOTPAGE
Lloh27:
	ldr	x8, [x8, _IEEE80211_IOC_WEPTXKEY@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x21
	mov	w3, #0
	mov	x4, #0
	bl	_set80211
	mov	sp, x23
	ldur	x8, [x29, #-72]
Lloh29:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh30:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh31:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_11
; %bb.9:
	sub	sp, x29, #64
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_10:
	mov	w0, #1
	bl	_exit
LBB0_11:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_KEYBUF_SIZE,4,2      ; @IEEE80211_KEYBUF_SIZE
	.comm	_IEEE80211_IOC_WEP,4,2          ; @IEEE80211_IOC_WEP
	.comm	_IEEE80211_WEP_ON,4,2           ; @IEEE80211_WEP_ON
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	","

	.comm	_IEEE80211_IOC_WEPKEY,4,2       ; @IEEE80211_IOC_WEPKEY
	.comm	_IEEE80211_IOC_WEPTXKEY,4,2     ; @IEEE80211_IOC_WEPTXKEY
	.no_dead_strip	_set80211nwkey
.subsections_via_symbols
