	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	-120(%rbp), %r15
	leaq	-128(%rbp), %r14
	movq	%r15, (%r14)
	movq	_IPL_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_O_RDWR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_open
	movl	%eax, %ebx
	xorps	%xmm0, %xmm0
	movups	%xmm0, 40(%r15)
	movq	_SIOCAUTHW@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	movq	%r14, %rdx
	callq	_ioctl
	testq	%rax, %rax
	jne	LBB0_19
## %bb.1:
	movq	_FI_TCPUDP@GOTPCREL(%rip), %r15
	movq	_stdin@GOTPCREL(%rip), %r12
	leaq	-128(%rbp), %r13
	leaq	L_.str.1(%rip), %r14
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	$0, -88(%rbp)
	movq	_FR_OUTQUE@GOTPCREL(%rip), %rax
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_FR_INQUE@GOTPCREL(%rip), %rax
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rax), %eax
	movl	%eax, -120(%rbp)
	movl	-92(%rbp), %edi
	callq	_inet_ntoa
	leaq	L_.str(%rip), %rdi
	movq	%rax, %rsi
	xorl	%eax, %eax
	callq	_printf
	movl	(%r15), %eax
	testl	%eax, -100(%rbp)
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-112(%rbp), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_printf
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	-96(%rbp), %edi
	callq	_inet_ntoa
	leaq	L_.str.2(%rip), %rdi
	movq	%rax, %rsi
	xorl	%eax, %eax
	callq	_printf
	movl	(%r15), %eax
	testl	%eax, -100(%rbp)
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-112(%rbp), %rax
	movl	4(%rax), %esi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_printf
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	pushq	$10
	popq	%rdi
	callq	_putchar
	leaq	L_.str.4(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movq	_stdout@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_fflush
	movl	(%r12), %edx
	leaq	-64(%rbp), %rdi
	pushq	$16
	popq	%rsi
	callq	_fgets
	testl	%eax, %eax
	je	LBB0_19
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r12), %edi
	callq	_fflush
	movsbl	-64(%rbp), %esi
	movl	%esi, %eax
	andb	$-33, %al
	cmpb	$89, %al
	je	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	cmpb	$78, %al
	jne	LBB0_14
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	-120(%rbp), %edx
	movq	_FR_BLOCK@GOTPCREL(%rip), %rax
	jmp	LBB0_15
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	-120(%rbp), %edx
	movq	_FR_PASS@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movl	%edx, -120(%rbp)
	movl	(%r15), %eax
	testl	%eax, -100(%rbp)
	je	LBB0_16
## %bb.13:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_FR_KEEPSTATE@GOTPCREL(%rip), %rax
	jmp	LBB0_15
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	-120(%rbp), %edx
	movq	_FR_NOMATCH@GOTPCREL(%rip), %rax
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=1
	orl	(%rax), %edx
	movl	%edx, -120(%rbp)
