	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_own                            ## -- Begin function own
	.p2align	4, 0x90
_own:                                   ## @own
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	_DLT_IEEE802_11_RADIO@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_hopfreq@GOTPCREL(%rip), %rax
	movl	$1000, (%rax)                   ## imm = 0x3E8
	callq	_setup_if
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_open_bpf
	movq	_chaninfo@GOTPCREL(%rip), %r12
	leaq	-64(%rbp), %r14
	leaq	-44(%rbp), %rbx
	movq	_bpf_s@GOTPCREL(%rip), %r13
	leaq	L_.str(%rip), %r15
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$0, (%r12)
	je	LBB0_2
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	$1, -64(%rbp)
	movq	$0, -56(%rbp)
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	%r14, %rdi
	callq	_chanhop
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	%r14, %rdi
	callq	_check_seen
	movq	%rbx, %rdi
	callq	_FD_ZERO
	xorl	%edi, %edi
	movq	%rbx, %rsi
	callq	_FD_SET
	movq	(%r13), %rdi
	movq	%rbx, %rsi
	callq	_FD_SET
	movq	(%r13), %rdi
	incq	%rdi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movq	%r14, %r8
	callq	_select
	cmpl	$-1, %eax
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	$1, %edi
	movq	%r15, %rsi
	callq	_die
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
	xorl	%edi, %edi
	movq	%rbx, %rsi
	callq	_FD_ISSET
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_1 Depth=1
	xorl	%eax, %eax
	callq	_user_input
LBB0_8:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	(%r13), %rdi
	movq	%rbx, %rsi
	callq	_FD_ISSET
	testq	%rax, %rax
	je	LBB0_1
## %bb.9:                               ##   in Loop: Header=BB0_1 Depth=1
	xorl	%eax, %eax
	callq	_bpf_input
	jmp	LBB0_1
	.cfi_endproc
                                        ## -- End function
	.comm	_DLT_IEEE802_11_RADIO,4,2       ## @DLT_IEEE802_11_RADIO
	.comm	_hopfreq,4,2                    ## @hopfreq
	.comm	_chaninfo,4,2                   ## @chaninfo
	.comm	_bpf_s,8,3                      ## @bpf_s
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"select()"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_own                            ; -- Begin function own
	.p2align	2
_own:                                   ; @own
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x19, x0
Lloh0:
	adrp	x8, _DLT_IEEE802_11_RADIO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DLT_IEEE802_11_RADIO@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
Lloh3:
	adrp	x8, _hopfreq@GOTPAGE
Lloh4:
	ldr	x8, [x8, _hopfreq@GOTPAGEOFF]
	mov	w9, #1000
Lloh5:
	str	w9, [x8]
	bl	_setup_if
	mov	x0, x19
	mov	x1, x20
	bl	_open_bpf
Lloh6:
	adrp	x20, _chaninfo@GOTPAGE
Lloh7:
	ldr	x20, [x20, _chaninfo@GOTPAGEOFF]
Lloh8:
	adrp	x21, _bpf_s@GOTPAGE
Lloh9:
	ldr	x21, [x21, _bpf_s@GOTPAGEOFF]
	mov	w22, #1
Lloh10:
	adrp	x19, l_.str@PAGE
Lloh11:
	add	x19, x19, l_.str@PAGEOFF
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x20]
	cbz	w8, LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	str	w22, [sp, #8]
	str	xzr, [sp, #16]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_1 Depth=1
	add	x0, sp, #8
	bl	_chanhop
LBB0_4:                                 ;   in Loop: Header=BB0_1 Depth=1
	add	x0, sp, #8
	bl	_check_seen
	add	x0, sp, #28
	bl	_FD_ZERO
	add	x1, sp, #28
	mov	x0, #0
	bl	_FD_SET
	ldr	x0, [x21]
	add	x1, sp, #28
	bl	_FD_SET
	ldr	x8, [x21]
	add	x0, x8, #1
	add	x1, sp, #28
	add	x4, sp, #8
	mov	x2, #0
	mov	x3, #0
	bl	_select
	cmn	w0, #1
	b.ne	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	w0, #1
	mov	x1, x19
	bl	_die
LBB0_6:                                 ;   in Loop: Header=BB0_1 Depth=1
	add	x1, sp, #28
	mov	x0, #0
	bl	_FD_ISSET
	cbz	x0, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_1 Depth=1
	bl	_user_input
LBB0_8:                                 ;   in Loop: Header=BB0_1 Depth=1
	ldr	x0, [x21]
	add	x1, sp, #28
	bl	_FD_ISSET
	cbz	x0, LBB0_1
; %bb.9:                                ;   in Loop: Header=BB0_1 Depth=1
	bl	_bpf_input
	b	LBB0_1
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotStr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DLT_IEEE802_11_RADIO,4,2       ; @DLT_IEEE802_11_RADIO
	.comm	_hopfreq,4,2                    ; @hopfreq
	.comm	_chaninfo,4,2                   ; @chaninfo
	.comm	_bpf_s,8,3                      ; @bpf_s
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"select()"

.subsections_via_symbols
