	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sys_recvfrom                   ## -- Begin function sys_recvfrom
	.p2align	4, 0x90
_sys_recvfrom:                          ## @sys_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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r10
	movq	%r8, %r15
	movl	%ecx, %r13d
	movl	%edx, %r14d
	movq	%rsi, %rdx
	movl	%edi, %ebx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	subq	$8, %rsp
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %esi
	movq	%rdx, -104(%rbp)                ## 8-byte Spill
	movl	%r14d, %ecx
	movl	%r13d, %r8d
	movq	%r15, %r9
	movq	%r10, -96(%rbp)                 ## 8-byte Spill
	pushq	%r10
	callq	_STRACE
	addq	$16, %rsp
	movl	%ebx, %edi
	callq	_sock_getfd
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	%rax, %r12
	movl	%r13d, %edi
	callq	_sock_flags_to_real
	testl	%eax, %eax
	js	LBB0_6
## %bb.2:
	movl	%eax, %r13d
	movl	$0, -68(%rbp)
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.3:
	xorl	%esi, %esi
	callq	_user_get
	testq	%rax, %rax
	je	LBB0_8
## %bb.4:
	movq	__EFAULT@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	jmp	LBB0_15
LBB0_5:
	movq	__EBADF@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	jmp	LBB0_15
LBB0_6:
	movq	__EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	jmp	LBB0_15
LBB0_7:
	xorl	%eax, %eax
	jmp	LBB0_9
LBB0_8:
	leaq	-68(%rbp), %rax
LBB0_9:
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	%rsp, -80(%rbp)                 ## 8-byte Spill
	movl	%r14d, %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rbx
	movl	(%r12), %edi
	testq	%r15, %r15
	leaq	-64(%rbp), %r8
	cmoveq	%r15, %r8
	movq	%rbx, %rsi
	movl	%r14d, %edx
	movl	%r13d, %ecx
	movq	-88(%rbp), %r9                  ## 8-byte Reload
	callq	_recvfrom
	testq	%rax, %rax
	js	LBB0_12
## %bb.10:
	movq	%rax, %r13
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	movq	%rbx, %rsi
	movl	%r14d, %edx
	callq	_user_write
	testq	%rax, %rax
	je	LBB0_17
LBB0_11:
	movq	__EFAULT@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	jmp	LBB0_14
LBB0_12:
	xorl	%eax, %eax
	callq	_errno_map
LBB0_13:
	movl	%eax, %r13d
LBB0_14:
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, %rsp
LBB0_15:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_22
## %bb.16:
	movl	%r13d, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_17:
	testq	%r15, %r15
	je	LBB0_19
## %bb.18:
	leaq	-64(%rbp), %rsi
	leaq	-68(%rbp), %rcx
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_sockaddr_write
	testl	%eax, %eax
	js	LBB0_13
LBB0_19:
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	testq	%rdi, %rdi
	je	LBB0_14
## %bb.20:
	movl	-68(%rbp), %esi
	callq	_user_put
	testq	%rax, %rax
	jne	LBB0_11
	jmp	LBB0_14
LBB0_22:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"recvfrom(%d, 0x%x, %d, %d, 0x%x, 0x%x)"

	.comm	__EBADF,4,2                     ## @_EBADF
	.comm	__EINVAL,4,2                    ## @_EINVAL
	.comm	__EFAULT,4,2                    ## @_EFAULT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sys_recvfrom                   ; -- Begin function sys_recvfrom
	.p2align	2
_sys_recvfrom:                          ; @sys_recvfrom
	.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, #16
	mov	x19, x5
	mov	x20, x4
	mov	x23, x3
	mov	x21, x2
	mov	x22, x1
	mov	x24, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x24
	mov	x2, x22
	mov	x3, x21
	mov	x4, x23
	mov	x5, x20
	mov	x6, x19
	bl	_STRACE
	mov	x0, x24
	bl	_sock_getfd
	cbz	x0, LBB0_5
; %bb.1:
	mov	x24, x0
	mov	x0, x23
	bl	_sock_flags_to_real
	tbnz	w0, #31, LBB0_6
; %bb.2:
	mov	x23, x0
	stur	wzr, [x29, #-80]
	cbz	x19, LBB0_7
; %bb.3:
	mov	x0, x19
	mov	w1, #0
	bl	_user_get
	cbz	x0, LBB0_8
; %bb.4:
Lloh5:
	adrp	x8, __EFAULT@GOTPAGE
Lloh6:
	ldr	x8, [x8, __EFAULT@GOTPAGEOFF]
Lloh7:
	ldr	w23, [x8]
	b	LBB0_15
LBB0_5:
Lloh8:
	adrp	x8, __EBADF@GOTPAGE
Lloh9:
	ldr	x8, [x8, __EBADF@GOTPAGEOFF]
Lloh10:
	ldr	w23, [x8]
	b	LBB0_15
LBB0_6:
Lloh11:
	adrp	x8, __EINVAL@GOTPAGE
Lloh12:
	ldr	x8, [x8, __EINVAL@GOTPAGEOFF]
Lloh13:
	ldr	w23, [x8]
	b	LBB0_15
LBB0_7:
	mov	x5, #0
	b	LBB0_9
LBB0_8:
	sub	x5, x29, #80
LBB0_9:
	mov	x26, sp
	mov	w8, w21
	mov	x9, x8
Lloh14:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh15:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x25, x9, x8
	mov	sp, x25
	ldr	w0, [x24]
	sub	x8, x29, #73
	cmp	x20, #0
	csel	x4, xzr, x8, eq
	mov	x1, x25
	mov	x2, x21
	mov	x3, x23
	bl	_recvfrom
	tbnz	x0, #63, LBB0_12
; %bb.10:
	mov	x23, x0
	mov	x0, x22
	mov	x1, x25
	mov	x2, x21
	bl	_user_write
	cbz	x0, LBB0_17
LBB0_11:
Lloh16:
	adrp	x8, __EFAULT@GOTPAGE
Lloh17:
	ldr	x8, [x8, __EFAULT@GOTPAGEOFF]
Lloh18:
	ldr	w23, [x8]
	b	LBB0_14
LBB0_12:
	bl	_errno_map
LBB0_13:
	mov	x23, x0
LBB0_14:
	mov	sp, x26
LBB0_15:
	ldur	x8, [x29, #-72]
Lloh19:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh20:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_21
; %bb.16:
	mov	x0, x23
	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_17:
	cbz	x20, LBB0_19
; %bb.18:
	sub	x1, x29, #73
	sub	x3, x29, #80
	mov	x0, x20
	mov	w2, #0
	bl	_sockaddr_write
	tbnz	w0, #31, LBB0_13
LBB0_19:
	cbz	x19, LBB0_14
; %bb.20:
	ldur	w1, [x29, #-80]
	mov	x0, x19
	bl	_user_put
	cbnz	x0, LBB0_11
	b	LBB0_14
LBB0_21:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"recvfrom(%d, 0x%x, %d, %d, 0x%x, 0x%x)"

	.comm	__EBADF,4,2                     ; @_EBADF
	.comm	__EINVAL,4,2                    ; @_EINVAL
	.comm	__EFAULT,4,2                    ; @_EFAULT
.subsections_via_symbols
