	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fastsocket_socket
_fastsocket_socket:                     ## @fastsocket_socket
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	_DEBUG@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_DPRINTK
	movl	(%rbx), %edi
	movl	4(%rbx), %esi
	movl	8(%rbx), %edx
	movq	_AF_INET@GOTPCREL(%rip), %rax
	cmpl	(%rax), %edi
	jne	LBB0_3
## %bb.1:
	movq	_SOCK_TYPE_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, %ecx
	andl	%esi, %ecx
	movq	_SOCK_STREAM@GOTPCREL(%rip), %rbx
	cmpl	(%rbx), %ecx
	jne	LBB0_3
## %bb.2:
	notl	%eax
	andl	%eax, %esi
	movl	%esi, %edi
	callq	_fsocket_socket
	movl	%eax, %ebx
	movl	(%r14), %edi
	leaq	L_.str.1(%rip), %rsi
	movl	%eax, %edx
	jmp	LBB0_4
LBB0_3:
	callq	_sys_socket
	movl	%eax, %ebx
	movq	_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	movl	%ebx, %edx
LBB0_4:
	xorl	%eax, %eax
	callq	_DPRINTK
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DEBUG,4,2                      ## @DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Try to create fastsocket\n"

	.comm	_AF_INET,4,2                    ## @AF_INET
	.comm	_SOCK_TYPE_MASK,4,2             ## @SOCK_TYPE_MASK
	.comm	_SOCK_STREAM,4,2                ## @SOCK_STREAM
L_.str.1:                               ## @.str.1
	.asciz	"Create fastsocket %d\n"

	.comm	_INFO,4,2                       ## @INFO
L_.str.2:                               ## @.str.2
	.asciz	"Create non fastsocket %d\n"

	.no_dead_strip	_fastsocket_socket
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fastsocket_socket
_fastsocket_socket:                     ; @fastsocket_socket
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
Lloh0:
	adrp	x20, _DEBUG@GOTPAGE
Lloh1:
	ldr	x20, [x20, _DEBUG@GOTPAGEOFF]
	ldr	w0, [x20]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_DPRINTK
	ldp	w0, w1, [x19]
	ldr	w2, [x19, #8]
Lloh4:
	adrp	x8, _AF_INET@GOTPAGE
Lloh5:
	ldr	x8, [x8, _AF_INET@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_3
; %bb.1:
Lloh7:
	adrp	x8, _SOCK_TYPE_MASK@GOTPAGE
Lloh8:
	ldr	x8, [x8, _SOCK_TYPE_MASK@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	and	w9, w8, w1
Lloh10:
	adrp	x10, _SOCK_STREAM@GOTPAGE
Lloh11:
	ldr	x10, [x10, _SOCK_STREAM@GOTPAGEOFF]
Lloh12:
	ldr	w10, [x10]
	cmp	w9, w10
	b.ne	LBB0_3
; %bb.2:
	bic	w0, w1, w8
	bl	_fsocket_socket
	mov	x19, x0
	ldr	w0, [x20]
	str	x19, [sp]
Lloh13:
	adrp	x1, l_.str.1@PAGE
Lloh14:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_DPRINTK
                                        ; kill: def $w19 killed $w19 killed $x19 def $x19
	b	LBB0_4
LBB0_3:
	bl	_sys_socket
	mov	x19, x0
Lloh15:
	adrp	x8, _INFO@GOTPAGE
Lloh16:
	ldr	x8, [x8, _INFO@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	str	x19, [sp]
Lloh18:
	adrp	x1, l_.str.2@PAGE
Lloh19:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_DPRINTK
LBB0_4:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_DEBUG,4,2                      ; @DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Try to create fastsocket\n"

	.comm	_AF_INET,4,2                    ; @AF_INET
	.comm	_SOCK_TYPE_MASK,4,2             ; @SOCK_TYPE_MASK
	.comm	_SOCK_STREAM,4,2                ; @SOCK_STREAM
l_.str.1:                               ; @.str.1
	.asciz	"Create fastsocket %d\n"

	.comm	_INFO,4,2                       ; @INFO
l_.str.2:                               ; @.str.2
	.asciz	"Create non fastsocket %d\n"

	.no_dead_strip	_fastsocket_socket
.subsections_via_symbols
