	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function p9_conn_create
_p9_conn_create:                        ## @p9_conn_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	%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
	movq	%rdi, %r14
	movq	_P9_DEBUG_TRANS@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	movl	(%r14), %ecx
	leaq	L_.str(%rip), %rsi
	xorl	%r15d, %r15d
	movq	%r14, %rdx
	xorl	%eax, %eax
	callq	_P9_DPRINTK
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$48, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movq	%rax, %r12
	leaq	40(%rax), %rdi
	callq	_INIT_LIST_HEAD
	movq	%r14, 32(%r12)
	leaq	24(%r12), %rdi
	callq	_INIT_LIST_HEAD
	leaq	20(%r12), %rdi
	callq	_INIT_LIST_HEAD
	leaq	16(%r12), %rdi
	movq	_p9_read_work@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_WORK
	leaq	12(%r12), %rdi
	movq	_p9_write_work@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_WORK
	leaq	8(%r12), %rdi
	callq	_INIT_LIST_HEAD
	movq	%r12, %rbx
	addq	$4, %rbx
	movq	_p9_pollwait@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_init_poll_funcptr
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_p9_fd_poll
	movl	%eax, %r14d
	movq	_POLLIN@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_3
## %bb.2:
	movl	(%r13), %edi
	leaq	L_.str.1(%rip), %rsi
	movq	%r12, %rdx
	xorl	%eax, %eax
	callq	_P9_DPRINTK
	movq	_Rpending@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r12, %rsi
	callq	_set_bit
LBB0_3:
	movq	_POLLOUT@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_5
## %bb.4:
	movl	(%r13), %edi
	leaq	L_.str.2(%rip), %rsi
	movq	%r12, %rdx
	xorl	%eax, %eax
	callq	_P9_DPRINTK
	movq	_Wpending@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r12, %rsi
	callq	_set_bit
LBB0_5:
	movq	%r12, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	subl	(%rax), %r15d
	movl	%r15d, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ERR_PTR                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_P9_DEBUG_TRANS,4,2             ## @P9_DEBUG_TRANS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"client %p msize %d\n"

	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_p9_read_work,4,2               ## @p9_read_work
	.comm	_p9_write_work,4,2              ## @p9_write_work
	.comm	_p9_pollwait,4,2                ## @p9_pollwait
	.comm	_POLLIN,4,2                     ## @POLLIN
L_.str.1:                               ## @.str.1
	.asciz	"mux %p can read\n"

	.comm	_Rpending,4,2                   ## @Rpending
	.comm	_POLLOUT,4,2                    ## @POLLOUT
L_.str.2:                               ## @.str.2
	.asciz	"mux %p can write\n"

	.comm	_Wpending,4,2                   ## @Wpending
	.no_dead_strip	_p9_conn_create
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function p9_conn_create
_p9_conn_create:                        ; @p9_conn_create
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x20, x0
Lloh0:
	adrp	x22, _P9_DEBUG_TRANS@GOTPAGE
Lloh1:
	ldr	x22, [x22, _P9_DEBUG_TRANS@GOTPAGEOFF]
	ldr	w0, [x22]
	ldr	w8, [x20]
	stp	x20, x8, [sp]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_P9_DPRINTK
Lloh4:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
	mov	w0, #48
	bl	_kzalloc
	cbz	x0, LBB0_6
; %bb.1:
	mov	x19, x0
	add	x0, x0, #40
	bl	_INIT_LIST_HEAD
	str	x20, [x19, #32]
	add	x0, x19, #24
	bl	_INIT_LIST_HEAD
	add	x0, x19, #20
	bl	_INIT_LIST_HEAD
	add	x0, x19, #16
Lloh7:
	adrp	x8, _p9_read_work@GOTPAGE
Lloh8:
	ldr	x8, [x8, _p9_read_work@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	bl	_INIT_WORK
	add	x0, x19, #12
Lloh10:
	adrp	x8, _p9_write_work@GOTPAGE
Lloh11:
	ldr	x8, [x8, _p9_write_work@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	bl	_INIT_WORK
	add	x0, x19, #8
	bl	_INIT_LIST_HEAD
	add	x21, x19, #4
Lloh13:
	adrp	x8, _p9_pollwait@GOTPAGE
Lloh14:
	ldr	x8, [x8, _p9_pollwait@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_init_poll_funcptr
	mov	x0, x20
	mov	x1, x21
	bl	_p9_fd_poll
	mov	x20, x0
Lloh16:
	adrp	x8, _POLLIN@GOTPAGE
Lloh17:
	ldr	x8, [x8, _POLLIN@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_3
; %bb.2:
	ldr	w0, [x22]
	str	x19, [sp]
Lloh19:
	adrp	x1, l_.str.1@PAGE
Lloh20:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_P9_DPRINTK
Lloh21:
	adrp	x8, _Rpending@GOTPAGE
Lloh22:
	ldr	x8, [x8, _Rpending@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_set_bit
LBB0_3:
Lloh24:
	adrp	x8, _POLLOUT@GOTPAGE
Lloh25:
	ldr	x8, [x8, _POLLOUT@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_5
; %bb.4:
	ldr	w0, [x22]
	str	x19, [sp]
Lloh27:
	adrp	x1, l_.str.2@PAGE
Lloh28:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_P9_DPRINTK
Lloh29:
	adrp	x8, _Wpending@GOTPAGE
Lloh30:
	ldr	x8, [x8, _Wpending@GOTPAGEOFF]
Lloh31:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_set_bit
LBB0_5:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_6:
Lloh32:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh33:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh34:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_ERR_PTR
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.cfi_endproc
                                        ; -- End function
	.comm	_P9_DEBUG_TRANS,4,2             ; @P9_DEBUG_TRANS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"client %p msize %d\n"

	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_p9_read_work,4,2               ; @p9_read_work
	.comm	_p9_write_work,4,2              ; @p9_write_work
	.comm	_p9_pollwait,4,2                ; @p9_pollwait
	.comm	_POLLIN,4,2                     ; @POLLIN
l_.str.1:                               ; @.str.1
	.asciz	"mux %p can read\n"

	.comm	_Rpending,4,2                   ; @Rpending
	.comm	_POLLOUT,4,2                    ; @POLLOUT
l_.str.2:                               ; @.str.2
	.asciz	"mux %p can write\n"

	.comm	_Wpending,4,2                   ; @Wpending
	.no_dead_strip	_p9_conn_create
.subsections_via_symbols
