	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function socket_type_to_security_class
_socket_type_to_security_class:         ## @socket_type_to_security_class
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $edi killed $edi def $rdi
	addl	$-132, %edi
	cmpl	$6, %edi
	ja	LBB0_9
## %bb.1:
	movq	_SECCLASS_PACKET_SOCKET@GOTPCREL(%rip), %rax
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rdi,4), %rdi
	addq	%rcx, %rdi
	jmpq	*%rdi
LBB0_2:
	cmpl	$131, %esi
	je	LBB0_15
## %bb.3:
	cmpl	$130, %esi
	je	LBB0_16
## %bb.4:
	cmpl	$128, %esi
	jne	LBB0_6
## %bb.5:
	movl	%edx, %edi
	callq	_default_protocol_stream
	testl	%eax, %eax
	je	LBB0_6
## %bb.19:
	movq	_SECCLASS_TCP_SOCKET@GOTPCREL(%rip), %rax
	jmp	LBB0_21
LBB0_7:
	addl	$-128, %esi
	cmpl	$3, %esi
	jae	LBB0_9
## %bb.8:
	movslq	%esi, %rax
	leaq	l_switch.table.socket_type_to_security_class(%rip), %rcx
	jmp	LBB0_12
LBB0_9:
	movq	_SECCLASS_SOCKET@GOTPCREL(%rip), %rax
	jmp	LBB0_21
LBB0_10:
	addl	$-139, %edx
	cmpl	$10, %edx
	jae	LBB0_18
## %bb.11:
	movslq	%edx, %rax
	leaq	l_switch.table.socket_type_to_security_class.1(%rip), %rcx
LBB0_12:
	movq	(%rcx,%rax,8), %rax
	jmp	LBB0_21
LBB0_13:
	movq	_SECCLASS_KEY_SOCKET@GOTPCREL(%rip), %rax
	jmp	LBB0_21
LBB0_14:
	movq	_SECCLASS_APPLETALK_SOCKET@GOTPCREL(%rip), %rax
	jmp	LBB0_21
LBB0_15:
	movq	_SECCLASS_DCCP_SOCKET@GOTPCREL(%rip), %rax
	jmp	LBB0_21
LBB0_16:
	movl	%edx, %edi
	callq	_default_protocol_dgram
	testl	%eax, %eax
	jne	LBB0_20
LBB0_6:
	movq	_SECCLASS_RAWIP_SOCKET@GOTPCREL(%rip), %rax
	jmp	LBB0_21
LBB0_18:
	movq	_SECCLASS_NETLINK_SOCKET@GOTPCREL(%rip), %rax
	jmp	LBB0_21
LBB0_20:
	movq	_SECCLASS_UDP_SOCKET@GOTPCREL(%rip), %rax
