	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function main
LCPI0_0:
	.long	0x5f000000                      ## float 9.22337203E+18
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_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	$24, %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, %r12d
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	callq	_ieee80211_phy_init
	movq	_LLC_SNAPFRAMELEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_IEEE80211_CRC_LEN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	leal	1504(%rax,%rcx), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	leaq	L_.str(%rip), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	$108, %r14d
	leaq	L_.str.1(%rip), %r15
	leaq	LJTI0_0(%rip), %r13
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$-1, %eax
	je	LBB0_10
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	(%rbx), %rdi
	callq	_usage
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r12d, %edi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	callq	_getopt
                                        ## kill: def $eax killed $eax def $rax
	leal	-97(%rax), %ecx
	cmpl	$18, %ecx
	ja	LBB0_4
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movslq	(%r13,%rcx,4), %rax
	addq	%r13, %rax
	jmpq	*%rax
LBB0_1:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	$1, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_3
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	_optarg@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_strtoul
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	jmp	LBB0_3
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	_optarg@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_3
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	_optarg@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_atof
	addss	%xmm0, %xmm0
	cvttss2si	%xmm0, %rax
	movq	%rax, %rcx
	sarq	$63, %rcx
	subss	LCPI0_0(%rip), %xmm0
	cvttss2si	%xmm0, %r14
	andq	%rcx, %r14
	orq	%rax, %r14
	jmp	LBB0_3
