	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tcp_recv_urg
_tcp_recv_urg:                          ## @tcp_recv_urg
	.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
	movl	%ecx, %r15d
	movl	%edx, %r12d
	movq	%rsi, %r14
	movq	%rdi, %rbx
	callq	_tcp_sk
	movq	%rax, %r13
	movq	_SOCK_URGINLINE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_sock_flag
	testq	%rax, %rax
	je	LBB0_1
LBB0_3:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_18:
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
LBB0_19:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movl	(%r13), %eax
	testl	%eax, %eax
	je	LBB0_3
## %bb.2:
	movq	_TCP_URG_READ@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %eax
	je	LBB0_3
## %bb.4:
	movq	(%rbx), %rcx
	movq	_TCP_CLOSE@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rcx
	jne	LBB0_7
## %bb.5:
	movq	_SOCK_DONE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_sock_flag
	testq	%rax, %rax
	je	LBB0_20
## %bb.6:
	movl	(%r13), %eax
	movq	_TCP_URG_READ@GOTPCREL(%rip), %rdx
	movq	_TCP_CLOSE@GOTPCREL(%rip), %rsi
LBB0_7:
	movq	_TCP_URG_VALID@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_15
## %bb.8:
	movb	%al, -41(%rbp)
	movq	_MSG_PEEK@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	jne	LBB0_10
## %bb.9:
	movl	(%rdx), %eax
	movl	%eax, (%r13)
LBB0_10:
	movq	_MSG_OOB@GOTPCREL(%rip), %rcx
	movl	(%r14), %eax
	orl	(%rcx), %eax
	movl	%eax, (%r14)
	movq	_MSG_TRUNC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%r12d, %r12d
	jle	LBB0_14
## %bb.11:
	movl	$1, %r12d
	testl	%r15d, %ecx
	jne	LBB0_19
## %bb.12:
	movl	4(%r14), %edi
	leaq	-41(%rbp), %rsi
	movl	$1, %r12d
	movl	$1, %edx
	callq	_memcpy_toiovec
	testl	%eax, %eax
	je	LBB0_19
## %bb.13:
	movq	_EFAULT@GOTPCREL(%rip), %rax
	jmp	LBB0_18
LBB0_15:
	movq	(%rbx), %rax
	xorl	%r12d, %r12d
	cmpq	(%rsi), %rax
	je	LBB0_19
## %bb.16:
	movq	_RCV_SHUTDOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 8(%rbx)
	jne	LBB0_19
## %bb.17:
	movq	_EAGAIN@GOTPCREL(%rip), %rax
	jmp	LBB0_18
LBB0_20:
	movq	_ENOTCONN@GOTPCREL(%rip), %rax
	jmp	LBB0_18
LBB0_14:
	orl	%eax, %ecx
	movl	%ecx, (%r14)
	jmp	LBB0_19
	.cfi_endproc
                                        ## -- End function
	.comm	_SOCK_URGINLINE,4,2             ## @SOCK_URGINLINE
	.comm	_TCP_URG_READ,4,2               ## @TCP_URG_READ
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_TCP_CLOSE,8,3                  ## @TCP_CLOSE
	.comm	_SOCK_DONE,4,2                  ## @SOCK_DONE
	.comm	_ENOTCONN,4,2                   ## @ENOTCONN
	.comm	_TCP_URG_VALID,4,2              ## @TCP_URG_VALID
	.comm	_MSG_PEEK,4,2                   ## @MSG_PEEK
	.comm	_MSG_OOB,4,2                    ## @MSG_OOB
	.comm	_MSG_TRUNC,4,2                  ## @MSG_TRUNC
	.comm	_EFAULT,4,2                     ## @EFAULT
	.comm	_RCV_SHUTDOWN,4,2               ## @RCV_SHUTDOWN
	.comm	_EAGAIN,4,2                     ## @EAGAIN
	.no_dead_strip	_tcp_recv_urg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tcp_recv_urg
_tcp_recv_urg:                          ; @tcp_recv_urg
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
	mov	x21, x3
	mov	x19, x2
	mov	x20, x1
	mov	x22, x0
	bl	_tcp_sk
	mov	x23, x0
Lloh0:
	adrp	x8, _SOCK_URGINLINE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SOCK_URGINLINE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_sock_flag
	cbnz	x0, LBB0_2
; %bb.1:
	ldr	w8, [x23]
Lloh3:
	adrp	x24, _TCP_URG_READ@GOTPAGE
Lloh4:
	ldr	x24, [x24, _TCP_URG_READ@GOTPAGEOFF]
	ldr	w9, [x24]
	cmp	w8, #0
	ccmp	w8, w9, #4, ne
	b.ne	LBB0_5
