	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function udp_Recvfrom
_udp_Recvfrom:                          ## @udp_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, %r14
	movl	20(%rdi), %edi
	callq	_device2udp
	movq	%rax, %rbx
	movq	(%rax), %rax
	movq	_UDP_CONNECTED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.4:
	movl	16(%r14), %edi
	movq	%r12, %rsi
	movq	%r15, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_read                           ## TAILCALL
LBB0_1:
	movl	$8, -44(%rbp)
	movl	16(%r14), %edi
	leaq	8(%rbx), %r8
	leaq	-44(%rbp), %r9
	movq	%r12, %rsi
	movq	%r15, %rdx
	xorl	%ecx, %ecx
	callq	_recvfrom
	movl	%eax, %r15d
	movq	(%r14), %r12
	cmpb	$0, (%r12)
	jne	LBB0_3
## %bb.2:
	movl	12(%rbx), %edi
	callq	_inet_ntoa
	movq	%rax, %r13
	movl	8(%rbx), %edi
	callq	_ntohs
	leaq	L_.str(%rip), %rdx
	movq	%r12, %rdi
	movl	$8, %esi
	movq	%r13, %rcx
	movl	%eax, %r8d
	callq	_snprintf
	movq	(%r14), %rax
	movq	%rax, 8(%r14)
LBB0_3:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_UDP_CONNECTED,8,3              ## @UDP_CONNECTED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s:%d/udp"

	.no_dead_strip	_udp_Recvfrom
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function udp_Recvfrom
_udp_Recvfrom:                          ; @udp_Recvfrom
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x21, x2
	mov	x22, x1
	mov	x19, x0
	ldr	w0, [x0, #20]
	bl	_device2udp
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _UDP_CONNECTED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _UDP_CONNECTED@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	ldr	w0, [x19, #16]
	mov	x1, x22
	mov	x2, x21
	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
	add	sp, sp, #80
	b	_read
LBB0_2:
	mov	x20, x0
	mov	w8, #8
	str	w8, [sp, #12]
	ldr	w0, [x19, #16]
	add	x4, x20, #8
	add	x5, sp, #12
	mov	x1, x22
	mov	x2, x21
	mov	w3, #0
	bl	_recvfrom
	mov	x21, x0
	ldr	x22, [x19]
	ldrb	w8, [x22]
	cbnz	w8, LBB0_4
; %bb.3:
	ldr	w0, [x20, #12]
	bl	_inet_ntoa
	mov	x23, x0
	ldr	w0, [x20, #8]
	bl	_ntohs
	mov	x4, x0
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x22
	mov	w1, #8
	mov	x3, x23
	bl	_snprintf
	ldr	x8, [x19]
	str	x8, [x19, #8]
LBB0_4:
	mov	x0, x21
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_UDP_CONNECTED,8,3              ; @UDP_CONNECTED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s:%d/udp"

	.no_dead_strip	_udp_Recvfrom
.subsections_via_symbols
