	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function send_rdisc
_send_rdisc:                            ## @send_rdisc
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %ebx
	movl	%ecx, %r13d
	movq	%rdx, %r12
	movl	%esi, %r14d
	movq	%rdi, %r15
	leaq	-64(%rbp), %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_memset
	movl	%r13d, -60(%rbp)
	movq	_AF_INET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -52(%rbp)
	cmpl	$2, %ebx
	je	LBB0_6
## %bb.1:
	movq	_MSG_DONTROUTE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	cmpl	$1, %ebx
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	jne	LBB0_2
## %bb.3:
	movq	_IFF_POINTOPOINT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r12)
	je	LBB0_5
## %bb.4:
	movl	28(%r12), %eax
	movl	%eax, -60(%rbp)
	leaq	L_.str.1(%rip), %r13
	jmp	LBB0_13
LBB0_6:
	movq	_IS_DUP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 4(%r12)
	je	LBB0_8
## %bb.7:
	movq	8(%r12), %rsi
	leaq	L_.str.4(%rip), %rdi
	callq	_trace_act
	jmp	LBB0_24
LBB0_2:
	leaq	L_.str(%rip), %r13
	jmp	LBB0_13
LBB0_5:
	movl	24(%r12), %eax
	movl	%eax, -60(%rbp)
	leaq	L_.str.2(%rip), %r13
	jmp	LBB0_13
LBB0_8:
	movq	_rdisc_sock_mcast@GOTPCREL(%rip), %rax
	leaq	L_.str.3(%rip), %r13
	cmpq	%r12, (%rax)
	je	LBB0_9
## %bb.10:
	leaq	-80(%rbp), %rbx
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_memset
	movl	20(%r12), %eax
	movl	%eax, -72(%rbp)
	movq	_rdisc_sock@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	_IPPROTO_IP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_IP_MULTICAST_IF@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rcx
	movl	$16, %r8d
	callq	_setsockopt
	testl	%eax, %eax
	js	LBB0_11
## %bb.12:
	movq	_rdisc_sock_mcast@GOTPCREL(%rip), %rax
	movq	%r12, (%rax)
	jmp	LBB0_13
LBB0_9:
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
LBB0_13:
	movq	_rdisc_sock@GOTPCREL(%rip), %rbx
	cmpq	$0, (%rbx)
	js	LBB0_14
## %bb.15:
	testq	%r12, %r12
	je	LBB0_16
LBB0_17:
	movl	16(%r12), %esi
	jmp	LBB0_18
LBB0_14:
	xorl	%eax, %eax
	callq	_get_rdisc_sock
	testq	%r12, %r12
	jne	LBB0_17
LBB0_16:
	xorl	%esi, %esi
LBB0_18:
	movl	-60(%rbp), %edx
	movq	%r13, %rdi
	movq	%r12, %rcx
	movq	%r15, %r8
	movl	%r14d, %r9d
	callq	_trace_rdisc
	movq	(%rbx), %rdi
	leaq	-64(%rbp), %r8
	movq	%r15, %rsi
	movl	%r14d, %edx
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movl	$16, %r9d
	callq	_sendto
	testq	%rax, %rax
	jns	LBB0_24
## %bb.19:
	testq	%r12, %r12
	je	LBB0_23
## %bb.20:
	movq	_IS_BROKE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 4(%r12)
	jne	LBB0_22
## %bb.21:
	movq	8(%r12), %r14
	movl	-60(%rbp), %edi
	callq	_inet_ntoa
	movl	%eax, %ebx
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	leaq	L_.str.6(%rip), %rdi
	leaq	L_.str.8(%rip), %rdx
	movq	%r14, %rsi
	movl	%ebx, %ecx
	movl	%eax, %r8d
	callq	_msglog
LBB0_22:
	movq	%r12, %rdi
	callq	_if_sick
	jmp	LBB0_24
LBB0_23:
	movl	-60(%rbp), %edi
	callq	_inet_ntoa
	movl	%eax, %ebx
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	leaq	L_.str.6(%rip), %rdi
	leaq	L_.str.7(%rip), %rdx
	movq	%rdx, %rsi
	movl	%ebx, %ecx
	movl	%eax, %r8d
	callq	_msglog
	jmp	LBB0_24
LBB0_11:
	leaq	L_.str.5(%rip), %rdi
	callq	_LOGERR
	movq	_rdisc_sock_mcast@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
LBB0_24:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AF_INET,4,2                    ## @AF_INET
	.comm	_MSG_DONTROUTE,4,2              ## @MSG_DONTROUTE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Send"

	.comm	_IFF_POINTOPOINT,4,2            ## @IFF_POINTOPOINT
L_.str.1:                               ## @.str.1
	.asciz	"Send pt-to-pt"

