	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_promisc                        ## -- Begin function promisc
	.p2align	4, 0x90
_promisc:                               ## @promisc
	.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
	movl	$131128, %eax                   ## imm = 0x20038
	callq	____chkstk_darwin
	subq	%rax, %rsp
	popq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_PF_KEY_V2@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)
	movq	_SADB_X_PROMISC@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -96(%rbp)
	movq	$0, -56(%rbp)
	movl	$1, -88(%rbp)
	movl	$56, %edi
	callq	_PFKEY_UNIT64
	movl	%eax, -84(%rbp)
	xorps	%xmm0, %xmm0
	movups	%xmm0, -72(%rbp)
	xorl	%eax, %eax
	callq	_getpid
	movl	%eax, -80(%rbp)
	movq	_so@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	leaq	-96(%rbp), %rsi
	movl	$56, %edx
	xorl	%ecx, %ecx
	callq	_send
	testl	%eax, %eax
	jns	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_2:
	movq	_MSG_PEEK@GOTPCREL(%rip), %r15
	leaq	-131168(%rbp), %r12
	leaq	L_.str.3(%rip), %r13
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	$1, %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_err
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_11 Depth 2
	movl	(%r14), %edi
	movl	(%r15), %ecx
	movq	%r12, %rsi
	movl	$56, %edx
	callq	_recv
	testl	%eax, %eax
	js	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$56, %eax
	jne	LBB0_3
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	(%r14), %ebx
	movl	-131156(%rbp), %edi
	callq	_PFKEY_UNUNIT64
	movl	%ebx, %edi
	movq	%r12, %rsi
	movl	%eax, %edx
	xorl	%ecx, %ecx
	callq	_recv
	movl	%eax, %ebx
	testl	%eax, %eax
	jns	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	$1, %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_err
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	xorl	%eax, %eax
	callq	_printdate
	movq	_f_hexdump@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_18
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	testl	%ebx, %ebx
	jle	LBB0_16
## %bb.10:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	%ebx, %r15d
	xorl	%r14d, %r14d
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_11 Depth=2
	incq	%r14
	cmpq	%r14, %r15
	je	LBB0_16
LBB0_11:                                ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%r14d, %r12d
	andl	$15, %r12d
	jne	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=2
	leaq	L_.str.2(%rip), %rdi
	movl	%r14d, %esi
	xorl	%eax, %eax
	callq	_printf
LBB0_13:                                ##   in Loop: Header=BB0_11 Depth=2
	movzbl	-131168(%rbp,%r14,4), %esi
	movq	%r13, %rdi
	xorl	%eax, %eax
	callq	_printf
	cmpl	$15, %r12d
	jne	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_11 Depth=2
	movl	$10, %edi
	callq	_putchar
	jmp	LBB0_15
LBB0_16:                                ##   in Loop: Header=BB0_3 Depth=1
	testb	$15, %bl
	movq	_so@GOTPCREL(%rip), %r14
	movq	_MSG_PEEK@GOTPCREL(%rip), %r15
	leaq	-131168(%rbp), %r12
	je	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	$10, %edi
	callq	_putchar
LBB0_18:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-131168(%rbp), %rax
	movq	%r12, %rdi
	movq	_SADB_X_PROMISC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_3 Depth=1
	leaq	-131112(%rbp), %rdi
	cmpl	$57, %ebx
	jl	LBB0_3
LBB0_20:                                ##   in Loop: Header=BB0_3 Depth=1
	callq	_kdebug_sadb
	movl	$10, %edi
	callq	_putchar
	movq	_stdout@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_fflush
	jmp	LBB0_3
	.cfi_endproc
                                        ## -- End function
	.comm	_PF_KEY_V2,4,2                  ## @PF_KEY_V2
	.comm	_SADB_X_PROMISC,8,3             ## @SADB_X_PROMISC
	.comm	_so,4,2                         ## @so
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"send"

	.comm	_MSG_PEEK,4,2                   ## @MSG_PEEK
L_.str.1:                               ## @.str.1
	.asciz	"recv"

	.comm	_f_hexdump,8,3                  ## @f_hexdump
L_.str.2:                               ## @.str.2
	.asciz	"%08x: "

L_.str.3:                               ## @.str.3
	.asciz	"%02x "

	.comm	_stdout,4,2                     ## @stdout
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_promisc                        ; -- Begin function promisc
	.p2align	2
_promisc:                               ; @promisc
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	w9, #80
	movk	w9, #2, lsl #16
Lloh0:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh1:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	sub	sp, sp, #32, lsl #12            ; =131072
	sub	sp, sp, #80
	sub	x19, x29, #144
Lloh2:
	adrp	x8, _PF_KEY_V2@GOTPAGE