LBB0_16:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	-116(%rbp), %r8d
	movl	-104(%rbp), %ecx
	leaq	L_.str.5(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movq	_SIOCAUTHR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	movq	%r13, %rdx
	callq	_ioctl
	testq	%rax, %rax
	jne	LBB0_17
LBB0_18:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_SIOCAUTHW@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	movq	%r13, %rdx
	callq	_ioctl
	testq	%rax, %rax
	je	LBB0_2
	jmp	LBB0_19
LBB0_17:                                ##   in Loop: Header=BB0_2 Depth=1
	leaq	L_.str.6(%rip), %rdi
	callq	_perror
	jmp	LBB0_18
LBB0_19:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.7(%rip), %rsi
	callq	_fprintf
	leaq	L_.str.8(%rip), %rdi
	callq	_perror
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_21
## %bb.20:
	xorl	%eax, %eax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_21:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_IPL_NAME,4,2                   ## @IPL_NAME
	.comm	_O_RDWR,4,2                     ## @O_RDWR
	.comm	_SIOCAUTHW,4,2                  ## @SIOCAUTHW
	.comm	_FR_OUTQUE,4,2                  ## @FR_OUTQUE
	.comm	_FR_INQUE,4,2                   ## @FR_INQUE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s "

	.comm	_FI_TCPUDP,4,2                  ## @FI_TCPUDP
L_.str.1:                               ## @.str.1
	.asciz	"port %d "

L_.str.2:                               ## @.str.2
	.asciz	"-> %s "

L_.str.4:                               ## @.str.4
	.asciz	"Allow packet through ? [y/n]"

	.comm	_stdout,4,2                     ## @stdout
	.comm	_stdin,4,2                      ## @stdin
	.comm	_FR_BLOCK,4,2                   ## @FR_BLOCK
	.comm	_FR_PASS,4,2                    ## @FR_PASS
	.comm	_FR_KEEPSTATE,4,2               ## @FR_KEEPSTATE
	.comm	_FR_NOMATCH,4,2                 ## @FR_NOMATCH
L_.str.5:                               ## @.str.5
	.asciz	"answer = %c (%x), id %d idx %d\n"

	.comm	_SIOCAUTHR,4,2                  ## @SIOCAUTHR
L_.str.6:                               ## @.str.6
	.asciz	"SIOCAUTHR"

	.comm	_stderr,4,2                     ## @stderr
L_.str.7:                               ## @.str.7
	.asciz	"errno=%d \n"

	.comm	_errno,4,2                      ## @errno
L_.str.8:                               ## @.str.8
	.asciz	"frauth-SIOCAUTHW"

.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, #224
	.cfi_def_cfa_offset 224
	stp	x28, x27, [sp, #128]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #144]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #160]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #176]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #192]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #208]            ; 16-byte Folded Spill
	add	x29, sp, #208
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	add	x8, sp, #48
	str	x8, [sp, #40]
Lloh3:
	adrp	x8, _IPL_NAME@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IPL_NAME@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x8, _O_RDWR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _O_RDWR@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_open
	mov	x19, x0
	stp	xzr, xzr, [sp, #88]
Lloh9:
	adrp	x8, _SIOCAUTHW@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SIOCAUTHW@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	add	x2, sp, #40
	bl	_ioctl
	cbnz	x0, LBB0_18
; %bb.1:
Lloh12:
	adrp	x20, l_.str@PAGE
Lloh13:
	add	x20, x20, l_.str@PAGEOFF
Lloh14:
	adrp	x24, _FI_TCPUDP@GOTPAGE
Lloh15:
	ldr	x24, [x24, _FI_TCPUDP@GOTPAGEOFF]
Lloh16:
	adrp	x21, l_.str.2@PAGE
Lloh17:
	add	x21, x21, l_.str.2@PAGEOFF
Lloh18:
	adrp	x22, l_.str.4@PAGE
Lloh19:
	add	x22, x22, l_.str.4@PAGEOFF
Lloh20:
	adrp	x26, _stdout@GOTPAGE
Lloh21:
	ldr	x26, [x26, _stdout@GOTPAGEOFF]
Lloh22:
	adrp	x27, _stdin@GOTPAGE
Lloh23:
	ldr	x27, [x27, _stdin@GOTPAGEOFF]
Lloh24:
	adrp	x23, l_.str.5@PAGE
Lloh25:
	add	x23, x23, l_.str.5@PAGEOFF
Lloh26:
	adrp	x28, _SIOCAUTHR@GOTPAGE
Lloh27:
	ldr	x28, [x28, _SIOCAUTHR@GOTPAGEOFF]
Lloh28:
	adrp	x25, l_.str.1@PAGE
Lloh29:
	add	x25, x25, l_.str.1@PAGEOFF
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [sp, #80]
	cmp	x8, #0
Lloh30:
	adrp	x8, _FR_INQUE@GOTPAGE
Lloh31:
	ldr	x8, [x8, _FR_INQUE@GOTPAGEOFF]
Lloh32:
	adrp	x9, _FR_OUTQUE@GOTPAGE
Lloh33:
	ldr	x9, [x9, _FR_OUTQUE@GOTPAGEOFF]
	csel	x8, x8, x9, eq
	ldr	w8, [x8]
	str	w8, [sp, #48]
	ldr	w0, [sp, #76]
	bl	_inet_ntoa
	str	x0, [sp]
	mov	x0, x20
	bl	_printf
	ldr	w8, [sp, #68]
	ldr	w9, [x24]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [sp, #56]
	ldr	w8, [x8]
	bl	_OUTLINED_FUNCTION_1
LBB0_4:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [sp, #72]
	bl	_inet_ntoa
	str	x0, [sp]
	mov	x0, x21
	bl	_printf
	ldr	w8, [sp, #68]
	ldr	w9, [x24]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [sp, #56]
	ldr	w8, [x8, #4]
	bl	_OUTLINED_FUNCTION_1
LBB0_6:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	w0, #10
	bl	_putchar
	mov	x0, x22
	bl	_printf
	ldr	w0, [x26]
	bl	_fflush
	ldr	w2, [x27]
	add	x0, sp, #104
	mov	w1, #16
	bl	_fgets
	cbz	w0, LBB0_18
; %bb.7:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [x27]
	bl	_fflush
	ldrb	w8, [sp, #104]
	and	w9, w8, #0xffffffdf
	cmp	w9, #89
	b.eq	LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	w9, #78
	b.ne	LBB0_12
; %bb.9:                                ;   in Loop: Header=BB0_2 Depth=1
Lloh34:
	adrp	x9, _FR_BLOCK@GOTPAGE
Lloh35:
	ldr	x9, [x9, _FR_BLOCK@GOTPAGEOFF]
	b	LBB0_13
LBB0_10:                                ;   in Loop: Header=BB0_2 Depth=1
Lloh36:
	adrp	x9, _FR_PASS@GOTPAGE
Lloh37:
	ldr	x9, [x9, _FR_PASS@GOTPAGEOFF]
Lloh38:
	ldr	w9, [x9]
	ldr	w10, [sp, #48]
	ldr	w11, [sp, #68]
	orr	w9, w10, w9
	str	w9, [sp, #48]
	ldr	w10, [x24]
	tst	w10, w11
	b.eq	LBB0_15
; %bb.11:                               ;   in Loop: Header=BB0_2 Depth=1
Lloh39:
	adrp	x10, _FR_KEEPSTATE@GOTPAGE
Lloh40:
	ldr	x10, [x10, _FR_KEEPSTATE@GOTPAGEOFF]
Lloh41:
	ldr	w10, [x10]
	orr	w9, w10, w9
	b	LBB0_14
LBB0_12:                                ;   in Loop: Header=BB0_2 Depth=1
Lloh42:
	adrp	x9, _FR_NOMATCH@GOTPAGE
Lloh43:
	ldr	x9, [x9, _FR_NOMATCH@GOTPAGEOFF]
LBB0_13:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w9, [x9]
	ldr	w10, [sp, #48]
	orr	w9, w10, w9
LBB0_14:                                ;   in Loop: Header=BB0_2 Depth=1
	str	w9, [sp, #48]
LBB0_15:                                ;   in Loop: Header=BB0_2 Depth=1
	sxtb	w8, w8
	ldr	w10, [sp, #64]
	ldr	w11, [sp, #52]
	stp	x10, x11, [sp, #16]
	stp	x8, x9, [sp]
	mov	x0, x23
	bl	_printf
	ldr	w1, [x28]
	bl	_OUTLINED_FUNCTION_0
	cbnz	x0, LBB0_17
LBB0_16:                                ;   in Loop: Header=BB0_2 Depth=1
Lloh44:
	adrp	x8, _SIOCAUTHW@GOTPAGE
Lloh45:
	ldr	x8, [x8, _SIOCAUTHW@GOTPAGEOFF]
Lloh46:
	ldr	w1, [x8]
	bl	_OUTLINED_FUNCTION_0
	cbz	x0, LBB0_2
	b	LBB0_18
LBB0_17:                                ;   in Loop: Header=BB0_2 Depth=1
Lloh47:
	adrp	x0, l_.str.6@PAGE
Lloh48:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_perror
	b	LBB0_16
LBB0_18:
Lloh49:
	adrp	x8, _stderr@GOTPAGE
Lloh50:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh51:
	ldr	w0, [x8]
Lloh52:
	adrp	x8, _errno@GOTPAGE
Lloh53:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh54:
	ldr	w2, [x8]
Lloh55:
	adrp	x1, l_.str.7@PAGE
Lloh56:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_fprintf
Lloh57:
	adrp	x0, l_.str.8@PAGE
Lloh58:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_perror
	ldur	x8, [x29, #-88]
Lloh59:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh60:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh61:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_20
; %bb.19:
	mov	w0, #0
	ldp	x29, x30, [sp, #208]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #192]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #176]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #160]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #144]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #128]            ; 16-byte Folded Reload
	add	sp, sp, #224
	ret
LBB0_20:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpAdd	Lloh57, Lloh58
	.loh AdrpAdd	Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.cfi_endproc
                                        ; -- End function
	.p2align	2                               ; -- Begin function OUTLINED_FUNCTION_0
_OUTLINED_FUNCTION_0:                   ; @OUTLINED_FUNCTION_0 Thunk
	.cfi_startproc
; %bb.0:
	add	x2, sp, #40
	mov	x0, x19
	b	_ioctl
	.cfi_endproc
                                        ; -- End function
	.p2align	2                               ; -- Begin function OUTLINED_FUNCTION_1
_OUTLINED_FUNCTION_1:                   ; @OUTLINED_FUNCTION_1 Thunk
	.cfi_startproc
; %bb.0:
	str	x8, [sp]
	mov	x0, x25
	b	_printf
	.cfi_endproc
                                        ; -- End function
	.comm	_IPL_NAME,4,2                   ; @IPL_NAME
	.comm	_O_RDWR,4,2                     ; @O_RDWR
	.comm	_SIOCAUTHW,4,2                  ; @SIOCAUTHW
	.comm	_FR_OUTQUE,4,2                  ; @FR_OUTQUE
	.comm	_FR_INQUE,4,2                   ; @FR_INQUE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s "

	.comm	_FI_TCPUDP,4,2                  ; @FI_TCPUDP
l_.str.1:                               ; @.str.1
	.asciz	"port %d "

l_.str.2:                               ; @.str.2
	.asciz	"-> %s "

l_.str.4:                               ; @.str.4
	.asciz	"Allow packet through ? [y/n]"

	.comm	_stdout,4,2                     ; @stdout
	.comm	_stdin,4,2                      ; @stdin
	.comm	_FR_BLOCK,4,2                   ; @FR_BLOCK
	.comm	_FR_PASS,4,2                    ; @FR_PASS
	.comm	_FR_KEEPSTATE,4,2               ; @FR_KEEPSTATE
	.comm	_FR_NOMATCH,4,2                 ; @FR_NOMATCH
l_.str.5:                               ; @.str.5
	.asciz	"answer = %c (%x), id %d idx %d\n"

	.comm	_SIOCAUTHR,4,2                  ; @SIOCAUTHR
l_.str.6:                               ; @.str.6
	.asciz	"SIOCAUTHR"

	.comm	_stderr,4,2                     ; @stderr
l_.str.7:                               ; @.str.7
	.asciz	"errno=%d \n"

	.comm	_errno,4,2                      ; @errno
l_.str.8:                               ; @.str.8
	.asciz	"frauth-SIOCAUTHW"

.subsections_via_symbols
