	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function trace_loop
_trace_loop:                            ## @trace_loop
	.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	%rdi, %r15
	xorl	%eax, %eax
	callq	_geteuid
	testq	%rax, %rax
	jne	LBB0_13
## %bb.1:
	movq	_ripv2@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_2
## %bb.3:
	movq	_RIPv1@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_13:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_fprintf
	movl	$1, %edi
	callq	_exit
LBB0_2:
	movq	_RIPv2@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %eax
	movq	_OMSG@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	leaq	-64(%rbp), %r14
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	movq	_AF_INET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)
	movq	_IPPORT_RESERVED@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	decq	%rdi
	callq	_htons
	movq	%rax, -56(%rbp)
	movq	_soc@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	movq	%r14, %rsi
	movl	$24, %edx
	callq	_bind
	testq	%rax, %rax
	jns	LBB0_9
## %bb.5:
	movq	_errno@GOTPCREL(%rip), %r13
	movq	_EADDRINUSE@GOTPCREL(%rip), %rbx
	leaq	-64(%rbp), %r14
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r13), %rax
	cmpq	(%rbx), %rax
	jne	LBB0_14
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	-56(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_14
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	callq	_ntohs
	leaq	-1(%rax), %rdi
	callq	_htons
	movq	%rax, -56(%rbp)
	movl	(%r12), %edi
	movq	%r14, %rsi
	movl	$24, %edx
	callq	_bind
	testq	%rax, %rax
	js	LBB0_6
LBB0_9:
	movq	(%r15), %rdi
	movl	$1, %ebx
	testq	%rdi, %rdi
	je	LBB0_12
## %bb.10:
	addq	$8, %r15
	movl	$1, %ebx
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_out
	testq	%rax, %rax
	cmovlel	%r14d, %ebx
	movq	(%r15), %rdi
	addq	$8, %r15
	testq	%rdi, %rdi
	jne	LBB0_11
LBB0_12:
	movl	%ebx, %edi
	callq	_exit
LBB0_14:
	leaq	L_.str.1(%rip), %rdi
	callq	_perror
	movl	$2, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"-t requires UID 0\n"

	.comm	_ripv2,8,3                      ## @ripv2
	.comm	_RIPv2,4,2                      ## @RIPv2
	.comm	_OMSG,4,2                       ## @OMSG
	.comm	_RIPv1,4,2                      ## @RIPv1
	.comm	_AF_INET,4,2                    ## @AF_INET
	.comm	_IPPORT_RESERVED,8,3            ## @IPPORT_RESERVED
	.comm	_soc,4,2                        ## @soc
	.comm	_errno,8,3                      ## @errno
	.comm	_EADDRINUSE,8,3                 ## @EADDRINUSE
L_.str.1:                               ## @.str.1
	.asciz	"bind"

	.no_dead_strip	_trace_loop
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function trace_loop
_trace_loop:                            ; @trace_loop
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x0
	bl	_geteuid
	cbnz	x0, LBB0_7
; %bb.1:
Lloh0:
	adrp	x8, _ripv2@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ripv2@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _RIPv1@GOTPAGE
Lloh4:
	ldr	x9, [x9, _RIPv1@GOTPAGEOFF]
Lloh5:
	adrp	x10, _RIPv2@GOTPAGE
Lloh6:
	ldr	x10, [x10, _RIPv2@GOTPAGEOFF]
	cmp	x8, #0
	csel	x8, x9, x10, eq
	ldr	w8, [x8]
Lloh7:
	adrp	x9, _OMSG@GOTPAGE
Lloh8:
	ldr	x9, [x9, _OMSG@GOTPAGEOFF]
Lloh9:
	str	w8, [x9]
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #24
	bl	_memset
Lloh10:
	adrp	x8, _AF_INET@GOTPAGE
Lloh11:
	ldr	x8, [x8, _AF_INET@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	str	w8, [sp, #24]
Lloh13:
	adrp	x8, _IPPORT_RESERVED@GOTPAGE
Lloh14:
	ldr	x8, [x8, _IPPORT_RESERVED@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
	sub	x0, x8, #1
	bl	_htons
	str	x0, [sp, #16]
Lloh16:
	adrp	x20, _soc@GOTPAGE
Lloh17:
	ldr	x20, [x20, _soc@GOTPAGEOFF]
	ldr	w0, [x20]
	add	x1, sp, #8
	mov	w2, #24
	bl	_bind
	tbz	x0, #63, LBB0_5
; %bb.2:
Lloh18:
	adrp	x21, _errno@GOTPAGE
Lloh19:
	ldr	x21, [x21, _errno@GOTPAGEOFF]
Lloh20:
	adrp	x22, _EADDRINUSE@GOTPAGE
Lloh21:
	ldr	x22, [x22, _EADDRINUSE@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21]
	ldr	x9, [x22]
	ldr	x0, [sp, #16]
	cmp	x8, x9
	ccmp	x0, #0, #4, eq
	b.eq	LBB0_11
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	bl	_ntohs
	sub	x0, x0, #1
	bl	_htons
	str	x0, [sp, #16]
	ldr	w0, [x20]
	add	x1, sp, #8
	mov	w2, #24
	bl	_bind
	tbnz	x0, #63, LBB0_3
LBB0_5:
	ldr	x0, [x19]
	cbnz	x0, LBB0_8
; %bb.6:
	mov	w0, #1
	bl	_exit
LBB0_7:
Lloh22:
	adrp	x8, _stderr@GOTPAGE
Lloh23:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
Lloh25:
	adrp	x1, l_.str@PAGE
Lloh26:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
	mov	w0, #1
	bl	_exit
LBB0_8:
	add	x20, x19, #8
	mov	w19, #1
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_out
	cmp	x0, #1
	csel	w19, wzr, w19, lt
	ldr	x0, [x20], #8
	cbnz	x0, LBB0_9
; %bb.10:
	mov	x0, x19
	bl	_exit
LBB0_11:
Lloh27:
	adrp	x0, l_.str.1@PAGE
Lloh28:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_perror
	mov	w0, #2
	bl	_exit
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotStr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"-t requires UID 0\n"

	.comm	_ripv2,8,3                      ; @ripv2
	.comm	_RIPv2,4,2                      ; @RIPv2
	.comm	_OMSG,4,2                       ; @OMSG
	.comm	_RIPv1,4,2                      ; @RIPv1
	.comm	_AF_INET,4,2                    ; @AF_INET
	.comm	_IPPORT_RESERVED,8,3            ; @IPPORT_RESERVED
	.comm	_soc,4,2                        ; @soc
	.comm	_errno,8,3                      ; @errno
	.comm	_EADDRINUSE,8,3                 ; @EADDRINUSE
l_.str.1:                               ; @.str.1
	.asciz	"bind"

	.no_dead_strip	_trace_loop
.subsections_via_symbols
