	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function svc_dg_recvfrom
_svc_dg_recvfrom:                       ## @svc_dg_recvfrom
	.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	%r9, %r15
	movq	%r8, %r13
	movq	%rcx, -120(%rbp)                ## 8-byte Spill
	movl	%edx, %ebx
	movq	%rsi, %r14
	movl	%edi, -72(%rbp)                 ## 4-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
	movl	$24, %edi
	callq	_CMSG_LEN
	movq	%rsp, -128(%rbp)                ## 8-byte Spill
	movl	%eax, %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	leaq	-112(%rbp), %rdi
	xorl	%esi, %esi
	movl	$40, %edx
	callq	_memset
	movq	%r14, -64(%rbp)
	movq	%r15, %r14
	movl	%ebx, -56(%rbp)
	leaq	-64(%rbp), %rax
	movq	%rax, -80(%rbp)
	movl	$1, -112(%rbp)
	movl	(%r13), %eax
	movl	%eax, -108(%rbp)
	movq	-120(%rbp), %rax                ## 8-byte Reload
	movq	%rax, -104(%rbp)
	testq	%r15, %r15
	je	LBB0_2
## %bb.1:
	movq	%r12, -88(%rbp)
	movl	$24, %edi
	callq	_CMSG_LEN
	movl	%eax, -96(%rbp)
LBB0_2:
	leaq	-112(%rbp), %rsi
	movl	-72(%rbp), %edi                 ## 4-byte Reload
	xorl	%edx, %edx
	callq	__recvmsg
	movl	%eax, %ebx
	testl	%eax, %eax
	js	LBB0_4
## %bb.3:
	movl	-108(%rbp), %eax
	movl	%eax, (%r13)
LBB0_4:
	testq	%r14, %r14
	je	LBB0_18
## %bb.5:
	cmpl	$-1, %ebx
	je	LBB0_18
## %bb.6:
	cmpl	$16, -96(%rbp)
	jb	LBB0_18
## %bb.7:
	movq	_MSG_CTRUNC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, -92(%rbp)
	jne	LBB0_18
## %bb.8:
	movq	16(%rbp), %r15
	leaq	-112(%rbp), %rdi
	callq	_CMSG_FIRSTHDR
	testq	%rax, %rax
	je	LBB0_16
## %bb.9:
	movq	%r14, %r15
	movq	_IPPROTO_IP@GOTPCREL(%rip), %r12
	movq	_IP_RECVDSTADDR@GOTPCREL(%rip), %r13
	leaq	-112(%rbp), %r14
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_10 Depth=1
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_CMSG_NXTHDR
	testq	%rax, %rax
	je	LBB0_14
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rax), %rcx
	cmpq	(%r12), %rcx
	jne	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	8(%rax), %rcx
	cmpq	(%r13), %rcx
	jne	LBB0_13
## %bb.12:
	movq	_TRUE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, -68(%rbp)                 ## 4-byte Spill
	movq	%rax, %rdi
	callq	_CMSG_DATA
	movq	%r15, %r14
	movq	%r15, %rdi
	movq	%rax, %rsi
	movl	$4, %edx
	callq	_memcpy
	jmp	LBB0_15
LBB0_14:
	movq	%r15, %r14
LBB0_15:
	movq	16(%rbp), %r15
LBB0_16:
	movq	_AF_INET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r14)
	movq	$0, 8(%r14)
	movl	$24, (%r15)
	cmpl	$0, -68(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_18
## %bb.17:
	movq	_INADDR_ANY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r14)