LBB0_21:
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_21, LBB0_21-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
LJTI0_0:
	.long	L0_0_set_7
	.long	L0_0_set_21
	.long	L0_0_set_10
	.long	L0_0_set_13
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_14
	.end_data_region
                                        ## -- End function
	.comm	_SECCLASS_UNIX_STREAM_SOCKET,4,2 ## @SECCLASS_UNIX_STREAM_SOCKET
	.comm	_SECCLASS_UNIX_DGRAM_SOCKET,4,2 ## @SECCLASS_UNIX_DGRAM_SOCKET
	.comm	_SECCLASS_TCP_SOCKET,4,2        ## @SECCLASS_TCP_SOCKET
	.comm	_SECCLASS_RAWIP_SOCKET,4,2      ## @SECCLASS_RAWIP_SOCKET
	.comm	_SECCLASS_UDP_SOCKET,4,2        ## @SECCLASS_UDP_SOCKET
	.comm	_SECCLASS_DCCP_SOCKET,4,2       ## @SECCLASS_DCCP_SOCKET
	.comm	_SECCLASS_NETLINK_ROUTE_SOCKET,4,2 ## @SECCLASS_NETLINK_ROUTE_SOCKET
	.comm	_SECCLASS_NETLINK_FIREWALL_SOCKET,4,2 ## @SECCLASS_NETLINK_FIREWALL_SOCKET
	.comm	_SECCLASS_NETLINK_TCPDIAG_SOCKET,4,2 ## @SECCLASS_NETLINK_TCPDIAG_SOCKET
	.comm	_SECCLASS_NETLINK_NFLOG_SOCKET,4,2 ## @SECCLASS_NETLINK_NFLOG_SOCKET
	.comm	_SECCLASS_NETLINK_XFRM_SOCKET,4,2 ## @SECCLASS_NETLINK_XFRM_SOCKET
	.comm	_SECCLASS_NETLINK_SELINUX_SOCKET,4,2 ## @SECCLASS_NETLINK_SELINUX_SOCKET
	.comm	_SECCLASS_NETLINK_AUDIT_SOCKET,4,2 ## @SECCLASS_NETLINK_AUDIT_SOCKET
	.comm	_SECCLASS_NETLINK_IP6FW_SOCKET,4,2 ## @SECCLASS_NETLINK_IP6FW_SOCKET
	.comm	_SECCLASS_NETLINK_DNRT_SOCKET,4,2 ## @SECCLASS_NETLINK_DNRT_SOCKET
	.comm	_SECCLASS_NETLINK_KOBJECT_UEVENT_SOCKET,4,2 ## @SECCLASS_NETLINK_KOBJECT_UEVENT_SOCKET
	.comm	_SECCLASS_NETLINK_SOCKET,4,2    ## @SECCLASS_NETLINK_SOCKET
	.comm	_SECCLASS_PACKET_SOCKET,4,2     ## @SECCLASS_PACKET_SOCKET
	.comm	_SECCLASS_KEY_SOCKET,4,2        ## @SECCLASS_KEY_SOCKET
	.comm	_SECCLASS_APPLETALK_SOCKET,4,2  ## @SECCLASS_APPLETALK_SOCKET
	.comm	_SECCLASS_SOCKET,4,2            ## @SECCLASS_SOCKET
	.no_dead_strip	_socket_type_to_security_class
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.socket_type_to_security_class
l_switch.table.socket_type_to_security_class:
	.quad	_SECCLASS_UNIX_STREAM_SOCKET
	.quad	_SECCLASS_UNIX_STREAM_SOCKET
	.quad	_SECCLASS_UNIX_DGRAM_SOCKET

	.p2align	3                               ## @switch.table.socket_type_to_security_class.1
l_switch.table.socket_type_to_security_class.1:
	.quad	_SECCLASS_NETLINK_XFRM_SOCKET
	.quad	_SECCLASS_NETLINK_SELINUX_SOCKET
	.quad	_SECCLASS_NETLINK_ROUTE_SOCKET
	.quad	_SECCLASS_NETLINK_NFLOG_SOCKET
	.quad	_SECCLASS_NETLINK_KOBJECT_UEVENT_SOCKET
	.quad	_SECCLASS_NETLINK_IP6FW_SOCKET
	.quad	_SECCLASS_NETLINK_TCPDIAG_SOCKET
	.quad	_SECCLASS_NETLINK_FIREWALL_SOCKET
	.quad	_SECCLASS_NETLINK_DNRT_SOCKET
	.quad	_SECCLASS_NETLINK_AUDIT_SOCKET

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function socket_type_to_security_class
_socket_type_to_security_class:         ; @socket_type_to_security_class
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	sub	w9, w0, #132
	cmp	w9, #6
	b.hi	LBB0_8
; %bb.1:
Lloh0:
	adrp	x8, _SECCLASS_PACKET_SOCKET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SECCLASS_PACKET_SOCKET@GOTPAGEOFF]
Lloh2:
	adrp	x10, lJTI0_0@PAGE
Lloh3:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_2
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_2:
	cmp	w1, #131
	b.eq	LBB0_14
