	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ## -- Begin function main
	.p2align	4, 0x90
_main:                                  ## @main
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movl	%edi, %r15d
	leaq	-104(%rbp), %rdi
	xorl	%esi, %esi
	movl	$48, %edx
	callq	_memset
	movl	-84(%rbp), %edi
	leaq	l_.str.2(%rip), %rsi
	movl	$6, %edx
	callq	_memcpy
	movq	-72(%rbp), %rdi
	leaq	L_.str.3(%rip), %rsi
	callq	_strcpy
	movl	$500000, -104(%rbp)             ## imm = 0x7A120
	xorl	%eax, %eax
	callq	_getpid
	movl	%eax, -60(%rbp)
	leaq	-64(%rbp), %rdi
	xorl	%esi, %esi
	callq	_gettimeofday
	cmpl	$-1, %eax
	jne	LBB0_2
## %bb.1:
	leaq	L_.str.4(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_2:
	movl	$3, -100(%rbp)
	leaq	L_.str(%rip), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	leaq	L_.str.1(%rip), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	leaq	L_.str.5(%rip), %r14
	leaq	LJTI0_0(%rip), %r12
	movq	_optarg@GOTPCREL(%rip), %r13
	jmp	LBB0_3
LBB0_11:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	-84(%rbp), %edi
	movq	(%r13), %rsi
	callq	_str2mac
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r15d, %edi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	callq	_getopt
                                        ## kill: def $eax killed $eax def $rax
	leal	-99(%rax), %ecx
	cmpl	$20, %ecx
	ja	LBB0_4
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movslq	(%r12,%rcx,4), %rax
	addq	%r12, %rax
	jmpq	*%rax
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r13), %rdi
	callq	_atoi
	movl	%eax, -100(%rbp)
	jmp	LBB0_3
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-72(%rbp), %rdi
	movq	(%r13), %rsi
	movl	$7, %edx
	callq	_strncpy
	movq	-72(%rbp), %rax
	movl	$0, 28(%rax)
	jmp	LBB0_3
LBB0_12:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	-76(%rbp), %edi
	movq	(%r13), %rdx
	leaq	-80(%rbp), %rsi
	callq	_str2wep
	testl	%eax, %eax
	je	LBB0_3
	jmp	LBB0_13
LBB0_4:                                 ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$-1, %eax
	je	LBB0_14
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	(%rbx), %rdi
	callq	_usage
	jmp	LBB0_3
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r13), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_3
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r13), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_3
LBB0_14:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_open_tx
	movl	%eax, -96(%rbp)
	cmpl	$-1, %eax
	jne	LBB0_16