LBB0_2:
Lloh5:
	adrp	x8, _EINVAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_3:
	ldr	w8, [x8]
	neg	w19, w8
LBB0_4:
	mov	x0, x19
	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
	add	sp, sp, #96
	ret
LBB0_5:
	ldr	x9, [x22]
Lloh7:
	adrp	x25, _TCP_CLOSE@GOTPAGE
Lloh8:
	ldr	x25, [x25, _TCP_CLOSE@GOTPAGEOFF]
	ldr	x10, [x25]
	cmp	x9, x10
	b.ne	LBB0_8
; %bb.6:
Lloh9:
	adrp	x8, _SOCK_DONE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SOCK_DONE@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_sock_flag
	cbz	x0, LBB0_17
; %bb.7:
	ldr	w8, [x23]
LBB0_8:
Lloh12:
	adrp	x9, _TCP_URG_VALID@GOTPAGE
Lloh13:
	ldr	x9, [x9, _TCP_URG_VALID@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_14
; %bb.9:
	strb	w8, [sp, #15]
Lloh15:
	adrp	x8, _MSG_PEEK@GOTPAGE
Lloh16:
	ldr	x8, [x8, _MSG_PEEK@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	tst	w8, w21
	b.ne	LBB0_11
; %bb.10:
	ldr	w8, [x24]
	str	w8, [x23]
LBB0_11:
Lloh18:
	adrp	x8, _MSG_OOB@GOTPAGE
Lloh19:
	ldr	x8, [x8, _MSG_OOB@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	ldr	w9, [x20]
	orr	w8, w9, w8
	str	w8, [x20]
Lloh21:
	adrp	x9, _MSG_TRUNC@GOTPAGE
Lloh22:
	ldr	x9, [x9, _MSG_TRUNC@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	cmp	w19, #1
	b.lt	LBB0_18
; %bb.12:
	tst	w9, w21
	b.eq	LBB0_19
; %bb.13:
	mov	w19, #1
	b	LBB0_4
LBB0_14:
	ldr	x8, [x22]
	ldr	x9, [x25]
	cmp	x8, x9
	b.eq	LBB0_16
; %bb.15:
	ldr	w8, [x22, #8]
Lloh24:
	adrp	x9, _RCV_SHUTDOWN@GOTPAGE
Lloh25:
	ldr	x9, [x9, _RCV_SHUTDOWN@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_21
LBB0_16:
	mov	w19, #0
	b	LBB0_4
LBB0_17:
Lloh27:
	adrp	x8, _ENOTCONN@GOTPAGE
Lloh28:
	ldr	x8, [x8, _ENOTCONN@GOTPAGEOFF]
	b	LBB0_3
LBB0_18:
	orr	w8, w9, w8
	str	w8, [x20]
	b	LBB0_4
LBB0_19:
	ldr	w0, [x20, #4]
	mov	w19, #1
	add	x1, sp, #15
	mov	w2, #1
	bl	_memcpy_toiovec
	cbz	w0, LBB0_4
; %bb.20:
Lloh29:
	adrp	x8, _EFAULT@GOTPAGE
Lloh30:
	ldr	x8, [x8, _EFAULT@GOTPAGEOFF]
	b	LBB0_3
LBB0_21:
Lloh31:
	adrp	x8, _EAGAIN@GOTPAGE
Lloh32:
	ldr	x8, [x8, _EAGAIN@GOTPAGEOFF]
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.comm	_SOCK_URGINLINE,4,2             ; @SOCK_URGINLINE
	.comm	_TCP_URG_READ,4,2               ; @TCP_URG_READ
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_TCP_CLOSE,8,3                  ; @TCP_CLOSE
	.comm	_SOCK_DONE,4,2                  ; @SOCK_DONE
	.comm	_ENOTCONN,4,2                   ; @ENOTCONN
	.comm	_TCP_URG_VALID,4,2              ; @TCP_URG_VALID
	.comm	_MSG_PEEK,4,2                   ; @MSG_PEEK
	.comm	_MSG_OOB,4,2                    ; @MSG_OOB
	.comm	_MSG_TRUNC,4,2                  ; @MSG_TRUNC
	.comm	_EFAULT,4,2                     ; @EFAULT
	.comm	_RCV_SHUTDOWN,4,2               ; @RCV_SHUTDOWN
	.comm	_EAGAIN,4,2                     ; @EAGAIN
	.no_dead_strip	_tcp_recv_urg
.subsections_via_symbols
