	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function svc_dg_sendto
_svc_dg_sendto:                         ## @svc_dg_sendto
	.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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r15
	movl	%r8d, %r12d
	movq	%rcx, %r13
	movl	%edx, %ebx
	movq	%rsi, %r14
	movl	%edi, -68(%rbp)                 ## 4-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	$8, %edi
	callq	_CMSG_SPACE
	movq	%rsp, -88(%rbp)                 ## 8-byte Spill
	movl	%eax, %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -80(%rbp)                 ## 8-byte Spill
	leaq	-136(%rbp), %rdi
	xorl	%esi, %esi
	movl	$48, %edx
	callq	_memset
	movq	%r14, -64(%rbp)
	movl	%ebx, -56(%rbp)
	leaq	-64(%rbp), %rax
	movq	%rax, -96(%rbp)
	movl	$1, -136(%rbp)
	movl	%r12d, -104(%rbp)
	movq	%r13, -128(%rbp)
	testq	%r15, %r15
	je	LBB0_4
## %bb.1:
	movq	(%r15), %rax
	movq	_AF_INET@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.2:
	movq	_INADDR_ANY@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_4
## %bb.3:
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, -112(%rbp)
	movl	$8, %edi
	callq	_CMSG_LEN
	movq	%rax, -120(%rbp)
	leaq	-136(%rbp), %rdi
	callq	_CMSG_FIRSTHDR
	movq	%rax, %rbx
	movl	$8, %edi
	callq	_CMSG_LEN
	movq	%rax, 8(%rbx)
	movq	_IPPROTO_IP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rbx)
	movq	_IP_SENDSRCADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	movq	%rbx, %rdi
	callq	_CMSG_DATA
	movl	%eax, %edi
	movq	%r15, %rsi
	movl	$8, %edx
	callq	_memcpy
LBB0_4:
	leaq	-136(%rbp), %rsi
	movl	-68(%rbp), %edi                 ## 4-byte Reload
	xorl	%edx, %edx
	callq	__sendmsg
	movq	-88(%rbp), %rsp                 ## 8-byte Reload
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_6
## %bb.5:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_AF_INET,8,3                    ## @AF_INET
	.comm	_INADDR_ANY,8,3                 ## @INADDR_ANY
	.comm	_IPPROTO_IP,4,2                 ## @IPPROTO_IP
	.comm	_IP_SENDSRCADDR,4,2             ## @IP_SENDSRCADDR
	.no_dead_strip	_svc_dg_sendto
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function svc_dg_sendto
_svc_dg_sendto:                         ; @svc_dg_sendto
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	sub	sp, sp, #80
	mov	x20, x5
	mov	x21, x4
	mov	x22, x3
	mov	x23, x2
	mov	x24, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
	mov	w0, #8
	bl	_CMSG_SPACE
	mov	x25, sp
	mov	w8, w0
	mov	x9, x8
Lloh3:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh4:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x26, x9, x8
	mov	sp, x26
	sub	x0, x29, #136
	mov	w1, #0
	mov	w2, #48
	bl	_memset
	stur	w23, [x29, #-80]
	sub	x8, x29, #88
	stp	x8, x24, [x29, #-96]
	mov	w8, #1
	stur	w8, [x29, #-136]
	stur	w21, [x29, #-104]
	stur	x22, [x29, #-128]
	cbz	x20, LBB0_3
; %bb.1:
	ldr	x8, [x20]
Lloh5:
	adrp	x9, _AF_INET@GOTPAGE
Lloh6:
	ldr	x9, [x9, _AF_INET@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
Lloh8:
	adrp	x10, _INADDR_ANY@GOTPAGE
Lloh9:
	ldr	x10, [x10, _INADDR_ANY@GOTPAGEOFF]
Lloh10:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, eq
	b.eq	LBB0_3
; %bb.2:
	stur	x26, [x29, #-112]
	mov	w0, #8
	bl	_CMSG_LEN
	stur	x0, [x29, #-120]
	sub	x0, x29, #136
	bl	_CMSG_FIRSTHDR
	mov	x21, x0
	mov	w0, #8
	bl	_CMSG_LEN
	str	x0, [x21, #8]
Lloh11:
	adrp	x8, _IPPROTO_IP@GOTPAGE
Lloh12:
	ldr	x8, [x8, _IPPROTO_IP@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
Lloh14:
	adrp	x9, _IP_SENDSRCADDR@GOTPAGE
Lloh15:
	ldr	x9, [x9, _IP_SENDSRCADDR@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	stp	w9, w8, [x21]
	mov	x0, x21
	bl	_CMSG_DATA
	mov	x1, x20
	mov	w2, #8
	bl	_memcpy
LBB0_3:
	sub	x1, x29, #136
	mov	x0, x19
	mov	w2, #0
	bl	__sendmsg
	mov	sp, x25
	ldur	x8, [x29, #-72]
Lloh17:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh18:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_5
; %bb.4:
	sub	sp, x29, #64
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_5:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_AF_INET,8,3                    ; @AF_INET
	.comm	_INADDR_ANY,8,3                 ; @INADDR_ANY
	.comm	_IPPROTO_IP,4,2                 ; @IPPROTO_IP
	.comm	_IP_SENDSRCADDR,4,2             ; @IP_SENDSRCADDR
	.no_dead_strip	_svc_dg_sendto
.subsections_via_symbols