Lloh3:
	ldr	x8, [x8, _PF_KEY_V2@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _SADB_X_PROMISC@GOTPAGE
Lloh6:
	ldr	x9, [x9, _SADB_X_PROMISC@GOTPAGEOFF]
	str	w8, [x19, #48]
Lloh7:
	ldr	x8, [x9]
	str	x8, [x19]
	str	xzr, [x19, #40]
	mov	w8, #1
	str	w8, [x19, #8]
	mov	w0, #56
	bl	_PFKEY_UNIT64
	str	w0, [x19, #12]
	stp	xzr, xzr, [x19, #24]
	bl	_getpid
	str	w0, [x19, #16]
Lloh8:
	adrp	x24, _so@GOTPAGE
Lloh9:
	ldr	x24, [x24, _so@GOTPAGEOFF]
	ldr	w0, [x24]
	sub	x1, x29, #144
	mov	w2, #56
	mov	w3, #0
	bl	_send
	tbz	w0, #31, LBB0_2
; %bb.1:
Lloh10:
	adrp	x1, l_.str@PAGE
Lloh11:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_2:
	add	x25, sp, #16
	add	x8, x25, #56
	str	x8, [sp, #8]                    ; 8-byte Folded Spill
Lloh12:
	adrp	x27, _MSG_PEEK@GOTPAGE
Lloh13:
	ldr	x27, [x27, _MSG_PEEK@GOTPAGEOFF]
Lloh14:
	adrp	x19, l_.str.1@PAGE
Lloh15:
	add	x19, x19, l_.str.1@PAGEOFF
Lloh16:
	adrp	x20, l_.str.2@PAGE
Lloh17:
	add	x20, x20, l_.str.2@PAGEOFF
Lloh18:
	adrp	x21, l_.str.3@PAGE
Lloh19:
	add	x21, x21, l_.str.3@PAGEOFF
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	w0, #1
	mov	x1, x19
	bl	_err
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_12 Depth 2
	ldr	w0, [x24]
	ldr	w3, [x27]
	add	x1, sp, #16
	mov	w2, #56
	bl	_recv
	tbnz	w0, #31, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w0, #56
	b.ne	LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w22, [x24]
	ldr	w0, [sp, #28]
	bl	_PFKEY_UNUNIT64
	mov	x2, x0
	add	x1, sp, #16
	mov	x0, x22
	mov	w3, #0
	bl	_recv
	mov	x22, x0
	tbz	w0, #31, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w0, #1
	mov	x1, x19
	bl	_err
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	bl	_printdate
Lloh20:
	adrp	x8, _f_hexdump@GOTPAGE
Lloh21:
	ldr	x8, [x8, _f_hexdump@GOTPAGEOFF]
Lloh22:
	ldr	x8, [x8]
	cbz	x8, LBB0_18
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w22, #1
	b.lt	LBB0_16
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x23, #0
	mov	w26, w22
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=2
	add	x23, x23, #1
	cmp	x26, x23
	b.eq	LBB0_16
LBB0_12:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ands	w28, w23, #0xf
	b.ne	LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=2
	str	x23, [sp]
	mov	x0, x20
	bl	_printf
LBB0_14:                                ;   in Loop: Header=BB0_12 Depth=2
	lsl	x8, x23, #2
	ldrb	w8, [x25, x8]
	str	x8, [sp]
	mov	x0, x21
	bl	_printf
	cmp	w28, #15
	b.ne	LBB0_11
; %bb.15:                               ;   in Loop: Header=BB0_12 Depth=2
	mov	w0, #10
	bl	_putchar
	b	LBB0_11
LBB0_16:                                ;   in Loop: Header=BB0_4 Depth=1
	tst	w22, #0xf
	b.eq	LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	w0, #10
	bl	_putchar
LBB0_18:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [sp, #16]
Lloh23:
	adrp	x9, _SADB_X_PROMISC@GOTPAGE
Lloh24:
	ldr	x9, [x9, _SADB_X_PROMISC@GOTPAGEOFF]
Lloh25:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_20
; %bb.19:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
	cmp	w22, #57
	b.lt	LBB0_4
	b	LBB0_21
LBB0_20:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x0, sp, #16
LBB0_21:                                ;   in Loop: Header=BB0_4 Depth=1
	bl	_kdebug_sadb
	mov	w0, #10
	bl	_putchar
Lloh26:
	adrp	x8, _stdout@GOTPAGE
Lloh27:
	ldr	x8, [x8, _stdout@GOTPAGEOFF]
Lloh28:
	ldr	w0, [x8]
	bl	_fflush
	b	LBB0_4
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_PF_KEY_V2,4,2                  ; @PF_KEY_V2
	.comm	_SADB_X_PROMISC,8,3             ; @SADB_X_PROMISC
	.comm	_so,4,2                         ; @so
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"send"

	.comm	_MSG_PEEK,4,2                   ; @MSG_PEEK
l_.str.1:                               ; @.str.1
	.asciz	"recv"

	.comm	_f_hexdump,8,3                  ; @f_hexdump
l_.str.2:                               ; @.str.2
	.asciz	"%08x: "

l_.str.3:                               ; @.str.3
	.asciz	"%02x "

	.comm	_stdout,4,2                     ; @stdout
.subsections_via_symbols