LBB0_2:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	$1, -44(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_3
LBB0_10:
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	callq	_mode2table
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_12
## %bb.11:
	leaq	L_.str.2(%rip), %rsi
	movl	$-1, %edi
	movq	%r15, %rdx
	xorl	%eax, %eax
	callq	_errx
LBB0_12:
	cmpl	$0, -56(%rbp)                   ## 4-byte Folded Reload
	movl	-48(%rbp), %r13d                ## 4-byte Reload
	je	LBB0_16
## %bb.13:
	cmpq	$0, 8(%rbx)
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	je	LBB0_19
## %bb.14:
	movl	%r13d, %r15d
	movq	%rbx, %r13
	xorl	%ebx, %ebx
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movq	16(%r13), %rax
	movq	_IEEE80211_RATE_BASIC@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r14
	notq	%r14
	andq	(%rax,%rbx,8), %r14
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	xorl	%ecx, %ecx
	callq	_checkpreamble
	movl	%eax, %r12d
	movq	%r13, %rdi
	movl	%r15d, %esi
	movq	%r14, %rdx
	movl	%eax, %ecx
	callq	_ieee80211_compute_duration
	movq	%rax, %r15
	movq	%r14, %rdi
	callq	_srate
	testl	%r12d, %r12d
	leaq	L_.str.5(%rip), %r8
	leaq	L_.str.6(%rip), %rcx
	cmoveq	%rcx, %r8
	leaq	L_.str.4(%rip), %rdi
	movq	%r15, %rsi
	movl	-48(%rbp), %r15d                ## 4-byte Reload
	movl	%r15d, %edx
	movq	%rax, %rcx
	callq	_printf
	incq	%rbx
	cmpq	8(%r13), %rbx
	jb	LBB0_15
	jmp	LBB0_19
LBB0_16:
	movq	(%rbx), %rax
	movq	(%rax,%r14,8), %r12
	cmpq	$-1, %r12
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	jne	LBB0_18
## %bb.17:
	movq	%r14, %rdi
	callq	_srate
	leaq	L_.str.3(%rip), %rsi
	movl	$-1, %edi
	movq	%rax, %rdx
	movq	%r15, %rcx
	xorl	%eax, %eax
	callq	_errx
	movl	-44(%rbp), %edx                 ## 4-byte Reload
LBB0_18:
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movl	$1, %ecx
	callq	_checkpreamble
	movl	%eax, %r12d
	movq	%rbx, %rdi
	movl	%r13d, %esi
	movq	%r14, %rdx
	movl	%eax, %ecx
	callq	_ieee80211_compute_duration
	movq	%rax, %rbx
	movq	%r14, %rdi
	callq	_srate
	testl	%r12d, %r12d
	leaq	L_.str.6(%rip), %rcx
	leaq	L_.str.5(%rip), %r8
	cmoveq	%rcx, %r8
	leaq	L_.str.4(%rip), %rdi
	movq	%rbx, %rsi
	movl	%r13d, %edx
	movq	%rax, %rcx
	callq	_printf
LBB0_19:
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_1, LBB0_1-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
LJTI0_0:
	.long	L0_0_set_1
	.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_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_8
	.long	L0_0_set_5
	.long	L0_0_set_5
	.long	L0_0_set_5
	.long	L0_0_set_5
	.long	L0_0_set_9
	.long	L0_0_set_2
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"11g"

	.comm	_LLC_SNAPFRAMELEN,4,2           ## @LLC_SNAPFRAMELEN
	.comm	_IEEE80211_CRC_LEN,4,2          ## @IEEE80211_CRC_LEN
L_.str.1:                               ## @.str.1
	.asciz	"al:m:r:s"

	.comm	_optarg,8,3                     ## @optarg
L_.str.2:                               ## @.str.2
	.asciz	"unknown mode %s"

L_.str.3:                               ## @.str.3
	.asciz	"rate %s not valid for mode %s"

L_.str.4:                               ## @.str.4
	.asciz	"%u usec to send %u bytes @ %s Mb/s, %s preamble\n"

L_.str.5:                               ## @.str.5
	.asciz	"short"

L_.str.6:                               ## @.str.6
	.asciz	"long"

	.comm	_IEEE80211_RATE_BASIC,8,3       ## @IEEE80211_RATE_BASIC
.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, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x23, x1
	mov	x24, x0
	bl	_ieee80211_phy_init
	mov	w26, #0
	mov	w20, #0
Lloh0:
	adrp	x8, _LLC_SNAPFRAMELEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LLC_SNAPFRAMELEN@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _IEEE80211_CRC_LEN@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IEEE80211_CRC_LEN@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	add	w8, w8, w9
	add	w19, w8, #1504
Lloh6:
	adrp	x22, l_.str@PAGE
Lloh7:
	add	x22, x22, l_.str@PAGEOFF
	mov	w21, #108
Lloh8:
	adrp	x25, l_.str.1@PAGE
Lloh9:
	add	x25, x25, l_.str.1@PAGEOFF
Lloh10:
	adrp	x27, lJTI0_0@PAGE
Lloh11:
	add	x27, x27, lJTI0_0@PAGEOFF
Lloh12:
	adrp	x28, _optarg@GOTPAGE
Lloh13:
	ldr	x28, [x28, _optarg@GOTPAGEOFF]
	b	LBB0_3
LBB0_1:                                 ;   in Loop: Header=BB0_3 Depth=1
	cmn	w0, #1
	b.eq	LBB0_10
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [x23]
	bl	_usage
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x24
	mov	x1, x23
	mov	x2, x25
	bl	_getopt
	sub	w8, w0, #97
	cmp	w8, #18
	b.hi	LBB0_1
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	adr	x9, LBB0_2
	ldrb	w10, [x27, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	w26, #1
	b	LBB0_3
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [x28]
	mov	x1, #0
	mov	w2, #0
	bl	_strtoul
	mov	x19, x0
	b	LBB0_3
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x22, [x28]
	b	LBB0_3
LBB0_8:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [x28]
	bl	_atof
	fadd	s0, s0, s0
	fcvtzu	x21, s0
	b	LBB0_3
LBB0_9:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	w20, #1
	b	LBB0_3
LBB0_10:
	mov	x27, x20
	mov	x0, x22
	bl	_mode2table
	mov	x23, x0
	cbz	x0, LBB0_15
; %bb.11:
	cbz	w26, LBB0_16
LBB0_12:
	ldr	x8, [x23, #8]
	cbz	x8, LBB0_19
; %bb.13:
	mov	x21, #0
Lloh14:
	adrp	x28, l_.str.5@PAGE
Lloh15:
	add	x28, x28, l_.str.5@PAGEOFF
Lloh16:
	adrp	x20, l_.str.6@PAGE
Lloh17:
	add	x20, x20, l_.str.6@PAGEOFF
Lloh18:
	adrp	x22, l_.str.4@PAGE
Lloh19:
	add	x22, x22, l_.str.4@PAGEOFF
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x23, #16]
	ldr	x8, [x8, x21, lsl #3]
Lloh20:
	adrp	x9, _IEEE80211_RATE_BASIC@GOTPAGE
Lloh21:
	ldr	x9, [x9, _IEEE80211_RATE_BASIC@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	bic	x24, x8, x9
	mov	x0, x23
	mov	x1, x21
	mov	x2, x27
	mov	w3, #0
	bl	_checkpreamble
	mov	x25, x0
	mov	x0, x23
	mov	x1, x19
	mov	x2, x24
	mov	x3, x25
	bl	_ieee80211_compute_duration
	mov	x26, x0
	mov	x0, x24
	bl	_srate
	mov	x3, x0
	cmp	w25, #0
	csel	x4, x20, x28, eq
	mov	x0, x22
	mov	x1, x26
	mov	x2, x19
	bl	_printf
	add	x21, x21, #1
	ldr	x8, [x23, #8]
	cmp	x21, x8
	b.lo	LBB0_14
	b	LBB0_19
LBB0_15:
Lloh23:
	adrp	x1, l_.str.2@PAGE
Lloh24:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w0, #-1
	mov	x2, x22
	bl	_errx
	cbnz	w26, LBB0_12
LBB0_16:
	ldr	x8, [x23]
	ldr	x24, [x8, x21, lsl #3]
	cmn	x24, #1
	b.ne	LBB0_18
; %bb.17:
	mov	x0, x21
	bl	_srate
	mov	x2, x0
	str	x22, [sp]
Lloh25:
	adrp	x1, l_.str.3@PAGE
Lloh26:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	w0, #-1
	bl	_errx
LBB0_18:
	mov	x0, x23
	mov	x1, x24
	mov	x2, x27
	mov	w3, #1
	bl	_checkpreamble
	mov	x20, x0
	mov	x0, x23
	mov	x1, x19
	mov	x2, x21
	mov	x3, x20
	bl	_ieee80211_compute_duration
	mov	x22, x0
	mov	x0, x21
	bl	_srate
	mov	x3, x0
Lloh27:
	adrp	x8, l_.str.5@PAGE
Lloh28:
	add	x8, x8, l_.str.5@PAGEOFF
Lloh29:
	adrp	x9, l_.str.6@PAGE
Lloh30:
	add	x9, x9, l_.str.6@PAGEOFF
	cmp	w20, #0
	csel	x4, x9, x8, eq
Lloh31:
	adrp	x0, l_.str.4@PAGE
Lloh32:
	add	x0, x0, l_.str.4@PAGEOFF
	mov	x1, x22
	mov	x2, x19
	bl	_printf
LBB0_19:
	mov	w0, #0
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh27, Lloh28
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"11g"

	.comm	_LLC_SNAPFRAMELEN,4,2           ; @LLC_SNAPFRAMELEN
	.comm	_IEEE80211_CRC_LEN,4,2          ; @IEEE80211_CRC_LEN
l_.str.1:                               ; @.str.1
	.asciz	"al:m:r:s"

	.comm	_optarg,8,3                     ; @optarg
l_.str.2:                               ; @.str.2
	.asciz	"unknown mode %s"

l_.str.3:                               ; @.str.3
	.asciz	"rate %s not valid for mode %s"

l_.str.4:                               ; @.str.4
	.asciz	"%u usec to send %u bytes @ %s Mb/s, %s preamble\n"

l_.str.5:                               ; @.str.5
	.asciz	"short"

l_.str.6:                               ; @.str.6
	.asciz	"long"

	.comm	_IEEE80211_RATE_BASIC,8,3       ; @IEEE80211_RATE_BASIC
.subsections_via_symbols
