	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fastrpc_init
_fastrpc_init:                          ## @fastrpc_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_fastrpc_cb_driver@GOTPCREL(%rip), %rdi
	callq	_platform_driver_register
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movq	_fastrpc_driver@GOTPCREL(%rip), %rdi
	callq	_register_rpmsg_driver
	xorl	%ebx, %ebx
	testl	%eax, %eax
	jns	LBB0_4
## %bb.3:
	movl	%eax, %r14d
	leaq	L_.str.1(%rip), %rdi
	callq	_pr_err
	movq	_fastrpc_cb_driver@GOTPCREL(%rip), %rdi
	callq	_platform_driver_unregister
	movl	%r14d, %ebx
	jmp	LBB0_4
LBB0_1:
	movl	%eax, %ebx
	leaq	L_.str(%rip), %rdi
	callq	_pr_err
LBB0_4:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_fastrpc_cb_driver,4,2          ## @fastrpc_cb_driver
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"fastrpc: failed to register cb driver\n"

	.comm	_fastrpc_driver,4,2             ## @fastrpc_driver
L_.str.1:                               ## @.str.1
	.asciz	"fastrpc: failed to register rpmsg driver\n"

	.no_dead_strip	_fastrpc_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fastrpc_init
_fastrpc_init:                          ; @fastrpc_init
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x0, _fastrpc_cb_driver@GOTPAGE
Lloh1:
	ldr	x0, [x0, _fastrpc_cb_driver@GOTPAGEOFF]
	bl	_platform_driver_register
	tbnz	w0, #31, LBB0_3
; %bb.1:
Lloh2:
	adrp	x0, _fastrpc_driver@GOTPAGE
Lloh3:
	ldr	x0, [x0, _fastrpc_driver@GOTPAGEOFF]
	bl	_register_rpmsg_driver
	tbnz	w0, #31, LBB0_4
; %bb.2:
	mov	w19, #0
	b	LBB0_5
LBB0_3:
	mov	x19, x0
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_err
	b	LBB0_5
LBB0_4:
	mov	x19, x0
Lloh6:
	adrp	x0, l_.str.1@PAGE
Lloh7:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_pr_err
Lloh8:
	adrp	x0, _fastrpc_cb_driver@GOTPAGE
Lloh9:
	ldr	x0, [x0, _fastrpc_cb_driver@GOTPAGEOFF]
	bl	_platform_driver_unregister
LBB0_5:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_fastrpc_cb_driver,4,2          ; @fastrpc_cb_driver
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"fastrpc: failed to register cb driver\n"

	.comm	_fastrpc_driver,4,2             ; @fastrpc_driver
l_.str.1:                               ; @.str.1
	.asciz	"fastrpc: failed to register rpmsg driver\n"

	.no_dead_strip	_fastrpc_init
.subsections_via_symbols
