	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movl	%edi, %r12d
	movq	_IWN_DEFAULT_IF@GOTPCREL(%rip), %rax
	leaq	L_.str(%rip), %r15
	movq	_optarg@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rax), %edi
	callq	_strdup
	movq	%rax, %rbx
	movl	%r12d, %edi
	movq	%r14, %rsi
	movq	%r15, %rdx
	callq	_getopt
	cmpl	$105, %eax
	jne	LBB0_2
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%r13, %rax
	testq	%rbx, %rbx
	je	LBB0_1
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%rbx, %rdi
	callq	_free
	movq	%r13, %rax
	jmp	LBB0_1
LBB0_2:
	cmpl	$-1, %eax
	jne	LBB0_3
## %bb.6:
	movq	%rbx, %rdi
	callq	_iwnstats_new
	testq	%rax, %rax
	je	LBB0_13
## %bb.7:
	movq	%rax, %r13
	xorl	%ebx, %ebx
	movq	_stderr@GOTPCREL(%rip), %r12
	leaq	L_.str.2(%rip), %r15
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	%r13, %rdi
	callq	_iwn_print
LBB0_12:                                ##   in Loop: Header=BB0_8 Depth=1
	movl	$100000, %edi                   ## imm = 0x186A0
	callq	_usleep
	movb	$1, %bl
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	callq	_iwn_collect
	testq	%rax, %rax
	je	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movl	(%r12), %edi
	movq	(%r14), %rdx
	movq	%r15, %rsi
	callq	_fprintf
	testb	$1, %bl
	jne	LBB0_12
## %bb.10:
	movl	$1, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	xorl	%eax, %eax
	callq	_usage
	movl	$1, %edi
	callq	_exit
LBB0_13:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%r14), %rdx
	leaq	L_.str.1(%rip), %rsi
	callq	_fprintf
	movl	$127, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_IWN_DEFAULT_IF,4,2             ## @IWN_DEFAULT_IF
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"hi:"

	.comm	_optarg,4,2                     ## @optarg
	.comm	_stderr,4,2                     ## @stderr
L_.str.1:                               ## @.str.1
	.asciz	"%s: couldn't allocate new stats structure\n"

L_.str.2:                               ## @.str.2
	.asciz	"%s: fetch failed\n"

.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:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _IWN_DEFAULT_IF@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IWN_DEFAULT_IF@GOTPAGEOFF]
Lloh2:
	adrp	x23, _optarg@GOTPAGE
Lloh3:
	ldr	x23, [x23, _optarg@GOTPAGEOFF]
Lloh4:
	adrp	x21, l_.str@PAGE
Lloh5:
	add	x21, x21, l_.str@PAGEOFF
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x8]
	bl	_strdup
	mov	x22, x0
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	bl	_getopt
	cmp	w0, #105
	b.ne	LBB0_4
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x8, x23
	cbz	x22, LBB0_1
; %bb.3:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x22
	bl	_free
	mov	x8, x23
	b	LBB0_1
LBB0_4:
	cmn	w0, #1
	b.ne	LBB0_12
; %bb.5:
	mov	x0, x22
	bl	_iwnstats_new
	cbz	x0, LBB0_13
; %bb.6:
	mov	x20, x0
	mov	w23, #0
Lloh6:
	adrp	x22, _stderr@GOTPAGE
Lloh7:
	ldr	x22, [x22, _stderr@GOTPAGEOFF]
Lloh8:
	adrp	x21, l_.str.2@PAGE
Lloh9:
	add	x21, x21, l_.str.2@PAGEOFF
	b	LBB0_9
LBB0_7:                                 ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x20
	bl	_iwn_print
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	mov	w0, #34464
	movk	w0, #1, lsl #16
	bl	_usleep
	mov	w23, #1
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_iwn_collect
	cbz	x0, LBB0_7
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	w0, [x22]
	ldr	x2, [x19]
	mov	x1, x21
	bl	_fprintf
	tbnz	w23, #0, LBB0_8
; %bb.11:
	mov	w0, #1
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_12:
	bl	_usage
	mov	w0, #1
	bl	_exit
LBB0_13:
Lloh10:
	adrp	x8, _stderr@GOTPAGE
Lloh11:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	ldr	x2, [x19]
Lloh13:
	adrp	x1, l_.str.1@PAGE
Lloh14:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_fprintf
	mov	w0, #127
	bl	_exit
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_IWN_DEFAULT_IF,4,2             ; @IWN_DEFAULT_IF
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"hi:"

	.comm	_optarg,4,2                     ; @optarg
	.comm	_stderr,4,2                     ; @stderr
l_.str.1:                               ; @.str.1
	.asciz	"%s: couldn't allocate new stats structure\n"

l_.str.2:                               ; @.str.2
	.asciz	"%s: fetch failed\n"

.subsections_via_symbols
