	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function raw_bind
_raw_bind:                              ## @raw_bind
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %ebx
	movq	%rsi, %r15
	movq	%rdi, %r12
	callq	_inet_sk
	movq	%rax, %r14
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	cmpl	$8, %ebx
	jb	LBB0_11
## %bb.1:
	movq	_TCP_CLOSE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	%rcx, (%r12)
	jne	LBB0_11
## %bb.2:
	movq	%r12, %rdi
	callq	_sock_net
	movq	(%r15), %rsi
	movl	%eax, %edi
	callq	_inet_addr_type
	movq	(%r15), %rcx
	movq	_RTN_MULTICAST@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	movq	_RTN_BROADCAST@GOTPCREL(%rip), %rdx
	testq	%rcx, %rcx
	je	LBB0_7
## %bb.3:
	movq	_RTN_LOCAL@GOTPCREL(%rip), %rdi
	cmpl	(%rdi), %eax
	je	LBB0_7
## %bb.4:
	cmpl	%esi, %eax
	je	LBB0_7
## %bb.5:
	cmpl	(%rdx), %eax
	je	LBB0_7
## %bb.6:
	movq	_EADDRNOTAVAIL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_11
LBB0_7:
	movq	%rcx, (%r14)
	movq	%rcx, 8(%r14)
	cmpl	%esi, %eax
	je	LBB0_9
## %bb.8:
	cmpl	(%rdx), %eax
	jne	LBB0_10
LBB0_9:
	movq	$0, (%r14)
LBB0_10:
	movq	%r12, %rdi
	callq	_sk_dst_reset
	xorl	%eax, %eax
LBB0_11:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_TCP_CLOSE,8,3                  ## @TCP_CLOSE
	.comm	_EADDRNOTAVAIL,4,2              ## @EADDRNOTAVAIL
	.comm	_RTN_LOCAL,4,2                  ## @RTN_LOCAL
	.comm	_RTN_MULTICAST,4,2              ## @RTN_MULTICAST
	.comm	_RTN_BROADCAST,4,2              ## @RTN_BROADCAST
	.no_dead_strip	_raw_bind
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function raw_bind
_raw_bind:                              ; @raw_bind
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x22, x2
	mov	x21, x1
	mov	x19, x0
	bl	_inet_sk
	mov	x20, x0
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	cmp	w22, #8
	b.lo	LBB0_8
; %bb.1:
	ldr	x8, [x19]
Lloh3:
	adrp	x9, _TCP_CLOSE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _TCP_CLOSE@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.2:
	mov	x0, x19
	bl	_sock_net
	ldr	x1, [x21]
	bl	_inet_addr_type
	ldr	x8, [x21]
Lloh6:
	adrp	x9, _RTN_MULTICAST@GOTPAGE
Lloh7:
	ldr	x9, [x9, _RTN_MULTICAST@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
Lloh9:
	adrp	x10, _RTN_BROADCAST@GOTPAGE
Lloh10:
	ldr	x10, [x10, _RTN_BROADCAST@GOTPAGEOFF]
	cbz	x8, LBB0_5
; %bb.3:
Lloh11:
	adrp	x11, _RTN_LOCAL@GOTPAGE
Lloh12:
	ldr	x11, [x11, _RTN_LOCAL@GOTPAGEOFF]
Lloh13:
	ldr	w11, [x11]
	ldr	w12, [x10]
	cmp	w0, w11
	ccmp	w0, w9, #4, ne
	ccmp	w0, w12, #4, ne
	b.eq	LBB0_5
; %bb.4:
Lloh14:
	adrp	x8, _EADDRNOTAVAIL@GOTPAGE
Lloh15:
	ldr	x8, [x8, _EADDRNOTAVAIL@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_8
LBB0_5:
	stp	x8, x8, [x20]
	ldr	w8, [x10]
	cmp	w0, w9
	ccmp	w0, w8, #4, ne
	b.ne	LBB0_7
; %bb.6:
	str	xzr, [x20]
LBB0_7:
	mov	x0, x19
	bl	_sk_dst_reset
	mov	w0, #0
LBB0_8:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_TCP_CLOSE,8,3                  ; @TCP_CLOSE
	.comm	_EADDRNOTAVAIL,4,2              ; @EADDRNOTAVAIL
	.comm	_RTN_LOCAL,4,2                  ; @RTN_LOCAL
	.comm	_RTN_MULTICAST,4,2              ; @RTN_MULTICAST
	.comm	_RTN_BROADCAST,4,2              ; @RTN_BROADCAST
	.no_dead_strip	_raw_bind
.subsections_via_symbols