; %bb.3:
	cmp	w1, #130
	b.eq	LBB0_15
; %bb.4:
	cmp	w1, #128
	b.ne	LBB0_17
; %bb.5:
	mov	x0, x2
	bl	_default_protocol_stream
Lloh4:
	adrp	x8, _SECCLASS_TCP_SOCKET@GOTPAGE
Lloh5:
	ldr	x8, [x8, _SECCLASS_TCP_SOCKET@GOTPAGEOFF]
	b	LBB0_16
LBB0_6:
	sub	w8, w1, #128
	cmp	w8, #3
	b.hs	LBB0_8
; %bb.7:
Lloh6:
	adrp	x9, l_switch.table.socket_type_to_security_class@PAGE
Lloh7:
	add	x9, x9, l_switch.table.socket_type_to_security_class@PAGEOFF
	b	LBB0_11
LBB0_8:
Lloh8:
	adrp	x8, _SECCLASS_SOCKET@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SECCLASS_SOCKET@GOTPAGEOFF]
	b	LBB0_19
LBB0_9:
	sub	w8, w2, #139
	cmp	w8, #10
	b.hs	LBB0_18
; %bb.10:
Lloh10:
	adrp	x9, l_switch.table.socket_type_to_security_class.1@PAGE
Lloh11:
	add	x9, x9, l_switch.table.socket_type_to_security_class.1@PAGEOFF
LBB0_11:
	ldr	x8, [x9, w8, sxtw #3]
	b	LBB0_19
LBB0_12:
Lloh12:
	adrp	x8, _SECCLASS_KEY_SOCKET@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SECCLASS_KEY_SOCKET@GOTPAGEOFF]
	b	LBB0_19
LBB0_13:
Lloh14:
	adrp	x8, _SECCLASS_APPLETALK_SOCKET@GOTPAGE
Lloh15:
	ldr	x8, [x8, _SECCLASS_APPLETALK_SOCKET@GOTPAGEOFF]
	b	LBB0_19
LBB0_14:
Lloh16:
	adrp	x8, _SECCLASS_DCCP_SOCKET@GOTPAGE
Lloh17:
	ldr	x8, [x8, _SECCLASS_DCCP_SOCKET@GOTPAGEOFF]
	b	LBB0_19
LBB0_15:
	mov	x0, x2
	bl	_default_protocol_dgram
Lloh18:
	adrp	x8, _SECCLASS_UDP_SOCKET@GOTPAGE
Lloh19:
	ldr	x8, [x8, _SECCLASS_UDP_SOCKET@GOTPAGEOFF]
LBB0_16:
Lloh20:
	adrp	x9, _SECCLASS_RAWIP_SOCKET@GOTPAGE
Lloh21:
	ldr	x9, [x9, _SECCLASS_RAWIP_SOCKET@GOTPAGEOFF]
	cmp	w0, #0
	csel	x8, x9, x8, eq
	b	LBB0_19
LBB0_17:
Lloh22:
	adrp	x8, _SECCLASS_RAWIP_SOCKET@GOTPAGE
Lloh23:
	ldr	x8, [x8, _SECCLASS_RAWIP_SOCKET@GOTPAGEOFF]
	b	LBB0_19
LBB0_18:
Lloh24:
	adrp	x8, _SECCLASS_NETLINK_SOCKET@GOTPAGE
Lloh25:
	ldr	x8, [x8, _SECCLASS_NETLINK_SOCKET@GOTPAGEOFF]
