	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rpc_new_task                   ## -- Begin function rpc_new_task
	.p2align	4, 0x90
_rpc_new_task:                          ## @rpc_new_task
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	8(%rdi), %rbx
	xorl	%r15d, %r15d
	testq	%rbx, %rbx
	jne	LBB0_3
## %bb.1:
	xorl	%eax, %eax
	callq	_rpc_alloc_task
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	movq	%rax, %rbx
	movq	_RPC_TASK_DYNAMIC@GOTPCREL(%rip), %rax
	movzwl	(%rax), %r15d
LBB0_3:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_rpc_init_task
	orw	%r15w, (%rbx)
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rsi
	callq	_dprintk
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movl	(%r14), %esi
	movl	4(%r14), %edi
	callq	_rpc_release_calldata
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	subl	(%rax), %r15d
	movl	%r15d, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ERR_PTR                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_RPC_TASK_DYNAMIC,2,1           ## @RPC_TASK_DYNAMIC
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"RPC:       allocated task %p\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rpc_new_task                   ; -- Begin function rpc_new_task
	.p2align	2
_rpc_new_task:                          ; @rpc_new_task
	.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	x20, x0
	ldr	x19, [x0, #8]
	cbz	x19, LBB0_2
; %bb.1:
	mov	w21, #0
	b	LBB0_4
LBB0_2:
	bl	_rpc_alloc_task
	cbz	x0, LBB0_5
; %bb.3:
	mov	x19, x0
Lloh0:
	adrp	x8, _RPC_TASK_DYNAMIC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RPC_TASK_DYNAMIC@GOTPAGEOFF]
	ldrh	w21, [x8]
LBB0_4:
	mov	x0, x19
	mov	x1, x20
	bl	_rpc_init_task
	ldrh	w8, [x19]
	orr	w8, w8, w21
	strh	w8, [x19]
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_dprintk
	mov	x0, x19
	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
LBB0_5:
	ldp	w1, w0, [x20]
	bl	_rpc_release_calldata
Lloh4:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	neg	w0, w8
	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
	b	_ERR_PTR
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_RPC_TASK_DYNAMIC,2,1           ; @RPC_TASK_DYNAMIC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"RPC:       allocated task %p\n"

.subsections_via_symbols
