	.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	$56, %edx
	callq	_memset
	movl	-76(%rbp), %edi
	leaq	l_.str.2(%rip), %rsi
	movl	$6, %edx
	callq	_memcpy
	leaq	L_.str.3(%rip), %rax
	movq	%rax, -104(%rbp)
	xorl	%eax, %eax
	callq	_getpid
	movl	%eax, -52(%rbp)
	leaq	L_.str.1(%rip), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	leaq	L_.str.4(%rip), %r14
	leaq	LJTI0_0(%rip), %r12
	movq	_optarg@GOTPCREL(%rip), %r13
	jmp	LBB0_1
LBB0_15:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	(%r13), %rdi
	callq	_atoi
	movl	%eax, -72(%rbp)
	.p2align	4, 0x90
LBB0_1:                                 ## =>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	-98(%rax), %ecx
	cmpl	$18, %ecx
	ja	LBB0_2
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	movslq	(%r12,%rcx,4), %rax
	addq	%r12, %rax
	jmpq	*%rax
LBB0_11:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	-64(%rbp), %edi
	movq	(%r13), %rsi
	callq	_str2mac
	cmpl	$-1, %eax
	jne	LBB0_1
	jmp	LBB0_12
LBB0_13:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	(%r13), %rdi
	leaq	-68(%rbp), %rsi
	callq	_inet_aton
	testl	%eax, %eax
	jne	LBB0_1
	jmp	LBB0_14
LBB0_8:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	-60(%rbp), %edi
	movq	(%r13), %rsi
	callq	_str2mac
	cmpl	$-1, %eax
	jne	LBB0_1
	jmp	LBB0_9
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	(%r13), %rdi
	leaq	-56(%rbp), %rsi
	callq	_inet_aton
	testl	%eax, %eax
	jne	LBB0_1
	jmp	LBB0_6
LBB0_2:                                 ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$-1, %eax
	je	LBB0_16
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	(%rbx), %rdi
	callq	_usage
	jmp	LBB0_1
LBB0_10:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	(%r13), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_1
LBB0_16:
	leaq	-104(%rbp), %rdi
	callq	_load_prga
	xorl	%edi, %edi
	cmpl	$61, -96(%rbp)
	setge	%dil
	callq	_assert
	leaq	L_.str(%rip), %rdi
	callq	_open_rx
	movl	%eax, -92(%rbp)
	cmpl	$-1, %eax
	jne	LBB0_18