L_.str.2:                               ## @.str.2
	.asciz	"Send broadcast"

L_.str.3:                               ## @.str.3
	.asciz	"Send multicast"

	.comm	_IS_DUP,4,2                     ## @IS_DUP
L_.str.4:                               ## @.str.4
	.asciz	"abort multicast output via %s with duplicate address"

	.comm	_rdisc_sock_mcast,8,3           ## @rdisc_sock_mcast
	.comm	_rdisc_sock,8,3                 ## @rdisc_sock
	.comm	_IPPROTO_IP,4,2                 ## @IPPROTO_IP
	.comm	_IP_MULTICAST_IF,4,2            ## @IP_MULTICAST_IF
L_.str.5:                               ## @.str.5
	.asciz	"setsockopt(rdisc_sock,IP_MULTICAST_IF)"

	.comm	_IS_BROKE,4,2                   ## @IS_BROKE
L_.str.6:                               ## @.str.6
	.asciz	"sendto(%s%s%s): %s"

L_.str.7:                               ## @.str.7
	.space	1

L_.str.8:                               ## @.str.8
	.asciz	", "

	.comm	_errno,4,2                      ## @errno
	.no_dead_strip	_send_rdisc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function send_rdisc
_send_rdisc:                            ; @send_rdisc
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	mov	x23, x4
	mov	x22, x3
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	add	x0, sp, #16
	mov	w1, #0
	mov	w2, #16
	bl	_memset
