	.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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	cmpl	$1, %edi
	jg	LBB0_2
## %bb.1:
	movq	(%r14), %rsi
	leaq	L_.str(%rip), %rdi
	callq	_printf
	movl	$1, %edi
	callq	_exit
LBB0_2:
	xorl	%eax, %eax
	callq	_init_globals
	xorl	%eax, %eax
	callq	_initscr
	xorl	%eax, %eax
	callq	_cbreak
	xorl	%eax, %eax
	callq	_noecho
	xorl	%eax, %eax
	callq	_nonl
	movq	_stdscr@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_intrflush
	movl	(%rbx), %edi
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_keypad
	xorl	%edi, %edi
	callq	_curs_set
	xorl	%eax, %eax
	callq	_clear
	xorl	%eax, %eax
	callq	_refresh
	movq	_SIGINT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_cleanup@GOTPCREL(%rip), %rbx
	movq	%rbx, %rsi
	callq	_signal
	movq	_SIGTERM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_signal
	movq	8(%r14), %rdi
	callq	_own
	xorl	%edi, %edi
	callq	_cleanup
	xorl	%edi, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Usage: %s <iface>\n"

	.comm	_stdscr,4,2                     ## @stdscr
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_SIGINT,4,2                     ## @SIGINT
	.comm	_SIGTERM,4,2                    ## @SIGTERM
.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	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	cmp	w0, #1
	b.gt	LBB0_2
; %bb.1:
	ldr	x1, [x19]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printf
	mov	w0, #1
	bl	_exit
LBB0_2:
	bl	_init_globals
	bl	_initscr
	bl	_cbreak
	bl	_noecho
	bl	_nonl
Lloh2:
	adrp	x20, _stdscr@GOTPAGE
Lloh3:
	ldr	x20, [x20, _stdscr@GOTPAGEOFF]
	ldr	w0, [x20]
Lloh4:
	adrp	x8, _FALSE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
	bl	_intrflush
	ldr	w0, [x20]
Lloh7:
	adrp	x8, _TRUE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	bl	_keypad
	mov	w0, #0
	bl	_curs_set
	bl	_clear
	bl	_refresh
Lloh10:
	adrp	x8, _SIGINT@GOTPAGE
Lloh11:
	ldr	x8, [x8, _SIGINT@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
Lloh13:
	adrp	x20, _cleanup@GOTPAGE
Lloh14:
	ldr	x20, [x20, _cleanup@GOTPAGEOFF]
	mov	x1, x20
	bl	_signal
Lloh15:
	adrp	x8, _SIGTERM@GOTPAGE
Lloh16:
	ldr	x8, [x8, _SIGTERM@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_signal
	ldr	x0, [x19, #8]
	bl	_own
	mov	w0, #0
	bl	_cleanup
	mov	w0, #0
	bl	_exit
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Usage: %s <iface>\n"

	.comm	_stdscr,4,2                     ; @stdscr
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_SIGINT,4,2                     ; @SIGINT
	.comm	_SIGTERM,4,2                    ; @SIGTERM
.subsections_via_symbols