## %bb.15:
	leaq	L_.str.7(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_16:
	movq	%rbx, %rdi
	callq	_open_rx
	movl	%eax, -92(%rbp)
	cmpl	$-1, %eax
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	jne	LBB0_18
## %bb.17:
	leaq	L_.str.8(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_18:
	movq	%rbx, %rdi
	callq	_open_tap
	movl	%eax, -88(%rbp)
	cmpl	$-1, %eax
	jne	LBB0_20
## %bb.19:
	leaq	L_.str.9(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_20:
	movl	-84(%rbp), %esi
	movq	%rbx, %rdi
	callq	_set_iface_mac
	cmpl	$-1, %eax
	jne	LBB0_22
## %bb.21:
	leaq	L_.str.10(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_22:
	leaq	-104(%rbp), %rbx
	.p2align	4, 0x90
LBB0_23:                                ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_next_event
	jmp	LBB0_23
LBB0_13:
	leaq	L_str(%rip), %rdi
	callq	_puts
	movl	$1, %edi
	callq	_exit
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
LJTI0_0:
	.long	L0_0_set_9
	.long	L0_0_set_5
	.long	L0_0_set_5
	.long	L0_0_set_5
	.long	L0_0_set_5
	.long	L0_0_set_5
	.long	L0_0_set_7
	.long	L0_0_set_5
	.long	L0_0_set_5
	.long	L0_0_set_5
	.long	L0_0_set_11
	.long	L0_0_set_5
	.long	L0_0_set_5
	.long	L0_0_set_5
	.long	L0_0_set_5
	.long	L0_0_set_5
	.long	L0_0_set_10
	.long	L0_0_set_8
	.long	L0_0_set_5
	.long	L0_0_set_5
	.long	L0_0_set_12
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"wlan0"

L_.str.1:                               ## @.str.1
	.asciz	"tap0"

	.section	__TEXT,__const
l_.str.2:                               ## @.str.2
	.asciz	"\000\000\336\372\316\r"

	.section	__TEXT,__cstring,cstring_literals
L_.str.3:                               ## @.str.3
	.asciz	"sorbo"

L_.str.4:                               ## @.str.4
	.asciz	"gettimeofday()"

L_.str.5:                               ## @.str.5
	.asciz	"hi:s:m:w:c:t:"

	.comm	_optarg,8,3                     ## @optarg
L_.str.7:                               ## @.str.7
	.asciz	"open_tx()"

L_.str.8:                               ## @.str.8
	.asciz	"open_rx()"

L_.str.9:                               ## @.str.9
	.asciz	"open_tap()"

L_.str.10:                              ## @.str.10
	.asciz	"set_iface_mac()"

L_str:                                  ## @str
	.asciz	"Error parsing WEP key"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ; -- Begin function main
	.p2align	2
_main:                                  ; @main
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	mov	x19, x1
	mov	x20, x0
	mov	x21, sp
	mov	x0, sp
	mov	w1, #0
	mov	w2, #48
	bl	_memset
	ldr	w0, [sp, #20]
Lloh0:
	adrp	x1, l_.str.2@PAGE
Lloh1:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w2, #6
	bl	_memcpy
	ldr	x0, [sp, #32]
Lloh2:
	adrp	x1, l_.str.3@PAGE
Lloh3:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_strcpy
	mov	w8, #41248
	movk	w8, #7, lsl #16
	str	w8, [sp]
	bl	_getpid
	str	w0, [sp, #44]
	add	x0, x21, #40
	mov	x1, #0
	bl	_gettimeofday
	cmn	w0, #1
	b.ne	LBB0_2
; %bb.1:
Lloh4:
	adrp	x1, l_.str.4@PAGE
Lloh5:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_2:
	mov	w8, #3
	str	w8, [sp, #4]
	add	x23, x21, #24
Lloh6:
	adrp	x22, l_.str@PAGE
Lloh7:
	add	x22, x22, l_.str@PAGEOFF
Lloh8:
	adrp	x21, l_.str.1@PAGE
Lloh9:
	add	x21, x21, l_.str.1@PAGEOFF
Lloh10:
	adrp	x24, l_.str.5@PAGE
Lloh11:
	add	x24, x24, l_.str.5@PAGEOFF
Lloh12:
	adrp	x25, _optarg@GOTPAGE
Lloh13:
	ldr	x25, [x25, _optarg@GOTPAGEOFF]
Lloh14:
	adrp	x26, lJTI0_0@PAGE
Lloh15:
	add	x26, x26, lJTI0_0@PAGEOFF
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [sp, #20]
	ldr	x1, [x25]
	bl	_str2mac
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x19
	mov	x2, x24
	bl	_getopt
	sub	w8, w0, #99
	cmp	w8, #20
	b.hi	LBB0_9
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	adr	x9, LBB0_3
	ldrb	w10, [x26, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [x25]
	bl	_atoi
	str	w0, [sp, #4]
	b	LBB0_4
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [sp, #32]
	ldr	x1, [x25]
	mov	w2, #7
	bl	_strncpy
	ldr	x8, [sp, #32]
	str	wzr, [x8, #28]
	b	LBB0_4
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [sp, #28]
	ldr	x2, [x25]
	mov	x1, x23
	bl	_str2wep
	cbz	w0, LBB0_4
	b	LBB0_22
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	cmn	w0, #1
	b.eq	LBB0_13
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [x19]
	bl	_usage
	b	LBB0_4
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x22, [x25]
	b	LBB0_4
LBB0_12:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x21, [x25]
	b	LBB0_4
LBB0_13:
	mov	x0, x22
	bl	_open_tx
	str	w0, [sp, #8]
	cmn	w0, #1
	b.ne	LBB0_15
; %bb.14:
Lloh16:
	adrp	x1, l_.str.7@PAGE
Lloh17:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_15:
	mov	x0, x22
	bl	_open_rx
	str	w0, [sp, #12]
	cmn	w0, #1
	b.ne	LBB0_17
; %bb.16:
Lloh18:
	adrp	x1, l_.str.8@PAGE
Lloh19:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_17:
	mov	x0, x21
	bl	_open_tap
	str	w0, [sp, #16]
	cmn	w0, #1
	b.ne	LBB0_19
; %bb.18:
Lloh20:
	adrp	x1, l_.str.9@PAGE
Lloh21:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_19:
	ldr	w1, [sp, #20]
	mov	x0, x21
	bl	_set_iface_mac
	cmn	w0, #1
	b.ne	LBB0_21
; %bb.20:
Lloh22:
	adrp	x1, l_.str.10@PAGE
Lloh23:
	add	x1, x1, l_.str.10@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_21:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, sp
	bl	_next_event
	b	LBB0_21
LBB0_22:
Lloh24:
	adrp	x0, l_str@PAGE
Lloh25:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
	mov	w0, #1
	bl	_exit
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_6-LBB0_3)>>2
	.byte	(LBB0_10-LBB0_3)>>2
	.byte	(LBB0_10-LBB0_3)>>2
	.byte	(LBB0_10-LBB0_3)>>2
	.byte	(LBB0_10-LBB0_3)>>2
	.byte	(LBB0_10-LBB0_3)>>2
	.byte	(LBB0_11-LBB0_3)>>2
	.byte	(LBB0_10-LBB0_3)>>2
	.byte	(LBB0_10-LBB0_3)>>2
	.byte	(LBB0_10-LBB0_3)>>2
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_10-LBB0_3)>>2
	.byte	(LBB0_10-LBB0_3)>>2
	.byte	(LBB0_10-LBB0_3)>>2
	.byte	(LBB0_10-LBB0_3)>>2
	.byte	(LBB0_10-LBB0_3)>>2
	.byte	(LBB0_7-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
	.byte	(LBB0_10-LBB0_3)>>2
	.byte	(LBB0_10-LBB0_3)>>2
	.byte	(LBB0_8-LBB0_3)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"wlan0"

l_.str.1:                               ; @.str.1
	.asciz	"tap0"

	.section	__TEXT,__const
l_.str.2:                               ; @.str.2
	.asciz	"\000\000\336\372\316\r"

	.section	__TEXT,__cstring,cstring_literals
l_.str.3:                               ; @.str.3
	.asciz	"sorbo"

l_.str.4:                               ; @.str.4
	.asciz	"gettimeofday()"

l_.str.5:                               ; @.str.5
	.asciz	"hi:s:m:w:c:t:"

	.comm	_optarg,8,3                     ; @optarg
l_.str.7:                               ; @.str.7
	.asciz	"open_tx()"

l_.str.8:                               ; @.str.8
	.asciz	"open_rx()"

l_.str.9:                               ; @.str.9
	.asciz	"open_tap()"

l_.str.10:                              ; @.str.10
	.asciz	"set_iface_mac()"

l_str:                                  ; @str
	.asciz	"Error parsing WEP key"

.subsections_via_symbols
