	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function base_sock_create
_base_sock_create:                      ## @base_sock_create
	.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	%ecx, %r15d
	movq	(%rsi), %rax
	movq	_SOCK_RAW@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.3:
	movl	%edx, %r14d
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movq	_CAP_NET_RAW@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_capable
	testl	%eax, %eax
	je	LBB0_4
## %bb.5:
	movq	_PF_ISDN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_mISDN_proto@GOTPCREL(%rip), %rcx
	movq	%r12, %rdi
	movl	%r15d, %r8d
	callq	_sk_alloc
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movq	%rax, %r15
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_sock_init_data
	movq	_base_sock_ops@GOTPCREL(%rip), %rax
	movq	%rax, 16(%rbx)
	movq	_SS_UNCONNECTED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	movq	_SOCK_ZAPPED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_sock_reset_flag
	movl	%r14d, (%r15)
	movq	_MISDN_OPEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r15)
	movq	_base_sockets@GOTPCREL(%rip), %rdi
	movq	%r15, %rsi
	callq	_mISDN_sock_link
	xorl	%eax, %eax
	jmp	LBB0_8
LBB0_1:
	movq	_ESOCKTNOSUPPORT@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_4:
	movq	_EPERM@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_6:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
LBB0_2:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_8:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SOCK_RAW,8,3                   ## @SOCK_RAW
	.comm	_ESOCKTNOSUPPORT,4,2            ## @ESOCKTNOSUPPORT
	.comm	_CAP_NET_RAW,4,2                ## @CAP_NET_RAW
	.comm	_EPERM,4,2                      ## @EPERM
	.comm	_PF_ISDN,4,2                    ## @PF_ISDN
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_mISDN_proto,4,2                ## @mISDN_proto
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_base_sock_ops,4,2              ## @base_sock_ops
	.comm	_SS_UNCONNECTED,4,2             ## @SS_UNCONNECTED
	.comm	_SOCK_ZAPPED,4,2                ## @SOCK_ZAPPED
	.comm	_MISDN_OPEN,4,2                 ## @MISDN_OPEN
	.comm	_base_sockets,4,2               ## @base_sockets
	.no_dead_strip	_base_sock_create
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function base_sock_create
_base_sock_create:                      ; @base_sock_create
	.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
	ldr	x8, [x1]
Lloh0:
	adrp	x9, _SOCK_RAW@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SOCK_RAW@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.1:
	mov	x21, x3
	mov	x19, x2
	mov	x20, x1
	mov	x22, x0
Lloh3:
	adrp	x8, _CAP_NET_RAW@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CAP_NET_RAW@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_capable
	cbz	w0, LBB0_5
; %bb.2:
Lloh6:
	adrp	x8, _PF_ISDN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PF_ISDN@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
Lloh12:
	adrp	x3, _mISDN_proto@GOTPAGE
Lloh13:
	ldr	x3, [x3, _mISDN_proto@GOTPAGEOFF]
	mov	x0, x22
	mov	x4, x21
	bl	_sk_alloc
	cbz	x0, LBB0_6
; %bb.3:
	mov	x21, x0
	mov	x0, x20
	mov	x1, x21
	bl	_sock_init_data
Lloh14:
	adrp	x8, _base_sock_ops@GOTPAGE
Lloh15:
	ldr	x8, [x8, _base_sock_ops@GOTPAGEOFF]
Lloh16:
	adrp	x9, _SS_UNCONNECTED@GOTPAGE
Lloh17:
	ldr	x9, [x9, _SS_UNCONNECTED@GOTPAGEOFF]
	str	x8, [x20, #16]
Lloh18:
	ldr	w8, [x9]
	str	w8, [x20, #8]
Lloh19:
	adrp	x8, _SOCK_ZAPPED@GOTPAGE
Lloh20:
	ldr	x8, [x8, _SOCK_ZAPPED@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_sock_reset_flag
	str	w19, [x21]
Lloh22:
	adrp	x8, _MISDN_OPEN@GOTPAGE
Lloh23:
	ldr	x8, [x8, _MISDN_OPEN@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	str	w8, [x21, #4]
Lloh25:
	adrp	x0, _base_sockets@GOTPAGE
Lloh26:
	ldr	x0, [x0, _base_sockets@GOTPAGEOFF]
	mov	x1, x21
	bl	_mISDN_sock_link
	mov	w0, #0
	b	LBB0_8
LBB0_4:
Lloh27:
	adrp	x8, _ESOCKTNOSUPPORT@GOTPAGE
Lloh28:
	ldr	x8, [x8, _ESOCKTNOSUPPORT@GOTPAGEOFF]
	b	LBB0_7
LBB0_5:
Lloh29:
	adrp	x8, _EPERM@GOTPAGE
Lloh30:
	ldr	x8, [x8, _EPERM@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
Lloh31:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh32:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_7:
	ldr	w8, [x8]
	neg	w0, w8
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	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.comm	_SOCK_RAW,8,3                   ; @SOCK_RAW
	.comm	_ESOCKTNOSUPPORT,4,2            ; @ESOCKTNOSUPPORT
	.comm	_CAP_NET_RAW,4,2                ; @CAP_NET_RAW
	.comm	_EPERM,4,2                      ; @EPERM
	.comm	_PF_ISDN,4,2                    ; @PF_ISDN
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_mISDN_proto,4,2                ; @mISDN_proto
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_base_sock_ops,4,2              ; @base_sock_ops
	.comm	_SS_UNCONNECTED,4,2             ; @SS_UNCONNECTED
	.comm	_SOCK_ZAPPED,4,2                ; @SOCK_ZAPPED
	.comm	_MISDN_OPEN,4,2                 ; @MISDN_OPEN
	.comm	_base_sockets,4,2               ; @base_sockets
	.no_dead_strip	_base_sock_create
.subsections_via_symbols
