	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function srcimp_rsc_init
_srcimp_rsc_init:                       ## @srcimp_rsc_init
	.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
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %r12
	movq	32(%rdi), %rax
	movl	(%rax), %esi
	movq	_SRCIMP@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%r15), %ecx
	movl	(%r14), %r8d
	callq	_rsc_init
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_4
## %bb.1:
	movl	(%r15), %edi
	shll	$2, %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_kzalloc
	movl	%eax, 24(%r12)
	testl	%eax, %eax
	je	LBB0_2
## %bb.3:
	movq	_srcimp_basic_rsc_ops@GOTPCREL(%rip), %rax
	movq	%rax, (%r12)
	movq	_srcimp_ops@GOTPCREL(%rip), %rcx
	movq	%rcx, 16(%r12)
	movq	%r14, 8(%r12)
	movq	%r12, %rdi
	callq	*(%rax)
	xorl	%ebx, %ebx
	jmp	LBB0_4
LBB0_2:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	movq	%r12, %rdi
	callq	_rsc_uninit
LBB0_4:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SRCIMP,4,2                     ## @SRCIMP
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_srcimp_basic_rsc_ops,8,3       ## @srcimp_basic_rsc_ops
	.comm	_srcimp_ops,4,2                 ## @srcimp_ops
	.no_dead_strip	_srcimp_rsc_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function srcimp_rsc_init
_srcimp_rsc_init:                       ; @srcimp_rsc_init
	.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, x2
	mov	x21, x1
	mov	x19, x0
	ldr	x8, [x0, #32]
	ldr	w1, [x8]
Lloh0:
	adrp	x8, _SRCIMP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SRCIMP@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	ldr	w3, [x21]
	ldr	w4, [x20]
	bl	_rsc_init
	mov	x22, x0
	cbnz	w0, LBB0_4
; %bb.1:
	ldr	w8, [x21]
	lsl	w0, w8, #2
Lloh3:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_kzalloc
	str	w0, [x19, #24]
	cbz	w0, LBB0_3
; %bb.2:
Lloh6:
	adrp	x8, _srcimp_basic_rsc_ops@GOTPAGE
Lloh7:
	ldr	x8, [x8, _srcimp_basic_rsc_ops@GOTPAGEOFF]
Lloh8:
	adrp	x9, _srcimp_ops@GOTPAGE
Lloh9:
	ldr	x9, [x9, _srcimp_ops@GOTPAGEOFF]
	stp	x20, x9, [x19, #8]
	str	x8, [x19]
	ldr	x8, [x8]
	mov	x0, x19
	blr	x8
	mov	w22, #0
	b	LBB0_4
LBB0_3:
Lloh10:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	neg	w22, w8
	mov	x0, x19
	bl	_rsc_uninit
LBB0_4:
	mov	x0, x22
	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	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_SRCIMP,4,2                     ; @SRCIMP
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_srcimp_basic_rsc_ops,8,3       ; @srcimp_basic_rsc_ops
	.comm	_srcimp_ops,4,2                 ; @srcimp_ops
	.no_dead_strip	_srcimp_rsc_init
.subsections_via_symbols