LBB0_18:
	movq	-128(%rbp), %rsp                ## 8-byte Reload
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_20
## %bb.19:
	movl	%ebx, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_20:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_MSG_CTRUNC,4,2                 ## @MSG_CTRUNC
	.comm	_IPPROTO_IP,8,3                 ## @IPPROTO_IP
	.comm	_IP_RECVDSTADDR,8,3             ## @IP_RECVDSTADDR
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_AF_INET,4,2                    ## @AF_INET
	.comm	_INADDR_ANY,4,2                 ## @INADDR_ANY
	.no_dead_strip	_svc_dg_recvfrom
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function svc_dg_recvfrom
_svc_dg_recvfrom:                       ; @svc_dg_recvfrom
	.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
	sub	sp, sp, #64
	mov	x20, x6
	mov	x19, x5
	mov	x22, x4
	mov	x23, x3
	mov	x24, x2
	mov	x25, x1
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x8, _FALSE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh5:
	ldr	w27, [x8]
	mov	w0, #24
	bl	_CMSG_LEN
	mov	x26, sp
	mov	w8, w0
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x28, x9, x8
	mov	sp, x28
	sub	x0, x29, #144
	mov	w1, #0
	mov	w2, #40
	bl	_memset
	stur	w24, [x29, #-96]
	sub	x8, x29, #104
	mov	w9, #1
	ldr	w10, [x22]
	stp	w9, w10, [x29, #-144]
	stp	x8, x25, [x29, #-112]
	stur	x23, [x29, #-136]
	cbz	x19, LBB0_2
; %bb.1:
	stur	x28, [x29, #-120]
	mov	w0, #24
	bl	_CMSG_LEN
	stur	w0, [x29, #-128]
LBB0_2:
	sub	x1, x29, #144
	mov	x0, x21
	mov	w2, #0
	bl	__recvmsg
	mov	x21, x0
	tbnz	w0, #31, LBB0_4
; %bb.3:
	ldur	w8, [x29, #-140]
	str	w8, [x22]
LBB0_4:
	cbz	x19, LBB0_16
; %bb.5:
	cmn	w21, #1
	b.eq	LBB0_16
; %bb.6:
	ldur	w8, [x29, #-128]
	cmp	w8, #16
	b.lo	LBB0_16
; %bb.7:
	ldur	w8, [x29, #-124]
Lloh8:
	adrp	x9, _MSG_CTRUNC@GOTPAGE
Lloh9:
	ldr	x9, [x9, _MSG_CTRUNC@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_16
; %bb.8:
	sub	x0, x29, #144
	bl	_CMSG_FIRSTHDR
	cbz	x0, LBB0_14
; %bb.9:
	mov	x1, x0
Lloh11:
	adrp	x22, _IPPROTO_IP@GOTPAGE
Lloh12:
	ldr	x22, [x22, _IPPROTO_IP@GOTPAGEOFF]
Lloh13:
	adrp	x23, _IP_RECVDSTADDR@GOTPAGE
Lloh14:
	ldr	x23, [x23, _IP_RECVDSTADDR@GOTPAGEOFF]
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=1
	sub	x0, x29, #144
	bl	_CMSG_NXTHDR
	mov	x1, x0
	cbz	x0, LBB0_14
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x1]
	ldr	x9, [x22]
	cmp	x8, x9
	b.ne	LBB0_10
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	x8, [x1, #8]
	ldr	x9, [x23]
	cmp	x8, x9
	b.ne	LBB0_10
; %bb.13:
Lloh15:
	adrp	x8, _TRUE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh17:
	ldr	w27, [x8]
	mov	x0, x1
	bl	_CMSG_DATA
	mov	x1, x0
	mov	x0, x19
	mov	w2, #4
	bl	_memcpy
LBB0_14:
Lloh18:
	adrp	x8, _AF_INET@GOTPAGE
Lloh19:
	ldr	x8, [x8, _AF_INET@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	str	w8, [x19, #16]
	str	xzr, [x19, #8]
	mov	w8, #24
	str	w8, [x20]
	cbnz	w27, LBB0_16
; %bb.15:
Lloh21:
	adrp	x8, _INADDR_ANY@GOTPAGE
Lloh22:
	ldr	x8, [x8, _INADDR_ANY@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	str	w8, [x19]
LBB0_16:
	mov	sp, x26
	ldur	x8, [x29, #-88]
Lloh24:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh25:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh26:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_18
; %bb.17:
	mov	x0, x21
	sub	sp, x29, #80
	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
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_18:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_MSG_CTRUNC,4,2                 ; @MSG_CTRUNC
	.comm	_IPPROTO_IP,8,3                 ; @IPPROTO_IP
	.comm	_IP_RECVDSTADDR,8,3             ; @IP_RECVDSTADDR
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_AF_INET,4,2                    ; @AF_INET
	.comm	_INADDR_ANY,4,2                 ; @INADDR_ANY
	.no_dead_strip	_svc_dg_recvfrom
.subsections_via_symbols