Lloh0:
	adrp	x8, _AF_INET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AF_INET@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w22, [sp, #20]
	str	w8, [sp, #28]
	cmp	w23, #2
	b.eq	LBB0_4
; %bb.1:
Lloh3:
	adrp	x8, _MSG_DONTROUTE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MSG_DONTROUTE@GOTPAGEOFF]
Lloh5:
	ldr	w22, [x8]
	cmp	w23, #1
	b.ne	LBB0_6
; %bb.2:
	ldr	w8, [x19]
Lloh6:
	adrp	x9, _IFF_POINTOPOINT@GOTPAGE
Lloh7:
	ldr	x9, [x9, _IFF_POINTOPOINT@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_7
; %bb.3:
	ldr	w8, [x19, #28]
	str	w8, [sp, #20]
Lloh9:
	adrp	x23, l_.str.1@PAGE
Lloh10:
	add	x23, x23, l_.str.1@PAGEOFF
	b	LBB0_13
LBB0_4:
	ldr	w8, [x19, #4]
Lloh11:
	adrp	x9, _IS_DUP@GOTPAGE
Lloh12:
	ldr	x9, [x9, _IS_DUP@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_8
; %bb.5:
	ldr	x1, [x19, #8]
Lloh14:
	adrp	x0, l_.str.4@PAGE
Lloh15:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_trace_act
	b	LBB0_25
LBB0_6:
Lloh16:
	adrp	x23, l_.str@PAGE
Lloh17:
	add	x23, x23, l_.str@PAGEOFF
	b	LBB0_13
LBB0_7:
	ldr	w8, [x19, #24]
	str	w8, [sp, #20]
Lloh18:
	adrp	x23, l_.str.2@PAGE
Lloh19:
	add	x23, x23, l_.str.2@PAGEOFF
	b	LBB0_13
LBB0_8:
Lloh20:
	adrp	x23, _rdisc_sock_mcast@GOTPAGE
Lloh21:
	ldr	x23, [x23, _rdisc_sock_mcast@GOTPAGEOFF]
	ldr	x8, [x23]
	cmp	x8, x19
	b.eq	LBB0_11
; %bb.9:
	mov	x0, sp
	mov	w1, #0
	mov	w2, #16
	bl	_memset
	ldr	w8, [x19, #20]
	str	w8, [sp, #8]
Lloh22:
	adrp	x8, _rdisc_sock@GOTPAGE
Lloh23:
	ldr	x8, [x8, _rdisc_sock@GOTPAGEOFF]
Lloh24:
	ldr	x0, [x8]
Lloh25:
	adrp	x8, _IPPROTO_IP@GOTPAGE
Lloh26:
	ldr	x8, [x8, _IPPROTO_IP@GOTPAGEOFF]
Lloh27:
	ldr	w1, [x8]
Lloh28:
	adrp	x8, _IP_MULTICAST_IF@GOTPAGE
Lloh29:
	ldr	x8, [x8, _IP_MULTICAST_IF@GOTPAGEOFF]
Lloh30:
	ldr	w2, [x8]
	mov	x3, sp
	mov	w4, #16
	bl	_setsockopt
	tbnz	w0, #31, LBB0_24
; %bb.10:
	mov	w22, #0
	str	x19, [x23]
	b	LBB0_12
LBB0_11:
	mov	w22, #0
LBB0_12:
Lloh31:
	adrp	x23, l_.str.3@PAGE
Lloh32:
	add	x23, x23, l_.str.3@PAGEOFF
LBB0_13:
Lloh33:
	adrp	x24, _rdisc_sock@GOTPAGE
Lloh34:
	ldr	x24, [x24, _rdisc_sock@GOTPAGEOFF]
	ldr	x8, [x24]
	tbnz	x8, #63, LBB0_16
; %bb.14:
	cbz	x19, LBB0_17
LBB0_15:
	ldr	w1, [x19, #16]
	b	LBB0_18
LBB0_16:
	bl	_get_rdisc_sock
	cbnz	x19, LBB0_15
LBB0_17:
	mov	w1, #0
LBB0_18:
	ldr	w2, [sp, #20]
	mov	x0, x23
	mov	x3, x19
	mov	x4, x21
	mov	x5, x20
	bl	_trace_rdisc
	ldr	x0, [x24]
	add	x4, sp, #16
	mov	x1, x21
	mov	x2, x20
	mov	x3, x22
	mov	w5, #16
	bl	_sendto
	tbz	x0, #63, LBB0_25
; %bb.19:
	cbz	x19, LBB0_23
; %bb.20:
	ldr	w8, [x19, #4]
Lloh35:
	adrp	x9, _IS_BROKE@GOTPAGE
Lloh36:
	ldr	x9, [x9, _IS_BROKE@GOTPAGEOFF]
Lloh37:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_22
; %bb.21:
	ldr	x20, [x19, #8]
	ldr	w0, [sp, #20]
	bl	_inet_ntoa
	mov	x21, x0
Lloh38:
	adrp	x8, _errno@GOTPAGE
Lloh39:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh40:
	ldr	w0, [x8]
	bl	_strerror
	mov	x4, x0
Lloh41:
	adrp	x0, l_.str.6@PAGE
Lloh42:
	add	x0, x0, l_.str.6@PAGEOFF
Lloh43:
	adrp	x2, l_.str.8@PAGE
Lloh44:
	add	x2, x2, l_.str.8@PAGEOFF
	mov	x1, x20
	mov	x3, x21
	bl	_msglog
LBB0_22:
	mov	x0, x19
	bl	_if_sick
	b	LBB0_25
LBB0_23:
	ldr	w0, [sp, #20]
	bl	_inet_ntoa
	mov	x19, x0
Lloh45:
	adrp	x8, _errno@GOTPAGE
Lloh46:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh47:
	ldr	w0, [x8]
	bl	_strerror
	mov	x4, x0
Lloh48:
	adrp	x0, l_.str.6@PAGE
Lloh49:
	add	x0, x0, l_.str.6@PAGEOFF
Lloh50:
	adrp	x1, l_.str.7@PAGE
Lloh51:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x2, x1
	mov	x3, x19
	bl	_msglog
	b	LBB0_25
LBB0_24:
Lloh52:
	adrp	x0, l_.str.5@PAGE
Lloh53:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_LOGERR
	str	xzr, [x23]
LBB0_25:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpAdd	Lloh52, Lloh53
	.cfi_endproc
                                        ; -- End function
	.comm	_AF_INET,4,2                    ; @AF_INET
	.comm	_MSG_DONTROUTE,4,2              ; @MSG_DONTROUTE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Send"

	.comm	_IFF_POINTOPOINT,4,2            ; @IFF_POINTOPOINT
l_.str.1:                               ; @.str.1
	.asciz	"Send pt-to-pt"

l_.str.2:                               ; @.str.2
	.asciz	"Send broadcast"

l_.str.3:                               ; @.str.3
	.asciz	"Send multicast"

	.comm	_IS_DUP,4,2                     ; @IS_DUP
l_.str.4:                               ; @.str.4
	.asciz	"abort multicast output via %s with duplicate address"

	.comm	_rdisc_sock_mcast,8,3           ; @rdisc_sock_mcast
	.comm	_rdisc_sock,8,3                 ; @rdisc_sock
	.comm	_IPPROTO_IP,4,2                 ; @IPPROTO_IP
	.comm	_IP_MULTICAST_IF,4,2            ; @IP_MULTICAST_IF
l_.str.5:                               ; @.str.5
	.asciz	"setsockopt(rdisc_sock,IP_MULTICAST_IF)"

	.comm	_IS_BROKE,4,2                   ; @IS_BROKE
l_.str.6:                               ; @.str.6
	.asciz	"sendto(%s%s%s): %s"

l_.str.7:                               ; @.str.7
	.space	1

l_.str.8:                               ; @.str.8
	.asciz	", "

	.comm	_errno,4,2                      ; @errno
	.no_dead_strip	_send_rdisc
.subsections_via_symbols
