	.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	$56, %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	-96(%rbp), %rdi
	xorl	%esi, %esi
	movl	$56, %edx
	callq	_memset
	leaq	L_.str.2(%rip), %rax
	movq	%rax, -96(%rbp)
	movl	-56(%rbp), %edi
	leaq	l_.str.3(%rip), %rsi
	movl	$6, %edx
	callq	_memcpy
	movq	_S_START@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -64(%rbp)
	movl	$1500, -88(%rbp)                ## imm = 0x5DC
	xorl	%eax, %eax
	callq	_getpid
	movl	%eax, -48(%rbp)
	leaq	L_.str.1(%rip), %r14
	leaq	L_.str.4(%rip), %r12
	movq	_optarg@GOTPCREL(%rip), %r13
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	-52(%rbp), %edi
	movq	(%r13), %rsi
	callq	_str2mac
	cmpl	$-1, %eax
	je	LBB0_6
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r15d, %edi
	movq	%rbx, %rsi
	movq	%r12, %rdx
	callq	_getopt
	cmpl	$98, %eax
	je	LBB0_5
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$-1, %eax
	je	LBB0_8
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$116, %eax
	je	LBB0_4
## %bb.7:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	(%rbx), %rdi
	callq	_usage
	jmp	LBB0_1
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	(%r13), %r14
	jmp	LBB0_1
LBB0_8:
	leaq	L_.str(%rip), %rdi
	callq	_open_rx
	movl	%eax, -84(%rbp)
	cmpl	$-1, %eax
	jne	LBB0_10