LBB0_19:
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_19-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
                                        ; -- End function
	.comm	_SECCLASS_UNIX_STREAM_SOCKET,4,2 ; @SECCLASS_UNIX_STREAM_SOCKET
	.comm	_SECCLASS_UNIX_DGRAM_SOCKET,4,2 ; @SECCLASS_UNIX_DGRAM_SOCKET
	.comm	_SECCLASS_TCP_SOCKET,4,2        ; @SECCLASS_TCP_SOCKET
	.comm	_SECCLASS_RAWIP_SOCKET,4,2      ; @SECCLASS_RAWIP_SOCKET
	.comm	_SECCLASS_UDP_SOCKET,4,2        ; @SECCLASS_UDP_SOCKET
	.comm	_SECCLASS_DCCP_SOCKET,4,2       ; @SECCLASS_DCCP_SOCKET
	.comm	_SECCLASS_NETLINK_ROUTE_SOCKET,4,2 ; @SECCLASS_NETLINK_ROUTE_SOCKET
	.comm	_SECCLASS_NETLINK_FIREWALL_SOCKET,4,2 ; @SECCLASS_NETLINK_FIREWALL_SOCKET
	.comm	_SECCLASS_NETLINK_TCPDIAG_SOCKET,4,2 ; @SECCLASS_NETLINK_TCPDIAG_SOCKET
	.comm	_SECCLASS_NETLINK_NFLOG_SOCKET,4,2 ; @SECCLASS_NETLINK_NFLOG_SOCKET
	.comm	_SECCLASS_NETLINK_XFRM_SOCKET,4,2 ; @SECCLASS_NETLINK_XFRM_SOCKET
	.comm	_SECCLASS_NETLINK_SELINUX_SOCKET,4,2 ; @SECCLASS_NETLINK_SELINUX_SOCKET
	.comm	_SECCLASS_NETLINK_AUDIT_SOCKET,4,2 ; @SECCLASS_NETLINK_AUDIT_SOCKET
	.comm	_SECCLASS_NETLINK_IP6FW_SOCKET,4,2 ; @SECCLASS_NETLINK_IP6FW_SOCKET
	.comm	_SECCLASS_NETLINK_DNRT_SOCKET,4,2 ; @SECCLASS_NETLINK_DNRT_SOCKET
	.comm	_SECCLASS_NETLINK_KOBJECT_UEVENT_SOCKET,4,2 ; @SECCLASS_NETLINK_KOBJECT_UEVENT_SOCKET
	.comm	_SECCLASS_NETLINK_SOCKET,4,2    ; @SECCLASS_NETLINK_SOCKET
	.comm	_SECCLASS_PACKET_SOCKET,4,2     ; @SECCLASS_PACKET_SOCKET
	.comm	_SECCLASS_KEY_SOCKET,4,2        ; @SECCLASS_KEY_SOCKET
	.comm	_SECCLASS_APPLETALK_SOCKET,4,2  ; @SECCLASS_APPLETALK_SOCKET
	.comm	_SECCLASS_SOCKET,4,2            ; @SECCLASS_SOCKET
	.no_dead_strip	_socket_type_to_security_class
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.socket_type_to_security_class
l_switch.table.socket_type_to_security_class:
	.quad	_SECCLASS_UNIX_STREAM_SOCKET
	.quad	_SECCLASS_UNIX_STREAM_SOCKET
	.quad	_SECCLASS_UNIX_DGRAM_SOCKET

	.p2align	3                               ; @switch.table.socket_type_to_security_class.1
l_switch.table.socket_type_to_security_class.1:
	.quad	_SECCLASS_NETLINK_XFRM_SOCKET
	.quad	_SECCLASS_NETLINK_SELINUX_SOCKET
	.quad	_SECCLASS_NETLINK_ROUTE_SOCKET
	.quad	_SECCLASS_NETLINK_NFLOG_SOCKET
	.quad	_SECCLASS_NETLINK_KOBJECT_UEVENT_SOCKET
	.quad	_SECCLASS_NETLINK_IP6FW_SOCKET
	.quad	_SECCLASS_NETLINK_TCPDIAG_SOCKET
	.quad	_SECCLASS_NETLINK_FIREWALL_SOCKET
	.quad	_SECCLASS_NETLINK_DNRT_SOCKET
	.quad	_SECCLASS_NETLINK_AUDIT_SOCKET

.subsections_via_symbols