## %bb.17:
	leaq	L_.str.9(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_18:
	leaq	L_.str(%rip), %rdi
	callq	_open_tx
	movl	%eax, -88(%rbp)
	cmpl	$-1, %eax
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	jne	LBB0_20
## %bb.19:
	leaq	L_.str.10(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_20:
	movq	%rbx, %rdi
	callq	_open_tap
	movl	%eax, -84(%rbp)
	cmpl	$-1, %eax
	jne	LBB0_22
## %bb.21:
	leaq	L_.str.11(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_22:
	movl	-76(%rbp), %esi
	movq	%rbx, %rdi
	callq	_set_iface_mac
	cmpl	$-1, %eax
	jne	LBB0_24
## %bb.23:
	leaq	L_.str.12(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_24:
	leaq	-104(%rbp), %rdi
	callq	_connect_buddy
	cmpl	$-1, %eax
	jne	LBB0_26
## %bb.25:
	leaq	L_.str.13(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_26:
	movq	_S_START@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -80(%rbp)
	leaq	-104(%rbp), %rbx
	.p2align	4, 0x90
LBB0_27:                                ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_own
	jmp	LBB0_27
LBB0_14:
	leaq	L_str(%rip), %rdi
	jmp	LBB0_7
LBB0_9:
	leaq	L_str.15(%rip), %rdi
	jmp	LBB0_7
LBB0_6:
	leaq	L_str.16(%rip), %rdi
	jmp	LBB0_7
LBB0_12:
	leaq	L_str.14(%rip), %rdi
LBB0_7:
	callq	_puts
	movl	$1, %edi
	callq	_exit
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
LJTI0_0:
	.long	L0_0_set_11
	.long	L0_0_set_3
	.long	L0_0_set_13
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_15
	.long	L0_0_set_3
	.long	L0_0_set_8
	.long	L0_0_set_5
	.long	L0_0_set_10
	.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	"prga.log"

L_.str.4:                               ## @.str.4
	.asciz	"hd:p:b:t:r:s:"

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

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

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

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

L_.str.13:                              ## @.str.13
	.asciz	"connect_buddy()"

	.comm	_S_START,4,2                    ## @S_START
L_str:                                  ## @str
	.asciz	"Can't parse IP"

L_str.14:                               ## @str.14
	.asciz	"Can't parse BSSID"

L_str.15:                               ## @str.15
	.asciz	"Can't parse rtr MAC"

L_str.16:                               ## @str.16
	.asciz	"Can't parse src IP"

.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, #144
	.cfi_def_cfa_offset 144
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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	x20, x1
	mov	x21, x0
	add	x19, sp, #8
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #56
	bl	_memset
	ldr	w0, [sp, #36]
Lloh0:
	adrp	x1, l_.str.2@PAGE
Lloh1:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w2, #6
	bl	_memcpy
Lloh2:
	adrp	x8, l_.str.3@PAGE
Lloh3:
	add	x8, x8, l_.str.3@PAGEOFF
	str	x8, [sp, #8]
	bl	_getpid
	str	w0, [sp, #60]
	add	x22, x19, #36
	add	x23, x19, #48
Lloh4:
	adrp	x19, l_.str.1@PAGE
Lloh5:
	add	x19, x19, l_.str.1@PAGEOFF
Lloh6:
	adrp	x24, l_.str.4@PAGE
Lloh7:
	add	x24, x24, l_.str.4@PAGEOFF
Lloh8:
	adrp	x25, _optarg@GOTPAGE
Lloh9:
	ldr	x25, [x25, _optarg@GOTPAGEOFF]
Lloh10:
	adrp	x26, lJTI0_0@PAGE
Lloh11:
	add	x26, x26, lJTI0_0@PAGEOFF
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x0, [x25]
	bl	_atoi
	str	w0, [sp, #40]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	mov	x1, x20
	mov	x2, x24
	bl	_getopt
	sub	w8, w0, #98
	cmp	w8, #18
	b.hi	LBB0_8
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	adr	x9, LBB0_1
	ldrb	w10, [x26, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_4:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [sp, #48]
	ldr	x1, [x25]
	bl	_str2mac
	cmn	w0, #1
	b.ne	LBB0_2
	b	LBB0_26
LBB0_5:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x0, [x25]
	mov	x1, x22
	bl	_inet_aton
	cbnz	w0, LBB0_2
	b	LBB0_23
LBB0_6:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [sp, #52]
	ldr	x1, [x25]
	bl	_str2mac
	cmn	w0, #1
	b.ne	LBB0_2
	b	LBB0_24
LBB0_7:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x0, [x25]
	mov	x1, x23
	bl	_inet_aton
	cbnz	w0, LBB0_2
	b	LBB0_25
LBB0_8:                                 ;   in Loop: Header=BB0_2 Depth=1
	cmn	w0, #1
	b.eq	LBB0_11
LBB0_9:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x0, [x20]
	bl	_usage
	b	LBB0_2
LBB0_10:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x19, [x25]
	b	LBB0_2
LBB0_11:
	add	x0, sp, #8
	bl	_load_prga
	ldr	w8, [sp, #16]
	cmp	w8, #60
	cset	w0, gt
	bl	_assert
Lloh12:
	adrp	x0, l_.str@PAGE
Lloh13:
	add	x0, x0, l_.str@PAGEOFF
	bl	_open_rx
	str	w0, [sp, #20]
	cmn	w0, #1
	b.ne	LBB0_13
; %bb.12:
Lloh14:
	adrp	x1, l_.str.9@PAGE
Lloh15:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_13:
Lloh16:
	adrp	x0, l_.str@PAGE
Lloh17:
	add	x0, x0, l_.str@PAGEOFF
	bl	_open_tx
	str	w0, [sp, #24]
	cmn	w0, #1
	b.ne	LBB0_15
; %bb.14:
Lloh18:
	adrp	x1, l_.str.10@PAGE
Lloh19:
	add	x1, x1, l_.str.10@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_15:
	mov	x0, x19
	bl	_open_tap
	str	w0, [sp, #28]
	cmn	w0, #1
	b.ne	LBB0_17
; %bb.16:
Lloh20:
	adrp	x1, l_.str.11@PAGE
Lloh21:
	add	x1, x1, l_.str.11@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_17:
	ldr	w1, [sp, #36]
	mov	x0, x19
	bl	_set_iface_mac
	cmn	w0, #1
	b.ne	LBB0_19
; %bb.18:
Lloh22:
	adrp	x1, l_.str.12@PAGE
Lloh23:
	add	x1, x1, l_.str.12@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_19:
	add	x0, sp, #8
	bl	_connect_buddy
	cmn	w0, #1
	b.ne	LBB0_21
; %bb.20:
Lloh24:
	adrp	x1, l_.str.13@PAGE
Lloh25:
	add	x1, x1, l_.str.13@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_21:
Lloh26:
	adrp	x8, _S_START@GOTPAGE
Lloh27:
	ldr	x8, [x8, _S_START@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
	str	w8, [sp, #32]
LBB0_22:                                ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #8
	bl	_own
	b	LBB0_22
LBB0_23:
Lloh29:
	adrp	x0, l_str@PAGE
Lloh30:
	add	x0, x0, l_str@PAGEOFF
	b	LBB0_27
LBB0_24:
Lloh31:
	adrp	x0, l_str.15@PAGE
Lloh32:
	add	x0, x0, l_str.15@PAGEOFF
	b	LBB0_27
LBB0_25:
Lloh33:
	adrp	x0, l_str.16@PAGE
Lloh34:
	add	x0, x0, l_str.16@PAGEOFF
	b	LBB0_27
LBB0_26:
Lloh35:
	adrp	x0, l_str.14@PAGE
Lloh36:
	add	x0, x0, l_str.14@PAGEOFF
LBB0_27:
	bl	_puts
	mov	w0, #1
	bl	_exit
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh35, Lloh36
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_4-LBB0_1)>>2
	.byte	(LBB0_9-LBB0_1)>>2
	.byte	(LBB0_5-LBB0_1)>>2
	.byte	(LBB0_9-LBB0_1)>>2
	.byte	(LBB0_9-LBB0_1)>>2
	.byte	(LBB0_9-LBB0_1)>>2
	.byte	(LBB0_9-LBB0_1)>>2
	.byte	(LBB0_9-LBB0_1)>>2
	.byte	(LBB0_9-LBB0_1)>>2
	.byte	(LBB0_9-LBB0_1)>>2
	.byte	(LBB0_9-LBB0_1)>>2
	.byte	(LBB0_9-LBB0_1)>>2
	.byte	(LBB0_9-LBB0_1)>>2
	.byte	(LBB0_9-LBB0_1)>>2
	.byte	(LBB0_1-LBB0_1)>>2
	.byte	(LBB0_9-LBB0_1)>>2
	.byte	(LBB0_6-LBB0_1)>>2
	.byte	(LBB0_7-LBB0_1)>>2
	.byte	(LBB0_10-LBB0_1)>>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	"prga.log"

l_.str.4:                               ; @.str.4
	.asciz	"hd:p:b:t:r:s:"

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

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

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

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

l_.str.13:                              ; @.str.13
	.asciz	"connect_buddy()"

	.comm	_S_START,4,2                    ; @S_START
l_str:                                  ; @str
	.asciz	"Can't parse IP"

l_str.14:                               ; @str.14
	.asciz	"Can't parse BSSID"

l_str.15:                               ; @str.15
	.asciz	"Can't parse rtr MAC"

l_str.16:                               ; @str.16
	.asciz	"Can't parse src IP"

.subsections_via_symbols