## %bb.9:
	leaq	L_.str.6(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_10:
	leaq	L_.str(%rip), %rdi
	callq	_open_tx
	movl	%eax, -80(%rbp)
	cmpl	$-1, %eax
	jne	LBB0_12
## %bb.11:
	leaq	L_.str.7(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_12:
	movq	%r14, %rdi
	callq	_open_tap
	movl	%eax, -76(%rbp)
	cmpl	$-1, %eax
	jne	LBB0_14
## %bb.13:
	leaq	L_.str.8(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_14:
	movl	-56(%rbp), %esi
	movq	%r14, %rdi
	callq	_set_iface_mac
	cmpl	$-1, %eax
	jne	LBB0_16
## %bb.15:
	leaq	L_.str.9(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_16:
	leaq	L_str(%rip), %rdi
	callq	_puts
	leaq	-96(%rbp), %rdi
	callq	_load_prga
	movl	-72(%rbp), %eax
	testl	%eax, %eax
	jne	LBB0_19
## %bb.17:
	leaq	-96(%rbp), %rbx
	.p2align	4, 0x90
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_get_prga
	movl	-72(%rbp), %eax
	testl	%eax, %eax
	je	LBB0_18
LBB0_19:
	cmpl	-88(%rbp), %eax
	jge	LBB0_22
## %bb.20:
	leaq	-96(%rbp), %rbx
	.p2align	4, 0x90
LBB0_21:                                ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_get_more_prga
	movl	-72(%rbp), %eax
	cmpl	-88(%rbp), %eax
	jl	LBB0_21
LBB0_22:
	movq	_S_START@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -64(%rbp)
	leaq	-96(%rbp), %rbx
	.p2align	4, 0x90
LBB0_23:                                ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_transmit
	jmp	LBB0_23
LBB0_6:
	leaq	L_str.11(%rip), %rdi
	callq	_puts
	movl	$1, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"wlan0"

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

L_.str.2:                               ## @.str.2
	.asciz	"prga.log"

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

	.comm	_S_START,8,3                    ## @S_START
	.section	__TEXT,__cstring,cstring_literals
L_.str.4:                               ## @.str.4
	.asciz	"hb:t:"

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

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

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

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

L_str:                                  ## @str
	.asciz	"Obtaining PRGA"

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

.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	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
	mov	x20, x1
	mov	x21, x0
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #56
	bl	_memset
Lloh0:
	adrp	x8, l_.str.2@PAGE
Lloh1:
	add	x8, x8, l_.str.2@PAGEOFF
	str	x8, [sp, #8]
	ldr	w0, [sp, #48]
Lloh2:
	adrp	x1, l_.str.3@PAGE
Lloh3:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	w2, #6
	bl	_memcpy
Lloh4:
	adrp	x23, _S_START@GOTPAGE
Lloh5:
	ldr	x23, [x23, _S_START@GOTPAGEOFF]
	ldr	x8, [x23]
	str	x8, [sp, #40]
	mov	w8, #1500
	str	w8, [sp, #16]
	bl	_getpid
	str	w0, [sp, #56]
Lloh6:
	adrp	x19, l_.str.1@PAGE
Lloh7:
	add	x19, x19, l_.str.1@PAGEOFF
Lloh8:
	adrp	x22, l_.str.4@PAGE
Lloh9:
	add	x22, x22, l_.str.4@PAGEOFF
Lloh10:
	adrp	x24, _optarg@GOTPAGE
Lloh11:
	ldr	x24, [x24, _optarg@GOTPAGEOFF]
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [sp, #52]
	ldr	x1, [x24]
	bl	_str2mac
	cmn	w0, #1
	b.eq	LBB0_21
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	mov	x1, x20
	mov	x2, x22
	bl	_getopt
	cmp	w0, #98
	b.eq	LBB0_1
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	cmn	w0, #1
	b.eq	LBB0_7
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	w0, #116
	b.eq	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x0, [x20]
	bl	_usage
	b	LBB0_2
LBB0_6:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x19, [x24]
	b	LBB0_2
LBB0_7:
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_9
; %bb.8:
Lloh14:
	adrp	x1, l_.str.6@PAGE
Lloh15:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_9:
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_11
; %bb.10:
Lloh18:
	adrp	x1, l_.str.7@PAGE
Lloh19:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_11:
	mov	x0, x19
	bl	_open_tap
	str	w0, [sp, #28]
	cmn	w0, #1
	b.ne	LBB0_13
; %bb.12:
Lloh20:
	adrp	x1, l_.str.8@PAGE
Lloh21:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_13:
	ldr	w1, [sp, #48]
	mov	x0, x19
	bl	_set_iface_mac
	cmn	w0, #1
	b.ne	LBB0_15
; %bb.14:
Lloh22:
	adrp	x1, l_.str.9@PAGE
Lloh23:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_15:
Lloh24:
	adrp	x0, l_str@PAGE
Lloh25:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
	add	x0, sp, #8
	bl	_load_prga
	ldr	w8, [sp, #32]
	cbnz	w8, LBB0_18
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #8
	bl	_get_prga
	ldr	w8, [sp, #32]
	cbz	w8, LBB0_16
	b	LBB0_18
LBB0_17:                                ;   in Loop: Header=BB0_18 Depth=1
	add	x0, sp, #8
	bl	_get_more_prga
	ldr	w8, [sp, #32]
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	ldr	w9, [sp, #16]
	cmp	w8, w9
	b.lt	LBB0_17
; %bb.19:
	ldr	x8, [x23]
	str	x8, [sp, #40]
LBB0_20:                                ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #8
	bl	_transmit
	b	LBB0_20
LBB0_21:
Lloh26:
	adrp	x0, l_str.11@PAGE
Lloh27:
	add	x0, x0, l_str.11@PAGEOFF
	bl	_puts
	mov	w0, #1
	bl	_exit
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	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 AdrpAdd	Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"wlan0"

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

l_.str.2:                               ; @.str.2
	.asciz	"prga.log"

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

	.comm	_S_START,8,3                    ; @S_START
	.section	__TEXT,__cstring,cstring_literals
l_.str.4:                               ; @.str.4
	.asciz	"hb:t:"

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

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

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

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

l_str:                                  ; @str
	.asciz	"Obtaining PRGA"

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

.subsections_via_symbols
